/* DigicamLook v2: "your camera roll's glow-up". Blush cream pages, dark plum night bands with a sunset glow, an
   elegant italic serif for display type, a rose accent. Mobile-first. Shared by the landing pages, quiz, paywall, app
   and the generated SEO pages (keep every class name used there: .tool-hero, .samples, .related, .prompt-box, .print,
   .ba, .looks-row, .look-card, .faq, .price-card, .footer, .stick, .doc). */
@font-face { font-family: 'DSEG7'; src: url('../fonts/DSEG7Classic-Bold.woff2') format('woff2'); font-display: swap; }
:root {
  --bg: #fbf4f2; --paper: #fff9f7; --card: #ffffff; --ink: #23141c; --ink-2: #5c4652; --ink-3: #8c7581; --line: #efdfe2;
  --brand: #b4236b; --brand-ink: #8c1a53; --brand-soft: #fbe4ee; --pink: #f29bc1; --lilac: #e9c9f2; --peach: #ffb38a; --led: #ff9a2e;
  --night: #140c11; --night-2: #22121c; --night-ink: #f8ece9; --night-mute: #cdb3bf; --mint: #12805c;
  --sun: linear-gradient(120deg, #ffc27a 0%, #ff8a6b 30%, #f2649b 62%, #b98cf2 100%);
  --btn: linear-gradient(135deg, #d23a73 0%, #a01f5f 100%);
  --radius: 22px; --shadow: 0 10px 30px rgba(35, 20, 28, .09); --shadow-lg: 0 22px 50px rgba(35, 20, 28, .18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --font-head: 'Instrument Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --core-brand: #b4236b; --core-ink: #23141c; --core-card: #fff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; margin: 0 0 .35em; }
h1 { font-size: clamp(2.7rem, 11.5vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 8.6vw, 3.2rem); }
h1 em, h2 em { font-style: italic; }
h3 { font: 700 1.08rem/1.25 var(--font); letter-spacing: -.01em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.tiny { font-size: .82rem; color: var(--ink-3); }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(180, 35, 107, .45); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.glow-text { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- nav + wordmark ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251, 244, 242, .8); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(239, 223, 226, .7); transition: background .25s, border-color .25s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 10px; }
/* app icon + a tight sans wordmark */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 800 1.16rem/1 var(--font); letter-spacing: -.04em; }
.logo img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 14px rgba(180, 35, 107, .3); }
.logo span { white-space: nowrap; }
.logo b { color: var(--brand); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .88rem; padding: 0 15px; min-height: 38px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.nav-links .lang { font-size: .76rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); text-decoration: none; padding: 0 10px; min-height: 38px; display: inline-flex; align-items: center; border-radius: 999px; }
/* landing pages: the nav floats over the dark hero, see-through until you scroll */
.nav-dark { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; margin-bottom: -60px; }
.nav-dark.scrolled { background: rgba(20, 12, 17, .9); border-bottom-color: rgba(255, 255, 255, .07); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.nav-dark .logo, .nav-dark .nav-links a.link { color: #fff; }
.nav-dark .logo b { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-dark .nav-links a.link { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); }
.nav-dark .nav-links .lang { color: var(--night-mute); }
.nav-dark .core-acct-btn { color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 1.03rem/1 var(--font); text-decoration: none; cursor: pointer; touch-action: manipulation; transition: transform .15s ease, box-shadow .2s ease, filter .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 12px 28px rgba(180, 35, 107, .34); }
@media (hover: hover) { .btn-primary:hover { filter: brightness(1.07); } }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-light { background: rgba(255, 255, 255, .1); color: var(--night-ink); border: 1.5px solid rgba(255, 255, 255, .22); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn .arrow { transition: transform .2s; }
@media (hover: hover) { .btn:hover .arrow { transform: translateX(3px); } }
.linkbtn { background: none; border: 0; padding: 6px 2px; font: inherit; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- chips, cards ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.chip.brand { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.eyebrow { display: inline-block; font: 700 .76rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }

/* ---------- photo frames (clean rounded, a soft shadow; .print is the shared frame class) ---------- */
.print { background: #fff; padding: 6px; border-radius: 18px; box-shadow: var(--shadow-lg); position: relative; }
.print img { border-radius: 13px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.print figcaption { position: absolute; left: 14px; bottom: 14px; font: 700 .74rem/1 var(--font); color: #fff; background: rgba(20, 12, 17, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 6px 9px; border-radius: 999px; display: flex; gap: 8px; }
.print figcaption span + span { display: none; }
.tilt-l { transform: rotate(-2.2deg); } .tilt-r { transform: rotate(2deg); }

/* 7-segment date stamp overlay (optional since v2; the real one is drawn by the server, this is the live preview) */
.stamp { position: absolute; right: 5.9%; bottom: 4.4%; font-family: 'DSEG7', monospace; font-size: 4.63cqw; color: #ff9a2e; text-shadow: 0 0 6px rgba(255, 90, 0, .85), 0 0 2px rgba(255, 120, 0, .9); letter-spacing: 0; pointer-events: none; white-space: pre; line-height: 1; }
.stamp::before { content: ''; display: inline-block; width: .1em; height: .3em; background: currentColor; vertical-align: top; margin-right: .1em; box-shadow: 0 0 6px rgba(255, 90, 0, .85); }
.stamped { position: relative; container-type: inline-size; }

/* ---------- before / after slider ---------- */
.ba { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #222; container-type: inline-size; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 10px rgba(0, 0, 0, .35); }
.ba .knob { position: absolute; top: 50%; left: var(--x, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); display: grid; place-items: center; color: var(--ink); font-weight: 800; cursor: ew-resize; }
.ba .tag { position: absolute; top: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(20, 12, 17, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font: 700 .72rem/1 var(--font); letter-spacing: .03em; }
.ba .tag.l { left: 10px; } .ba .tag.r { right: 10px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.sec-head { max-width: 660px; margin: 0 0 26px; }
.sec-head.c { margin-left: auto; margin-right: auto; text-align: center; }
.dark, .night { background: radial-gradient(120% 70% at 85% 0%, rgba(242, 100, 155, .22), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(255, 160, 100, .14), transparent 60%), linear-gradient(180deg, var(--night-2), var(--night)); color: var(--night-ink); }
.dark .muted, .night .muted { color: var(--night-mute); }
.dark h2, .dark h3, .night h1, .night h2, .night h3 { color: #fff; }
.dark .eyebrow, .night .eyebrow { color: var(--pink); }
.dark .tiny, .night .tiny { color: var(--night-mute); }

/* hero */
/* Mobile order: pitch, the before/after (the hook), then ONE call to action, all above the fold on a phone.
   Desktop: pitch + CTA on the left, the visual on the right. */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-areas: "copy" "stage" "act"; align-items: center; }
.hero .copy { grid-area: copy; } .hero .stage { grid-area: stage; } .hero .act { grid-area: act; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font: 600 .8rem/1 var(--font); color: var(--night-ink); margin-bottom: 14px; }
.hero .pill i { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-style: normal; font-size: .66rem; color: #3a1022; }
.hero h1 { color: #fff; font-size: clamp(2.55rem, 10.6vw, 4.7rem); line-height: .98; margin-bottom: 12px; }
.hero h1 em { white-space: nowrap; }
.hero .lead { font-size: 1.03rem; line-height: 1.45; color: var(--night-mute); max-width: 470px; margin-bottom: 16px; }
.stage { position: relative; }
.stage .ba { aspect-ratio: auto; height: clamp(250px, 41vh, 460px); height: clamp(250px, 41svh, 460px); border-radius: 24px; box-shadow: 0 28px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1); }
.stage .ba img { transition: opacity .35s ease; }
.stage .ba.swap img { opacity: .15; }
.stage .ba .tag { top: 12px; }
.stage .ba .tag.l { left: 12px; } .stage .ba .tag.r { right: 12px; }
.picks { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.picks::-webkit-scrollbar { display: none; }
.picks button { flex: none; position: relative; overflow: hidden; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--night-ink); font: 600 .8rem/1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.picks button.on { background: #fff; color: var(--ink); border-color: #fff; }
.picks button.on.run::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--btn); transform-origin: left; animation: pickbar var(--dur, 4200ms) linear forwards; }
@keyframes pickbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .act { padding-top: 16px; }
.btn-xl { width: 100%; min-height: 60px; font-size: 1.1rem; }
.shine { position: relative; overflow: hidden; isolation: isolate; }
/* moved with transform, not left: an animated left is a layout shift every frame (CLS) and a repaint on slow phones */
.shine::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-134%) skewX(-18deg); animation: shine 4.5s ease-in-out 1.2s infinite; z-index: -1; will-change: transform; }
@keyframes shine { 0% { transform: translateX(-134%) skewX(-18deg); } 28%, 100% { transform: translateX(290%) skewX(-18deg); } }
.micro { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font: 600 .8rem/1.2 var(--font); color: var(--night-mute); }
.micro span { display: inline-flex; gap: 5px; align-items: center; }
.micro svg { width: 14px; height: 14px; color: var(--pink); }
/* a slow strip of real results under the hero */
.marquee { margin-top: 30px; padding: 0 0 34px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee .track { display: flex; gap: 10px; width: max-content; animation: mq 60s linear infinite; }
.marquee figure { margin: 0; width: 116px; flex: none; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: #2a1822; }
.marquee img { width: 100%; height: 100%; object-fit: cover; }
.marquee figcaption { position: absolute; left: 6px; bottom: 6px; font: 700 .62rem/1 var(--font); color: #fff; background: rgba(20, 12, 17, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 5px 7px; border-radius: 999px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track, .shine::before { animation: none; } .marquee { overflow-x: auto; } }
/* Short phone screens (the TikTok and Instagram browsers leave about 660 to 720 px): tighter hero so the button stays on the first screen. */
@media (max-width: 899px) and (max-height: 760px) {
  .hero { padding-top: 64px; }
  .hero .pill { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(2.3rem, 9.6vw, 4.7rem); margin-bottom: 8px; }
  .hero .lead { font-size: .95rem; line-height: 1.4; margin-bottom: 12px; }
  .stage .ba { height: clamp(220px, 35vh, 460px); height: clamp(220px, 35svh, 460px); }
  .picks { margin-top: 8px; }
  .hero .act { padding-top: 12px; }
}
@media (min-width: 900px) {
  .hero { padding-top: 110px; }
  .hero .grid { grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy stage" "act stage"; column-gap: 64px; }
  .hero .copy { align-self: end; } .hero .act { align-self: start; max-width: 440px; }
  .hero .micro { justify-content: flex-start; }
  .stage { max-width: 440px; width: 100%; justify-self: center; }
  .stage .ba { height: auto; aspect-ratio: 4 / 5; }
  .marquee { margin-top: 56px; padding-bottom: 50px; }
  .marquee figure { width: 150px; }
}

/* look cards (scroll row on phones, grid on desktop) */
.looks-row { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 6px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.looks-row::-webkit-scrollbar { display: none; }
.look-card { scroll-snap-align: start; text-decoration: none; color: inherit; display: block; position: relative; }
.look-card .print { padding: 5px; transition: transform .25s; box-shadow: var(--shadow); }
.look-card h3 { font-size: 1rem; margin: 10px 4px 2px; }
.look-card p { font-size: .85rem; color: var(--ink-2); margin: 0 4px; line-height: 1.4; }
.look-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--btn); color: #fff; font: 700 .66rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; }
@media (hover: hover) { .look-card:hover .print { transform: translateY(-4px); } }
@media (min-width: 900px) { .looks-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 6px 0 0; } }

/* steps */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { padding: 20px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; right: 18px; font: italic 400 2.4rem/1 var(--font-head); color: var(--pink); }
.step .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 10px; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* phone frames for slides */
.slides { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 16px; margin: 0 -16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.phone { flex: none; width: 58%; max-width: 250px; scroll-snap-align: center; background: #000; border-radius: 28px; padding: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.phone img { border-radius: 22px; width: 100%; }
.phone small { display: block; color: var(--night-mute); text-align: center; font-size: .74rem; padding: 7px 0 3px; }

/* use-case chips with photos ("works on any photo") */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .uses { grid-template-columns: repeat(4, 1fr); } }
.use { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #eee; }
.use img { width: 100%; height: 100%; object-fit: cover; }
.use span { position: absolute; left: 10px; right: 10px; bottom: 10px; font: 700 .86rem/1.25 var(--font); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }

/* tools (remove people, pro lighting) */
.tools { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.tools::-webkit-scrollbar { display: none; }
.tools .tool { scroll-snap-align: center; }
@media (min-width: 760px) { .tools { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }
.tool { padding: 10px 10px 16px; }
.tool .ba { border-radius: 14px; }
.tool h3 { margin: 12px 6px 4px; }
.tool p { margin: 0 6px; font-size: .9rem; color: var(--ink-2); }

/* feature list */
.feats { display: grid; gap: 12px; }
.feat { display: flex; gap: 12px; padding: 16px; }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; flex: none; font-size: 1.15rem; }
.feat b { display: block; margin-bottom: 2px; }
.feat span { color: var(--ink-2); font-size: .93rem; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--paper); }
.compare td.us { color: var(--brand-ink); font-weight: 700; }
.compare td.them { color: var(--ink-3); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; min-height: 44px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--ink-2); margin: 0 0 16px; }

/* price card */
.price-card { padding: 28px 22px; text-align: center; max-width: 460px; margin: 0 auto; }
.price-card .big { font: 400 3.2rem/1 var(--font-head); }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: '\2713'; color: var(--brand); font-weight: 800; }

/* footer */
.footer { padding: 38px 0 46px; border-top: 1px solid var(--line); background: var(--paper); font-size: .9rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0; }
.footer nav a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer nav[style*="column"] { gap: 0 !important; }
.footer .cols { display: grid; gap: 22px; }
.footer h4 { font: 700 .78rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 8px; }
@media (min-width: 760px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* sticky CTA */
/* a floating dark pill, so it reads as part of the app rather than a cookie bar */
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); transform: translateY(130%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.stick.on { transform: none; }
.stick .in { max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 18px; border-radius: 999px; background: rgba(20, 12, 17, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(20, 12, 17, .35); pointer-events: auto; }
.stick .t { flex: 1; font-size: .76rem; color: var(--night-mute); font-weight: 600; line-height: 1.3; min-width: 0; }
.stick .t b { display: block; color: #fff; font-size: .9rem; }
.stick .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; flex: none; }

/* toast + spinner */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .92rem; opacity: 0; transition: .25s; z-index: 2147483300; max-width: calc(100% - 32px); text-align: center; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(180, 35, 107, .2); border-top-color: var(--brand); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.pickbtn { position: relative; overflow: hidden; }
.pickbtn input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pickbtn.busy { opacity: .7; pointer-events: none; }
.pickbtn.busy::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* look (SEO tool) pages */
.tool-hero { padding: 22px 0 30px; }
.tool-hero .grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .tool-hero .grid { grid-template-columns: 1.05fr .95fr; gap: 46px; } .tool-hero { padding: 46px 0 50px; } }
.tool-hero .lead { font-size: 1.08rem; color: var(--ink-2); }
.tool-hero .cta-row { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 16px 0 12px; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 10px; }
.crumbs a { color: var(--ink-3); }
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 1.2em; }
.samples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .samples { grid-template-columns: repeat(4, 1fr); } }
.samples figure { margin: 0; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .85rem; text-align: center; }
.related img { border-radius: 12px; margin-bottom: 6px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.prompt-box { background: var(--night); color: #f6e8ec; border-radius: 16px; padding: 16px; font: 500 .9rem/1.6 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }

/* legal / text pages */
.doc { max-width: 740px; margin: 0 auto; padding: 26px 16px 60px; }
.doc h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
.doc h2 { font: 700 1.25rem/1.25 var(--font); margin: 1.6em 0 .5em; }
.doc li { margin-bottom: .45em; }
.doc table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 8px 0 14px; }
.doc td, .doc th { border-bottom: 1px solid var(--line); padding: 9px 6px; text-align: left; vertical-align: top; }

/* platform components restyled */
.core-box { --core-brand: #b4236b; --core-radius: 22px; --core-ink: #23141c; }
.core-cta { border-radius: 999px !important; background: var(--btn) !important; }
.core-input { border-radius: 14px !important; }
.core-google { border-radius: 999px !important; }
.core-job { border-radius: 18px !important; }
