/* Hallmark · v2.0.0 · theme: Sazen app family (by request: match exitrush/rafeeq) · genre: modern-minimal · shape: product stage · signature: the scan line lifting a real photo off its background, draggable · job: download */
/* critique: family look kept (black, glass pill, Jakarta, accent second line); the chip is sentence case, no tracked caps; no invented screens, numbers or reviews. */
/* waive: 7b pure black is Sazen's dark mode across every app site; 24b spacing values match the family sites; 67 "GET IT ON" is Google's badge wordmark */

/* BG Remover website. Light = the app's paper and ink; dark = Sazen's pure black.
   One tangerine accent, the app's own. Flat: no gradients except the scan glow. */
:root {
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --raised: #EEEDE8;
  --ink: #141414;
  --muted: #5E5D59;
  --faint: #9C9A94;
  --line: #E2E0DA;
  --accent: #F2551D;
  --accent-ink: #C9400E;
  --accent-soft: rgba(242, 85, 29, .12);
  --on-accent: #FFFFFF;
  --on-ink: #FFFFFF;
  --ink-hover: #2A2A2A;
  --checker-a: #FFFFFF;
  --checker-b: #E9E8E3;
  --ring: #F5F4F0;
  --glass: rgba(245, 244, 240, .7);
  --glass-line: rgba(20, 20, 20, .08);
  --shadow: rgba(0, 0, 0, .35);
  --badge-bg: #000000;
  --badge-ink: #FFFFFF;
  --badge-line: #A6A6A6;
  --sw-paper: #F5F4F0;
  --sw-tangerine: #F2551D;
  --sw-ink: #141414;
  --sw-sky: #BFD8F2;
  --sw-mint: #C9E8D2;
  --sw-butter: #F6E3A1;
  --outline: #FFFFFF;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --badge-small: Roboto, "Helvetica Neue", Arial, sans-serif;
  --badge-big: "Google Sans", "Product Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1240px;
  --r-card: clamp(24px, 3vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #0E0E0E; --raised: #181818; --ink: #FFFFFF; --muted: #8D8D8D; --faint: #5A5A5A;
    --line: #1F1F1F; --accent: #FF6A33; --accent-ink: #FF8A5C; --accent-soft: rgba(255, 106, 51, .14);
    --on-accent: #140A05; --on-ink: #000000; --ink-hover: #E6E6E6;
    --checker-a: #2A2A2A; --checker-b: #222222; --ring: #F5F4F0;
    --glass: rgba(0, 0, 0, .5); --glass-line: rgba(255, 255, 255, .1);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font-family: var(--display); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; transition: none; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Google Play badge (same look as the family sites) ---------- */
.gp {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 32px 0 24px;
  background: var(--badge-bg); color: var(--badge-ink); border: 1.5px solid var(--badge-line); border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.gp:hover { color: var(--badge-ink); border-color: var(--badge-ink); }
.gp:active { transform: translateY(1px); }
.gp svg { width: 28px; height: 30px; flex: none; }
.gp span { display: grid; gap: 3px; line-height: 1; text-align: left; }
.gp small { font: 600 11px/1 var(--badge-small); }
.gp b { font: 500 23px/1 var(--badge-big); letter-spacing: -.01em; }
.gp-nav { height: 44px; padding: 0 20px 0 14px; gap: 8px; }
.gp-nav svg { width: 20px; height: 22px; }
.gp-nav small { font-size: 8px; }
.gp-nav b { font-size: 16.5px; }

/* ---------- Header: floating glass pill ---------- */
.pill-wrap {
  position: fixed; inset: 0 0 auto; z-index: 30; display: flex; justify-content: center; pointer-events: none;
  padding: calc(14px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
}
.navpill {
  pointer-events: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); width: max-content; max-width: 100%;
  padding: 7px 7px 7px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 10px 40px -18px var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 24px); }
.nav a { color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; transition: color .2s ease; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
@media (max-width: 860px) { .nav { display: none; } .navpill { width: 100%; } .navpill .gp-nav { margin-left: auto; } }

/* ---------- Type ---------- */
h1, h2, h3 { overflow-wrap: break-word; min-width: 0; color: var(--ink); text-wrap: balance; }
h1 { margin: 0 0 22px; font-size: clamp(46px, 6.6vw, 96px); line-height: .98; letter-spacing: -.048em; font-weight: 800; }
h2 { margin: 0 0 16px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.042em; font-weight: 800; }
h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; line-height: 1.3; font-weight: 800; }
.hl { color: var(--accent); }
.sub { margin: 0; max-width: 32em; font-size: 18px; color: var(--muted); font-weight: 500; }
.tag {
  display: inline-flex; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700;
}
section { padding-block: clamp(64px, 9vw, 120px); }
.head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------- Hero ---------- */
.hero { padding-top: calc(110px + env(safe-area-inset-top)); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.cta { margin-top: 30px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: calc(96px + env(safe-area-inset-top)); }
}

/* ---------- The stage: photo below the line, cut-out above it ---------- */
.stage-wrap { display: grid; gap: 16px; justify-items: center; }
.stage {
  --y: 55%;
  position: relative; width: min(100%, 460px); aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden;
  background: var(--raised); box-shadow: 0 40px 80px -40px var(--shadow), 0 0 0 1px var(--line);
  touch-action: none; cursor: ns-resize; user-select: none; -webkit-user-select: none;
}
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.checker {
  background-color: var(--checker-a);
  background-image: conic-gradient(var(--checker-b) 25%, transparent 0 50%, var(--checker-b) 0 75%, transparent 0);
  background-size: 28px 28px;
}
.stage .after { position: absolute; inset: 0; clip-path: inset(0 0 calc(100% - var(--y)) 0); }
.scanline { position: absolute; inset: 0; transform: translateY(var(--y)); pointer-events: none; }
.scanline::before {
  content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px;
  background: linear-gradient(to bottom, transparent, var(--accent-soft));
}
.scanline::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ink); }
.ring {
  position: absolute; top: -14px; left: calc(var(--x, 50%) - 14px); width: 28px; height: 28px; border-radius: 50%;
  background: var(--ring); border: 2.5px solid var(--sw-ink); z-index: 1;
}
.subjects { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; font: inherit; font-size: 14px; font-weight: 700;
  background: var(--raised); color: var(--muted); cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { color: var(--ink); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.chip:disabled { opacity: .5; cursor: default; }
.hint { margin: 0; font-size: 14px; color: var(--faint); }

/* ---------- Make it yours ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.canvas {
  position: relative; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--bd, var(--sw-tangerine));
  box-shadow: 0 0 0 1px var(--line); transition: background-color .3s var(--ease);
}
.canvas img { position: absolute; inset: 6% 6% 0; width: 88%; height: 94%; object-fit: contain; object-position: center bottom; }
.canvas.outlined img {
  filter: drop-shadow(3px 0 0 var(--outline)) drop-shadow(-3px 0 0 var(--outline)) drop-shadow(0 3px 0 var(--outline)) drop-shadow(0 -3px 0 var(--outline));
}
.canvas .word {
  position: absolute; left: 7%; top: 7%; margin: 0; font-size: clamp(30px, 4.6vw, 56px); line-height: .95; font-weight: 800;
  letter-spacing: -.04em; color: var(--sw-ink); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.js .canvas .word { opacity: 0; transform: translateY(8px); }
.js .canvas.texted .word { opacity: 1; transform: none; }
.canvas.on-dark .word { color: var(--sw-paper); }
.controls { display: grid; gap: 26px; }
.controls h3 { margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c);
  box-shadow: inset 0 0 0 1px var(--glass-line); transition: transform .15s ease, box-shadow .15s ease;
}
.sw:hover { transform: scale(1.06); }
.sw:active { transform: scale(.96); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .studio { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Save it sharp ---------- */
.sharp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.zoom { position: relative; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--raised); box-shadow: 0 0 0 1px var(--line); }
.zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.zoom img.on { opacity: 1; }
.zoom .size {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 800;
  background: var(--glass); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--raised); margin-top: 26px; }
