/* ==========================================================================
   Rendelog — marketing site design system
   Real Saturn Software · modoza.app
   ========================================================================== */

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- tokens --------------------------------------------------------------- */
:root {
  --brand:        #DB2603;
  --brand-600:    #B31E02;
  --brand-700:    #8E1801;
  --brand-tint:   #FFEDE6;
  --brand-tint-2: #FFF5F0;

  --accent:       #6D4AFF;   /* AI / assistant */
  --accent-tint:  #EFEBFF;
  --leaf:         #17864B;   /* fresh / free */
  --leaf-tint:    #E4F6EC;
  --gold:         #B4780A;
  --gold-tint:    #FFF3DA;

  --bg:           #FFFBF7;
  --bg-alt:       #FDF4EC;
  --surface:      #FFFFFF;
  --surface-2:    #FFF7F1;

  --ink:          #22130C;
  --ink-2:        #5A453A;
  --ink-3:        #8B7568;
  --line:         #F1E2D6;
  --line-strong:  #E4D0C0;

  --shadow-sm: 0 1px 2px rgba(52, 26, 12, .06), 0 2px 6px rgba(52, 26, 12, .04);
  --shadow-md: 0 4px 10px rgba(52, 26, 12, .06), 0 14px 34px rgba(52, 26, 12, .07);
  --shadow-lg: 0 10px 24px rgba(52, 26, 12, .08), 0 34px 70px rgba(52, 26, 12, .12);
  --shadow-brand: 0 8px 20px rgba(219, 38, 3, .22), 0 2px 6px rgba(219, 38, 3, .16);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --font-display: "Outfit", "Segoe UI Variable Display", "Segoe UI", -apple-system,
                  BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system,
               BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 68px;
  color-scheme: light dark;
}

:root[data-theme="dark"],
html.dark {
  --brand:        #FF6B45;
  --brand-600:    #FF8360;
  --brand-700:    #FFA189;
  --brand-tint:   #40170D;
  --brand-tint-2: #2E120A;

  --accent:       #A992FF;
  --accent-tint:  #241C4A;
  --leaf:         #4ED18B;
  --leaf-tint:    #10301F;
  --gold:         #E9B44C;
  --gold-tint:    #362713;

  --bg:           #150E09;
  --bg-alt:       #1D140E;
  --surface:      #211710;
  --surface-2:    #291D15;

  --ink:          #FCF6F1;
  --ink-2:        #D6C4B7;
  --ink-3:        #A48F80;
  --line:         #38281D;
  --line-strong:  #4A362A;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .4);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, .4), 0 34px 70px rgba(0, 0, 0, .55);
  --shadow-brand: 0 8px 22px rgba(255, 107, 69, .26);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand:        #FF6B45;
    --brand-600:    #FF8360;
    --brand-700:    #FFA189;
    --brand-tint:   #40170D;
    --brand-tint-2: #2E120A;

    --accent:       #A992FF;
    --accent-tint:  #241C4A;
    --leaf:         #4ED18B;
    --leaf-tint:    #10301F;
    --gold:         #E9B44C;
    --gold-tint:    #362713;

    --bg:           #150E09;
    --bg-alt:       #1D140E;
    --surface:      #211710;
    --surface-2:    #291D15;

    --ink:          #FCF6F1;
    --ink-2:        #D6C4B7;
    --ink-3:        #A48F80;
    --line:         #38281D;
    --line-strong:  #4A362A;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .4);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, .4), 0 34px 70px rgba(0, 0, 0, .55);
    --shadow-brand: 0 8px 22px rgba(255, 107, 69, .26);
  }
}

