/* fechaz.com — sistema de design
   Segurança, calma, governança, responsabilidade. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg:            oklch(97.2% 0.006 250);
  --surface:       oklch(100% 0 0);
  --surface-2:     oklch(98.3% 0.005 250);
  --ink:           oklch(20% 0.028 255);
  --fg:            var(--ink);
  --muted:         oklch(46% 0.02 255);
  --muted-2:       oklch(60% 0.014 255);
  --border:        oklch(89% 0.01 255);
  --border-strong: oklch(80% 0.014 255);

  --accent:          oklch(50% 0.10 190);
  --accent-strong:   oklch(42% 0.108 190);
  --accent-contrast: oklch(100% 0 0);
  --accent-soft:     color-mix(in oklch, var(--accent) 13%, transparent);
  --accent-soft-2:   color-mix(in oklch, var(--accent) 7%, transparent);

  --warn:  oklch(64% 0.13 75);
  --good:  var(--accent);

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'IBM Plex Mono', Menlo, monospace;

  --fs-h1: clamp(42px, 5.6vw, 74px);
  --fs-h2: clamp(30px, 3.8vw, 46px);
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;

  --gap-xs: 8px;  --gap-sm: 12px; --gap-md: 20px;
  --gap-lg: 32px; --gap-xl: 56px; --gap-2xl: 100px;

  --container: 1180px;
  --container-narrow: 760px;
  --gutter: 32px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-sm: 6px;

  --shadow-card: 0 20px 60px color-mix(in oklch, var(--ink) 8%, transparent);
  --shadow-pop:  0 30px 80px color-mix(in oklch, var(--ink) 14%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            oklch(15.5% 0.018 255);
    --surface:       oklch(19% 0.02 255);
    --surface-2:     oklch(22.5% 0.02 255);
    --ink:           oklch(95.5% 0.006 250);
    --muted:         oklch(70% 0.015 255);
    --muted-2:       oklch(56% 0.016 255);
    --border:        oklch(31% 0.018 255);
    --border-strong: oklch(40% 0.02 255);

    --accent:          oklch(70% 0.11 187);
    --accent-strong:   oklch(78% 0.10 187);
    --accent-contrast: oklch(14% 0.02 255);
    --accent-soft:     color-mix(in oklch, var(--accent) 16%, transparent);
    --accent-soft-2:   color-mix(in oklch, var(--accent) 9%, transparent);

    --shadow-card: 0 20px 60px color-mix(in oklch, black 45%, transparent);
    --shadow-pop:  0 30px 90px color-mix(in oklch, black 55%, transparent);
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-display); margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:where(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); }
.section + .section { border-top: 1px solid var(--border); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-lg); }
.grid-2-1 { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gap-xl); align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--gap-xl); align-items: start; }
@media (max-width: 980px) { .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; } }
@media (max-width: 1180px) and (min-width: 981px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- type ---------- */
.h1, h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.h2, h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.h3, h3 { font-size: var(--fs-h3); line-height: 1.32; letter-spacing: -.015em; font-weight: 700; }
h4 { font-size: 15px; letter-spacing: -.01em; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 58ch; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--gap-md); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.eyebrow-muted { color: var(--muted); }
.eyebrow-muted::before { background: var(--muted-2); }
.meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent; font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; transition: transform .05s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 6px; min-height: auto; }
.btn-ghost:hover { color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.btn-arrow::after { content: '→'; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-on-dark.btn-secondary { color: var(--surface); border-color: color-mix(in oklch, var(--surface) 28%, transparent); }
.btn-on-dark.btn-secondary:hover { border-color: var(--surface); }

/* ---------- nav ---------- */
.topnav { position: sticky; top: 0; z-index: 40; background: color-mix(in oklch, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 15px; gap: 20px; }
.logo { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.logo-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 9px; border-radius: 7px; background: var(--ink); color: var(--bg); }
.logo-mark svg { width: 14px; height: 14px; }
.topnav nav.primary-nav { display: flex; gap: 30px; }
.topnav nav.primary-nav a { font-size: 14px; font-weight: 500; color: var(--muted); }
.topnav nav.primary-nav a:hover, .topnav nav.primary-nav a[aria-current="page"] { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav-toggle svg { width: 18px; height: 18px; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .topnav nav.primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-secondary.hide-mobile { display: none; }
  .mobile-nav[data-open="true"] { display: block; border-top: 1px solid var(--border); background: var(--bg); }
  .mobile-nav ul { display: flex; flex-direction: column; padding: 10px var(--gutter) 20px; }
  .mobile-nav a { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--fg); border-bottom: 1px solid var(--border); }
  .mobile-nav .btn { margin-top: 14px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(64px, 10vw, 138px); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: clamp(48px, 8vw, 100px); align-items: center; }
.hero h1 { max-width: 20ch; }
.hero .lead { margin-top: 22px; }
.hero-rotator { display: inline-block; color: var(--accent); transition: opacity .22s ease, transform .22s ease; }
.hero-rotator.is-swapping { opacity: 0; transform: translateY(8px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-cta { display: flex; gap: var(--gap-sm); flex-wrap: wrap; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); flex-shrink: 0; }
@media (max-width: 980px) { .hero-split { grid-template-columns: 1fr; } .hero h1 { max-width: 14ch; } }
.hero-center { max-width: 760px; margin-inline: auto; text-align: center; }
.hero-center h1 { max-width: 15ch; margin-inline: auto; }
.hero-center .lead { margin: 22px auto 0; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--border); }
.trust-strip span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; }

/* ---------- architecture visual ---------- */
.architecture-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.architecture-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(color-mix(in oklch, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklch, var(--ink) 5%, transparent) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.architecture-head, .architecture-body { position: relative; }
.architecture-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border: 1px solid var(--muted-2); border-radius: 50%; }
.architecture-body { padding: 22px; }
.arch-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.arch-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 5px 0 22px; }
.arch-title strong { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
.arch-title span { color: var(--muted); font-size: 12px; }
.arch-flow { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; align-items: center; gap: 6px; }
.flow-node { min-height: 82px; padding: 12px 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; }
.flow-node strong { display: block; margin-top: 9px; font-family: var(--font-mono); font-size: 11px; color: var(--ink); }
.flow-node small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.flow-icon { width: 18px; height: 18px; color: var(--ink); }
.flow-arrow { color: var(--muted-2); text-align: center; font-family: var(--font-mono); }
.arch-list { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--border); }
.arch-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.arch-row span:first-child { color: var(--muted); }
.arch-ok { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
@media (max-width: 560px) { .arch-flow { grid-template-columns: 1fr; } .flow-arrow { transform: rotate(90deg); } }

/* ---------- feature cards ---------- */
.feature { padding-top: 24px; border-top: 1px solid var(--ink); }
.feature-mark { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); background: var(--surface-2); }
.feature-mark svg { width: 17px; height: 17px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34ch; }
.feature a.feature-link { display: inline-flex; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }

.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: end; margin-bottom: 52px; }
.section-intro .lead { justify-self: end; text-align: right; }
@media (max-width: 980px) { .section-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; } .section-intro .lead { justify-self: start; text-align: left; } }

