/* Front Desk sales page. Same materials as dragonandalloyai.com: dark steel, a brushed
   blue metal face, polished silver and white "display" cards. System fonts only. */
:root {
  --surface: #101a23; --deep: #04070b;
  --ink: #f2f4fa; --head: #e1ebf5; --head-soft: #c8dcf0; --body: #afbed0; --label: #9faeca;
  --line: #73889b69; --card-line: #455b73;
  --blue: #1754a0; --blue-dark: #103f7d; --cyan: #82e8f2; --focus: #83e6f4;
  --light-head: #12243a; --light-body: #344d65; --light-label: #4b6179; --light-line: #cbd7e3;
  --display: linear-gradient(140deg, #fff 15%, #fbfcff 56%, #eff3f9);
  --silver: linear-gradient(127deg, #566e83 0%, #d0dfeb 6%, #fff 11%, #889eb2 20%, #dfeaf4 42%, #7d93a8 61%, #e6eef6 80%, #62788d 100%);
  --panel: linear-gradient(110deg, #101b24, #141f29 50%, #0c151d);
  --face: repeating-linear-gradient(0deg, #def4ff08 0 1px, transparent 1px 3px), linear-gradient(109deg, #11325b 0%, #235689 16%, #3675a7 32%, #235384 48%, #123e70 75%, #193f67 96%, #102c4c);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 52px; --pad: 108px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: radial-gradient(ellipse at top, #20303f, #090e15 65%) fixed #090e15; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--body); font: 600 16px/1.6 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--head); font-weight: 600; text-shadow: 0 -1px 1px #061426; }
.wrap { width: min(1320px, 100%); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: #fff; color: #062039; padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 4px; }
.display :focus-visible, .fd-ui :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mono, .eyebrow, .caption { font-family: Consolas, "Courier New", monospace; }

/* ---------- type ---------- */
h1 { font-size: clamp(43px, 10vw, 72px); line-height: .98; letter-spacing: -.06em; }
h1 em { font: italic 400 1.08em Georgia, "Times New Roman", serif; letter-spacing: -.03em; color: #d5e6fa; }
h2 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
h2 span { display: block; color: var(--head-soft); }
h2 .gradient { background: linear-gradient(110deg, #b8c3ff 0%, #8b98ff 45%, #79deeb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.03em; }
.eyebrow { margin-bottom: 22px; color: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .045em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: #dbe6f2; max-width: 34ch; }
.detail { max-width: 38ch; }
.copy > p, .head-row p { max-width: 46ch; }
.copy > * + *, .head-row div > * + * { margin-top: 18px; }
.copy > h2 + p, .head-row h2 + p { margin-top: 26px; }
.fine { font-size: 14px; color: #9db0c4; }
.center { text-align: center; margin-top: 30px; }
.caption { margin-top: 18px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; color: var(--label); }

/* ---------- buttons and links ---------- */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 14px 23px; border-radius: 5px; border: 1px solid #5d6b8c77; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button > span { font-size: 20px; font-weight: 400; line-height: 1; }
.button.steel { border-radius: 100px; min-height: 52px; padding: 12px 24px; background: linear-gradient(155deg, #fff, #c1d5e8); color: #062039; border-color: #c0e0f6; box-shadow: inset 0 1px #fff, 0 3px 16px #01071040; }
.button.steel:hover { background: #fff; }
.button.outline { background: #141b2a; color: #e4eafb; border-color: #40506c; }
.button.outline:hover { background: #1e2940; border-color: #8a9bbd; }
.button.small { min-height: 46px; padding: 10px 16px; font-size: 14px; gap: 14px; }
.button.solid { width: 100%; min-height: 50px; border-radius: 14px; background: var(--blue); color: #fff; border-color: #164986; box-shadow: inset 0 1px #ffffff30; }
.button.solid:hover { background: var(--blue-dark); }
.quiet-link { display: inline-flex; align-items: center; gap: 17px; min-height: 44px; font-weight: 700; color: #d7e1f7; text-decoration: none; border-bottom: 1px solid #7f95bd66; padding-bottom: 6px; transition: color .2s, border-color .2s; }
.quiet-link:hover { color: #9be6fa; border-color: #9be6fa; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 30px; }

/* ---------- the three states: words plus a shape, never colour alone ---------- */
.state { display: inline-flex; align-items: center; gap: 10px; font-family: Consolas, "Courier New", monospace; font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; color: #cfe0f1; }
.state i { width: 12px; height: 12px; flex: none; border-radius: 50%; }
.state.works i { background: currentColor; }
.state.later i { border: 2.5px solid currentColor; }
.state.never i { width: 14px; height: 3px; border-radius: 2px; background: currentColor; }
.display .state { color: var(--light-head); }
.display .state.works { color: var(--blue); }
.hero-state { margin-top: 26px; text-transform: none; letter-spacing: 0; font-family: Arial, Helvetica, sans-serif; font-size: 15px; color: var(--body); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: #0b1219f2; box-shadow: 0 1px #ffffff14, 0 12px 30px -18px #000; backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: .04em; line-height: 1.05; }
.wordmark small { font: 700 13px/1.3 Consolas, "Courier New", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--label); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu > a:not(.button) { text-decoration: none; font-size: 14px; color: #d3deec; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.menu > a:not(.button):hover { color: var(--cyan); }
.menu-button { display: none; min-height: 46px; padding: 0 16px; border-radius: 7px; border: 1px solid #40506c; background: #141b2a; color: #e4eafb; font: inherit; font-size: 14px; cursor: pointer; }

/* ---------- sections ---------- */
.section { padding-block: var(--pad); position: relative; }
.section + .section:not(.deep):not(.face) { border-top: 1px solid #7c96c729; }
.section.deep { background: var(--deep); }
.section.face { background: var(--face); box-shadow: inset 0 1px #b6d9f5, inset 0 3px #48799e, inset 0 -2px #07182c; }
.section.face .eyebrow, .section.face p, .section.face li { color: #e3effb; }
.section.face h2 span { color: #d6e8fb; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.stage { min-width: 0; }

.hero { padding-block: clamp(34px, 5vw, 70px) var(--pad); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy .detail { margin-top: 12px; }
.hero-demo { display: grid; justify-items: center; scroll-margin-top: 90px; }
#demo-phone { display: grid; justify-items: center; width: 100%; }

/* ---------- lists ---------- */
ul { margin: 0; padding: 0; list-style: none; }
.dots li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid #67829e28; font-size: 15px; line-height: 1.45; }
.dots li:first-child { border-top: 0; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: #93c9ff; }
.copy .dots { margin-top: 26px; max-width: 46ch; }
.plain li { padding: 12px 0; border-top: 1px solid var(--light-line); font-size: 15px; line-height: 1.45; }
.checks li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--light-line); font-size: 15px; line-height: 1.45; }
.checks li::before { content: "✓"; position: absolute; left: 2px; top: 11px; color: var(--blue); font-weight: 700; }

/* ---------- cards ---------- */
.display { border: 6px solid transparent; border-radius: clamp(22px, 2.4vw, 32px); background: var(--display) padding-box, var(--silver) border-box; color: var(--light-body); padding: clamp(24px, 3vw, 38px); box-shadow: 0 30px 70px -30px #000c; }
.display h3 { color: var(--light-head); text-shadow: none; }
.display .eyebrow { color: var(--light-label); margin-bottom: 12px; }
.display .fine { color: #405871; }
.panel { background: var(--panel); border-radius: 14px; box-shadow: inset 0 1px #526371, inset 0 -2px #05090d; padding: clamp(22px, 2.6vw, 32px); }
.panel h3 { margin-bottom: 14px; }
.msg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.rate-card { display: grid; gap: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.facts .display { padding: clamp(22px, 2.4vw, 30px); }
.facts .state { margin-bottom: 12px; }
.facts .plain li:first-child { border-top: 0; }

.timeline { margin-top: 28px; padding: clamp(22px, 2.6vw, 32px); border-radius: 14px; border: 1px solid var(--card-line); background: linear-gradient(145deg, #172537, #101c29 70%, #112236); display: grid; gap: 20px; }
.timeline ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: #4e6476; }
.timeline li { position: relative; padding-top: 26px; display: grid; gap: 3px; font-size: 14px; line-height: 1.35; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--deep); border: 2.5px solid #9bc4ee; }
.timeline b { color: var(--head); font-size: 15px; }

.price-card { max-width: 560px; margin-inline: auto; display: grid; gap: 16px; padding: clamp(30px, 4vw, 48px) clamp(24px, 3vw, 36px); }
.price-card h3 { font-size: 31px; letter-spacing: -.04em; }
.price { display: grid; gap: 6px; padding: 8px 0; }
.price strong { font-size: clamp(30px, 4vw, 40px); line-height: 1.08; letter-spacing: -.045em; color: var(--light-head); }
.price span { font-size: 14px; color: var(--light-label); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 860px; margin: 34px auto 0; font-size: 14px; color: #9db0c4; }
.callout { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: 14px; background: linear-gradient(125deg, #233648, #111d28); border: 1px solid #4e6476; }
.callout .eyebrow { margin-bottom: 8px; }
.callout h3 { font-size: 24px; }

/* ---------- steps, FAQ, closing ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(26px, 3.2vw, 44px); position: relative; }
.steps::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 1px; background: #344958; }
.steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: baseline; position: relative; }
.steps .num { font: 700 13px Consolas, "Courier New", monospace; color: #93b4cd; background: var(--deep); padding: 4px 0; }
.steps h3 { margin-bottom: 6px; }
.steps p { max-width: 44ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; min-height: 56px; color: var(--head); font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.03em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: #9bc4ee; transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; max-width: 52ch; }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.points li { display: flex; align-items: center; gap: 16px; font-size: 17px; color: #dbe6f2; }
.points span { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid #5674b5aa; display: grid; place-items: center; font: 700 13px Consolas, "Courier New", monospace; color: #b9e4ff; }

.closing .points { margin-top: 34px; }
.art { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--card-line); box-shadow: 0 40px 90px -40px #000; }
.art img { width: 100%; }

/* ---------- screenshots and the race ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); align-items: start; max-width: 560px; margin-inline: auto; }
.shot { margin: 0; border: 6px solid transparent; border-radius: 34px; background: #0b0d14 padding-box, var(--silver) border-box; padding: 6px; box-shadow: 0 34px 70px -30px #000d; }
.shot img { border-radius: 22px; width: 100%; }
.shot:nth-child(2) { margin-top: 44px; }
.fd-race { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fd-racer { border: 5px solid transparent; border-radius: 24px; background: var(--display) padding-box, var(--silver) border-box; padding: 18px 16px; display: grid; gap: 12px; align-content: start; min-height: 150px; box-shadow: 0 26px 60px -30px #000c; }
.fd-result { display: flex; gap: 10px; align-items: center; min-height: 46px; }
.fd-result strong { display: block; line-height: 1.25; } .fd-result span { display: block; font-size: 13px; color: var(--u-muted); }
.race-again { display: block; margin: 18px auto 0; min-height: 46px; padding: 0 22px; border-radius: 100px; border: 1px solid #c0e0f6aa; background: #ffffff1c; color: #fff; font: 700 15px Arial, Helvetica, sans-serif; cursor: pointer; }
.race-again:hover { background: #ffffff30; }

/* ---------- footer and bottom bar ---------- */
.footer { background: var(--panel); box-shadow: inset 0 1px #526371; padding-block: 54px 110px; font-size: 14px; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.foot-bottom { display: flex; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; padding-top: 22px; color: #9db0c4; }
.foot-bottom .mono { font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.foot-bottom a { margin-left: 18px; min-height: 44px; display: inline-flex; align-items: center; }
.sticky-bar { display: none; }

/* ---------- motion (only when the script switched it on, and never against the visitor's wishes) ---------- */
.motion-enabled [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion-enabled [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- tablets and phones ---------- */
@media (max-width: 1100px) { :root { --gutter: 36px; --pad: 85px; } .msg-grid, .facts { grid-template-columns: 1fr 1fr; } .msg-grid .rate-card, .facts .display:last-child { grid-column: 1 / -1; } .menu { gap: 20px; } }
@media (max-width: 900px) {
  .menu-button { display: inline-flex; align-items: center; gap: 8px; }
  .menu { display: none; position: absolute; right: var(--gutter); left: var(--gutter); top: 70px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 16px; background: #121d32; border: 1px solid #40506c; border-radius: 7px; box-shadow: 0 30px 60px -20px #000; }
  .menu.open { display: flex; }
  .menu > a:not(.button) { min-height: 50px; font-size: 16px; border-bottom: 1px solid #7c96c729; }
  .menu .button { margin-top: 14px; }
}
@media (max-width: 800px) {
  :root { --gutter: 20px; --pad: 65px; }
  .split, .head-row, .hero-grid, .msg-grid, .facts, .notes { grid-template-columns: 1fr; }
  .head-row { align-items: start; }
  .hero { padding-top: 18px; }
  .actions .button { width: 100%; }
  .timeline ol { grid-template-columns: 1fr; gap: 0; }
  .timeline ol::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 16px 30px; }
  .timeline li::before { top: 3px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .callout .button { width: 100%; }
  .foot-bottom a { margin-left: 0; margin-right: 18px; }
  .sticky-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #0b1219f5; box-shadow: 0 -1px #ffffff1c; backdrop-filter: blur(10px); }
  .sticky-bar .button { width: 100%; }
}
@media (max-width: 380px) { .fd-race { grid-template-columns: 1fr; } .shots { gap: 10px; } .shot { border-width: 4px; padding: 4px; border-radius: 26px; } .shot img { border-radius: 18px; } }
