/* Bidly — government-file paper, navy ink, saffron seal. */
:root {
  --bg: #F6F3EC;
  --bg-2: #ECE6D9;
  --surface: #FFFEFA;
  --ink: #0F1F3D;
  --ink-2: #273657;
  --muted: #56607A;
  --line: rgba(15, 31, 61, 0.11);
  --line-2: rgba(15, 31, 61, 0.2);
  --saffron: #E8870E;
  --saffron-deep: #9A4F00;
  --saffron-soft: #FBE9CC;
  --accent: var(--saffron);
  --accent-ink: var(--ink);
  --navy-2: #182C52;
  --paper-on-navy: #F1ECE0;
  --green: #1D6B3A;
  --green-soft: #DCEEDF;
  --red: #A3261B;
  --red-soft: #F8E0DC;
  --font-display: 'Spectral', 'Iowan Old Style', Cambria, Georgia, serif;
  --font-ui: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --shadow-paper: 0 1px 1px rgba(15,31,61,.05), 0 3px 8px -4px rgba(15,31,61,.10), 0 28px 60px -34px rgba(15,31,61,.40);
}

body { background: var(--bg); overflow-x: clip; }
em { font-style: italic; }
:focus-visible { outline-color: var(--ink); }
::selection { background: var(--saffron-soft); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--saffron); color: var(--ink); padding: 8px 12px; border-radius: 6px; transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: translateY(60px); }

