:root {
  --navy: #014f99;
  --navy-deep: #0b2f57;
  --red: #e73539;
  --red-deep: #a83335;
  --ink: #1d232b;
  --ink-2: #4a5563;
  --ink-3: #7b8594;
  --line: #e2e6eb;
  --paper: #fafafa;
  --card: #ffffff;
  --ok: #1f7a4d;
  --ok-bg: #e8f5ee;
  --warn: #9a5b00;
  --warn-bg: #fff4e0;
  --bad: #b3261e;
  --bad-bg: #fdecea;
  --dark: #2c2c2c;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0 0 .4em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
h3 { font-size: 20px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mono, .mono-label { font-family: var(--mono); }
.muted { color: var(--ink-2); max-width: 70ch; }
.hint { color: var(--ink-3); font-size: 13.5px; margin: .4em 0 0; }
.opt { color: var(--ink-3); font-weight: 400; }
.mt { margin-top: 64px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 32px; background: rgba(250,250,250,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo { height: 44px; width: auto; display: block; }
.logo.small { height: 34px; }
.brand-tag { white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-left: 1px solid var(--line); padding-left: 14px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--red); }

/* hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,35,.15) 0%, rgba(10,20,35,.72) 100%), url("assets/aerial.jpg") center/cover no-repeat; }
.hero-inner { position: relative; padding: 0 48px 72px; max-width: 900px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.035em; }
.lede { font-size: 20px; max-width: 46ch; color: rgba(255,255,255,.92); }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; color: rgba(255,255,255,.85); }
.eyebrow.dark { color: var(--red-deep); }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.corner { position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-style: solid; border-width: 0 0 90px 90px; border-color: transparent transparent var(--paper) transparent; }

/* hero animation */
.anim-bg { background: radial-gradient(1200px 600px at 75% 40%, #1663b3 0%, rgba(1,79,153,.0) 60%), linear-gradient(135deg, #071c35 0%, #0b2f57 45%, #014f99 100%); }
.anim-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 75%); }
.grid-glow { position: absolute; width: 380px; height: 380px; right: 18%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(231,53,57,.35), transparent 65%); filter: blur(10px); animation: glow 8s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.12); } }
.hero-anim { position: absolute; right: 5%; top: 50%; width: 560px; height: 440px; transform: translateY(-46%); pointer-events: none; }
.a-card { position: absolute; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.a-bcs { left: 0; top: 40px; width: 230px; height: 170px; background: #d6d3cc; border: 1px solid #b9b5ad; animation: bcsIn 8s ease-in-out infinite; }
.a-bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; background: #1e4f8a; color: #fff; font: 600 9px var(--mono); letter-spacing: .06em; }
.a-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.a-bar b { margin-left: 6px; font-weight: 500; }
.a-rows { padding: 14px 10px; display: grid; gap: 9px; }
.a-rows i { display: block; height: 14px; background: repeating-linear-gradient(90deg, #fff 0 30px, #c9c5bd 30px 32px); border: 1px solid #bdb9b1; }
.a-rows i.sel { outline: 2px solid var(--red); outline-offset: 1px; }
.a-scan { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: #6fd3ff; box-shadow: 0 0 14px 4px rgba(111,211,255,.7); animation: scan 8s linear infinite; }
.a-rec { position: absolute; left: 10px; bottom: 8px; font: 500 10px var(--mono); color: #1f7a4d; background: #e8f5ee; padding: 2px 6px; opacity: 0; animation: recIn 8s ease infinite; }
.a-fly { position: absolute; left: 150px; top: 120px; font: 600 15px var(--sans); color: #fff; background: rgba(231,53,57,.92); padding: 4px 9px; opacity: 0; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.f1 { animation: fly1 8s ease-in-out infinite; }
.f2 { animation: fly2 8s ease-in-out infinite; }
.f3 { animation: fly3 8s ease-in-out infinite; }
.a-page { right: 30px; top: 0; width: 270px; height: 360px; padding: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%); animation: pageIn 8s ease-in-out infinite; }
.a-photo { height: 96px; background: linear-gradient(160deg, #cfe0f2, #9fb9d6 55%, #7c9a6a 56%, #a7c08f); position: relative; overflow: hidden; }
.a-photo::after { content: ""; position: absolute; left: 70px; bottom: 14px; width: 120px; height: 46px; background: #f4f4f2; clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0 100%); }
.a-title { font: 500 17px var(--sans); color: var(--red); margin: 10px 0 8px; letter-spacing: -.01em; }
.a-cols { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8px; }
.a-lines { display: grid; gap: 7px; align-content: start; }
.a-price { font: 600 10.5px var(--sans); color: var(--ink); opacity: 0; animation: priceIn 8s ease infinite; }
.a-lines i { display: block; height: 6px; background: #dfe4ea; transform-origin: left; transform: scaleX(0); animation: lineIn 8s ease infinite; }
.a-lines i:nth-child(3) { animation-delay: .15s; } .a-lines i:nth-child(4) { animation-delay: .3s; } .a-lines i:nth-child(5) { animation-delay: .45s; }
.a-lines i.short { width: 60%; }
.a-why { background: #b1122a; color: #fff; padding: 9px 8px; display: grid; gap: 5px; align-content: start; min-height: 150px; }
.a-why span { font: 500 10.5px var(--sans); text-align: center; margin-bottom: 3px; }
.a-why em { font: normal 9.5px var(--sans); opacity: 0; transform: translateX(-6px); animation: tickIn 8s ease infinite; }
.a-why .t2 { animation-delay: .35s; } .a-why .t3 { animation-delay: .7s; } .a-why .t4 { animation-delay: 1.05s; }
.a-corner { position: absolute; right: 0; bottom: 0; }
.a-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink-2); font: 12px var(--sans); padding: 9px 13px; box-shadow: 0 16px 34px -12px rgba(0,0,0,.5); opacity: 0; white-space: nowrap; }
.a-chip b { color: var(--navy-deep); font-weight: 600; }
.a-filed { left: 40px; bottom: 70px; border-left: 3px solid var(--ok); animation: chipIn1 8s ease infinite; }
.a-mail { left: 120px; bottom: 16px; border-left: 3px solid var(--red); animation: chipIn2 8s ease infinite; }
.env { width: 16px; height: 11px; border: 1.5px solid var(--red); position: relative; }
.env::after { content: ""; position: absolute; left: 1px; right: 1px; top: 0; height: 6px; border-bottom: 1.5px solid var(--red); border-left: 1.5px solid transparent; transform: skewY(0); clip-path: polygon(0 0, 50% 100%, 100% 0); background: transparent; }
.a-badge { position: absolute; right: 0; top: -14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--mono); color: #fff; background: var(--red); box-shadow: 0 0 0 0 rgba(231,53,57,.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231,53,57,.55); } 100% { box-shadow: 0 0 0 22px rgba(231,53,57,0); } }
@keyframes bcsIn { 0%,2% { opacity: 0; transform: translateY(14px); } 8%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; transform: translateY(-8px); } }
@keyframes scan { 0%,8% { top: 22px; opacity: 0; } 10% { opacity: 1; } 28% { top: 168px; opacity: 1; } 30%,100% { top: 168px; opacity: 0; } }
@keyframes recIn { 0%,26% { opacity: 0; } 30%,88% { opacity: 1; } 95%,100% { opacity: 0; } }
@keyframes pageIn { 0%,10% { opacity: 0; transform: translateY(20px) rotate(2deg); } 18%,88% { opacity: 1; transform: rotate(0); } 96%,100% { opacity: 0; transform: translateY(-10px); } }
@keyframes fly1 { 0%,30% { opacity: 0; transform: translate(0,0) scale(.8); } 33% { opacity: 1; } 42% { opacity: 1; transform: translate(170px,62px) scale(1); } 46%,100% { opacity: 0; transform: translate(175px,62px) scale(.9); } }
@keyframes fly2 { 0%,34% { opacity: 0; transform: translate(0,20px) scale(.8); } 37% { opacity: 1; } 46% { opacity: 1; transform: translate(210px,120px) scale(1); } 50%,100% { opacity: 0; transform: translate(215px,120px) scale(.9); } }
@keyframes fly3 { 0%,38% { opacity: 0; transform: translate(0,40px) scale(.8); } 41% { opacity: 1; } 50% { opacity: 1; transform: translate(160px,170px) scale(1); } 54%,100% { opacity: 0; transform: translate(165px,170px) scale(.9); } }
@keyframes priceIn { 0%,42% { opacity: 0; } 45%,88% { opacity: 1; } 95%,100% { opacity: 0; } }
@keyframes lineIn { 0%,44% { transform: scaleX(0); } 52%,88% { transform: scaleX(1); } 95%,100% { transform: scaleX(0); } }
@keyframes tickIn { 0%,52% { opacity: 0; transform: translateX(-6px); } 57%,88% { opacity: 1; transform: none; } 95%,100% { opacity: 0; } }
@keyframes chipIn1 { 0%,66% { opacity: 0; transform: translateY(10px); } 70%,88% { opacity: 1; transform: none; } 95%,100% { opacity: 0; } }
@keyframes chipIn2 { 0%,74% { opacity: 0; transform: translateY(10px); } 78%,88% { opacity: 1; transform: none; } 95%,100% { opacity: 0; } }
@media (max-width: 1100px) { .hero-anim { right: -60px; opacity: .45; } }
@media (max-width: 760px) { .hero-anim { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-anim *, .grid-glow { animation: none !important; }
  .a-rec, .a-price, .a-why em, .a-chip { opacity: 1 !important; transform: none !important; }
  .a-lines i { transform: none !important; }
  .a-fly, .a-scan { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; font: 500 15px var(--sans); letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; border-radius: 0; transition: background .15s, color .15s, border-color .15s; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* sections */
.view { padding: 72px 0; }
.view + .view { border-top: 1px solid var(--line); }
.hero.view { padding: 0; border: 0; }
.home-ways { background: #fff; }
.section-head { margin-bottom: 28px; }

/* cards */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); padding: 28px; position: relative; min-width: 0; }
.panel, .builder > *, .rule { min-width: 0; }
.card p { color: var(--ink-2); }
.card.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.mono-label { display: inline-block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 12px; }
.card h3 { color: var(--navy-deep); }
.tight { padding-left: 20px; margin: 0; color: var(--ink-2); }
.tight li { margin: 6px 0; }
.tree { font: 12.5px/1.6 var(--mono); background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; overflow-x: auto; color: var(--ink); }

/* builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 24px; }
.panel.sticky { position: sticky; top: 92px; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; }
legend { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; padding: 0; }
fieldset.callout { background: #f3f7fc; border-left: 3px solid var(--navy); padding: 16px 18px 18px; }
/* keep the legend inside the shaded box instead of straddling its top edge */
fieldset.callout > legend { float: left; width: 100%; }
fieldset.callout > legend + * { clear: both; }
.grid { display: grid; gap: 12px 14px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
label { display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
input, select { font: 15px var(--sans); color: var(--ink); background: #fff; border: 1px solid #cfd6de; border-radius: 0; padding: 10px 11px; width: 100%; }
input:focus, select:focus, [contenteditable]:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.dk-only { display: none; }
body.is-dk .dk-only { display: flex; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.form-actions select { width: auto; min-width: 220px; }

.panel-title { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 22px 0 10px; }
.panel-title:first-child { margin-top: 0; }
.copy { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: transparent; border: 1px solid var(--line); padding: 5px 10px; cursor: pointer; color: var(--ink); }
.copy:hover { border-color: var(--ink); }
.out { font: 13.5px/1.6 var(--mono); background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; margin: 0; white-space: pre-wrap; word-break: break-word; min-height: 60px; color: var(--ink); }
.out.tall { min-height: 260px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checks li { font-size: 14px; padding: 9px 12px 9px 36px; position: relative; border: 1px solid transparent; }
.checks li::before { position: absolute; left: 12px; top: 9px; font-family: var(--mono); font-weight: 500; }
.checks li.ok { background: var(--ok-bg); color: var(--ok); }
.checks li.ok::before { content: "✓"; }
.checks li.warn { background: var(--warn-bg); color: var(--warn); }
.checks li.warn::before { content: "!"; }
.checks li.bad { background: var(--bad-bg); color: var(--bad); }
.checks li.bad::before { content: "✕"; }
.checks li.pending { color: var(--ink-3); padding-left: 12px; }

/* auto / you badges */
.who { display: inline-block; vertical-align: middle; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; margin-left: 6px; text-decoration: none; }
.who.auto { background: #e6f0fa; color: var(--navy); }
.who.you { background: #fdeceb; color: var(--red-deep); }
.who + .who { margin-left: 4px; }
.legend-auto { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.legend-auto .who { margin-left: 0; margin-right: 6px; }

.who.check { background: #fff4e0; color: var(--warn); }
.mt-s { margin-top: 24px; }
.setup-list li { margin: 10px 0; }
.btn-row { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.out.scroll { max-height: 560px; overflow: auto; }

/* try saying this */
.try { margin-bottom: 28px; border-left: 4px solid var(--navy); }
.try-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.try-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; }
.try-q { font-size: 15px; color: var(--navy-deep); }
.check-inline { flex-direction: row; align-items: center; gap: 8px; align-self: end; padding-bottom: 10px; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--navy); }
@media (max-width: 760px) { .try-list { grid-template-columns: 1fr; } }

/* golden rules */
.golden { background: #fff; }
.golden-list { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.golden-list li { counter-increment: g; position: relative; background: var(--paper); border-left: 4px solid var(--red); padding: 16px 18px 16px 58px; }
.golden-list li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 16px; top: 14px; font: 500 20px/1 var(--sans); color: var(--red); }
.golden-list b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.golden-list span { color: var(--ink-2); font-size: 14.5px; }
.golden-list li:first-child { grid-column: 1 / -1; background: #fdeceb; }
.golden-list li:first-child b { font-size: 18px; color: var(--red-deep); }

/* install table */
.table-wrap { overflow-x: auto; }
.install-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.install-table th { text-align: left; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--navy); padding: 10px 10px; }
.install-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; vertical-align: top; color: var(--ink-2); }
.install-table td b { color: var(--ink); }
.install-table small { color: var(--ink-3); }
.install-table td.yes { color: var(--ok); font-weight: 500; }
.install-table td.no { color: var(--ink-3); }
.install { margin-bottom: 24px; }
@media (max-width: 760px) { .golden-list { grid-template-columns: 1fr; } }

/* walkthrough */
.walk { list-style: none; margin: 0; padding: 0; counter-reset: wk; border-top: 1px solid var(--line); }
.walk li { counter-increment: wk; display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.walk-who { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.walk-who::before { content: counter(wk, decimal-leading-zero); font: 500 34px/1 var(--sans); color: var(--red); letter-spacing: -.03em; }
.walk-who .who { margin-left: 0; }
.walk h3 { color: var(--navy-deep); margin-bottom: 4px; }
.walk p { margin: 0; color: var(--ink-2); max-width: 78ch; }
.walk .walk-check { margin-top: 10px; color: var(--warn); font-weight: 500; }
.walk .walk-check .who { margin: 0 8px 0 0; }
.walk li.walk-check { background: #fffaf0; }
@media (max-width: 640px) { .walk li { grid-template-columns: 1fr; gap: 8px; } }

/* drop zone */
.drop { background: #fff; border: 2px dashed #b9c4d0; padding: 28px; margin-bottom: 28px; transition: border-color .15s, background .15s; outline: none; }
.drop.over, .drop:focus { border-color: var(--navy); background: #f3f7fc; }
.drop-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.drop-inner:has(.drop-preview[hidden]) { grid-template-columns: 1fr; }
.drop h3 { font-size: 26px; color: var(--navy-deep); margin-bottom: 6px; }
.drop p { color: var(--ink-2); margin: 0 0 18px; }
.drop-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.file-btn { cursor: pointer; }
kbd { font: 500 12px var(--mono); border: 1px solid var(--line); border-bottom-width: 2px; padding: 1px 6px; background: var(--paper); }
.drop-preview img { width: 100%; display: block; border: 1px solid var(--line); }
.drop-status { font: 13px var(--mono); color: var(--ink-2); margin-top: 8px; }
.drop-status .bar { height: 4px; background: var(--line); margin-top: 6px; }
.drop-status .bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }
.read-notes { margin-top: 16px; }
.read-notes:empty { display: none; }
.figures { margin-bottom: 8px; }
.figures > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 4px 0 18px; font-size: 20px; font-weight: 500; color: var(--navy-deep); }
.figures > summary::-webkit-details-marker { display: none; }
.small { font-size: 13.5px; font-weight: 400; }
input.read, select.read { background: #eef6ff; border-color: #9fc2ea; }
input.unsure { background: var(--warn-bg); border-color: #e0b25c; }

/* checklist */
.progress { height: 6px; background: var(--line); margin: 14px 0 6px; max-width: 520px; }
.progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .25s; }
.checklist { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checklist li { counter-increment: s; background: #fff; border: 1px solid var(--line); }
.checklist label { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 16px; cursor: pointer; font-weight: 400; color: var(--ink); font-size: 14.5px; }
.checklist input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.checklist .num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); min-width: 22px; padding-top: 3px; }
.checklist .num::before { content: counter(s, decimal-leading-zero); }
.checklist b { display: block; font-weight: 600; margin-bottom: 2px; color: var(--navy-deep); }
.checklist small { color: var(--ink-3); font-size: 13px; }
.checklist li.done { background: #f4f9f6; border-color: #cfe7da; }
.checklist li.done b { text-decoration: line-through; text-decoration-color: rgba(31,122,77,.5); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font: 500 40px/1 var(--sans); color: var(--red); letter-spacing: -.03em; }
.steps h3 { color: var(--navy-deep); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); max-width: 75ch; }

/* rules */
.rule { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 22px 24px; }
.rule h3 { font-size: 18px; color: var(--navy-deep); }
.rule ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.rule li { margin: 5px 0; }

/* footer, toast */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; background: #fff; }
.site-footer .wrap { display: flex; align-items: center; gap: 20px; color: var(--ink-3); font-size: 14px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(16px); background: var(--ink); color: #fff; padding: 10px 18px; font: 500 14px var(--sans); transition: transform .2s, opacity .2s; z-index: 50; opacity: 0; pointer-events: none; }
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
:target { scroll-margin-top: 80px; }
section[id] { scroll-margin-top: 80px; }

@media (max-width: 980px) {
  .builder, .cards.two, .cards.three, .checklist, .drop-inner { grid-template-columns: 1fr; }
  .panel.sticky { position: static; }
  .site-header { padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav { gap: 16px; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 11.5px; letter-spacing: .08em; white-space: nowrap; flex: none; }
  .hero-inner { padding: 0 20px 56px; }
  .wrap { padding: 0 16px; }
}
@media (max-width: 640px) {
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .span2 { grid-column: span 2; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .brand-tag { display: none; }
}
@media print {
  .site-header, .hero, .home-ways, #ai, #folders, #process, #rules, .site-footer, .form-actions { display: none; }
}
