/* Backlit — landing + privacy. Warm-dark, editorial-premium. One amber accent;
   the colorful framed-output mockups carry the rest of the color. */
:root {
  --bg:      #161318;
  --bg-2:    #1c181f;
  --surface: #221d27;
  --ink:     #f4efe8;
  --ink-2:   #b6aca0;
  --ink-3:   #897f76;
  --line:    rgba(244, 239, 232, 0.09);
  --line-2:  rgba(244, 239, 232, 0.16);
  --amber:   #e2893c;
  --amber-2: #f0a85c;
  --amber-soft: rgba(226, 137, 60, 0.13);
  --grad-a:  #7c5cff;
  --grad-b:  #49b6f8;
  --maxw: 1140px;
  --r: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 0.9rem + 0.25vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--amber); color: #1a1206; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--amber-2);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 540; line-height: 1.04; letter-spacing: -0.015em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; letter-spacing: -0.01em; font-size: 1.05rem; }
.orb {
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, var(--amber-2), var(--amber) 60%, #b5641f);
  box-shadow: 0 0 0 4px var(--amber-soft), 0 0 18px 2px rgba(226, 137, 60, 0.5);
}
.nav__spacer { flex: 1; }
.nav__link { color: var(--ink-2); font-size: 0.92rem; }
.nav__link:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  padding: 0.72rem 1.15rem; border-radius: 11px; border: 1px solid transparent;
  transition: transform 140ms cubic-bezier(0.2,0.7,0.3,1), background 140ms ease, border-color 140ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: #1c1206; box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 30px -12px rgba(226,137,60,0.7);
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; color: var(--ink-2);
  padding: 0.3rem 0.7rem; border: 1px solid var(--line-2); border-radius: 999px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vh, 6rem) 0 clamp(3rem, 7vh, 5.5rem); }
.hero::before { /* backlit wash */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(226,137,60,0.22), transparent 62%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 4.4vw + 1rem, 4.6rem); margin: 1.1rem 0 0; }
.hero h1 em { font-style: italic; color: var(--amber-2); }
.hero__sub { color: var(--ink-2); font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem); max-width: 32ch; margin-top: 1.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 2rem; }
.hero__meta { margin-top: 1.1rem; color: var(--ink-3); font-size: 0.85rem; }

