/* hashshot.app. Tokens and rules: see Website/DESIGN.md */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #03060F;
  --surface: #0A1124;
  --surface-2: #111A33;
  --line: rgba(148, 163, 184, .16);
  --text: #EAF0FD;
  --text-2: #A8B3CB;
  --text-3: #7D89A4;
  --primary: #2563EB;
  --primary-hover: #1D4FD8;
  --accent: #60A5FA;
  --success: #34D399;
  --warning: #FBBF24;

  --fs-hero: clamp(40px, 6vw, 68px);
  --fs-h2: clamp(30px, 4vw, 44px);
  --fs-h3: 20px;
  --fs-lead: clamp(18px, 1.6vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-eyebrow: 13px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --shot-shadow: 0 40px 100px -30px rgba(0, 0, 0, .75);
  --content: 1180px;
  --gutter: 24px;
  --section: 128px;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --section: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.6 "Inter", system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; color: var(--text); }
p { margin: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--primary); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--content), 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  font-size: var(--fs-eyebrow); line-height: 1.2; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}

.h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 34em; }
.muted { color: var(--text-2); }
.fine { font-size: var(--fs-small); color: var(--text-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-sm);
  font: 600 15px/1 "Inter", system-ui, sans-serif; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.btn:hover, .btn:focus-visible { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-2); }
.btn[aria-disabled="true"] { background: rgba(37, 99, 235, .55); color: rgba(255, 255, 255, .92); cursor: default; }
.btn[aria-disabled="true"]:hover { background: rgba(37, 99, 235, .55); }
.soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(3, 6, 15, .45); color: #FDE68A;
  font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warning); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 6, 15, .85);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { position: relative; padding: 88px 0 0; }
.hero-copy { max-width: 820px; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.04; font-weight: 850; letter-spacing: -.035em; margin: 18px 0 22px; }
.hero .lead { max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-3); font-size: var(--fs-small); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--success); }
.hero-shot { position: relative; margin-top: 72px; }
.hero-shot::before {
  content: ""; position: absolute; inset: -10% 8% 30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .45), transparent);
  filter: blur(40px);
}

.shot { border-radius: var(--r-lg); box-shadow: var(--shot-shadow); }

/* AI strip */
.works-with {
  margin-top: 64px; padding: 22px 0; border-block: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; color: var(--text-2);
}
.works-with strong { color: var(--text); font-weight: 600; }
.works-with ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.works-with li { font-weight: 600; color: var(--text); }

/* Feature sections */
.section { padding-top: var(--section); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .h2 { margin: 14px 0 16px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .split-media { order: -1; }
@media (max-width: 920px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.flip .split-media { order: 0; }
}

.features { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.features li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.features svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.features h3 { font-size: 17px; line-height: 1.35; font-weight: 700; margin-bottom: 4px; }
.features p { color: var(--text-2); font-size: 15.5px; }

.media-stack { position: relative; }
.media-stack .inset {
  position: absolute; right: -2%; bottom: -10%; width: 36%;
  border-radius: var(--r-md); box-shadow: var(--shot-shadow); border: 1px solid var(--line);
}
.media-stack .phone {
  position: absolute; right: 2%; bottom: -8%; width: 24%;
  border-radius: 18px; border: 6px solid #0E1428; box-shadow: var(--shot-shadow);
}
@media (max-width: 600px) {
  .media-stack .inset { width: 42%; bottom: -14%; }
  .media-stack .phone { width: 30%; }
}

.menu-shot { width: 100%; max-width: 420px; margin-inline: auto; }

/* Big band (AI agents) */
.band {
  margin-top: var(--section); padding: 72px 0; background: var(--surface);
  border-block: 1px solid var(--line);
}
.prompts { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.prompts li {
  padding: 14px 16px; border-radius: var(--r-md); background: var(--bg);
  border: 1px solid var(--line); color: var(--text); font-size: 15.5px;
}
.prompts li::before { content: "“"; color: var(--accent); font-weight: 700; margin-right: 2px; }
.prompts li::after { content: "”"; color: var(--accent); font-weight: 700; margin-left: 2px; }

/* Small grid (automation) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.trio > div { padding: 28px 28px 28px 0; }
.trio > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.trio h3 { font-size: var(--fs-h3); line-height: 1.3; margin-bottom: 8px; }
.trio p { color: var(--text-2); }
code { font: 500 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 820px) {
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio > div, .trio > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Tour video */
.tour { margin-top: 8px; }
.tour video { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shot-shadow); border: 1px solid var(--line); background: #000; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
@media (max-width: 920px) { .pricing { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.price-card { padding: 36px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 600px) { .price-card { padding: 26px 22px; } }
.price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; }
.price strong { font-size: 64px; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.price span { color: var(--text-2); font-size: 17px; }
.checks { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); }
.checks svg { width: 20px; height: 20px; color: var(--success); margin-top: 2px; }
.price-card .btn { width: 100%; }
.renew { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 650; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 44em; }

/* Closing call */
.closing { text-align: left; padding: 72px 0 0; }
.closing .h2 { max-width: 16em; margin-bottom: 14px; }

/* Footer */
.footer { margin-top: var(--section); padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer .brand { margin-bottom: 14px; }
.footer p + p { margin-top: 8px; }

/* Legal pages */
.legal { padding: 72px 0 0; }
.legal-body { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 850; letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 10px; }
.legal h2 { font-size: 22px; line-height: 1.3; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .updated { color: var(--text-3); font-size: var(--fs-small); }

/* "Learn more" links under feature lists */
.more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-weight: 600; font-size: 15px; }
.more a::after { content: " →"; }

/* Footer: four columns */
.footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Feature pages */
.crumbs { font-size: var(--fs-small); color: var(--text-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.page-hero { padding: 56px 0 0; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 850; letter-spacing: -.035em; margin: 18px 0 20px; max-width: 18em; }
.page-shot { margin-top: 56px; }
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 28px 28px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-weight: 700; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--text-2); }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.related a { display: block; height: 100%; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.related a:hover { background: var(--surface-2); text-decoration: none; }
.related span { display: block; margin-top: 4px; color: var(--text-2); font-weight: 400; font-size: 15px; }

/* Footer: five columns */
.footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Tall images on feature pages */
.page-shot.narrow { max-width: 420px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); background: var(--surface); }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody th { font-weight: 600; color: var(--text); width: 40%; }
.compare td { color: var(--text-2); }
.compare td:nth-child(2) { color: var(--text); font-weight: 600; background: rgba(37, 99, 235, .07); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Lost key form */
.resend { margin-top: 18px; }
.resend label { display: block; font-weight: 600; margin-bottom: 8px; }
.resend-row { display: flex; flex-wrap: wrap; gap: 10px; }
.resend input {
  flex: 1 1 240px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font: inherit;
}
.resend input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.resend-status { margin-top: 12px; color: var(--text-2); min-height: 1.6em; }
