/* FestiPics: static site styles (Look B "Bright Gloss") */
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit.woff2?v=d8a316f7) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2?v=f11d729b) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --rose: #F72A6B; --orchid: #B13FBE; --violet: #8B3DFF; --plum: #6B0F7A; --saffron: #FFB547;
  --ink: #1E0B2B; --muted: #5A4A66; --soft: #77678A; --page: #FFF8F4;
  --line: rgba(107, 15, 122, .08);
  --brand-grad: linear-gradient(135deg, #FF5A72 0%, #F72A6B 38%, #C23BC0 75%, #9B3BDB 100%);
  /* buttons: a deeper pink so the white text stays readable (4.5:1 measured on the pixels) */
  --btn-grad: linear-gradient(135deg, #CF2655 0%, #D81F5A 38%, #B032AE 75%, #9535D2 100%);
  --text-grad: linear-gradient(92deg, #F72A6B 0%, #C23BC0 60%, #8B3DFF 100%);
  --card-bg: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, .86) 100%);
  --card-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(60, 10, 70, .05), 0 18px 40px -18px rgba(107, 15, 122, .22);
  --radius: 22px;
  --display: "Outfit", system-ui, sans-serif;
}

/* thin scrollbar in brand colours */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: #FBEFF3; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #F72A6B, #B13FBE); border-radius: 8px; border: 2px solid #FBEFF3; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #E0225F, #9B33A8); }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: #D8399A #FBEFF3; } }

* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--page);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* the footer always ends the page: a short page (404) fills the screen, and nothing scrolls past the footer */
  position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
