/* pdf.san-tga.eu - the product pages (redesign 6 Nov 2026): home, /android, /windows, /business. Built on the tokens of
   site.css (Nocturne, san-theme-v1): big quiet type, few words, composed screenshots on a canvas (compose.js), one accent
   used as a line and a glow. Mobile first; the story's picture is sticky from 900 px. */

/* ---------- hero ---------- */
.p-hero { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(120px, 15vw, 168px) var(--gutter) 24px; text-align: center; }
.p-hero::before { content: ""; position: absolute; inset: 0 -20% auto; height: 720px; background: var(--glow); pointer-events: none; z-index: -1; }
.p-eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--brand-hi); }
.p-hero h1 { margin: 0 auto; max-width: 16ch; font-size: clamp(40px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.p-lead { margin: 26px auto 0; max-width: 34em; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
.p-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 34px; }
.p-cta.center { justify-content: center; }
.p-hero .play-note { margin: 18px auto 0; max-width: 34em; }
.p-hero-stage { margin: clamp(36px, 6vw, 72px) auto 0; max-width: 1180px; }
body.product .page { padding-top: 0; max-width: none; }

/* ---------- a composed screenshot ---------- */
.stage { position: relative; perspective: 1400px; }
.stage canvas { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }   /* not the old .shot card */
.stage canvas { display: block; width: 100%; height: auto; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .stage canvas { transition: none; } }

/* ---------- trust line ---------- */
.p-trust { list-style: none; margin: 28px auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: 14px; }
.p-trust li { display: flex; align-items: center; gap: 8px; }
.p-trust li::before { content: ""; width: 18px; height: 18px; background: var(--check) center / contain no-repeat; }

/* ---------- the two products ---------- */
.p-pair { display: grid; grid-template-columns: 1fr; gap: 22px; }
.p-card { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(26px, 4vw, 44px) clamp(22px, 3.5vw, 40px) 30px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); box-shadow: var(--card-shadow); text-align: center; }
.p-card::after { content: ""; position: absolute; inset: auto 15% -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .7), transparent); }
.p-card h2 { margin: 6px auto 0; max-width: 18ch; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.p-card .stage { margin: 22px -8px 4px; }
.p-card .p-cta { margin-top: 18px; }
.p-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; color: var(--brand-hi); }
.p-kicker svg, .p-plan-for svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-price { margin: 14px auto 0; max-width: 30em; color: var(--muted); font-size: 16px; line-height: 1.5; }
.p-price b { color: var(--text); font-weight: 500; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brand-hi); }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.more:hover { text-decoration: none; } .more:hover svg { transform: translateX(3px); }
@media (min-width: 900px) { .p-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- the story ---------- */
.p-story-grid { display: grid; gap: 28px; }
.p-story-stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin: 0 auto; }
.p-story-frame { position: absolute; inset: 0; opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.p-story-frame.on { opacity: 1; transform: none; }
.p-story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.p-story-steps li { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .4s, box-shadow .4s, opacity .4s; opacity: .55; }
.p-story-steps li.on { opacity: 1; border-color: rgba(var(--brand-rgb), .5); box-shadow: var(--brand-glow); }
.p-story-time { font: 600 13px/1 var(--font); letter-spacing: .06em; color: var(--brand-hi); font-variant-numeric: tabular-nums; }
.p-story-steps h3 { margin: 10px 0 6px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.01em; }
.p-story-steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .p-story-grid { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 56px; }
  .p-story-stage { position: sticky; top: calc(50vh - min(280px, 26vw)); }
  .p-story-steps { gap: 30vh; padding: 12vh 0 18vh; }
  .p-story-steps li { padding: 28px 30px; }
}
@media (max-width: 899px) { .p-story-stage { display: none; } .p-story-steps li { opacity: 1; } }

/* ---------- a product section ---------- */
.p-product .stage { max-width: 1100px; margin: 0 auto; }
.p-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: clamp(30px, 5vw, 56px) auto 0; max-width: 1100px; }
.p-feats.six { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.p-feat { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.p-feat svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-feat h3 { margin: 14px 0 6px; font-size: 17px; }
.p-feat p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.p-note { max-width: 46em; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.55; }
.p-rules { list-style: none; max-width: 760px; margin: 0 auto; padding: 0; display: grid; gap: 10px; }
.p-rules li { padding: 16px 20px 16px 50px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); position: relative; }
.p-rules li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; background: var(--check) center / contain no-repeat; }
.p-rules b { color: var(--text); font-weight: 500; }

/* ---------- screens row (/android) ---------- */
.p-screen-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.p-screen-row figure { margin: 0; scroll-snap-align: center; text-align: center; }
.p-screen-row figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- prices ---------- */
.p-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 1140px; margin: 0 auto; }
.p-plan { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.p-plan.featured { border-color: rgba(var(--brand-rgb), .55); box-shadow: var(--brand-glow); }
.p-plan-for { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--brand-hi); }
.p-plan h3 { margin: 0; font-size: 22px; }
.p-plan-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; }
.p-plan-price b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.p-plan-price span { color: var(--muted); font-size: 14px; }
.p-plan-text { margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.p-plan .btn { align-self: flex-start; }
.p-plans .fine { margin-top: 22px; }

/* ---------- final ---------- */
.p-final { text-align: center; padding: var(--sec) var(--gutter); background: radial-gradient(50% 60% at 50% 100%, rgba(var(--brand-rgb), .16), transparent 70%); }
.p-final h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -.03em; }

/* ---------- footer: imprint · terms · privacy on their own line ---------- */
.foot-base { max-width: var(--wrap); margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.foot-base .foot-fine { margin: 0; max-width: 60em; }
.foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal a { color: var(--text); font-size: 14px; font-weight: 500; }

@media (max-width: 600px) {

  .p-cta .btn { width: 100%; }
  .p-cta .more { margin-top: 4px; }
  .p-card { border-radius: 18px; }
  .p-card .stage { margin-left: -16px; margin-right: -16px; }
}

/* the product pages sit inside <main class="page"> (layout.js): undo its small-page headings and frame */
body.product .page { padding: 0 0 24px; max-width: none; }
body.product .page .p-hero h1 { font-size: clamp(40px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -.035em; margin: 0 auto; }
body.product .page h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 auto; }
body.product .page .p-final h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; }
/* /business: the step pictures are composed stages now, no card behind them */
.sc-pic:has(.stage) { background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; }