.package-copy p { color: var(--muted); }

/* ---------- coverage / process list ---------- */
.coverage-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--ink); }
.coverage-item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.coverage-item .item-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-top: 4px; }
.coverage-item strong { display: block; font-size: 16px; color: var(--ink); }
.coverage-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- dashboard / control card ---------- */
.control-card { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: 24px; }
.control-card .meta { color: color-mix(in oklch, var(--bg) 60%, var(--ink)); }
.control-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-bottom: 28px; }
.control-top h3 { margin-top: 7px; font-family: var(--font-mono); font-size: 15px; color: var(--bg); }
.shield { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid color-mix(in oklch, var(--bg) 26%, var(--ink)); border-radius: 10px; color: var(--bg); }
.shield svg { width: 20px; height: 20px; }
.control-stat { border-top: 1px solid color-mix(in oklch, var(--bg) 20%, var(--ink)); padding-top: 20px; }
.control-stat strong { display: block; font-family: var(--font-mono); font-size: 28px; letter-spacing: -.04em; color: var(--bg); }
.control-stat p { margin: 4px 0 0; color: color-mix(in oklch, var(--bg) 60%, var(--ink)); font-size: 13px; }
.control-checks { display: grid; gap: 11px; margin-top: 26px; }
.control-check { display: flex; align-items: center; gap: 9px; color: color-mix(in oklch, var(--bg) 78%, var(--ink)); font-family: var(--font-mono); font-size: 11px; }
.check-box { width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid color-mix(in oklch, var(--bg) 32%, var(--ink)); border-radius: 4px; color: var(--bg); font-size: 10px; flex-shrink: 0; }