.seg .chip { background: transparent; }
.seg .chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.note { margin: 16px 0 0; font-size: 15px; color: var(--muted); max-width: 30em; }
@media (max-width: 860px) { .sharp { grid-template-columns: minmax(0, 1fr); } .sharp .zoom { order: -1; } }

/* ---------- Details ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cell { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.cell + .cell { padding-left: 28px; border-left: 1px solid var(--line); }
.cell:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.cell svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.cell p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .cell, .cell + .cell { padding: 24px 0; border-left: 0; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { padding: 30px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; align-content: start; gap: 6px; }
.plan .price { font-variant-numeric: tabular-nums; font-size: clamp(40px, 4vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 8px 0 4px; }
.plan .once { margin: 0 0 14px; font-size: 14px; color: var(--faint); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.plan li { display: flex; gap: 8px; }
.plan li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); flex: none; }
.plan.best { background: var(--ink); box-shadow: none; }
.plan.best h3, .plan.best .price { color: var(--on-ink); }
.plan.best ul, .plan.best .once { color: var(--faint); }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0;
  font-size: 19px; font-weight: 800; letter-spacing: -.015em; border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--muted); max-width: 40em; }

/* ---------- Closing band and footer ---------- */
.closing { text-align: center; }
.closing .gp { margin-top: 28px; }
.closing img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 26px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--ink); }
.credit { margin: 14px 0 0; font-size: 13px; color: var(--faint); }
.credit a { color: var(--faint); }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(120px + env(safe-area-inset-top)); max-width: 760px; }
.legal h1 { font-size: clamp(40px, 5.4vw, 68px); }
.legal .updated { margin: 0 0 40px; color: var(--faint); font-size: 15px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); }

/* ---------- Reveal (content stays visible without JS) ---------- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .canvas, .canvas .word, .zoom img, .chip, .sw, .gp, .faq summary::after { transition: none; }
}