/* --- base ----------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.15rem); letter-spacing: -0.038em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 2.9rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); letter-spacing: -0.018em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
strong, b { color: var(--ink); font-weight: 650; }

a { text-decoration: none; }
.prose a, a.link {
  color: var(--brand);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover, a.link:hover { color: var(--brand-600); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--ink); color: var(--bg); padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); z-index: 200; font-weight: 600;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --- layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 780px; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint);
  padding: .4rem .85rem; border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.eyebrow.is-accent { color: var(--accent); background: var(--accent-tint); }
.eyebrow.is-leaf   { color: var(--leaf);   background: var(--leaf-tint); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); color: var(--ink-2); line-height: 1.65; margin-top: 1rem; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); }
:root[data-theme="dark"] .btn-primary, html.dark .btn-primary { color: #24120C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #24120C; } }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }

/* store badges */
.store-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.badge-store {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #100C0A; color: #fff;
  border: 1.5px solid #100C0A; border-radius: 14px;
  padding: .62rem 1.15rem .62rem 1rem;
  min-height: 60px;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, background .18s ease;
  box-shadow: var(--shadow-md);
}
.badge-store:hover { transform: translateY(-3px); background: #241812; box-shadow: var(--shadow-lg); }
.badge-store svg { flex: none; }
.badge-store .bs-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.badge-store .bs-top { font-size: .66rem; letter-spacing: .085em; text-transform: uppercase; opacity: .82; }
.badge-store .bs-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }

.badge-store.is-soon {
  background: transparent; color: var(--ink);
  border: 1.5px dashed var(--line-strong); box-shadow: none;
  cursor: default;
}
.badge-store.is-soon:hover { transform: none; background: transparent; box-shadow: none; }
.badge-store.is-soon .bs-top { color: var(--brand); opacity: 1; font-weight: 700; }
.badge-store.is-soon svg { opacity: .75; }

.badge-store.is-lg { min-height: 66px; padding: .7rem 1.4rem .7rem 1.15rem; }
.badge-store.is-lg .bs-name { font-size: 1.35rem; }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
  color: var(--ink); letter-spacing: -.03em;
}
.brand-name em { font-style: normal; color: var(--brand); }

.nav-main { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; }
.nav-main a {
  padding: .5rem .8rem; border-radius: var(--r-sm);
  font-weight: 550; font-size: .95rem; color: var(--ink-2);
  transition: color .16s ease, background .16s ease;
}
.nav-main a:hover { color: var(--ink); background: var(--surface-2); }
.nav-main a[aria-current="page"] { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

/* language switcher */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); padding: .48rem .8rem;
  font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .16s ease;
}
.lang-toggle:hover { border-color: var(--brand); }
.lang-toggle svg { flex: none; }
.lang-toggle .chev { transition: transform .2s ease; }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + .5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: .4rem; min-width: 190px; z-index: 120;
  display: none;
}
.lang-menu[data-open="true"] { display: block; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .55rem .7rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 550; color: var(--ink-2);
}
.lang-menu a:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--brand); font-weight: 650; }
.lang-menu .lc { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* mobile nav */
.nav-toggle {
  display: none; background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); padding: .48rem; cursor: pointer; color: var(--ink);
}
.nav-toggle:hover { border-color: var(--brand); }

@media (max-width: 900px) {
  .nav-main {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-125%); transition: transform .25s cubic-bezier(.2,.7,.3,1);
    margin: 0;
  }
  .nav-main[data-open="true"] { transform: none; }
  .nav-main a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .header-cta { display: none; }
}

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  inset-block-start: -34%; inset-inline-start: 50%;
  width: min(1180px, 135vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--brand) 15%, transparent), transparent 72%),
    radial-gradient(closest-side at 72% 60%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
}

.hero h1 { margin-bottom: 1.15rem; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--brand) 28%, transparent) 62%);
  padding-inline: .06em;
  /* keep the swipe consistent when the phrase wraps onto a second line */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); line-height: 1.62; max-width: 34em; }