/* ---------- log row (blog teaser / lists) ---------- */
.log-row { display: grid; grid-template-columns: 130px 1fr 110px; gap: var(--gap-lg); padding: 22px 0; border-top: 1px solid var(--border); align-items: baseline; }
.log-row h3 { font-size: 18px; }
.log-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.log-row p { margin: 5px 0 0; color: var(--muted); font-size: 14px; max-width: 60ch; }
.log-row .pull { text-align: right; }
.log-row[hidden] { display: none; }
@media (max-width: 720px) { .log-row { grid-template-columns: 1fr; gap: 6px; } .log-row .pull { text-align: left; } }

/* ---------- pricing ---------- */
.pricing-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; height: 100%; }
.pricing-card.is-highlight { border-color: var(--ink); box-shadow: var(--shadow-pop); position: relative; }
.pricing-badge { position: absolute; top: -13px; left: 26px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pricing-card h3 { font-size: 22px; }
.pricing-tag { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.pricing-card p.pricing-desc { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; }
.pricing-list { display: grid; gap: 12px; margin: 24px 0 26px; }
.pricing-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg); }
.pricing-list li svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--accent); }
.pricing-card .btn { margin-top: auto; }
.pricing-foot { margin-top: 12px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- callouts ---------- */
.callout { border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 18px; background: var(--surface-2); }
.callout p { margin: 0; font-size: 14.5px; color: var(--fg); }
.callout p + p { margin-top: 8px; }
.callout-title { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.callout.callout-warn { border-left-color: var(--warn); }
.callout.callout-warn .callout-title { color: var(--warn); }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-mono); font-size: 18px; color: var(--muted); transition: transform .15s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { margin: -4px 0 22px; color: var(--muted); font-size: 14.5px; max-width: 68ch; }

/* ---------- article / blog post ---------- */
.article-head { padding-block: clamp(48px, 8vw, 96px); }
.article-head .meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.badge { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--muted); }
.article-head h1 { max-width: 20ch; }
.article-head .lead { margin-top: 20px; }
.article-byline { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 13px; color: var(--muted); }
.byline-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.article-body { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.article-body h2 { font-size: 27px; margin-top: 48px; margin-bottom: 16px; letter-spacing: -.02em; }
.article-body h3 { font-size: 19px; margin-top: 32px; margin-bottom: 10px; }
.article-body p { color: var(--fg); font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { color: var(--fg); font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body .callout { margin: 28px 0; }
.article-body code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.article-cta { max-width: var(--container-narrow); margin: 56px auto 0; padding: 30px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-cta p { margin: 0; max-width: 42ch; color: var(--muted); }
.article-cta h4 { margin-bottom: 6px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); margin-top: 26px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } .article-cta { flex-direction: column; align-items: flex-start; } }
.related-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.related-card .meta { display: block; margin-bottom: 8px; }
.related-card h4 a:hover { color: var(--accent); }

/* ---------- filter bar (blog index) ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.filter { min-height: 38px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); font-family: var(--font-mono); font-size: 11px; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.filter:hover, .filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); }
.input, .textarea, select.input { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--fg); font: inherit; font-size: 14.5px; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.textarea { min-height: 108px; resize: vertical; }
.form-status { min-height: 22px; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.contact-form { display: grid; gap: 15px; }

/* dark contact section variant */
.section-dark { background: var(--ink); color: var(--bg); }
.section-dark .eyebrow { color: color-mix(in oklch, var(--bg) 70%, var(--ink)); }
.section-dark .eyebrow::before { background: var(--accent); }
.section-dark h2, .section-dark h1 { color: var(--bg); }
.section-dark .lead { color: color-mix(in oklch, var(--bg) 70%, var(--ink)); }
.section-dark .field label { color: color-mix(in oklch, var(--bg) 70%, var(--ink)); }
.section-dark .input, .section-dark .textarea { border-color: color-mix(in oklch, var(--bg) 24%, var(--ink)); background: color-mix(in oklch, var(--bg) 7%, var(--ink)); color: var(--bg); }
.section-dark .input::placeholder, .section-dark .textarea::placeholder { color: color-mix(in oklch, var(--bg) 46%, var(--ink)); }
.section-dark .input:focus, .section-dark .textarea:focus { border-color: var(--bg); outline-color: color-mix(in oklch, var(--bg) 30%, transparent); }
.section-dark .form-status { color: color-mix(in oklch, var(--bg) 76%, var(--ink)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- footer ---------- */
.pagefoot { padding-block: var(--gap-xl); border-top: 1px solid var(--border); }
.pagefoot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap-xl); padding-bottom: var(--gap-xl); }
.pagefoot-brand p { margin: 14px 0 0; color: var(--muted); font-size: 14px; max-width: 32ch; }
.pagefoot h4 { font-size: 12px; letter-spacing: .04em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 14px; }
.pagefoot-col ul { display: grid; gap: 10px; }
.pagefoot-col a { font-size: 14px; color: var(--muted); }
.pagefoot-col a:hover { color: var(--fg); }
.pagefoot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13px; }
.pagefoot-bottom a:hover { color: var(--fg); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .pagefoot-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .pagefoot-top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.error-page { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.error-code { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.error-page h1 { margin-top: 16px; }
.error-page .lead { margin: 18px auto 0; }
.error-page .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--border); border: none; margin: var(--gap-xl) 0; }
.kicker-list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.kicker-list span { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .05em; }

/* ---------- premium editorial pass ----------
   A Fechaz should feel like a specialist studio, not a generic SaaS dashboard. */
:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --surface-2: #edf1ee;
  --ink: #14242b;
  --fg: #14242b;
  --muted: #59686b;
  --muted-2: #829092;
  --border: #dce4e0;
  --border-strong: #bccbc5;
  --accent: #e56745;
  --accent-strong: #c95032;
  --accent-contrast: #ffffff;
  --accent-soft: rgba(229, 103, 69, .13);
  --accent-soft-2: rgba(229, 103, 69, .07);
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 12px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --shadow-card: 0 18px 45px rgba(20, 36, 43, .07);
  --shadow-pop: 0 24px 70px rgba(20, 36, 43, .13);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101b20;
    --surface: #16252b;
    --surface-2: #1d3035;
    --ink: #f2f4ed;
    --fg: #f2f4ed;
    --muted: #b2c0bd;
    --muted-2: #80928f;
    --border: #2a3c41;
    --border-strong: #3b5053;
    --accent: #f07b58;
    --accent-strong: #ff9674;
    --accent-contrast: #101b20;
    --accent-soft: rgba(240, 123, 88, .16);
    --accent-soft-2: rgba(240, 123, 88, .09);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, .22);
    --shadow-pop: 0 30px 90px rgba(0, 0, 0, .34);
  }
}

