/*!
Theme Name: Edson\'s Theme
Theme URI: http://underscores.me/
Author: Edson Vieira Demetrio
Author URI: http://edsonvieirademetrio.com.br
Description: Tema inicial para sites WordPress
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: edson-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Edson\'s Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   Publish from Preview — landing page
   Visual language carried over from the Fidei Tecnologia card:
   Inter + JetBrains Mono, slate ink, engineering grid, pill buttons.
   ========================================================================== */

:root {
	--ink: #0f172a;
	--body: #475569;
	--muted: #64748b;
	--faint: #94a3b8;

	/*
	 * "deep" is the constant dark surface — badges, code blocks, the privacy
	 * panel, the browser chrome. It stays dark in both themes, unlike --ink,
	 * which is a text colour and flips.
	 */
	--deep: #0f172a;
	--deep-soft: #1e293b;
	--panel: #0f172a;
	--on-deep: #e2e8f0;
	--accent-on-deep: #22c55e;

	--accent: #22c55e;        /* graphics only: fails contrast as text on white */
	--accent-text: #15803d;   /* green that is safe for text on a light ground */
	--accent-deep: #166534;

	--btn-bg: #15803d;
	--btn-fg: #ffffff;

	--bg: #ffffff;
	--surface: #ffffff;
	--sunken: #f8fafc;
	--line: #e2e8f0;
	--hair: rgba(15, 23, 42, 0.10);
	--grid: rgba(15, 23, 42, 0.05);

	--shadow-lift: 0 8px 20px -10px rgba(15, 23, 42, 0.25);
	--shadow-deep: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
	--shadow-accent: 0 16px 32px -12px rgba(21, 128, 61, 0.45);

	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--r-sm: 6px;
	--r-md: 14px;
	--r-pill: 999px;

	--gutter: 24px;
	--measure: 1120px;
}

@media (prefers-color-scheme: dark) {

	:root:not([data-theme="light"]) {
		--ink: #f1f5f9;
		--body: #cbd5e1;
		--muted: #94a3b8;
		--faint: #64748b;

		--deep: #080f1d;
		--deep-soft: #16203a;
		--panel: #141f38;
		--on-deep: #e2e8f0;
		--accent-on-deep: #4ade80;

		--accent: #4ade80;
		--accent-text: #6ee7a0;
		--accent-deep: #86efac;

		--btn-bg: #4ade80;
		--btn-fg: #052e16;

		--bg: #0b1120;
		--surface: #111b2e;
		--sunken: #0f172a;
		--line: #243049;
		--hair: rgba(226, 232, 240, 0.12);
		--grid: rgba(226, 232, 240, 0.05);

		--shadow-lift: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
		--shadow-deep: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
		--shadow-accent: 0 16px 32px -12px rgba(34, 197, 94, 0.3);
	}
}

:root[data-theme="dark"] {
	--ink: #f1f5f9;
	--body: #cbd5e1;
	--muted: #94a3b8;
	--faint: #64748b;

	--deep: #080f1d;
	--deep-soft: #16203a;
	--panel: #141f38;
	--on-deep: #e2e8f0;
	--accent-on-deep: #4ade80;

	--accent: #4ade80;
	--accent-text: #6ee7a0;
	--accent-deep: #86efac;

	--btn-bg: #4ade80;
	--btn-fg: #052e16;

	--bg: #0b1120;
	--surface: #111b2e;
	--sunken: #0f172a;
	--line: #243049;
	--hair: rgba(226, 232, 240, 0.12);
	--grid: rgba(226, 232, 240, 0.05);

	--shadow-lift: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
	--shadow-deep: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
	--shadow-accent: 0 16px 32px -12px rgba(34, 197, 94, 0.3);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background-color: var(--bg);
	background-image:
		linear-gradient(to right, var(--grid) 1px, transparent 1px),
		linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
	background-size: 36px 36px;
	color: var(--body);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* The accent baseplate along the top of the page. */
body::before {
	content: "";
	position: fixed;
	inset: 0 0 auto 0;
	height: 6px;
	background: var(--accent);
	z-index: 50;
}

h1,
h2,
h3 {
	color: var(--ink);
	letter-spacing: -0.015em;
	margin: 0;
}

h1 {
	font-weight: 900;
	font-size: clamp(2.25rem, 6vw, 3.5rem);
	line-height: 1.08;
}

h2 {
	font-weight: 800;
	font-size: clamp(1.6rem, 3.6vw, 2.1rem);
	line-height: 1.15;
}

h3 {
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.3;
}

p {
	margin: 0;
}

a {
	color: var(--accent-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--accent-deep);
}

code {
	font-family: var(--mono);
	font-size: 0.88em;
}

:focus-visible {
	outline: 2px solid var(--accent-text);
	outline-offset: 3px;
	border-radius: 2px;
}

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--deep);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 var(--r-sm) 0;
	font-weight: 600;
}

.skip:focus {
	left: 0;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--measure);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

section {
	padding-block: clamp(56px, 9vw, 96px);
}