/* Buttons — square-ish, like a stamped form, not a pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 6px;
  font-size: 14px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }
.btn-saffron { background: var(--saffron); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(15,31,61,.18); }
.btn-ink { background: var(--ink); color: var(--paper-on-navy); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost-dark { color: var(--paper-on-navy); border: 1px solid rgba(241,236,224,.22); }
.btn svg { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-saffron:hover { background: #F09A2A; }
  .btn-ink:hover { background: var(--navy-2); }
  .btn-line:hover { border-color: var(--ink); }
  .btn-ghost-dark:hover { background: rgba(241,236,224,.08); border-color: rgba(241,236,224,.4); }
  .btn:hover svg { transform: translateX(3px); }
}

/* Nav — a navy portal bar with a saffron rule on top */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper-on-navy); border-top: 3px solid var(--saffron); transition: box-shadow var(--t-ui) ease; }
.nav[data-scrolled] { box-shadow: 0 10px 30px -18px rgba(15,31,61,.6); }
.nav :focus-visible { outline-color: var(--saffron); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { color: var(--paper-on-navy); flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 27px; line-height: 1; letter-spacing: -.01em; }
.brand-by { margin-left: 6px; padding-left: 12px; border-left: 1px solid rgba(241,236,224,.2); color: rgba(241,236,224,.8); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 6px; font-size: 14px; color: rgba(241,236,224,.82); transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: rgba(241,236,224,.08); color: #fff; } }
.nav-cta { display: flex; gap: 8px; }
@media (max-width: 1060px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .brand-by { margin-left: 0; padding-left: 8px; }
  .brand-by .db-lockup { font-size: 11px; }
  .brand-by .db-lockup .db-logo-img { height: 22px; }
  .brand-name { font-size: 24px; }
  .nav-in { gap: 10px; }
  .nav-cta .btn { padding: 0 12px; }
}
@media (max-width: 364px) { .brand-by { display: none; } }

/* Type */
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 18px; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.018em; }
h1 em, h2 em { font-weight: 400; color: var(--saffron-deep); }
h2 { font-size: clamp(32px, 4.3vw, 54px); line-height: 1.06; max-width: 22ch; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.section { padding: clamp(76px, 10vw, 128px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { text-align: center; }
.sec-head.center h2 { margin-inline: auto; }
.sub { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.center .sub { margin-inline: auto; }

/* Hero — ruled noting-sheet paper */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(15,31,61,.055) 31px 32px);
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero::after { content: ''; position: absolute; top: 0; bottom: 0; left: max(20px, calc(50% - 640px)); width: 1px; background: rgba(163,38,27,.16); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.eb-rule { width: 28px; height: 3px; background: var(--saffron); flex: none; }
.hero h1 { font-size: clamp(40px, 4.9vw, 68px); line-height: 1.02; margin: 24px 0 24px; }
.hero h1 em { display: block; }
.lede { font-size: clamp(16px, 1.35vw, 18px); color: var(--ink-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line-2); }
.hero-facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }

.hero-copy > * { animation: rise 800ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-copy > :nth-child(3) { animation-delay: 120ms; }
.hero-copy > :nth-child(4) { animation-delay: 180ms; }
.hero-copy > :nth-child(5) { animation-delay: 240ms; }
.hero-visual { animation: rise 1000ms 180ms var(--ease-out) both; min-width: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Desk: feed card with the bid file laid over it */
.desk { position: relative; max-width: 600px; margin-left: auto; }
.feed-card { background: var(--ink); color: var(--paper-on-navy); border-radius: 12px; padding: 16px 16px 44px; box-shadow: var(--shadow-paper); }
.fc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 4px 12px; border-bottom: 1px solid rgba(241,236,224,.12); }
.fc-kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); }
.fc-date { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.fc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(241,236,224,.72); padding: 5px 10px; border: 1px solid rgba(241,236,224,.16); border-radius: 999px; white-space: nowrap; }
.scan-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); animation: pulse 1.6s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.fc-list { height: 244px; overflow: hidden; display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.tr { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 4px; border-bottom: 1px solid rgba(241,236,224,.08); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), background-color 400ms ease; }
.tr[data-enter] { opacity: 0; transform: translateY(-10px); }
.tr-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-meta { font-size: 11.5px; color: rgba(241,236,224,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-why { color: #F3B866; }
.tr[data-low] .tr-title { color: rgba(241,236,224,.55); }
.tr[data-pick] { background: rgba(232,135,14,.13); box-shadow: inset 3px 0 0 var(--saffron); border-radius: 4px; }

/* Score ring (used on dark and light) */
.ring { --v: 0; --c: var(--saffron); position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--v) * 360deg), rgba(241,236,224,.14) 0); }
.ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.ring b { position: relative; font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.tr[data-low] .ring { --c: rgba(241,236,224,.4); }

/* Sheet — the bid file */
.sheet { position: relative; z-index: 2; margin: -30px 0 0 clamp(16px, 7%, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 20px; box-shadow: var(--shadow-paper); overflow: hidden; }
.sheet::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--saffron); transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform 900ms var(--ease-out); }
.sheet[data-state='filled'] { --fill: 1; }
.sh-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sh-fit { color: var(--saffron-deep); text-align: right; }
.sh-title { font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.2; margin-top: 8px; max-width: none; letter-spacing: -.01em; height: 2.4em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sh-buyer { font-size: 13px; color: var(--muted); min-height: 3.2em; padding-bottom: 12px; border-bottom: 1px double var(--line-2); border-bottom-width: 3px; border-bottom-style: double; }
.sh-title, .sh-buyer, .sh-top p { transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.sheet[data-state='idle'] .sh-title, .sheet[data-state='idle'] .sh-buyer { opacity: 0; transform: translateY(4px); }
.sh-cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; margin-top: 12px; }
.sh-h { font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sh-check { display: grid; gap: 6px; height: 184px; align-content: start; overflow: hidden; }
.ck { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; font-size: 12.5px; line-height: 1.35; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.ck[data-enter] { opacity: 0; transform: translateX(-6px); }
.ck svg { margin-top: 1px; }
.ck-met { color: var(--green); }
.ck-miss { color: var(--red); }
.ck span { color: var(--ink-2); }
.ck b { font-weight: 600; }
.sh-draft { height: 184px; overflow: hidden; display: grid; gap: 8px; align-content: start; }
.dsec { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); padding: 8px 10px; border-radius: 4px; background: var(--bg); border-left: 2px solid var(--line-2); transition: opacity 320ms var(--ease-out), border-color 400ms ease; }
.dsec[data-enter] { opacity: 0; }
.dsec[data-done] { border-left-color: var(--saffron); }
.dsec h4 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 3px; }
.dsec p { font-family: var(--font-display); font-size: 13.5px; }
.caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--saffron-deep); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stamp { position: absolute; right: 16px; bottom: 14px; padding: 5px 10px; border: 2px solid var(--red); border-radius: 4px; color: var(--red); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; background: var(--surface); box-shadow: 0 0 0 4px var(--surface);
  transform: rotate(-5deg); opacity: 0; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.stamp[data-on] { opacity: 1; transform: rotate(-5deg) scale(1); }
.stamp:not([data-on]) { transform: rotate(-5deg) scale(1.12); }
.desk-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.pnum { font-size: 12px; color: var(--saffron-deep); letter-spacing: .06em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pcard h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.12; letter-spacing: -.01em; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .pfix { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--ink-2); }
.pcard .pfix b { color: var(--ink); font-weight: 700; }

/* How — a file-movement register */
.how { background: var(--ink); color: var(--paper-on-navy); }
.how .kicker { color: var(--saffron); }
.how h2 em { color: #F3B866; }
.how :focus-visible { outline-color: var(--saffron); }
.register { border-top: 1px solid rgba(241,236,224,.22); }
.reg-head, .reg-row { display: grid; grid-template-columns: 64px 200px minmax(0, 1fr) 190px; gap: 24px; align-items: baseline; }
.reg-head { padding: 12px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(241,236,224,.55); border-bottom: 1px solid rgba(241,236,224,.22); }
.reg-row { position: relative; padding: 24px 0; border-bottom: 1px solid rgba(241,236,224,.12); }
.reg-no { font-size: 14px; color: var(--saffron); }
.reg-row h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.reg-row p { color: rgba(241,236,224,.74); font-size: 15px; max-width: 62ch; }
.who { justify-self: start; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.who-bot { background: rgba(241,236,224,.1); color: var(--paper-on-navy); }
.who-both { border: 1px solid rgba(241,236,224,.3); color: var(--paper-on-navy); }
.who-you { background: var(--saffron); color: var(--ink); }
.reg-you h3 { color: #F3B866; }

/* Summary anatomy */
.sum-grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.anatomy { display: grid; gap: 4px; counter-reset: an; }
.anatomy li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.an-n, .an-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-style: normal; background: var(--ink); color: var(--paper-on-navy); }
.anatomy h3 { font-size: 16.5px; }
.anatomy p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.msg { position: sticky; top: 96px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-paper); overflow: hidden; }
.msg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: var(--paper-on-navy); }
.msg-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(241,236,224,.1); color: var(--paper-on-navy); }
.msg-name { font-weight: 600; font-size: 15px; }
.msg-sub { font-size: 11.5px; color: rgba(241,236,224,.66); }
.msg-body { padding: 18px; display: grid; gap: 12px; font-size: 14.5px; background: repeating-linear-gradient(to bottom, var(--surface) 0 27px, #F8F5EE 27px 28px); }
.msg-t { font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1.25; }
.msg-t span { display: block; margin-top: 4px; font-family: var(--font-ui); font-size: 13px; font-weight: 400; color: var(--muted); }
.msg-dl { display: grid; gap: 8px; margin: 0; padding: 12px; border-radius: 8px; background: var(--bg); }
.msg-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 13.5px; }
.msg-dl dt { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.msg-dl dd { margin: 0; color: var(--ink-2); }
.an-dot { width: 18px; height: 18px; font-size: 10px; background: var(--saffron); color: var(--ink); flex: none; }
.miss { color: var(--red); font-weight: 600; }
.msg-reply { font-size: 13.5px; color: var(--muted); }
.msg figcaption { padding: 10px 18px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }

/* Portals */
.portals { background: var(--bg-2); }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; border-top: 3px solid var(--ink); }
.portal-tag { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; background: var(--saffron-soft); color: var(--saffron-deep); margin-bottom: 16px; }
.portal h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.portal p { color: var(--muted); font-size: 15px; }
.portal-note { margin-top: 20px; max-width: 78ch; font-size: 14px; color: var(--ink-2); padding-left: 14px; border-left: 3px solid var(--saffron); }

/* Console preview */
.cp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cp-copy p:not(.kicker) { color: var(--ink-2); margin: 22px 0 30px; max-width: 46ch; }
.cp-frame { display: block; border-radius: 10px; background: var(--ink); color: var(--paper-on-navy); box-shadow: var(--shadow-paper); overflow: hidden; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .cp-frame:hover { transform: translateY(-4px); box-shadow: 0 34px 70px -34px rgba(15,31,61,.55); } }
.cp-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(241,236,224,.12); font-size: 12px; color: rgba(241,236,224,.7); }
.cp-pill { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(232,135,14,.2); color: #F3B866; }
.cp-body { padding: 8px 16px 14px; }
.cp-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(241,236,224,.08); }
.cp-row:last-child { border-bottom: 0; }
.cp-row p { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-row .mono { display: block; font-size: 12px; color: rgba(241,236,224,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-low p { color: rgba(241,236,224,.55); }
.cp-low .ring { --c: rgba(241,236,224,.4); }

/* Honesty */
.honest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hcard { padding: 24px; border: 1px solid var(--line-2); border-radius: 8px; display: grid; gap: 12px; align-content: start; color: var(--ink); }
.hcard p { color: var(--muted); font-size: 14.5px; }

/* Pricing */
.pricing { background: var(--bg-2); }
.launch-tag { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 4px; background: var(--ink); color: var(--paper-on-navy); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.1; }
.plan-for { color: var(--muted); font-size: 14px; margin: 4px 0 22px; }
.price { font-size: 15px; color: var(--muted); padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); min-height: 76px; display: flex; align-items: baseline; gap: 6px; }
.price span { font-family: var(--font-display); font-weight: 500; font-size: 46px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.price .price-talk { font-size: 34px; }
.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 3px; background: var(--saffron-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='m5.4 9.2 2.3 2.3 4.8-4.9' stroke='%239A4F00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan .ticks { margin-bottom: 30px; }
.plan .btn { margin-top: auto; }
.plan-feature { background: var(--ink); color: var(--paper-on-navy); border-color: var(--ink); }
.plan-feature :focus-visible { outline-color: var(--saffron); }
.plan-feature .plan-for, .plan-feature .price { color: rgba(241,236,224,.7); }
.plan-feature .price { border-color: rgba(241,236,224,.16); }
.plan-feature .price span { color: #fff; }
.plan-feature .ticks li { color: rgba(241,236,224,.9); }
.plan-feature .ticks li::before { background-color: rgba(232,135,14,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='m5.4 9.2 2.3 2.3 4.8-4.9' stroke='%23F3B866' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-tag { position: absolute; top: 24px; right: 22px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; background: var(--saffron); color: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-size: 17px; font-weight: 500; }
.qa button i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--line-2); transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded='true'] i { background: var(--ink); color: var(--paper-on-navy); border-color: var(--ink); }
.qa button[aria-expanded='true'] i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 48px 24px 0; color: var(--muted); opacity: 0; transform: translateY(-4px); transition: opacity 240ms ease, transform 280ms var(--ease-out); }
.qa button[aria-expanded='true'] + .qa-a { grid-template-rows: 1fr; }
.qa button[aria-expanded='true'] + .qa-a p { opacity: 1; transform: none; }
.qa button:not([aria-expanded='true']) + .qa-a p { visibility: hidden; transition: opacity 240ms ease, transform 280ms var(--ease-out), visibility 0s 280ms; }

/* CTA */
.cta { padding: 0 0 clamp(64px, 8vw, 104px); }
.cta-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; border-radius: 12px; background: var(--ink); color: var(--paper-on-navy); padding: clamp(36px, 6vw, 72px); border-top: 4px solid var(--saffron); }
.cta-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(241,236,224,.045) 31px 32px); }
.cta-in > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(34px, 4.8vw, 60px); max-width: 20ch; }
.cta h2 em { color: #F3B866; }
.cta p { margin-top: 18px; max-width: 54ch; font-size: 16.5px; color: rgba(241,236,224,.8); }
.cta :focus-visible { outline-color: var(--saffron); }

.footer { border-top: 1px solid var(--line); background: var(--surface); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .cp-grid, .faq-grid, .sum-grid { grid-template-columns: 1fr; }
  .desk { margin: 0 auto; }
  .msg { position: static; max-width: 520px; }
  .honest-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-head, .reg-row { grid-template-columns: 52px 170px minmax(0, 1fr) 160px; gap: 18px; }
}
@media (max-width: 860px) {
  .problem-grid, .price-grid, .portal-grid { grid-template-columns: 1fr; }
  .reg-head { display: none; }
  .reg-row { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; padding: 22px 0; }
  .reg-row h3, .reg-row p, .reg-row .who { grid-column: 2; }
  .reg-row .reg-no { grid-row: 1; }
  .reg-row .who { margin-top: 8px; }
  .cta-in { grid-template-columns: 1fr; align-items: start; }
  .cta-in .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .honest-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .feed-card { padding: 12px 10px 40px; }
  .sheet { margin: -28px 0 0 10px; padding: 16px 14px 18px; }
  .sh-cols { grid-template-columns: 1fr; gap: 14px; }
  .sh-check { height: auto; min-height: 176px; }
  .sh-draft { height: 214px; }
  .plan, .pcard, .portal { padding: 22px; }
  .hero-actions .btn { width: 100%; }
  .msg-dl div { grid-template-columns: 1fr; gap: 2px; }
  .fc-status { display: none; }
  .stamp { right: 10px; bottom: 10px; }
}

/* Empty bid file: faint ruled placeholders instead of a blank sheet */
.sh-check:empty, .sh-draft:empty { background: repeating-linear-gradient(to bottom, var(--bg-2) 0 9px, transparent 9px 26px); background-size: 88% 100%; background-repeat: no-repeat; opacity: .8; }
@media (max-width: 720px) { .hero::after { display: none; } }
