:root {
  --paper: #f3f5f0;
  --paper-2: #e8ece5;
  --ink: #141816;
  --muted: #5d6761;
  --line: rgba(20, 24, 22, 0.16);
  --accent: #2457ff;
  --accent-dark: #163ec2;
  --white: #ffffff;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(29, 37, 32, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: var(--accent); color: var(--white); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 240, 0.94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-size: 15px; font-weight: 760; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; transform: rotate(8deg); }
.brand-mark i { width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
.brand-mark i:nth-child(2n) { background: var(--ink); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav a, .text-link { text-decoration: none; }
.nav a { color: var(--muted); }
.nav a:hover, .text-link:hover { color: var(--ink); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { background: #2a312d; transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 38px; padding-inline: 16px; font-size: 14px; }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: rgba(20, 24, 22, 0.06); }
.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-light:hover { background: #edf0ea; }
.button-accent { border-color: var(--accent); background: var(--accent); }
.button-accent:hover { background: var(--accent-dark); }
.button[disabled] { cursor: not-allowed; opacity: 0.55; transform: none; }
.text-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--accent); font-weight: 760; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.hero {
  min-height: calc(100dvh - 68px);
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  gap: 52px;
  align-items: center;
  padding: 48px max(42px, calc((100vw - 1380px) / 2));
  overflow: hidden;
}
.hero-copy { max-width: 610px; }
.hero h1, .section-intro h2, .access-section h2, .faq-heading h2, .closing-section h2 {
  margin: 0;
  font-family: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero h1 { max-width: 640px; }
.hero-copy > p { max-width: 520px; margin: 26px 0 0; color: var(--muted); font-size: 20px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-product { position: relative; aspect-ratio: 8 / 5; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow); overflow: hidden; }
.hero-product video, .hero-product img { width: 100%; height: 100%; object-fit: contain; background: var(--paper-2); }
.product-note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.44); border-radius: 6px; background: rgba(20,24,22,.78); color: var(--white); font-size: 12px; backdrop-filter: blur(10px); }
.product-note span { color: #aeb9b2; font-family: ui-monospace, Consolas, monospace; }
.product-note b { font-weight: 650; }
.product-note-a { left: 22px; bottom: 22px; }
.product-note-b { right: 22px; top: 22px; }

.capability-strip { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 74px; padding: 16px 28px; border-block: 1px solid var(--line); background: var(--white); overflow: hidden; }
.capability-strip p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 720; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.capability-strip span { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.use-section, .pricing-section, .faq-section { max-width: 1380px; margin: 0 auto; padding: 120px 42px; }
.section-intro { max-width: 840px; }
.section-intro h2, .faq-heading h2 { font-size: clamp(40px, 4.4vw, 66px); }
.section-intro > p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 19px; }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; align-items: stretch; gap: 16px; margin-top: 60px; }
.use-card { position: relative; display: flex; min-height: 300px; flex-direction: column; padding: 28px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.use-card h3 { margin: 12px 0 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.025em; }
.use-card p:not(.index-label) { max-width: 460px; margin: 14px 0 0; color: var(--muted); }
.use-card > p, .use-card > h3, .use-card > .use-copy { margin-inline: 28px; }
.use-copy { display: flex; flex-direction: column; }
.use-media { width: 100%; aspect-ratio: 8 / 5; margin: auto 0 0; background: var(--paper-2); }
.use-media img, .use-media video { width: 100%; height: 100%; object-fit: cover; }
.use-card-large { grid-column: auto; grid-row: auto; min-height: 620px; background: var(--ink); color: var(--white); }
.use-card-large p:not(.index-label) { color: #b9c3bd; }
.use-card-large .use-media { margin-top: auto; border-top: 1px solid rgba(255,255,255,.16); }
.use-card-tall { grid-column: auto; grid-row: auto; }
.use-card-wide { grid-column: auto; grid-row: auto; min-height: 620px; background: var(--paper-2); }
.index-label { margin: 0; color: var(--accent); font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.use-card-large .index-label { color: #8fa8ff; }


.feature-section { padding: 112px max(42px, calc((100vw - 1380px) / 2)); border-block: 1px solid var(--line); background: var(--paper-2); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.feature-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.feature-copy { padding: 30px 30px 0; }
.feature-copy h3 { margin: 12px 0 0; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -.025em; }
.feature-copy > p:not(.index-label) { max-width: 560px; margin: 16px 0 0; color: var(--muted); }
.feature-media { width: 100%; aspect-ratio: 8 / 5; margin: 28px 0 0; background: #edf1f3; overflow: hidden; }
.feature-media video { width: 100%; height: 100%; object-fit: contain; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0 30px 30px; list-style: none; }
.feature-list li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.feature-card-sticker .feature-media { background: #f4eef0; }


.pricing-section { padding-top: 130px; }
.pricing-intro { max-width: 920px; }
.plan-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 58px; align-items: stretch; }
.plan-card { display: flex; min-height: 510px; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan-card-featured { background: var(--accent); color: var(--white); border-color: var(--accent); }
.plan-card-featured .index-label, .plan-card-featured .price small { color: #dbe3ff; }
.plan-card h3 { margin: 8px 0 0; font-size: 31px; line-height: 1.1; }
.price { display: flex; align-items: baseline; gap: 3px; margin: 28px 0 0; font-size: 76px; font-weight: 840; line-height: 1; letter-spacing: -0.04em; }
.price span { font-size: 28px; }
.price small { margin-left: 8px; color: var(--muted); font-size: 14px; font-weight: 650; letter-spacing: 0; }
.plan-card ul { display: grid; gap: 14px; margin: 38px 0; padding: 0; list-style: none; }
.plan-card li { padding-top: 14px; border-top: 1px solid currentColor; font-size: 15px; opacity: .92; }
.plan-card .button { width: 100%; }
.pricing-footnote { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

.access-section { padding: 118px max(42px, calc((100vw - 1380px) / 2)); background: var(--ink); color: var(--white); }
.access-section h2 { max-width: 900px; font-size: clamp(42px, 5vw, 72px); }
.access-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.22); }
.access-flow > div { min-height: 230px; padding: 28px 32px 10px 0; border-right: 1px solid rgba(255,255,255,.22); }
.access-flow > div + div { padding-left: 32px; }
.access-flow > div:last-child { border-right: 0; }
.access-flow span { color: #8fa8ff; font-family: ui-monospace, Consolas, monospace; }
.access-flow b { display: block; margin-top: 34px; font-size: 22px; }
.access-flow p { max-width: 330px; margin: 12px 0 0; color: #b9c3bd; }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-heading { align-self: start; position: sticky; top: 110px; }
.faq-heading p { max-width: 360px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 24px 34px 24px 0; font-size: 19px; font-weight: 720; }
.faq-list details p { max-width: 760px; margin: 0; padding: 0 34px 24px 0; color: var(--muted); }

.closing-section { display: grid; justify-items: start; padding: 120px max(42px, calc((100vw - 1380px) / 2)); background: var(--accent); color: var(--white); }
.closing-section h2 { font-size: clamp(54px, 8vw, 120px); }
.closing-section p { margin: 20px 0 32px; color: #dbe3ff; font-size: 20px; }

.footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 32px; padding: 46px 42px; background: var(--white); border-top: 1px solid var(--line); }
.footer > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.footer a { text-decoration: none; }
.copyright { white-space: nowrap; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: min(440px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.form-shell { width: min(100% - 32px, 560px); margin: 72px auto 120px; }
.form-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-panel h1, .page-heading h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.form-panel > p, .page-heading > p { color: var(--muted); }
.google-signin { display: grid; gap: 8px; margin-top: 22px; }
.google-signin[hidden] { display: none; }
#google-button { min-height: 44px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 2px; color: var(--muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.google-signin .form-status { min-height: 0; margin: 0; }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { font-size: 14px; font-weight: 700; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #9aa49e; border-radius: 6px; background: var(--white); color: var(--ink); outline: none; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36,87,255,.16); }
.field small { color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.form-status { min-height: 24px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.form-status.is-error { color: var(--danger); }
.dev-code { margin-top: 18px; padding: 14px; border: 1px dashed var(--accent); border-radius: 6px; background: #eef2ff; color: var(--accent-dark); font-weight: 700; }

.page-lede { max-width: 900px; margin: 0 auto; padding: 82px 42px 44px; }
.page-lede p { max-width: 680px; color: var(--muted); font-size: 18px; }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(1220px, calc(100% - 84px)); margin: 0 auto 16px; }
.account-card, .account-panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.account-card h2, .account-panel h2 { margin: 0; font-size: 24px; }
.account-card p, .account-panel p { color: var(--muted); }
.account-panel { width: min(1220px, calc(100% - 84px)); margin: 14px auto; }
.account-panel table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-panel th, .account-panel td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.account-panel th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: var(--paper-2); font-size: 12px; font-weight: 700; }
.pill.ok { background: #dff3e5; color: #17663a; }
.pill.warn { background: #fff0dc; color: #92400e; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; width: min(1100px, calc(100% - 84px)); margin: 40px auto 120px; }
.checkout-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.summary-row.total { border-bottom: 0; font-size: 28px; font-weight: 800; }
.notice { padding: 16px; border-left: 3px solid var(--accent); background: #eef2ff; color: var(--accent-dark); }
.legal-content { width: min(840px, calc(100% - 42px)); margin: 70px auto 120px; }
.legal-content h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.legal-content h2 { margin-top: 54px; }
.legal-content p, .legal-content li { color: var(--muted); }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 56px 24px 34px; }
  .hero-copy { max-width: 760px; }
  .use-section, .pricing-section, .faq-section { padding: 88px 24px; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .use-card-large { grid-column: 1 / -1; grid-row: auto; }
  .use-card-tall, .use-card-wide { grid-column: auto; grid-row: auto; }
  .feature-section { padding: 88px 24px; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .access-flow { grid-template-columns: 1fr; }
  .access-flow > div, .access-flow > div + div { min-height: auto; padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .faq-section { grid-template-columns: 1fr; gap: 44px; }
  .faq-heading { position: static; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar { min-height: 62px; padding-inline: 16px; }
  .top-actions .text-link { display: none; }
  .brand { font-size: 14px; }
  .hero { min-height: auto; padding-top: 44px; gap: 32px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-copy > p { font-size: 18px; }
  .product-note { display: none; }
  .capability-strip { justify-content: flex-start; gap: 16px; overflow-x: auto; }
  .use-grid { grid-template-columns: 1fr; }
  .use-card-large { min-height: 0; }
  .use-card-tall, .use-card-wide { min-height: 380px; }
  .section-intro h2, .faq-heading h2 { font-size: clamp(38px, 11vw, 54px); }
  .section-intro > p { font-size: 17px; }
  .feature-section { padding: 72px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-copy { padding: 24px 24px 0; }
  .feature-list { padding: 0 24px 24px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 460px; }
  .price { font-size: 62px; }
  .access-section { padding: 80px 20px; }
  .closing-section { padding: 84px 20px; }
  .footer { grid-template-columns: 1fr; padding: 38px 20px; }
  .account-grid, .account-panel, .checkout-grid { width: calc(100% - 32px); }
  .account-grid, .checkout-grid { grid-template-columns: 1fr; }
  .page-lede { padding-inline: 20px; }
  .form-shell { margin-top: 46px; }
  .form-panel { padding: 24px; }
  .account-panel { overflow-x: auto; }
}

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