body { background: var(--bg); }
.container { max-width: 1240px; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section + .section { border-top-color: color-mix(in srgb, var(--border) 72%, transparent); }

/* Type has more air and less “generated UI” density. */
h1, h2, h3, h4 { font-weight: 700; }
h1 { font-size: clamp(46px, 6.2vw, 84px); line-height: .98; letter-spacing: -.065em; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
h3 { letter-spacing: -.03em; }
.lead { font-size: 17px; line-height: 1.65; }
.eyebrow { font-size: 10px; letter-spacing: .15em; }
.eyebrow::before { width: 18px; height: 2px; border-radius: 0; }

/* Navigation */
.topnav { background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent); }
.topnav-inner { padding-block: 18px; }
.logo { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.045em; }
.logo-mark { width: 32px; height: 32px; margin-right: 10px; border-radius: 10px; background: transparent; color: #fff; }
.logo-mark img { display: block; width: 100%; height: 100%; }
.topnav nav.primary-nav { gap: 34px; }
.topnav nav.primary-nav a { position: relative; font-size: 13px; font-weight: 600; }
.topnav nav.primary-nav a::after { content: ''; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.topnav nav.primary-nav a:hover::after, .topnav nav.primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.btn { min-height: 48px; padding: 13px 21px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.btn-primary { box-shadow: 0 8px 18px rgba(229, 103, 69, .18); }
.btn-secondary { background: var(--surface); }
.btn-ghost { border-radius: 999px; }

/* Homepage hero / visual anchor */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; top: -260px; right: -120px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 68%); pointer-events: none; }
.hero-split { gap: clamp(52px, 7vw, 112px); }
.hero-split h1 { max-width: 11ch; }
.hero-center h1 { max-width: 15ch; }
.hero h1 .hero-rotator { color: var(--accent); }
.hero .lead { max-width: 52ch; margin-top: 26px; }
.hero-cta { margin-top: 34px; }
.hero-note { margin-top: 30px; font-size: 12px; }
.status-dot { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.trust-strip { gap: 12px; margin-top: 42px; padding-top: 24px; }
.trust-strip span { padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; font-size: 9px; letter-spacing: .1em; color: var(--muted); background: color-mix(in srgb, var(--surface) 50%, transparent); }

.architecture-card { background: var(--ink); border: 0; border-radius: 24px; box-shadow: var(--shadow-pop); color: var(--bg); transform: rotate(1.2deg); transition: transform .25s ease, box-shadow .25s ease; }
.architecture-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 28px 80px rgba(20, 36, 43, .18); }
.architecture-card::before { opacity: .16; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); }
.architecture-head { padding: 18px 22px; border-bottom-color: rgba(255,255,255,.15); }
.architecture-body { padding: 28px; }
.architecture-card .meta, .architecture-card .arch-label, .architecture-card .arch-title span { color: rgba(245,246,243,.62); }
.architecture-card .arch-title strong, .architecture-card .flow-node strong { color: #f5f6f3; }
.architecture-card .window-dots i { border-color: rgba(245,246,243,.52); }
.architecture-card .flow-node { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.16); border-radius: 14px; }
.architecture-card .flow-icon { color: var(--accent); }
.architecture-card .flow-node small, .architecture-card .arch-row span:first-child { color: rgba(245,246,243,.62); }
.architecture-card .arch-list, .architecture-card .arch-row { border-color: rgba(255,255,255,.14); }
.architecture-card .arch-ok { color: #ff9a7b; }

/* Section headings and feature grid */
.section-intro { gap: clamp(32px, 8vw, 130px); margin-bottom: 60px; }
.section-intro .lead { max-width: 38ch; }
.feature { padding: 26px 24px 25px; border: 1px solid var(--border); border-top: 2px solid var(--ink); border-radius: 0 0 16px 16px; background: color-mix(in srgb, var(--surface) 78%, transparent); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-card); }
.feature-mark { width: 42px; height: 42px; margin-bottom: 25px; border-color: var(--accent-soft); border-radius: 12px; color: var(--accent); background: var(--accent-soft-2); }
.feature-mark svg { width: 19px; height: 19px; }
.feature h3 { margin-bottom: 10px; font-size: 19px; }
.feature p { font-size: 14px; line-height: 1.65; }
.feature a.feature-link { margin-top: 20px; font-size: 12px; }

/* Process and status panel */
.coverage-list { margin-top: 34px; border-top-color: var(--ink); }
.coverage-item { padding: 21px 0; }
.coverage-item strong { font-size: 15px; }
.coverage-item p { font-size: 13px; line-height: 1.6; }
.control-card { position: sticky; top: 110px; background: linear-gradient(145deg, #14242b 0%, #1d3940 100%); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-pop); }
.control-stat strong { color: #ff9a7b; }
.check-box { border-color: rgba(255,255,255,.4); color: #ff9a7b; }

/* Rows, pricing and callouts */
.log-row { grid-template-columns: 142px 1fr 120px; padding: 26px 0; }
.log-row h3 { font-size: 19px; }
.log-row p { line-height: 1.55; }
.pricing-card { border-radius: 22px; padding: 34px 30px; box-shadow: 0 8px 24px rgba(20,36,43,.035); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.pricing-card.is-highlight { border: 2px solid var(--accent); box-shadow: var(--shadow-pop); }
.pricing-badge { top: -14px; left: 28px; background: var(--accent); color: #fff; padding: 6px 12px; }
.pricing-tag { color: var(--accent); font-size: 10px; }
.pricing-card h3 { font-size: 26px; }
.callout { border-left-width: 4px; border-radius: 0 12px 12px 0; background: var(--accent-soft-2); }

/* Dark conversion sections */
.section-dark { position: relative; overflow: hidden; background: #14242b; }
.section-dark::before { content: ''; position: absolute; width: 500px; height: 500px; right: -180px; top: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(229,103,69,.25), transparent 67%); pointer-events: none; }
.section-dark > .container { position: relative; }
.section-dark .btn-primary { background: var(--accent); border-color: var(--accent); }
.contact-form { padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.055); }
.section-dark .input, .section-dark .textarea { border-radius: 10px; background: rgba(255,255,255,.08); }

/* Footer */
.pagefoot { padding-block: 70px 28px; }
.pagefoot-top { padding-bottom: 62px; }
.pagefoot-brand p { line-height: 1.6; }
.pagefoot h4 { color: var(--accent); font-size: 10px; letter-spacing: .13em; }
.pagefoot-col ul { gap: 12px; }
.pagefoot-col a { font-size: 13px; }

@media (max-width: 980px) {
  .hero-split h1 { max-width: 14ch; }
  .hero-center h1 { max-width: 15ch; }
  .architecture-card { transform: none; }
  .control-card { position: static; }
}
@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 64px; }
  h1 { font-size: clamp(42px, 13vw, 64px); }
  h2 { font-size: clamp(34px, 11vw, 48px); }
  .architecture-body { padding: 22px; }
  .contact-form { padding: 20px; }
  .row { flex-wrap: wrap; }
}

/* ---------- contrast and responsive safeguards ----------
   Inverse panels keep the same palette in both system themes. Using the
   page-level --bg/--ink tokens here made text disappear when dark mode
   swapped their meaning. */
.architecture-card {
  background: #14242b;
  color: #f5f6f3;
}
.architecture-card .meta,
.architecture-card .arch-label,
.architecture-card .arch-title span,
.architecture-card .flow-node small,
.architecture-card .arch-row span:first-child { color: #aebbb8; }
.architecture-card .arch-title strong,
.architecture-card .flow-node strong { color: #f5f6f3; }
.architecture-card .flow-arrow { color: #91a09d; }

.control-card { color: #f5f6f3; }
.control-card .meta,
.control-stat p { color: #aebbb8; }
.control-top h3 { color: #f5f6f3; }
.shield { border-color: rgba(255,255,255,.34); color: #f5f6f3; }
.control-stat { border-top-color: rgba(255,255,255,.24); }
.control-check { color: #d8dfdc; }

.section-dark { color: #f5f6f3; }
.section-dark h1,
.section-dark h2 { color: #f5f6f3; }
.section-dark .eyebrow,
.section-dark .lead,
.section-dark .field label,
.section-dark .form-status { color: #b9c5c2; }
.section-dark .kicker-list span { color: #aebbb8; }
.section-dark .input,
.section-dark .textarea { color: #f5f6f3; border-color: rgba(255,255,255,.28); }
.section-dark .input::placeholder,
.section-dark .textarea::placeholder { color: #93a19e; }
.section-dark .input:focus,
.section-dark .textarea:focus { border-color: #f5f6f3; outline-color: rgba(245,246,243,.28); }
.btn-on-dark.btn-secondary { color: #f5f6f3; border-color: rgba(255,255,255,.32); background: transparent; }
.btn-on-dark.btn-secondary:hover { border-color: #f5f6f3; }

@media (max-width: 720px) {
  .log-row { grid-template-columns: 1fr; gap: 7px; }
  .log-row .pull { text-align: left; }
  .newsletter-row { flex-direction: column; }
  .newsletter-row .btn { width: 100%; }
}

@media (max-width: 560px) {
  .hero { padding-block: 54px 64px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .section-intro { margin-bottom: 32px; }
  .feature { padding: 23px 20px 22px; }
}

/* ---------- professional editorial refinement ---------- */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

body { letter-spacing: -.008em; }
h1 { font-size: clamp(44px, 5.35vw, 72px); line-height: 1; letter-spacing: -.055em; }
h2 { font-size: clamp(32px, 3.7vw, 50px); line-height: 1.06; letter-spacing: -.045em; }
.lead { line-height: 1.7; }
.section { padding-block: clamp(68px, 7.5vw, 104px); }

.topnav-inner { padding-block: 14px; }
.topnav { box-shadow: 0 1px 0 rgba(255,255,255,.02); }
.btn { min-height: 46px; padding: 12px 19px; border-radius: 10px; }
.btn-ghost { border-radius: 8px; }

.hero { padding-block: clamp(72px, 8.5vw, 116px); }
.hero-split { grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(48px, 6vw, 88px); }
.hero-split h1 { max-width: 12ch; }
.hero .lead { max-width: 56ch; }
.hero-note { max-width: 62ch; line-height: 1.55; }
.architecture-card { transform: none; }
.architecture-card:hover { transform: translateY(-3px); }
.trust-strip { gap: 9px 12px; }
.trust-strip span { border-radius: 7px; }

.feature { border-top-width: 1px; border-radius: 14px; }
.feature:hover { transform: translateY(-3px); }
.control-card { top: 96px; }
.pricing-card:hover { transform: translateY(-3px); }

.section-deliverables {
  background: color-mix(in srgb, var(--surface-2) 52%, transparent);
}
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}
.deliverable-card {
  min-height: 230px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}
.deliverable-card:last-child { border-right: 0; }
.deliverable-card .item-num {
  display: block;
  margin-bottom: 46px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
}
.deliverable-card h3 { font-size: 18px; }
.deliverable-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.assurance-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft-2);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.assurance-note strong { color: var(--fg); }

.pagefoot { padding-top: 58px; }
.pagefoot-top { padding-bottom: 48px; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverable-card:nth-child(2) { border-right: 0; }
  .deliverable-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(39px, 11.5vw, 50px); }
  h2 { font-size: clamp(31px, 9vw, 42px); }
  .hero { padding-block: 52px 64px; }
  .hero-split h1 { max-width: 14ch; }
  .hero-cta .btn-primary { width: 100%; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .deliverable-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .deliverable-card:nth-child(3) { border-bottom: 1px solid var(--border); }
  .deliverable-card:last-child { border-bottom: 0; }
  .deliverable-card .item-num { margin-bottom: 26px; }
}

/* ---------- tangible FIDO2 proposition ---------- */
.hero h1 .hero-rotator {
  display: block;
  min-height: 1em;
  color: var(--accent);
}

.fido-hero-visual {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.key-visual {
  position: relative;
  display: grid;
  width: min(100%, 610px);
  height: auto;
  place-items: center;
  margin: -24px auto -32px;
}
.key-visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.52));
  animation: fido-float 5.4s ease-in-out infinite;
  transform-origin: 52% 58%;
}
.key-ring {
  position: absolute;
  z-index: 1;
  width: 250px;
  aspect-ratio: 1;
  border: 1px solid rgba(240,123,88,.30);
  border-radius: 50%;
  animation: fido-signal 3.8s ease-out infinite;
}
.key-ring-two { animation-delay: 1.9s; }
.key-proof {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100%, 470px);
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: end;
  padding: 19px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border);
}
.key-proof .meta { color: #f07b58; font-size: 9px; letter-spacing: .12em; }
.key-proof strong { display: block; grid-row: 2; margin-top: 7px; color: var(--ink); font-size: 21px; letter-spacing: -.025em; }
.key-proof p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.key-status {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-left: 5%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.key-caption { width: min(100%, 470px); margin-top: 8px; color: var(--muted-2); font-size: 9px; text-align: right; }

.protection-marquee {
  position: relative;
  width: 100%;
  margin-top: clamp(62px, 8vw, 104px);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 32%, transparent);
}
.protection-marquee::before,
.protection-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(11vw, 150px);
  pointer-events: none;
}
.protection-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.protection-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.protection-track {
  display: flex;
  width: max-content;
  animation: protection-slide 28s linear infinite;
}
.protection-group { display: flex; flex-shrink: 0; align-items: center; gap: 14px; padding: 15px 14px 15px 0; }
.protection-item {
  display: grid;
  min-width: 220px;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 9px 16px;
  border-right: 1px solid var(--border);
}
.protection-item b { align-self: end; color: var(--ink); font-size: 13px; letter-spacing: -.01em; }
.protection-item small { align-self: start; color: var(--muted-2); font-family: var(--font-mono); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.app-icon { display: grid; width: 36px; height: 36px; grid-row: 1 / span 2; place-items: center; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--accent); background: var(--surface); }
.app-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-n8n { position: relative; display: block; }
.icon-n8n::before { content: ''; position: absolute; top: 17px; left: 8px; width: 19px; height: 1px; background: currentColor; transform: rotate(-18deg); }
.icon-n8n i { position: absolute; z-index: 1; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; background: var(--surface); }
.icon-n8n i:nth-child(1) { top: 17px; left: 6px; }
.icon-n8n i:nth-child(2) { top: 11px; left: 15px; }
.icon-n8n i:nth-child(3) { top: 15px; right: 5px; }

@keyframes protection-slide { to { transform: translateX(-50%); } }

@keyframes fido-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(1deg); }
}
@keyframes fido-signal {
  0% { opacity: .55; transform: scale(.58); }
  72%, 100% { opacity: 0; transform: scale(1.28); }
}

.section-tangible { background: color-mix(in srgb, var(--surface-2) 46%, transparent); }
.tangible-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(46px, 8vw, 120px); align-items: start; }
.tangible-benefits { border-top: 1px solid var(--ink); }
.tangible-benefits article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.tangible-benefits article > span { padding-top: 3px; color: var(--accent); font-family: var(--font-mono); font-size: 10px; }
.tangible-benefits strong { color: var(--ink); font-size: 16px; }
.tangible-benefits p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.ownership-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  margin-top: 64px;
  padding: 30px;
  border: 1px solid rgba(240,123,88,.30);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240,123,88,.10), rgba(255,255,255,.025));
}
.ownership-card .eyebrow { margin-bottom: 12px; }
.ownership-card h3 { max-width: 26ch; font-size: 24px; }
.ownership-card > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- network access diagram ---------- */
.network-diagram {
  position: relative;
  overflow: hidden;
  margin-bottom: 74px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.network-head,
.network-legend { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px; }
.network-head { border-bottom: 1px solid var(--border); }
.network-head .meta { color: var(--muted-2); }
.network-live { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-2); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.network-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: network-blink 2.2s ease-in-out infinite; }
.network-stage { position: relative; min-height: 420px; padding: 30px 22px; }
.network-lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.network-path { fill: none; stroke-width: 1.2; stroke-dasharray: .025 .035; animation: network-flow 3.5s linear infinite; }
.network-path.public { stroke: url(#line-public); }
.network-path.private { stroke: url(#line-private); animation-direction: reverse; }
.network-dot { fill: var(--accent); filter: drop-shadow(0 0 5px rgba(240,123,88,.7)); }
.network-dot.private { fill: #4fb3a6; filter: drop-shadow(0 0 5px rgba(79,179,166,.7)); }
.network-lane { position: absolute; z-index: 1; top: 30px; bottom: 30px; display: flex; flex-direction: column; justify-content: space-between; width: 27%; }
.network-public-lane { left: 22px; }
.network-private-lane { right: 22px; }
.network-node { display: flex; min-height: 70px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 13px; background: color-mix(in srgb, var(--surface-2) 88%, transparent); }
.network-node b { display: block; color: var(--ink); font-size: 12px; }
.network-node small { display: block; margin-top: 5px; color: var(--muted-2); font-family: var(--font-mono); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.network-icon { display: grid; width: 32px; height: 32px; flex-shrink: 0; place-items: center; border: 1px solid var(--border-strong); border-radius: 9px; color: var(--accent); background: var(--bg); }
.network-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.network-private-lane .network-icon { color: #4fb3a6; }
.network-core { position: absolute; z-index: 2; top: 50%; left: 50%; display: flex; width: 190px; min-height: 160px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border)); border-radius: 20px; background: #14242b; box-shadow: 0 16px 34px rgba(20,36,43,.18); color: #f5f6f3; text-align: center; transform: translate(-50%, -50%); }
.network-core .network-icon { width: 44px; height: 44px; border-color: rgba(240,123,88,.42); color: var(--accent); background: rgba(240,123,88,.11); }
.network-core .network-icon svg { width: 22px; height: 22px; }
.network-core b { font-size: 16px; letter-spacing: -.02em; }
.network-core small { color: rgba(245,246,243,.7); font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.network-core em { margin-top: 3px; color: #ff9a7b; font-family: var(--font-mono); font-size: 8px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.core-pulse { position: absolute; width: 100%; height: 100%; border: 1px solid rgba(240,123,88,.26); border-radius: 20px; animation: core-pulse 2.8s ease-out infinite; pointer-events: none; }
.network-legend { justify-content: flex-start; flex-wrap: wrap; border-top: 1px solid var(--border); color: var(--muted-2); font-family: var(--font-mono); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.network-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.legend-dot.private { background: #4fb3a6; }
@keyframes network-flow { to { stroke-dashoffset: -.12; } }
@keyframes network-blink { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes core-pulse { 0% { opacity: .55; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.14); } }

@media (prefers-reduced-motion: reduce) {
  .network-path,
  .network-dot animateMotion,
  .network-live i,
  .core-pulse { animation: none; }
}

@media (max-width: 760px) {
  .network-head, .network-legend { align-items: flex-start; flex-direction: column; }
  .network-stage { display: grid; min-height: 0; gap: 20px; padding: 22px 18px; }
  .network-lines { display: none; }
  .network-lane, .network-core { position: static; width: auto; transform: none; }
  .network-public-lane, .network-private-lane { gap: 10px; }
  .network-public-lane { order: 1; }
  .network-core { order: 2; min-height: 138px; }
  .network-private-lane { order: 3; }
  .network-node { min-height: 58px; }
  .network-legend { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .key-visual img,
  .key-ring,
  .protection-track { animation: none; }
}

@media (max-width: 980px) {
  .fido-hero-visual { min-height: 480px; }
  .key-visual { width: min(100%, 620px); }
  .key-status { align-self: center; margin-left: 0; }
  .tangible-grid,
  .ownership-card { grid-template-columns: 1fr; }
  .ownership-card { align-items: start; }
}

@media (max-width: 560px) {
  .hero h1 .hero-rotator { min-height: 1.9em; }
  .fido-hero-visual { min-height: 420px; padding-top: 24px; }
  .key-visual { width: 100%; margin: -10px auto -20px; }
  .key-proof { width: 100%; grid-template-columns: 1fr; gap: 0; padding: 16px 0; }
  .key-proof strong { font-size: 18px; }
  .key-proof p { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .key-status { align-self: flex-start; font-size: 8px; }
  .key-caption { width: 100%; }
  .protection-marquee { margin-top: 54px; }
  .protection-item { min-width: 190px; }
  .ownership-card { margin-top: 42px; padding: 23px 20px; }
  .ownership-card h3 { font-size: 21px; }
}
