:root {
  --ink: #171713;
  --ink-soft: #4e4b43;
  --paper: #f2eee6;
  --paper-deep: #e8e0d4;
  --white: #fffdf8;
  --line: rgba(23, 23, 19, .18);
  --line-dark: rgba(255, 253, 248, .2);
  --terracotta: #9b4a30;
  --terracotta-bright: #d98565;
  --blue: #164fda;
  --green: #2f7352;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 3px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol, blockquote { margin-top: 0; }

:focus-visible {
  outline: 3px solid #fffdf8;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #164fda;
}

.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(88px, 10vw, 150px); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--ink);
  border-radius: 2px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(242, 238, 230, .9);
  backdrop-filter: blur(14px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(23, 23, 19, .04); }
.header-inner { height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; text-decoration: none; font-weight: 760; letter-spacing: -.03em; }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; width: 34px; height: 30px; overflow: hidden; color: var(--white); background: var(--ink); font-size: 17px; font-weight: 750; line-height: 30px; text-align: center; }
.brand-mark span:last-child { color: var(--ink); background: var(--terracotta-bright); }
.brand-name { font-size: 17px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; color: #37352f; font-size: 13px; font-weight: 680; text-decoration: none; }
.main-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; content: ""; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--terracotta);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--terracotta); }
.button-small { min-height: 42px; padding: 10px 16px; box-shadow: none; font-size: 12px; }
.button-small:hover { transform: none; background: var(--terracotta); }
.button-inverse { color: var(--ink); background: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 var(--terracotta-bright); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 19px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-nav { padding: 20px 24px 28px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a:not(.button) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 650; text-decoration: none; }
.mobile-nav .button { margin-top: 20px; }

.hero { position: relative; padding-top: clamp(70px, 8vw, 112px); }
.hero::after { position: absolute; top: 7%; right: -140px; z-index: -1; width: 430px; height: 430px; content: ""; border: 1px solid rgba(155, 74, 48, .16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(155, 74, 48, .035), 0 0 0 140px rgba(155, 74, 48, .025); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; gap: clamp(50px, 7vw, 96px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--serif); font-weight: 520; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(48px, 5vw, 68px); }
.hero-lead { max-width: 670px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.text-link { font-size: 13px; font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--ink); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 34px 0 0; padding: 0; color: #5d594f; font-size: 12px; font-weight: 650; list-style: none; }
.hero-notes li { display: flex; align-items: center; gap: 7px; }
.hero-notes li::before { width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--green); }

.process-board { position: relative; padding: 24px; border: 1px solid rgba(23, 23, 19, .55); background: #e9e2d6; box-shadow: 18px 18px 0 rgba(155, 74, 48, .14); }
.process-board::before { position: absolute; inset: 7px; z-index: 0; content: ""; border: 1px solid rgba(23, 23, 19, .1); pointer-events: none; }
.process-board > * { position: relative; z-index: 1; }
.board-topline { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.status-dot { display: flex; align-items: center; gap: 7px; color: #315f4a; }
.status-dot::before { width: 6px; height: 6px; content: ""; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(63, 140, 104, .14); }
.board-stage { padding: 16px; border: 1px solid var(--line); background: rgba(255, 253, 248, .6); }
.stage-label { margin-bottom: 12px; color: #5c574f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.input-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-card { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid rgba(23, 23, 19, .12); background: var(--white); }
.mini-card > span:last-child { min-width: 0; }
.mini-card strong, .mini-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-card strong { font-size: 11px; }
.mini-card small { color: #5f5a52; font-size: 10px; }
.file-icon { display: grid; flex: 0 0 31px; height: 35px; place-items: center; color: var(--white); background: var(--terracotta); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; }
.file-icon::before { content: ""; width: 13px; height: 16px; border: 1.5px solid currentColor; border-radius: 1px; box-shadow: inset 0 -5px 0 -4px currentColor, inset 0 -9px 0 -8px currentColor; }
.file-icon.sheet { background: var(--green); }
.file-icon.sheet::before { width: 15px; height: 14px; background: linear-gradient(currentColor, currentColor) 50% 33% / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 50% 66% / 100% 1px no-repeat, linear-gradient(90deg, currentColor, currentColor) 50% 50% / 1px 100% no-repeat; }
.flow-arrow { height: 26px; display: grid; place-items: center; }
.flow-arrow span { position: relative; width: 1px; height: 19px; background: var(--ink); }
.flow-arrow span::after { position: absolute; right: -3px; bottom: 0; width: 6px; height: 6px; content: ""; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
.board-stage-core { background: var(--ink); }
.board-stage-core .stage-label { color: #bcb7ae; }
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.core-grid span { padding: 8px 3px; border: 1px solid rgba(255, 255, 255, .2); color: var(--white); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; text-align: center; }
.review-chip { width: fit-content; margin: 12px auto 0; padding: 5px 8px; color: #ded8cd; border: 1px solid rgba(255, 255, 255, .13); font-size: 10px; }
.review-chip i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--terracotta-bright); }
.output-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.output-row span { min-height: 42px; display: grid; place-items: center; padding: 6px; border: 1px solid rgba(23, 23, 19, .15); background: var(--white); color: #4c4942; font-size: 10px; font-weight: 750; text-align: center; }
.board-caption { margin: 15px 0 0; color: #5a554e; font-size: 10px; line-height: 1.4; }

.signal-strip { border-block: 1px solid var(--line); background: rgba(255, 253, 248, .36); }
.signal-grid { display: grid; grid-template-columns: .55fr 1.45fr; align-items: stretch; }
.signal-grid > p { display: flex; align-items: center; margin: 0; padding: 28px 30px 28px 0; border-right: 1px solid var(--line); font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.signal-grid ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.signal-grid li { padding: 24px; border-right: 1px solid var(--line); color: #49463f; font-size: 13px; line-height: 1.45; }
.signal-grid li:last-child { border: 0; }
.signal-grid li span { display: block; margin-bottom: 7px; color: var(--terracotta); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; }

.section-head { margin-bottom: 56px; }
.split-head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 80px; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 68px); }
.split-head > p { max-width: 410px; margin: 0 0 4px; color: var(--ink-soft); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.service-card { position: relative; display: flex; min-height: 440px; flex-direction: column; padding: 26px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .22); }
.service-card-featured { background: var(--white); }
.service-index { color: var(--terracotta); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; }
.service-icon { position: absolute; top: 24px; right: 20px; width: 86px; height: 102px; margin: 0; border: 1px solid var(--ink); background: var(--paper); transform: scale(.62); transform-origin: top right; }
.doc-line { display: block; width: 46px; height: 2px; margin: 30px 0 0 19px; background: var(--ink); }
.doc-line.short { width: 31px; margin-top: 9px; }
.scan-line { position: absolute; top: 58px; left: -10px; width: 104px; height: 1px; background: var(--terracotta); box-shadow: 0 0 13px 2px rgba(155, 74, 48, .25); transition: transform .2s ease; }
.nodes { border: 0; background: transparent; }
.nodes::before, .nodes::after { position: absolute; content: ""; background: var(--ink); }
.nodes::before { top: 49px; left: 17px; width: 54px; height: 1px; }
.nodes::after { top: 24px; left: 43px; width: 1px; height: 52px; }
.nodes i { position: absolute; z-index: 1; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.nodes i:nth-child(1) { top: 39px; left: 0; }
.nodes i:nth-child(2) { top: 39px; right: 0; background: var(--terracotta-bright); }
.nodes i:nth-child(3) { top: 0; left: 32px; }
.steps { border: 0; background: transparent; }
.steps i { position: absolute; width: 50px; height: 25px; border: 1px solid var(--ink); background: var(--paper); }
.steps i:nth-child(1) { top: 10px; left: 0; }
.steps i:nth-child(2) { top: 39px; left: 18px; background: var(--terracotta-bright); }
.steps i:nth-child(3) { top: 68px; left: 36px; }
.service-card h3 { max-width: 260px; margin: 62px 0 14px; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.service-card > p { min-height: 76px; margin-bottom: 25px; color: var(--ink-soft); font-size: 15px; }
.service-list { margin: 0 0 26px; padding: 19px 0 0; border-top: 1px solid var(--line); color: #555149; font-size: 12px; list-style: none; }
.service-list li { position: relative; padding: 4px 0 4px 15px; }
.service-list li::before { position: absolute; top: 11px; left: 0; width: 5px; height: 5px; content: ""; border: 1px solid var(--terracotta); }
.service-card > .text-link { align-self: flex-start; margin-top: auto; }
.service-card:hover .scan-line, .service-card:focus-within .scan-line { transform: translateY(14px); }
.service-card:hover .nodes i:nth-child(2), .service-card:focus-within .nodes i:nth-child(2) { background: var(--terracotta); }

.examples { border-block: 1px solid var(--line); background: var(--paper-deep); }
.examples-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 28px 70px; }
.examples-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.examples-head h2 { max-width: 850px; }
.examples-head > p:last-child { max-width: 490px; margin: 0 0 4px; color: var(--ink-soft); font-size: 14px; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.example-card { min-height: 470px; padding: 26px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .38); }
.example-card:nth-child(2) { background: rgba(255, 253, 248, .72); }
.example-index { display: block; margin-bottom: 72px; color: var(--terracotta); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; }
.example-card h3 { min-height: 72px; margin-bottom: 30px; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.example-state { padding-top: 17px; border-top: 1px solid var(--line); }
.example-state + .example-state { margin-top: 20px; }
.example-state strong { display: block; margin-bottom: 6px; color: #655f55; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.example-state p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.example-state-next { position: relative; padding-left: 18px; border-top-color: rgba(155, 74, 48, .32); }
.example-state-next::before { position: absolute; top: 21px; bottom: 3px; left: 0; width: 2px; content: ""; background: var(--terracotta); }
.example-state-next strong { color: var(--terracotta); }
.examples-cta { margin-top: 34px; }

.method { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.method::before { position: absolute; top: -240px; left: -160px; width: 620px; height: 620px; content: ""; border: 1px solid rgba(255, 255, 255, .04); border-radius: 50%; box-shadow: 0 0 0 100px rgba(255, 255, 255, .018), 0 0 0 200px rgba(255, 255, 255, .012); }
.method-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 10vw, 145px); }
.eyebrow-light { color: var(--terracotta-bright); }
.contact .eyebrow-light { color: #fff3ed; }
.method-intro { align-self: start; position: sticky; top: 120px; }
.method-intro h2 { margin-bottom: 30px; }
.method-intro > p:not(.eyebrow) { max-width: 480px; color: #c7c2b8; }
.commercial-note { margin-top: 44px; padding: 22px; border: 1px solid var(--line-dark); border-left: 3px solid var(--terracotta-bright); background: rgba(255, 255, 255, .035); }
.commercial-note strong, .commercial-note span { display: block; }
.commercial-note strong { margin-bottom: 4px; color: var(--white); font-size: 13px; }
.commercial-note span { color: #aaa59b; font-size: 11px; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.method-steps li { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
.step-number { color: var(--terracotta-bright); font-family: ui-monospace, monospace; font-size: 11px; }
.method-steps h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 29px; font-weight: 520; line-height: 1.1; }
.method-steps p { margin-bottom: 10px; color: #c7c2b8; font-size: 15px; }
.method-steps small { color: #bdb8ae; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .035em; text-transform: uppercase; }

.dockia-section { color: #ebf7f3; background: #0b2b27; }
.dockia-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(64px, 9vw, 126px); }
.product-kicker { margin-bottom: 20px; color: #8cc3b3; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dockia-wordmark { margin-bottom: 35px; font-size: 42px; font-weight: 650; letter-spacing: -.08em; line-height: 1; }
.dockia-wordmark b { color: #67d3b1; font-weight: 650; }
.dockia-copy h2 { max-width: 640px; margin-bottom: 28px; }
.dockia-copy > p:not(.product-kicker) { max-width: 610px; color: #bad0ca; font-size: 16px; }
.check-list { margin: 30px 0 36px; padding: 0; color: #d6e8e3; font-size: 12px; list-style: none; }
.check-list li { position: relative; margin: 9px 0; padding-left: 22px; }
.check-list li::before { position: absolute; top: 5px; left: 0; width: 9px; height: 5px; content: ""; border-bottom: 1px solid #67d3b1; border-left: 1px solid #67d3b1; transform: rotate(-45deg); }
.finding-card { border: 1px solid rgba(235, 247, 243, .2); background: #f1f6f3; box-shadow: 18px 18px 0 rgba(103, 211, 177, .12); color: #17332f; }
.finding-topbar { display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; border-bottom: 1px solid #cddbd6; color: #4f6660; font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.finding-topbar span:last-child { color: #9a492f; }
.finding-body { padding: 28px; }
.finding-label { margin-bottom: 9px; color: #8d3f29; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.finding-body h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.finding-body > p:not(.finding-label) { color: #566a65; font-size: 12px; }
.source-box { margin-top: 24px; padding: 16px; border: 1px solid #c9d8d3; background: #fff; }
.source-box > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 11px; color: #4d655f; font-family: ui-monospace, monospace; font-size: 10px; text-transform: uppercase; }
.source-box blockquote { margin: 0; padding-left: 12px; border-left: 2px solid #67a995; color: #334d47; font-family: var(--serif); font-size: 16px; font-style: italic; line-height: 1.45; }
.finding-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.finding-actions span { padding: 8px; border: 1px solid #adc4bd; color: #405851; font-size: 10px; font-weight: 750; text-align: center; }
.finding-actions span:first-child { color: #e5f8f2; border-color: #1c5a4d; background: #1c5a4d; }
.finding-footnote { margin: 0; padding: 13px 18px; border-top: 1px solid #cddbd6; color: #465d57; background: #e4eeea; font-size: 10px; line-height: 1.5; }

.principles { border-bottom: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.principle-grid article { min-height: 260px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article > span { display: block; margin-bottom: 64px; color: var(--terracotta); font-family: ui-monospace, monospace; font-size: 10px; }
.principle-grid h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.principle-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.security-link { margin: 30px 0 0; color: var(--ink-soft); font-size: 12px; }
.security-link a { color: var(--ink); font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(70px, 10vw, 150px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: 22px; font-weight: 570; line-height: 1.2; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 24px; height: 24px; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; top: 11px; left: 3px; width: 18px; height: 1px; content: ""; background: var(--ink); transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 690px; padding: 0 48px 25px 0; color: var(--ink-soft); font-size: 14px; }

.contact { color: var(--white); background: var(--terracotta); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 10vw, 150px); }
.contact-copy h2 { margin-bottom: 30px; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: #fff3ed; }
.contact-boundary { margin-top: 36px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.25); }
.contact-boundary strong, .contact-boundary span { display: block; }
.contact-boundary strong { font-size: 12px; }
.contact-boundary span { color: #ffe2d8; font-size: 11px; }
.email-link { display: inline-block; margin-top: 34px; font-size: 13px; font-weight: 750; }
.contact-form { padding: clamp(25px, 4vw, 44px); color: var(--ink); background: var(--white); box-shadow: 15px 15px 0 rgba(23, 23, 19, .25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 19px; }
.field label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #c7c0b4; border-radius: 0; background: #faf7f1; color: var(--ink); outline: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.field input { height: 48px; padding: 0 13px; }
.field textarea { min-height: 130px; padding: 12px 13px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 79, 218, .13); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }
.field textarea::placeholder { color: #645f57; }
.field small { position: absolute; right: 9px; bottom: 7px; color: #645f57; font-size: 10px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: #5c5850; font-size: 12px; line-height: 1.45; }
.consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--ink); }
.consent a { color: var(--ink); font-weight: 700; }
.turnstile-field { display: none; margin-top: 18px; }
.turnstile-field.is-configured { display: block; }
.turnstile-field.is-configured .cf-turnstile { width: 100%; min-height: 0; }
.turnstile-field p { margin: 6px 0 0; color: #6f6960; font-size: 12px; }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.form-actions p { margin: 0; color: #5f5a52; font-size: 12px; line-height: 1.4; }
.contact-form .button-inverse { color: var(--white); background: var(--ink); border-color: var(--ink); }
.contact-form .button:disabled { opacity: .65; cursor: wait; }
.form-status { margin-top: 18px; padding: 12px 14px; border: 1px solid #a8c9ba; color: #225d45; background: #edf7f1; font-size: 12px; }
.form-status.is-error { border-color: #d0a397; color: #8c271e; background: #fdf0ed; }

.site-footer { padding-top: 70px; color: #d4d0c7; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.5fr .5fr .5fr; gap: 80px; padding-bottom: 60px; }
.brand-footer { color: var(--white); }
.footer-main > div:first-child > p { max-width: 420px; margin: 26px 0 0; color: #b8b3a9; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 11px; }
.footer-links strong { margin-bottom: 8px; color: #b8b3a9; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-links button { padding: 0; border: 0; color: inherit; background: transparent; font-size: inherit; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #b8b3a9; font-size: 10px; }
.footer-bottom p { margin: 0; }

.cookie-banner { position: fixed; right: 18px; bottom: 18px; z-index: 140; display: flex; width: min(610px, calc(100vw - 36px)); align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 15px 16px; border: 1px solid #6f6a60; color: var(--ink); background: var(--white); box-shadow: 0 14px 40px rgba(23, 23, 19, .2); }
.cookies-decided .cookie-banner, .cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--serif); font-size: 16px; }
.cookie-banner p { margin: 2px 0 0; color: #5e5a52; font-size: 10px; }
.cookie-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.cookie-reject { min-height: 42px; padding: 9px 14px; border: 1px solid var(--ink); background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes board-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy { animation: hero-rise .48s cubic-bezier(.22, .7, .2, 1) both; }
.process-board { animation: board-arrive .6s .08s cubic-bezier(.22, .7, .2, 1) both; }
.faq-list details[open] p { animation: hero-rise .18s ease-out both; }

/* Páginas comerciais e guias */
.content-hero { padding: clamp(62px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; color: #625e55; font-size: 12px; }
.breadcrumbs a { font-weight: 700; }
.breadcrumbs span[aria-hidden="true"] { color: #918a7e; }
.content-hero h1 { max-width: 980px; margin-bottom: 25px; font-family: var(--serif); font-size: clamp(46px, 6.8vw, 86px); font-weight: 600; letter-spacing: -.052em; line-height: .98; }
.content-hero > .shell > p:not(.eyebrow):not(.breadcrumbs):not(.article-meta) { max-width: 790px; margin-bottom: 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; color: #665f56; font-size: 12px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(220px, 280px); justify-content: space-between; gap: clamp(60px, 9vw, 120px); padding-block: clamp(68px, 8vw, 112px); }
.content-main { min-width: 0; }
.content-main > :first-child { margin-top: 0; }
.content-main h2 { margin: 72px 0 22px; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.content-main h3 { margin: 38px 0 14px; font-size: 19px; letter-spacing: -.025em; line-height: 1.25; }
.content-main p, .content-main li { color: #464239; font-size: 16px; line-height: 1.78; }
.content-main ul, .content-main ol { padding-left: 22px; }
.content-main li + li { margin-top: 9px; }
.content-main blockquote { margin: 34px 0; padding: 22px 24px; border-left: 4px solid var(--terracotta); background: var(--white); color: #38342d; }
.content-main blockquote p:last-child { margin-bottom: 0; }
.content-section { padding-top: 6px; scroll-margin-top: 110px; }
.content-aside { align-self: start; position: sticky; top: 110px; padding: 24px; border: 1px solid var(--line); background: rgba(255, 253, 248, .64); }
.content-aside strong { display: block; margin-bottom: 13px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.content-aside a { display: block; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 680; text-decoration: none; }
.content-aside p { color: #5d584f; font-size: 12px; }
.content-cards, .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.content-card { min-height: 100%; padding: 24px; border: 1px solid var(--line); background: rgba(255, 253, 248, .67); }
.content-card h3 { margin-top: 0; }
.content-card p:last-child { margin-bottom: 0; }
.related-grid > a { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; gap: 25px; padding: 23px; border: 1px solid var(--line); background: var(--white); font-family: var(--serif); font-size: 22px; font-weight: 650; line-height: 1.18; text-decoration: none; }
.related-grid > a::after { content: "Ler →"; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.source-list { margin: 28px 0; padding: 22px 24px 22px 44px; border: 1px solid var(--line); background: var(--paper-deep); }
.source-list a { font-weight: 700; }
.content-cta { margin-top: 70px; padding: clamp(30px, 5vw, 52px); color: var(--white); background: var(--ink); }
.content-cta h2 { margin: 0 0 18px; color: var(--white); }
.content-cta p { max-width: 620px; color: #d3cec5; }
.content-cta .button { margin-top: 8px; color: var(--ink); background: var(--white); border-color: var(--white); }

@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .process-board { width: min(650px, 100%); margin-left: auto; }
  .example-card { min-height: 500px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > p { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-grid, .dockia-grid, .contact-grid { gap: 70px; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .menu-button { display: block; margin-left: auto; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 690px); }
  .header-inner { height: 70px; }
  .main-nav, .header-cta { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .hero { padding-top: 58px; }
  .hero::after { display: none; }
  .split-head, .method-grid, .dockia-grid, .faq-grid, .contact-grid, .footer-main { grid-template-columns: 1fr; }
  .split-head { gap: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .examples-head { grid-template-columns: 1fr; gap: 24px; }
  .examples-head .eyebrow { grid-column: auto; }
  .example-grid { grid-template-columns: 1fr; }
  .example-card { min-height: auto; }
  .example-index { margin-bottom: 38px; }
  .example-card h3 { min-height: 0; }
  .service-card { min-height: 410px; }
  .method-intro { position: static; }
  .dockia-grid { gap: 60px; }
  .signal-grid ul { grid-template-columns: 1fr; }
  .signal-grid li { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-grid li:last-child { border-bottom: 0; }
  .content-layout { grid-template-columns: 1fr; gap: 46px; }
  .content-aside { position: static; order: -1; }
  .footer-main { gap: 42px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); }
  .section-pad { padding-block: 64px; }
  h1 { font-size: clamp(42px, 11.5vw, 48px); }
  h2 { font-size: clamp(38px, 11vw, 52px); }
  .hero { padding-top: 44px; }
  .hero-lead { font-size: 17px; }
  .button-row { align-items: flex-start; flex-direction: column; }
  .hero-notes { flex-direction: column; }
  .process-board { padding: 17px; box-shadow: 8px 8px 0 rgba(155, 74, 48, .14); }
  .board-topline span:last-child { display: none; }
  .input-stack { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .output-row { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding-inline: 23px; }
  .service-card h3 { max-width: 245px; margin-top: 55px; }
  .method-steps li { grid-template-columns: 42px 1fr; gap: 10px; }
  .finding-body { padding: 22px; }
  .finding-topbar span:last-child { display: none; }
  .finding-actions { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: auto; }
  .principle-grid article > span { margin-bottom: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; box-shadow: 8px 8px 0 rgba(23, 23, 19, .25); }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); align-items: stretch; flex-direction: column; gap: 11px; padding: 13px; }
  .cookie-actions { display: grid; grid-template-columns: .8fr 1.2fr; }
  .cookie-actions .button { width: 100%; }
  .content-hero { padding-top: 46px; }
  .content-hero h1 { font-size: clamp(42px, 11.5vw, 48px); }
  .content-cards, .related-grid { grid-template-columns: 1fr; }
  .content-main h2 { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .cookie-banner, .button-row, .contact, .site-footer { display: none !important; }
  body { background: #fff; }
  .section-pad { padding-block: 40px; }
}

/* Páginas informativas e legais */
.legal-hero { padding: 74px 0 52px; border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { margin-bottom: 28px; }
.legal-hero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 78px); }
.legal-hero > .shell > p:last-child { max-width: 720px; margin: 0; color: var(--ink-soft); font-size: 16px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: space-between; gap: 90px; padding-block: 70px 110px; }
.legal-nav { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 9px; padding-top: 14px; border-top: 1px solid var(--ink); }
.legal-nav strong { margin-bottom: 6px; color: var(--terracotta); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.legal-nav a { color: var(--ink-soft); font-size: 11px; text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 110px; padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; border: 0; }
.legal-content h2 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); }
.legal-content h3 { margin: 30px 0 10px; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.legal-content p, .legal-content li { color: #4f4b43; font-size: 14px; }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin: 8px 0; }
.legal-content a { color: var(--terracotta); font-weight: 700; }
.legal-note { padding: 18px 20px; border-left: 3px solid var(--terracotta); background: rgba(255,253,248,.52); }
.legal-note strong { display: block; margin-bottom: 4px; }
.updated-at { color: #5f5a52 !important; font-family: ui-monospace, monospace; font-size: 10px !important; text-transform: uppercase; }
.not-found-header-link { margin-left: auto; }
.not-found { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 80px 0; }
.not-found-inner { max-width: 720px; text-align: center; }
.not-found-code { margin-bottom: 18px; color: var(--terracotta); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.not-found h1 { margin-bottom: 25px; }
.not-found p { max-width: 570px; margin: 0 auto 32px; color: var(--ink-soft); }

@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 45px; }
  .legal-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .legal-nav strong { grid-column: 1 / -1; }
}