img { max-width: 100%; height: auto; display: block; }
main { flex: 1 0 auto; overflow-x: clip; } /* tilted posters never make the page wider than the screen */
/* read by screen readers only ("Old price" before the struck-through price) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-family: var(--display); letter-spacing: -0.025em; }
p { margin: 0; }
svg { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #fff; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }

/* soft background colour: never taller than the page itself (a short page must not scroll past its footer) */
.bg { position: absolute; top: 0; left: 0; right: 0; height: 1300px; max-height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.o1 { width: 620px; height: 620px; left: -180px; top: -200px; background: radial-gradient(circle, rgba(255, 170, 150, .55), transparent 65%); }
.o2 { width: 560px; height: 560px; right: -160px; top: 120px; background: radial-gradient(circle, rgba(214, 170, 255, .6), transparent 65%); }
.o3 { width: 520px; height: 520px; left: 30%; top: 560px; background: radial-gradient(circle, rgba(255, 190, 220, .55), transparent 65%); }

/* header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 244, .78); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 78px; }
/* brand: the logo mark in a glossy round badge + the name */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-badge { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 32% 22%, #FFFFFF 0%, #FFFFFF 38%, #FCEAF3 72%, #F4D9EC 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -4px 8px rgba(107, 15, 122, .10), 0 0 0 1px rgba(107, 15, 122, .10), 0 8px 18px -8px rgba(107, 15, 122, .45); }
.brand-badge img { width: 72%; height: auto; position: relative; z-index: 1; }
.brand-badge::after { content: ""; position: absolute; z-index: 0; left: 12%; right: 12%; top: 4%; height: 46%; border-radius: 50% 50% 42% 42%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); }
.brand-name { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: var(--plum); }
.links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.links a { transition: color .2s; } .links a:hover { color: var(--ink); }
.menu { display: none; margin-left: 4px; width: 44px; height: 44px; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu svg { width: 26px; height: 26px; }
.menu .i-close { display: none; }
.nav.open .menu .i-open { display: none; } .nav.open .menu .i-close { display: inline; }
.mobile-menu { display: none; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--btn-grad); box-shadow: 0 10px 30px -8px rgba(216, 31, 90, .55), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary::before { content: ""; position: absolute; inset: 0 0 50% 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .02)); border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px; }
.btn-ghost { color: var(--ink); background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.btn-ghost svg { width: 18px; height: 18px; color: #01875F; }
.btn-light { background: #fff; color: var(--plum); box-shadow: 0 14px 30px -10px rgba(40, 0, 50, .45); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 44px 0 44px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); font-weight: 800; margin-bottom: 20px; }
.nowrap { white-space: nowrap; }
h1, h2 { text-wrap: balance; }
.grad { background: var(--text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; max-width: 520px; color: var(--muted); }
/* price block (hero + price card): the deal line on top, the price under it */
.price { margin: 24px 0 24px; }
.price-deal { display: flex; align-items: center; gap: 10px; }
.save { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; color: #3B1200;
  background: linear-gradient(135deg, #FFD27A, #FFB547); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.old { font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--soft); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.price-main { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.now { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.per { font-size: 17px; font-weight: 600; color: var(--muted); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.micro { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 500; color: var(--muted); }
.micro li { display: inline-flex; align-items: center; gap: 8px; }

/* poster stack: its height and the two chips follow the posters' own size (cqw = 1% of this box's width),
   so the chips sit on the poster corners at every screen width */
.hero-art { position: relative; aspect-ratio: 1 / .83; container-type: inline-size; }
.poster { position: absolute; margin: 0; width: 62%; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(107, 15, 122, .45), 0 0 0 3px #fff; }
.poster::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 30%); }
.p1 { left: 0; top: 70px; transform: rotate(-9deg); z-index: 1; }
.p3 { right: 0; top: 60px; transform: rotate(8deg); z-index: 1; }
.p2 { left: 19%; top: 10px; z-index: 2; width: 64%; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 16px;
  font-size: 14px; font-weight: 700; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.chip svg { width: 18px; height: 18px; color: var(--rose); }
/* left poster: top 70px, 62% wide, tilted 9deg -> its lowest point is 70px + 66.5cqw; the chip rides its bottom edge */
.c1 { left: -12px; top: calc(32px + 66.5cqw); }
/* right poster: top 60px, 62% wide, tilted 8deg -> lowest point 60px + 66.3cqw; the chip sits on its lower part */
.c2 { right: -8px; top: calc(66.3cqw - 10px); }

/* cards and boxes share one glossy surface */
.stats, .card, .steps li, .price-card, .faq details, .reviews figure { background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px; border-radius: var(--radius); margin-bottom: 20px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2;
  background: var(--text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 15px; color: var(--muted); }

.section { padding: 88px 0 10px; scroll-margin-top: 84px; }
.head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.head h2, .final h2 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; }
.head p { margin-top: 12px; font-size: 18px; color: var(--muted); }

/* cards: icon and title on one line, the text under both. Each card takes two rows of the
   grid (subgrid), so in one row of cards every text starts on the same line. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: grid; grid-row: span 2; grid-template-columns: 48px 1fr; grid-template-rows: subgrid; column-gap: 16px; row-gap: 14px;
  align-items: center; padding: 24px 26px 26px; border-radius: var(--radius); }
.card i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--brand-grad);
  box-shadow: 0 10px 24px -10px rgba(247, 42, 107, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.card i svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.card p { grid-column: 1 / -1; align-self: start; }
.card p, .steps p { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { display: grid; grid-row: span 2; grid-template-columns: 40px 1fr; grid-template-rows: subgrid; column-gap: 14px; row-gap: 12px;
  align-items: center; padding: 24px 24px 26px; border-radius: var(--radius); }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; color: #fff; background: var(--brand-grad); font-family: var(--display); font-size: 19px; line-height: 1; }
.steps h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.steps p { grid-column: 1 / -1; align-self: start; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price-card { padding: 34px; border-radius: 28px; border: 1.5px solid rgba(247, 42, 107, .25);
  box-shadow: inset 0 1px 0 #fff, 0 40px 80px -30px rgba(247, 42, 107, .4); }
.pc-title { font-size: 26px; font-weight: 700; }
/* price card head: the plan name on the left, the deal (50% OFF + old price) on the right, the price under both */
.pc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.price-card .price-main { margin-top: 14px; }
.price-card .now { font-size: 58px; letter-spacing: -0.04em; }
.incl { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 12px; }
.incl li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.incl svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--brand-grad); }
/* one short line under the button; the shield sits in the text line, so it stays at the start even if the line wraps */
.fine { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; }
.fine svg { display: inline-block; vertical-align: -3px; margin-right: 6px; color: #12A150; }
.pricing-art { position: relative; height: 460px; }
.q1 { width: 58%; left: 0; top: 40px; transform: rotate(-6deg); }
.q2 { width: 58%; right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.q3 { width: 52%; left: 24%; top: 200px; transform: rotate(-2deg); z-index: 3; }

.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reviews figure { margin: 0; padding: 3px; border-radius: 20px; }
.reviews img { border-radius: 17px; aspect-ratio: 945 / 1380; object-fit: cover; object-position: top; }

.faq { max-width: 820px; }
.faq details { border-radius: 18px; padding: 4px 24px; margin-bottom: 12px; }
.faq summary { position: relative; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.5px solid var(--rose); border-bottom: 2.5px solid var(--rose); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

.final { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; margin-top: 88px; border-radius: 32px; display: grid; gap: 26px; justify-items: center;
  color: #fff; background: var(--brand-grad); box-shadow: 0 40px 80px -30px rgba(194, 59, 192, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.final::before { content: ""; position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent); pointer-events: none; }
/* fine grid on the band, fading out towards the edges */
.final::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 34px 34px; background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 25%, transparent 78%); }
.final > * { position: relative; z-index: 1; }

/* footer */
.foot { margin-top: 96px; padding: 56px 0 28px; background: #fff; border-top: 1px solid var(--line); }
/* footer: four columns on one top line; every row 22px high with one 10px step between rows */
.foot-in { display: grid; grid-template-columns: 1.35fr 1.45fr 1fr 1fr; gap: 40px; align-items: start; }
.foot h2 { font-family: "Inter", system-ui, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: 0; color: var(--ink); }
.f-col { display: grid; gap: 10px; justify-items: start; }
.f-col h2 { margin-bottom: 6px; }
.f-col a, .f-col p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.f-col a:hover { color: var(--ink); }
.f-col svg { margin-top: 3px; }
.f-brand p { margin: 14px 0 16px; font-size: 15px; max-width: 280px; color: var(--muted); }
.play { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--plum); }
.logo-svg { width: 20px; height: 20px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); display: grid; gap: 6px; }

/* ---------- inner pages ---------- */
.page-hero { text-align: center; padding: 64px 0 36px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; }
.page-hero .lead { margin: 16px auto 0; max-width: 620px; }
.updated { margin-top: 12px; font-size: 15px; color: var(--soft); }
.not-found { min-height: 46vh; display: grid; place-content: center; justify-items: center; gap: 8px; }
.not-found .btn { margin-top: 22px; }

/* policy text: one readable glossy sheet */
.doc { max-width: 800px; margin: 0 auto; padding: 44px 48px; border-radius: 28px; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); font-size: 17px; line-height: 1.7; }
.doc h2 { font-size: 23px; font-weight: 700; margin: 36px 0 10px; }
.doc > h2:first-child { margin-top: 0; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 8px; padding-left: 4px; }
.doc li::marker { color: var(--rose); font-weight: 700; }
.doc a { color: #B0175A; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(247, 42, 107, .35); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: currentColor; }
.doc-shot { margin: 6px 0 22px; }
.doc-shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.short { margin-bottom: 30px; padding: 22px 26px; border-radius: 20px; background: linear-gradient(135deg, #FFF1F5, #F6EDFF); border: 1px solid rgba(247, 42, 107, .14); }
.doc .short h2 { margin: 0 0 10px; font-size: 19px; }
.short ul { margin: 0; }
.short li:last-child { margin-bottom: 0; }
.contact-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding-left: 0 !important; }
.contact-list svg { width: 20px; height: 20px; margin-top: 4px; color: var(--rose); }
.timeline { list-style: none; padding: 0 !important; counter-reset: t; display: grid; gap: 14px; }
.timeline li { position: relative; padding: 14px 18px 14px 58px !important; border-radius: 16px; background: #FFF7FA; border: 1px solid var(--line); }
.timeline li::before { counter-increment: t; content: counter(t); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--brand-grad); }
.timeline b { display: block; font-family: var(--display); font-size: 17px; }

/* about */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 24px; }
.split-text h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.split-text p { font-size: 18px; color: var(--muted); margin-bottom: 14px; }
.split-text .cta-row { margin-top: 26px; }
.split-art { position: relative; height: 440px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
/* contact cards: same pattern as the cards (icon + title line, text under), three rows shared across a row of cards */
.contact-card { display: grid; grid-row: span 3; grid-template-columns: 48px 1fr; grid-template-rows: subgrid; column-gap: 16px; row-gap: 14px;
  align-items: center; padding: 26px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.contact-card i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--brand-grad);
  box-shadow: 0 10px 24px -10px rgba(247, 42, 107, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.contact-card i.wa { background: linear-gradient(135deg, #3BD873, #1FAF55); box-shadow: 0 10px 24px -10px rgba(31, 175, 85, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.contact-card i svg { width: 24px; height: 24px; }
.contact-card h2 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.contact-card .big { margin-top: 2px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); word-break: break-word; }
.contact-card > p { grid-column: 1 / -1; align-self: start; color: var(--muted); }
.contact-card .btn { grid-column: 1 / -1; justify-self: start; align-self: end; margin-top: 4px; }
.facts { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.facts th, .facts td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 40%; font-weight: 600; color: var(--muted); padding-right: 16px; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.help-links { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.help-links li { padding-left: 0 !important; }
.help-links a { display: inline-flex; align-items: center; gap: 10px; }
.help-links svg { color: var(--rose); }

/* our apps: one card per app (icon + name line, text, links), rows shared across a row of cards */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.app-card { display: grid; grid-row: span 3; grid-template-columns: 72px 1fr; grid-template-rows: subgrid; column-gap: 18px; row-gap: 14px;
  align-items: center; padding: 24px 26px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 20px -10px rgba(60, 10, 70, .45); }
.app-card h2 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.app-card p { grid-column: 1 / -1; align-self: start; color: var(--muted); }
.app-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-self: end; }
.app-hero { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 64px 0 36px; }
.app-hero .app-icon { width: 112px; height: 112px; border-radius: 26px; }
.app-hero h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; }
.app-hero .lead { max-width: 640px; }
.app-hero .cta-row { justify-content: center; }
@media (max-width: 620px) {
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { padding: 20px; }
  .app-hero { padding: 40px 0 22px; gap: 14px; }
  .app-hero h1 { font-size: 32px; }
  .app-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .links { display: none; }
  .nav-cta { margin-left: auto; }
  .menu { display: inline-grid; }
  .nav.open .mobile-menu { display: grid; }
  /* a phone held sideways is shorter than the open menu: let the menu scroll */
  .mobile-menu { padding: 6px 20px 18px; gap: 2px; border-top: 1px solid var(--line); max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .mobile-menu a { padding: 13px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 10px; }
  .hero-art { max-width: 520px; width: 100%; margin: 0 auto; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .pricing-art { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-art { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav-in { height: 70px; gap: 8px; }
  .brand { gap: 9px; } .brand-badge { width: 40px; height: 40px; } .brand-name { font-size: 21px; }
  .btn-sm { padding: 0 16px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding-top: 26px; }
  .hero-copy { display: contents; }
  /* the home hero's own order on a phone (only inside .hero: other pages keep their written order) */
  .hero h1 { order: 1; font-size: 40px; margin-bottom: 6px; }
  .hero-art { order: 2; aspect-ratio: 1 / .92; margin: 6px auto 14px; }
  .hero .lead { order: 3; }
  .hero .price { order: 4; margin: 14px 0 18px; }
  .hero .cta-row { order: 5; }
  .hero .micro { order: 6; }
  .lead { font-size: 17px; }
  .price-main { margin-top: 6px; }
  /* the two promises: one centred line, like the price above them */
  .micro { justify-content: center; gap: 8px 16px; font-size: 13.5px; }
  .micro li { white-space: nowrap; gap: 6px; }
  .now { font-size: 42px; }
  .price-card .now { font-size: 50px; }
  .cta-row .btn { width: 100%; }
  .chip { font-size: 13px; padding: 9px 12px; }
  .c1 { left: 0; } .c2 { right: 0; }
  .stats { grid-template-columns: 1fr 1fr; padding: 14px; margin-top: 30px; }
  .stat b { font-size: 30px; }
  .section { padding-top: 68px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .reviews { grid-template-columns: repeat(4, 74%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; }
  .reviews figure { scroll-snap-align: start; }
  .price-card { padding: 26px 22px; }
  .final { padding: 48px 20px; }
  /* footer on a phone: brand and contact full width, the two link lists side by side */
  .foot-in { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .f-brand, .f-contact { grid-column: 1 / -1; }
  /* phone: each footer link is a 34px tall touch row (same look as 22px text + 12px gap) */
  .f-col { gap: 0; }
  .f-col h2 { margin-bottom: 8px; }
  .f-col a, .f-col p { padding: 6px 0; }
  .page-hero { padding: 40px 0 22px; }
  .page-hero h1 { font-size: 34px; }
  /* policy text on a phone: written straight on the page, not inside a floating sheet (the "In short" box stays) */
  .doc { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; font-size: 16.5px; }
  /* a policy page's text ends right above the footer (its section has no padding): the footer's own 96px space is
     enough, so the last list's 12px is not added on top (the Contact page's text sits in a padded .section: kept) */
  section:not(.section) > .doc > :last-child { margin-bottom: 0; }
  /* contact links: a 44px tall touch area without moving the text */
  .facts td a, .contact-list a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .doc h2 { font-size: 21px; margin-top: 30px; }
  .short { padding: 18px 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
  /* facts table on a phone: label on the left, its value on the same line on the right */
  .facts th { width: 36%; padding-right: 12px; }
  .facts td { overflow-wrap: anywhere; }
}

/* ---------- small phones (320 to 380 wide): header items keep their own space ---------- */
@media (max-width: 380px) {
  .nav-in { gap: 6px; }
  .brand { gap: 8px; } .brand-badge { width: 38px; height: 38px; } .brand-name { font-size: 19px; }
  .btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .menu { width: 40px; margin-left: 0; }
  /* price card head stays one row on a 320 phone: a slightly smaller plan name and old price */
  .pc-title { font-size: 22px; }
  .pc-head { column-gap: 8px; }
  .price-card .price-deal { gap: 8px; }
  .price-card .save { padding: 5px 9px; }
  .price-card .old { font-size: 15px; }
}

/* ---------- 320 to 352 wide: the Contact page's email a little smaller, so it stays on ONE line ----------
   sized for festipicsapp@gmail.com (measured: at 320 the card line has 174px, the table cell 184px); a longer
   email still fits on screen, it then wraps as before */
@media (max-width: 352px) {
  .contact-card .big.email { font-size: 14px; }
  .facts a.email { font-size: 15px; }
}