section + section {
	border-top: 1px solid var(--hair);
}

.lede {
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	font-weight: 500;
	line-height: 1.5;
	color: var(--body);
	max-width: 62ch;
}

.section-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 40px;
	max-width: 70ch;
}

.eyebrow {
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.masthead {
	padding-top: 34px;
	padding-bottom: 8px;
}

.masthead-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: -0.01em;
}

.brand:hover {
	color: var(--ink);
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--panel);
	flex: none;
}

.nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-left: auto;
	align-items: center;
}

.nav a {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--body);
	text-decoration: none;
}

.nav a:hover {
	color: var(--accent-text);
	text-decoration: underline;
}

.lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--surface);
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 600;
}

.lang a,
.lang span {
	padding: 4px 10px;
	border-radius: var(--r-pill);
	text-decoration: none;
	color: var(--muted);
}

.lang a:hover {
	color: var(--ink);
}

.lang [aria-current="true"] {
	background: var(--panel);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	padding-top: clamp(32px, 5vw, 52px);
}

.hero-grid {
	display: flex;
	flex-direction: column;
	gap: 26px;
	max-width: 56rem;
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.badge {
	font-family: var(--mono);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--accent-on-deep);
	background: var(--panel);
	padding: 7px 13px;
	border-radius: var(--r-sm);
	white-space: nowrap;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--btn-fg);
	background: var(--btn-bg);
	padding: 16px 28px;
	border: none;
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-accent);
	text-decoration: none;
	cursor: pointer;
	min-height: 44px;
}

.btn:hover,
.btn:focus {
	background: var(--accent-deep);
	color: var(--btn-fg);
}

/* The arrow inherits the button's own text colour, not the page accent. */
.btn .icon {
	color: currentColor;
}

.slug-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 10px 16px;
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-lift);
	white-space: nowrap;
}

.dot {
	width: 7px;
	height: 7px;
	border-radius: var(--r-pill);
	background: var(--accent);
	display: inline-block;
	flex: none;
}

/* --------------------------------------------------------------------------
   The loop: three steps
   -------------------------------------------------------------------------- */

.loop {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	margin-bottom: 44px;
}

.step {
	position: relative;
	padding: 24px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-lift);
}

.step-n {
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--accent-text);
	display: block;
	margin-bottom: 10px;
}

.step h3 {
	margin-bottom: 8px;
}

.step p {
	font-size: 0.95rem;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Browser mockups
   -------------------------------------------------------------------------- */

.shot {
	margin-block: 0;
}

.shot + .shot {
	margin-top: 40px;
}

.chrome {
	border-radius: var(--r-md);
	overflow: hidden;
	box-shadow: var(--shadow-deep);
	border: 1px solid var(--hair);
	background: #fff;
}

.chrome-bar {
	height: 38px;
	background: var(--deep);
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 16px;
}

.chrome-dots {
	display: flex;
	gap: 6px;
	flex: none;
}

.chrome-dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #475569;
}

.chrome-url {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.chrome-url span {
	font-family: var(--mono);
	font-size: 0.72rem;
	color: #94a3b8;
	background: var(--deep-soft);
	padding: 5px 16px;
	border-radius: var(--r-sm);
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* The faked page behind the plugin UI. */
.stage {
	position: relative;
	background: #fff;
	padding: 38px 40px 92px;
	min-height: 300px;
	overflow: hidden;
}

.stage-admin-bar {
	height: 26px;
	background: #1d2327;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 14px;
	margin: -38px -40px 30px;
	font-family: var(--sans);
	font-size: 0.68rem;
	color: #c3c4c7;
}

.stage-admin-bar b {
	color: #fff;
	font-weight: 600;
}

.stage h4 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
	line-height: 1.2;
	color: #1d2327;
	font-weight: 700;
}

.stage-meta {
	font-size: 0.78rem;
	color: #6b7280;
	margin-bottom: 20px;
}

.skeleton {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.skeleton i {
	display: block;
	height: 9px;
	border-radius: 4px;
	background: #e9edf2;
}

.skeleton i:nth-child(4) {
	width: 72%;
}

.skeleton i:nth-child(7) {
	width: 54%;
}

/* ---- the plugin's own UI, reproduced with its real values ---- */

.pfp-bar,
.pfp-toast {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 32px);
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 0.82rem;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.pfp-bar {
	padding: 8px 8px 8px 16px;
	background: #1d2327;
	color: #f0f0f1;
}

.pfp-toast {
	padding: 8px 8px 8px 20px;
	background: #00a32a;
	color: #fff;
	font-weight: 600;
}

.pfp-status {
	opacity: 0.75;
	font-size: 0.76rem;
	white-space: nowrap;
}

.pfp-publish {
	padding: 8px 18px;
	border-radius: 999px;
	background: #00a32a;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.pfp-next {
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.pfp-edit {
	color: #c3c4c7;
	font-size: 0.76rem;
	white-space: nowrap;
}

.pfp-x {
	color: #8c8f94;
	font-size: 1.1rem;
	line-height: 1;
	padding: 2px 6px;
}

.pfp-toast .pfp-x {
	color: rgba(255, 255, 255, 0.8);
}

figcaption {
	margin: 14px auto 0;
	max-width: 62ch;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--muted);
	text-align: center;
}

.mockup-note {
	margin: 28px auto 0;
	max-width: 62ch;
	font-size: 0.82rem;
	color: var(--muted);
	text-align: center;
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Install steps
   -------------------------------------------------------------------------- */

.steps {
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
	max-width: 70ch;
}

.steps li {
	counter-increment: step;
	position: relative;
	padding: 20px 22px 20px 64px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 20px;
	top: 18px;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: var(--r-sm);
	background: var(--panel);
	color: var(--accent-on-deep);
	font-family: var(--mono);
	font-size: 0.82rem;
	font-weight: 700;
}

.steps strong {
	color: var(--ink);
}

.aside {
	margin-top: 22px;
	padding: 18px 22px;
	border-left: 3px solid var(--accent);
	background: var(--sunken);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-size: 0.95rem;
	max-width: 70ch;
}

/* --------------------------------------------------------------------------
   Behaviour cards
   -------------------------------------------------------------------------- */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
}

.card {
	padding: 26px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-lift);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
}

.card p {
	font-size: 0.95rem;
	color: var(--body);
}

.card p + p {
	margin-top: 2px;
}

.icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--accent-text);
}

