:root {
  --bg: #0b0c0f;
  --bg-2: #111318;
  --card: #15181e;
  --card-2: #1b1f27;
  --line: #262b35;
  --ink: #f2f3f5;
  --muted: #9aa1ad;
  --brand: #3ddc97;
  --brand-ink: #04140d;
  --pc: #f5b83d;   /* Photo Culler */
  --ae: #a78bfa;   /* Auto Edit */
  --ut: #38bdf8;   /* ULTRA */
  --radius: 16px;
  --max: 1160px;
  --shadow: 0 20px 60px -20px rgb(0 0 0 / .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f7f4; --bg-2: #efefea; --card: #ffffff; --card-2: #f4f4f0; --line: #e2e2dc;
    --ink: #15171a; --muted: #5e636b; --brand: #0f9d63; --brand-ink: #ffffff;
    --pc: #c27c00; --ae: #6d4fd8; --ut: #0284c7; --shadow: 0 20px 50px -25px rgb(0 0 0 / .25);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #22d3ee); color: var(--brand-ink); font-size: 15px; font-weight: 800;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--card); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, white); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 56px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 70% 25%, color-mix(in srgb, var(--ae) 20%, transparent), transparent 70%),
    radial-gradient(30% 40% at 50% 60%, color-mix(in srgb, var(--ut) 14%, transparent), transparent 70%);
  filter: blur(10px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--muted); font-size: 13px; font-weight: 500;
}
.eyebrow b { color: var(--brand); font-weight: 600; }
.hero h1 { font-size: clamp(38px, 7vw, 76px); line-height: 1.05; letter-spacing: -.04em; margin: 20px auto 18px; max-width: 900px; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--brand), #22d3ee 50%, var(--ae)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 44px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Product overview cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.pcard {
  --c: var(--brand);
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, var(--card)), var(--card) 60%);
  border: 1px solid var(--line); text-decoration: none; transition: transform .2s, border-color .2s;
}
.pcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.pcard .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--c) 16%, transparent); }
.pcard h3 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.02em; }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; }
.pcard .more { margin-top: auto; padding-top: 8px; color: var(--c); font-weight: 600; font-size: 14px; }
.badge { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.pc { --c: var(--pc); } .ae { --c: var(--ae); } .ut { --c: var(--ut); }

/* ---------- Sections ---------- */
section { padding: 72px 0; scroll-margin-top: 64px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* ---------- Tabs ---------- */
.tablist {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 32px; width: fit-content; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  --c: var(--brand);
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 0;
  background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.tab[aria-selected="true"] { background: color-mix(in srgb, var(--c) 16%, var(--card-2)); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.panel { --c: var(--brand); animation: fade .35s ease; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.p-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.p-hero h3 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 14px; }
.p-hero p { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--c); font-weight: 600; font-size: 14px; }
.kicker img { width: 28px; height: 28px; border-radius: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.shot img { width: 100%; height: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .fi { font-size: 22px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, transparent); margin-bottom: 12px; }
.feature h4 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }

.sub-h { font-size: 22px; letter-spacing: -.02em; margin: 48px 0 18px; }

/* Plans table */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan.hot { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, var(--card)), var(--card)); }
.plan h4 { margin: 0; font-size: 18px; }
.plan .price { font-size: 15px; color: var(--muted); }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.plan li { display: flex; gap: 8px; } .plan li::before { content: "✓"; color: var(--c); font-weight: 700; }

/* Callout / waitlist */
.callout {
  margin-top: 40px; padding: 28px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line));
  background: radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%), var(--card);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
}
.callout h4 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.02em; }
.callout p { margin: 0; color: var(--muted); }
.form { display: grid; gap: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 15px;
}
.input:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.form-msg { font-size: 14px; min-height: 1.4em; margin: 0; }
.form-msg.ok { color: var(--brand); } .form-msg.bad { color: #f87171; }
.hp { position: absolute; left: -9999px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { position: relative; padding: 22px 22px 22px 72px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand);
}
.step h3 { margin: 4px 0 6px; font-size: 18px; }
.step p, .step li { color: var(--muted); }
.step ol, .step ul { padding-left: 20px; margin: 8px 0 0; }
kbd { font: 600 13px ui-monospace, monospace; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); }
code { font: 14px ui-monospace, monospace; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* CTA band */
.band {
  text-align: center; padding: 56px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 50% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), var(--card);
}
.band h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.03em; margin: 0 0 10px; }
.band p { color: var(--muted); margin: 0 0 24px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 120px; color: var(--muted); font-size: 14px; margin-top: 40px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
footer h5 { color: var(--ink); font-size: 14px; margin: 0 0 10px; }
footer a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--ink); }

/* Sticky mobile CTA */
.mcta { display: none; }

/* Page (guide / terms) */
.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; margin: 12px 0 10px; }
.page-hero p { color: var(--muted); margin: 0 auto; max-width: 640px; }
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.note { padding: 16px 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--pc) 40%, var(--line)); background: color-mix(in srgb, var(--pc) 8%, var(--card)); color: var(--ink); font-size: 15px; margin: 16px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .features, .plans { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .p-hero, .callout { grid-template-columns: 1fr; }
  .p-hero .shot { order: -1; }
}
@media (max-width: 720px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: 64px 0 auto; flex-direction: column; padding: 12px 16px 20px; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 12px; font-size: 16px; }
  .nav .btn { display: none; }
  .hero { padding: 56px 0 40px; }
  section { padding: 52px 0; }
  .cards, .features, .plans, .gallery, .why, .form .row { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .tablist { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 10px 6px; font-size: 13.5px; }
  .tab .dot { display: none; }
  .callout { padding: 22px; }
  .mcta {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
    padding: 8px; border-radius: 16px; background: color-mix(in srgb, var(--card) 90%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .mcta .btn { flex: 1; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