/* ---------- framed-shot mockup (the product output) ---------- */
.shot { position: relative; aspect-ratio: 8 / 6; border-radius: 18px; padding: 9%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.shot::after { /* amber backlight behind the card */
  content: ""; position: absolute; inset: 8% 8% -8% 8%; z-index: -1; border-radius: 24px;
  background: radial-gradient(closest-side, rgba(226,137,60,0.55), transparent);
  filter: blur(34px);
}
.win { background: #fff; border-radius: 9px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(0,0,0,0.45); }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 11px 13px; background: #f3f2f0; border-bottom: 1px solid #e7e6e3; }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.win__bar i:nth-child(1){ background:#ff5f57 } .win__bar i:nth-child(2){ background:#febc2e } .win__bar i:nth-child(3){ background:#28c840 }
.win__body { padding: 18px 18px 22px; display: grid; gap: 11px; }
.win__body span { height: 11px; border-radius: 6px; background: #e6e8ec; display: block; }
.win__body span:nth-child(1){ width: 92% } .win__body span:nth-child(2){ width: 64% }
.win__body span:nth-child(3){ width: 78% } .win__body span:nth-child(4){ width: 46% }
.win__block { height: 64px; border-radius: 8px; background: linear-gradient(120deg,#eef1f6,#e4e8f0); margin-top: 4px; }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 9vh, 6rem) 0; }
.sec-head { max-width: 40ch; }
.sec-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem); margin-top: 0.7rem; }
.sec-head p { color: var(--ink-2); margin-top: 0.9rem; }

/* the wedge: headline + before/after */
.how__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.how__top .sec-head { max-width: 44ch; }
.compare { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.compare__item { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; width: 100%; }
.compare__item .win, .compare__item .shot { width: 100%; max-width: 380px; }
.compare__arrow { color: var(--ink-3); font-size: 1.35rem; line-height: 1; }
.raw__win { opacity: 0.55; filter: saturate(0.5); }
.shot--sm { aspect-ratio: auto; padding: 9%; border-radius: 14px; }
.tag { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.tag--mute { color: var(--ink-3); }
.tag--amber { color: var(--amber-2); }

/* flow: capture -> beautify -> share */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 2.6rem; }
.step { padding-top: 1.3rem; border-top: 1px solid var(--line-2); }
.step__n { font-family: var(--serif); font-size: 1.05rem; color: var(--amber-2); }
.step h3 { font-size: 1.32rem; margin: 0.5rem 0 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.96rem; }

/* beautify controls showcase */
.beautify { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.beautify__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.controls { display: flex; flex-direction: column; gap: 1.5rem; }
.control__label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.swatches { display: flex; gap: 0.55rem; margin-top: 0.7rem; flex-wrap: wrap; }
.sw { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); }
.sw--g1 { background: linear-gradient(135deg,#ff6e7f,#bfe9ff) }
.sw--g2 { background: linear-gradient(135deg,#654ea3,#eaafc8) }
.sw--g3 { background: linear-gradient(135deg,#11998e,#38ef7d) }
.sw--g4 { background: linear-gradient(135deg,#ffe259,#ffa751) }
.sw--g5 { background: linear-gradient(135deg,#2193b0,#6dd5ed) }
.sw--solid { background: #0f172a } .sw--checker {
  background-color:#fff; background-image:
    linear-gradient(45deg,#cfccc6 25%,transparent 25%),linear-gradient(-45deg,#cfccc6 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#cfccc6 75%),linear-gradient(-45deg,transparent 75%,#cfccc6 75%);
  background-size: 11px 11px; background-position: 0 0,0 5.5px,5.5px -5.5px,-5.5px 0;
}
.seg { display: inline-flex; gap: 3px; padding: 4px; border-radius: 11px; background: var(--surface); margin-top: 0.7rem; }
.seg span { font-size: 0.85rem; color: var(--ink-2); padding: 0.35rem 0.8rem; border-radius: 8px; }
.seg span[data-on] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.3); }

/* privacy strip */
.trust { text-align: left; }
.trust .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.trust h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); max-width: 18ch; }
.trust p { color: var(--ink-2); margin-top: 0.8rem; max-width: 46ch; }
.trust__badges { display: grid; gap: 0.7rem; }
.tbadge { display: flex; gap: 0.6rem; align-items: center; color: var(--ink); font-size: 0.95rem; }
.tbadge svg { flex: none; color: var(--amber-2); }

/* cta band */
.cta { text-align: center; }
.cta .wrap { display: grid; place-items: center; gap: 1.4rem; padding: clamp(2.5rem,6vh,4rem) 1rem; }
.cta h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.cta p { color: var(--ink-2); max-width: 40ch; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; color: var(--ink-3); font-size: 0.9rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.foot a { color: var(--ink-2); } .foot a:hover { color: var(--ink); }
.madewith { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; }

/* long-form (privacy) */
.doc { padding: clamp(2.5rem, 6vh, 4rem) 0 4rem; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
.doc .lede { color: var(--ink-2); margin-top: 0.8rem; font-size: 1.08rem; }
.doc h2 { font-size: 1.5rem; margin: 2.4rem 0 0.7rem; }
.doc p, .doc li { color: var(--ink-2); margin-top: 0.7rem; }
.doc ul { padding-left: 1.2rem; } .doc li { margin-top: 0.4rem; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .meta { color: var(--ink-3); font-size: 0.88rem; margin-top: 0.4rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.reveal[data-d="1"]{animation-delay:.06s} .reveal[data-d="2"]{animation-delay:.12s}
.reveal[data-d="3"]{animation-delay:.18s} .reveal[data-d="4"]{animation-delay:.24s}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero__grid, .beautify__grid, .how__top { grid-template-columns: 1fr; }
  .hero__shot { order: -1; max-width: 460px; }
  .flow { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
}