.hero .store-row { margin-top: 2rem; }
.hero-note {
  margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: .5rem 1.35rem;
  font-size: .92rem; color: var(--ink-3);
}
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note svg { color: var(--leaf); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img {
  width: min(100%, 380px); height: auto;
  border-radius: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-visual::after {
  content: ""; position: absolute; inset: auto 0 -8%; height: 40%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
  filter: blur(28px); z-index: -1;
}

/* --- stats strip ---------------------------------------------------------- */
.stats {
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 1.5rem 1.25rem; text-align: center; }
.stat-v {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700; color: var(--brand); letter-spacing: -.03em; line-height: 1.1;
}
.stat-l { font-size: .88rem; color: var(--ink-3); margin-top: .35rem; }

/* --- cards / grids -------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, border-color .2s ease;
}
.card.is-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }

.ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.05rem;
  background: var(--brand-tint); color: var(--brand);
}
.ico.is-accent { background: var(--accent-tint); color: var(--accent); }
.ico.is-leaf   { background: var(--leaf-tint);   color: var(--leaf); }
.ico.is-gold   { background: var(--gold-tint);   color: var(--gold); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: .35rem; }
.step-n {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; line-height: 1; letter-spacing: -.04em;
  color: color-mix(in srgb, var(--brand) 28%, transparent);
  margin-bottom: .65rem;
}
.step h3 { margin-bottom: .5rem; }

/* --- feature rows (features page) ----------------------------------------- */
.frow { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .frow { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
  .frow.is-flip > .frow-media { order: -1; }
}
.frow + .frow { margin-top: clamp(3.5rem, 7vw, 6rem); }
.frow-media { display: flex; justify-content: center; }
.frow-media img {
  width: min(100%, 320px); height: auto; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.frow h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
.flist { margin-top: 1.4rem; display: grid; gap: .7rem; }
.flist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .99rem; }
.flist svg { flex: none; margin-top: .38rem; color: var(--leaf); }

/* --- screenshot gallery --------------------------------------------------- */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 262px);
  gap: 1.1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-block: .5rem 1.5rem;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
}
@media (min-width: 1240px) {
  .shots { padding-inline: 0; margin-inline: 0; justify-content: center; }
}
.shot { scroll-snap-align: center; }
.shot img {
  width: 100%; height: auto; border-radius: 20px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.shot figcaption {
  margin-top: .85rem; font-size: .9rem; color: var(--ink-3);
  text-align: center; font-weight: 550;
}
.shots-hint {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  font-size: .85rem; color: var(--ink-3);
}
@media (min-width: 1240px) { .shots-hint { display: none; } }

/* --- zoomable screenshots ------------------------------------------------- */
.zoomable {
  cursor: zoom-in;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease;
}
.zoomable:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(20, 10, 6, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox[data-open="true"] { display: flex; animation: lbIn .2s ease-out; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lb-figure {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  gap: 1rem; max-height: 100%; max-width: 100%;
}
.lb-figure img {
  max-height: min(78vh, 900px); max-width: 100%; width: auto;
  border-radius: clamp(14px, 2vw, 22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  background: var(--surface-2);
}
.lb-figure figcaption {
  color: #fff; font-size: .95rem; font-weight: 550; text-align: center;
  max-width: 46ch; text-wrap: balance;
}
.lb-count {
  color: rgba(255, 255, 255, .6); font-size: .82rem;
  letter-spacing: .08em; font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .22); cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); transform: scale(1.06); }
.lb-close { inset-block-start: clamp(.75rem, 2vw, 1.5rem); inset-inline-end: clamp(.75rem, 2vw, 1.5rem); }
.lb-prev  { inset-inline-start: clamp(.5rem, 2vw, 2rem); }
.lb-next  { inset-inline-end: clamp(.5rem, 2vw, 2rem); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox[data-single="true"] .lb-prev,
.lightbox[data-single="true"] .lb-next { display: none; }

@media (max-width: 560px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-figure img { max-height: 68vh; }
}

body.lb-open { overflow: hidden; }

/* --- studio badge --------------------------------------------------------- */
.studio-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 2.5rem; padding: .7rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  font-size: .92rem; font-weight: 550; color: var(--ink-2);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.studio-badge:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); }
.studio-badge img { width: 30px; height: 30px; flex: none; }
.studio-badge svg { color: var(--brand); flex: none; }

/* --- highlight band (AI control) ------------------------------------------ */
.band {
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; inset-block-start: -55%; inset-inline-end: -18%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.09); pointer-events: none;
}
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.9); }
.band .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.band .flist svg { color: #FFD9CC; }
.band .flist li { color: rgba(255,255,255,.94); }
.band .btn-ghost { background: #fff; color: var(--brand-700); border-color: #fff; }
.band .btn-ghost:hover { background: #FFF1EC; color: var(--brand-700); }
/* the "coming soon" badge defaults to brand-on-surface — unreadable on the band */
.band .badge-store.is-soon { color: #fff; border-color: rgba(255, 255, 255, .5); }
.band .badge-store.is-soon .bs-top { color: #FFD9CC; }
.band .badge-store.is-soon svg { opacity: .92; }

/* --- pricing -------------------------------------------------------------- */
.plan { display: flex; flex-direction: column; height: 100%; }
.plan-tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 650;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.plan.is-free .plan-tag { background: var(--leaf-tint); color: var(--leaf); }
.plan.is-premium .plan-tag { background: var(--accent-tint); color: var(--accent); }
.plan.is-premium { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.plan h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); margin-bottom: .6rem; }
.plan .flist { margin-top: 1.15rem; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.03rem;
  color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 1.3rem; top: 1.45rem;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--brand); border-bottom: 2.2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq summary:hover { color: var(--brand); }
.faq .faq-a { padding: 0 1.35rem 1.35rem; font-size: .99rem; }
.faq .faq-a p + p { margin-top: .8rem; }

/* --- prose (legal pages) -------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem);
  margin-top: 2.75rem; margin-bottom: .85rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; margin-bottom: .55rem; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1rem; }
.prose ul { padding-inline-start: 1.35rem; display: grid; gap: .55rem; }
.prose li::marker { color: var(--brand); }
.prose .updated {
  display: inline-block; font-size: .87rem; color: var(--ink-3);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: 2rem;
}
.callout {
  background: var(--surface-2); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--brand);
  border-radius: var(--r-md); padding: 1.15rem 1.35rem; margin-top: 1.5rem;
}
.callout p { font-size: .97rem; }
.callout strong { display: block; margin-bottom: .3rem; }

/* --- page hero (inner pages) ---------------------------------------------- */
.page-hero { padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(1.75rem, 3vw, 2.75rem); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.page-hero .lead { max-width: 60ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .87rem; color: var(--ink-3); margin-bottom: 1.1rem; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }

/* --- contact tiles -------------------------------------------------------- */
.tile-link { display: block; }
.tile-link .card { height: 100%; }
.tile-link:hover .card { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tile-mail {
  font-family: var(--font-display); font-weight: 600; color: var(--brand);
  word-break: break-word;
}

/* --- final CTA ------------------------------------------------------------ */
.cta-final { text-align: center; }
.cta-final .store-row { justify-content: center; margin-top: 2rem; }
.cta-final .app-icon {
  width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* --- footer --------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt); border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer-brand p { font-size: .95rem; margin-top: .9rem; max-width: 34ch; }
.footer-col h4 {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1rem; font-weight: 650;
}
.footer-col ul { display: grid; gap: .6rem; list-style: none; padding: 0; }
.footer-col a { font-size: .95rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--brand); }

.footer-langs { display: flex; flex-wrap: wrap; gap: .4rem; }
.footer-langs a {
  font-size: .85rem; padding: .3rem .7rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--ink-2);
}
.footer-langs a:hover { border-color: var(--brand); color: var(--brand); }
.footer-langs a[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.footer-bottom {
  margin-top: 2.75rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center;
  justify-content: space-between; font-size: .88rem; color: var(--ink-3);
}
.footer-note {
  margin-top: 1.5rem; font-size: .85rem; color: var(--ink-3);
  max-width: 78ch; line-height: 1.65;
}

/* --- reveal on scroll ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- helpers -------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.mt-md { margin-top: 1.5rem; }
.text-center { text-align: center; }
