/* OneClickShot landing - light-editorial brand: navy ink, steel-blue accent,
   cool off-white. Red is the logo only. Light theme locked + dark via media query. */

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #14203a;
  --ink-2: #1d2c4a;
  --accent: #35588c;
  --accent-hover: #2c4870;
  --accent-soft: #eaeff7;
  --accent-border: #cdd9ea;
  --live: #4f7cc4;
  --red: #d6453c;

  --bg: #f7f8fb;
  --surface: #ffffff;
  --tile: #eef1f7;
  --border: #e4e8f0;
  --border-strong: #d3d9e6;

  --text: #14203a;
  --text-2: #515c74;
  --muted: #5d6680;

  --primary-bg: #14203a;
  --primary-bg-hover: #1f2e4d;
  --primary-fg: #ffffff;

  --shadow-sm: 0 1px 2px rgba(20, 32, 58, 0.08);
  --shadow: 0 10px 30px rgba(20, 32, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 32, 58, 0.16);
  --ring: 0 0 0 3px rgba(53, 88, 140, 0.32);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --font: 'Geist', system-ui, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Code', monospace;
  --maxw: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5b82c2;
    --accent-hover: #6f93cd;
    --accent-soft: #1b2741;
    --accent-border: #2b3a5c;
    --live: #6f9be0;

    --bg: #0e1426;
    --surface: #141c33;
    --tile: #1a2340;
    --border: #26304d;
    --border-strong: #313c5e;

    --text: #eef2fa;
    --text-2: #aeb8cf;
    --muted: #7c89a6;

    --primary-bg: #5b82c2;
    --primary-bg-hover: #6f93cd;
    --primary-fg: #0e1426;

    --shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { left: 16px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, transform .08s, color .18s;
}
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--primary { background: var(--primary-bg); color: var(--primary-fg); }
.btn--primary:hover { background: var(--primary-bg-hover); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible { outline: none; box-shadow: var(--ring); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.is-stuck { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--text); }
.brand__mark { border-radius: 7px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav__links a { color: var(--text-2); transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 0; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 50% at 12% 8%, rgba(53, 88, 140, 0.10), transparent 70%),
    radial-gradient(40% 55% at 92% 26%, rgba(47, 125, 114, 0.08), transparent 72%),
    radial-gradient(50% 60% at 72% 96%, rgba(91, 130, 194, 0.07), transparent 72%);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1.2fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(32px, 4vw, 48px); font-weight: 600; max-width: 20ch; }
.hero__sub { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 46ch; }
.hero__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero__shot img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 52px; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--surface);
}

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tile); }
.section__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; max-width: 18ch; margin-bottom: 40px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cell {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  overflow: hidden;
}
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.cell h3 { font-size: 19px; font-weight: 600; }
.cell p { font-size: 14.5px; color: var(--text-2); }
.cell--wide { grid-column: span 2; }
.cell--bg-annotate { background: url(img/bento-annotate.png) right -2px bottom -2px / 170px no-repeat, var(--surface); }
.cell--bg-copy { background: url(img/bento-copy.png) right -2px bottom -2px / 170px no-repeat, var(--surface); }
.cell--shot { grid-column: span 3; min-height: 200px; justify-content: flex-end;
  background: url(img/bento-region.png) right 8px bottom 8px / 200px no-repeat,
    radial-gradient(120% 140% at 100% 0%, var(--accent-soft), var(--surface) 70%); }
.cell--ink { background: url(img/bento-capture.png) right -6px bottom -6px / 180px no-repeat, var(--ink); border-color: var(--ink); }
.cell--ink h3 { color: #f4f7fc; }
.cell--ink p { color: #aeb8cf; }
.cell--accent { background: url(img/bento-record.png) right -4px bottom -4px / 190px no-repeat, var(--accent); border-color: var(--accent); }
.cell--accent h3 { color: #fff; }
.cell--accent p { color: #e8eef7; }
.cell__shotcopy { max-width: 42ch; }

.cell__icons { display: flex; gap: 10px; }
.i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.cell--ink .i { background: rgba(255,255,255,.08); color: #cdd9ea; }
.cell--accent .i { background: rgba(255,255,255,.16); color: #fff; }
.i--lg { width: 50px; height: 50px; border-radius: 13px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Showcase split */
.showcase { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.showcase--rev .showcase__shot { order: -1; }
.showcase__copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; max-width: 16ch; }
.showcase__copy p { margin-top: 18px; font-size: 16px; color: var(--text-2); max-width: 50ch; }
.showcase__shot img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335588c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.step__illo { width: 100%; height: auto; border-radius: 12px; margin-bottom: 18px; display: block; }
.step__n {
  display: inline-block; font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  color: var(--accent); padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent-soft);
}
.step p { margin-top: 16px; font-size: 15px; color: var(--text-2); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.qa { padding: 22px 0; border-top: 1px solid var(--border); }
.qa h3 { font-size: 17px; font-weight: 600; }
.qa p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); max-width: 48ch; }

/* CTA band */
.cta { padding: 100px 0; background: var(--bg); }
.cta__inner {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--ink); border-radius: 24px; padding: 64px 24px;
  box-shadow: var(--shadow-lg);
  position: relative; isolation: isolate; overflow: hidden;
}
.cta__inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 72% at 16% 0%, rgba(91, 130, 194, 0.40), transparent 60%),
    radial-gradient(48% 64% at 96% 100%, rgba(47, 125, 114, 0.24), transparent 62%);
}
.cta__mark { border-radius: 14px; }
.cta h2 { color: #f4f7fc; font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; max-width: 18ch; }
.cta p { color: #aeb8cf; font-size: 16px; }
.cta .btn--primary { background: #fff; color: var(--ink); margin-top: 8px; }
.cta .btn--primary:hover { background: #e9eef7; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; font-size: 14px; margin-left: auto; }
.footer__links a { color: var(--text-2); }
.footer__links a:hover { color: var(--accent); }
.footer__legal { width: 100%; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--2 { transition-delay: .09s; }
.reveal--3 { transition-delay: .18s; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__shot { order: 2; }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase--rev .showcase__shot { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--wide, .cell--shot { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .section { padding: 68px 0; }
  .bento { grid-template-columns: 1fr; }
  .cell--wide, .cell--shot { grid-column: span 1; }
  .cta__inner { padding: 48px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cell:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; }
}