/* --------------------------------------------------------------------------
   Developer reference
   -------------------------------------------------------------------------- */

.hooks {
	display: grid;
	gap: 20px;
}

.hook {
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	overflow: hidden;
}

.hook-head {
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 14px;
}

.hook-name {
	font-family: var(--mono);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--ink);
	word-break: break-all;
}

.hook-kind {
	font-family: var(--mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-on-deep);
	background: var(--panel);
	padding: 4px 9px;
	border-radius: var(--r-sm);
}

.hook-body {
	padding: 18px 22px 4px;
	font-size: 0.95rem;
}

pre {
	margin: 16px 0 0;
	padding: 18px 22px;
	background: var(--deep);
	color: var(--on-deep);
	font-family: var(--mono);
	font-size: 0.8rem;
	line-height: 1.65;
	overflow-x: auto;
	border-top: 1px solid var(--hair);
	tab-size: 4;
	-moz-tab-size: 4;
}

pre code {
	font-size: inherit;
}

.tok-fn {
	color: #7dd3fc;
}

.tok-str {
	color: #86efac;
}

.tok-com {
	color: #94a3b8;
}

.tok-var {
	color: #fbbf24;
}

/* --------------------------------------------------------------------------
   Panels: privacy, support, licence
   -------------------------------------------------------------------------- */

.panel {
	padding: 30px 28px;
	border-radius: var(--r-md);
	background: var(--panel);
	border: 1px solid var(--hair);
	color: var(--on-deep);
	box-shadow: var(--shadow-deep);
}

.panel h2,
.panel h3 {
	color: #fff;
}

.panel a {
	color: var(--accent-on-deep);
}

.panel a:hover {
	color: #86efac;
}

.claims {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px 26px;
}

.claims li {
	display: flex;
	gap: 11px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.claims .icon {
	color: var(--accent-on-deep);
	margin-top: 2px;
}

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	align-items: start;
}

.changelog {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 18px;
}

.changelog > li {
	padding: 20px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}

.ver {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--accent-on-deep);
	background: var(--panel);
	padding: 4px 11px;
	border-radius: var(--r-sm);
	margin-bottom: 12px;
}

.changelog ul {
	margin: 0;
	padding-left: 20px;
	font-size: 0.93rem;
	color: var(--body);
	display: grid;
	gap: 7px;
}

.meta-list {
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.meta-list > div {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hair);
	font-size: 0.93rem;
}

.meta-list dt {
	color: var(--muted);
}

.meta-list dd {
	margin: 0;
	font-family: var(--mono);
	font-size: 0.86rem;
	color: var(--ink);
	text-align: right;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot {
	padding-block: 44px 56px;
	border-top: 1px solid var(--hair);
	font-size: 0.88rem;
	color: var(--muted);
}

.foot-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	align-items: center;
	justify-content: space-between;
}

.foot a {
	color: var(--body);
}

.foot a:hover {
	color: var(--accent-text);
}

.foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {

	:root {
		--gutter: 18px;
	}

	body {
		font-size: 16px;
	}

	.nav {
		margin-left: 0;
		width: 100%;
		order: 3;
	}

	.stage {
		padding: 30px 22px 86px;
	}

	.stage-admin-bar {
		margin: -30px -22px 24px;
	}

	.pfp-bar,
	.pfp-toast {
		font-size: 0.74rem;
		gap: 7px;
		padding-left: 13px;
	}

	.pfp-status,
	.pfp-edit {
		display: none;
	}

	pre {
		padding: 16px 18px;
		font-size: 0.74rem;
	}
}

@media print {

	body {
		background: #fff;
	}

	body::before,
	.nav,
	.lang,
	.btn {
		display: none;
	}
}

