/* SmallSu's site. One type family for reading (Plus Jakarta Sans, with Noto Sans Devanagari for Hindi); the SmallSu name
   and the app wordmarks keep their logo lettering (Fredoka) and colours. Colours are the apps' SuColours. The site is
   light only. Each product tints its page with its own two colours, --a1 and --a2. */
:root {
  --paper: #FFFFFF;
  --paper-2: #F6F6FA;
  --card: #FFFFFF;
  --ink: #16151F;
  --ink-soft: #5B5A6B;
  --line: rgba(22, 21, 31, .08);
  --blue: #2F7BD6;
  --amber: #FF9A3C;
  --red: #E64851;
  --pink: #D8559E;
  --purple: #8A4FC7;
  --green: #2EA068;
  --teal: #14A3C2;
  --wave-pink: #E5467F;
  --yellow: #E8AE0C;
  --chip: rgba(22, 21, 31, .05);
  --shadow-sm: 0 1px 2px rgba(22, 21, 31, .05), 0 6px 16px rgba(22, 21, 31, .05);
  --shadow: 0 2px 6px rgba(22, 21, 31, .05), 0 24px 48px -16px rgba(22, 21, 31, .2);
  --radius: 24px;
  --font: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand-font: Fredoka, 'Plus Jakarta Sans', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
:lang(hi) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---------- Brand lettering ---------- */
.brand-word { font: 700 22px/1 var(--brand-font); letter-spacing: 0; }
.brand-word span { display: inline-block; }
.wordmark .su { font-weight: 700; background: linear-gradient(90deg, var(--blue), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark { font-family: var(--brand-font); font-weight: 600; letter-spacing: 0; margin: 0; }
.wordmark span { -webkit-background-clip: text; background-clip: text; color: transparent; }
.rainbow { background-image: linear-gradient(90deg, var(--red), var(--pink), var(--purple), var(--green)); }
.wave { background-image: linear-gradient(90deg, var(--teal), var(--purple), var(--wave-pink)); }
.kittle { background-image: linear-gradient(90deg, #2D5DB8, #2BB3C9, #3DB984, #F08A3C, #D9649A, #8A4FC7); }
.wordmark.small { font-size: 28px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.home-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.home-link img { width: 38px; height: 38px; object-fit: contain; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav a:hover { background: var(--chip); color: var(--ink); }
@media (max-width: 640px) { .nav { display: none; } .lang-menu { margin-left: auto; } }
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--line);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 17px; height: 17px; fill: currentColor; }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 190px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.lang-menu a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.lang-menu a:hover { background: var(--paper-2); }
.lang-menu a[aria-current] { color: var(--blue); font-weight: 700; }

/* ---------- Shared bits ---------- */
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.kind {
  display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  font-weight: 700; font-size: 12px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--a1, var(--blue)) 70%, var(--ink)); background: color-mix(in srgb, var(--a1, var(--blue)) 13%, transparent);
}
:lang(hi) :is(.eyebrow, .kind, .toc h2, .footer h2, .store-badge small) { letter-spacing: 0; text-transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1; border: 1px solid var(--line); background: var(--card); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn.primary { background: var(--ink); color: var(--paper); border-color: transparent; }
/* Equal choices side by side: each a soft wash of its own colour, so neither looks already picked. */
.btn.tint {
  color: color-mix(in srgb, var(--a1) 75%, var(--ink)); border-color: color-mix(in srgb, var(--a1) 28%, transparent);
  background: color-mix(in srgb, var(--a1) 10%, var(--card));
}
.btn.tint:hover { background: color-mix(in srgb, var(--a1) 16%, var(--card)); }
.text-link { font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.text-link:hover { color: var(--ink); }
.crumb { display: flex; width: fit-content; gap: 6px; margin-bottom: 20px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.crumb:hover { color: var(--ink); }
.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 18px/1 var(--font); cursor: pointer; transition: transform .2s, background .2s;
}
.round:hover { transform: scale(1.06); background: var(--paper-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2, .section-title { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 10px; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-row h2 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.gallery-nav { gap: 8px; }

/* Store buttons. */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; flex: none;
  background: #0B0B0F; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .16);
  font: 700 18px/1.05 var(--font); letter-spacing: -.01em; transition: transform .2s, box-shadow .2s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge.amazon svg { color: #fff; }
.store-badge span { display: flex; flex-direction: column; }
.store-badge small { font-size: 10px; font-weight: 700; letter-spacing: .06em; opacity: .8; }
.store-badge.large { padding: 11px 22px 11px 16px; font-size: 20px; }
.store-badge.large svg { width: 30px; height: 30px; }

/* ---------- Home ---------- */
.home-hero { padding-block: 64px 72px; }
.home-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .home-hero-grid { grid-template-columns: 1fr; text-align: center; } .home-hero .actions { justify-content: center; } }
.brand-title { font: 700 clamp(64px, 12vw, 136px)/.95 var(--brand-font); letter-spacing: -.01em; margin: 0 0 20px; }
.brand-title span { display: inline-block; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.brand-title span:hover { transform: translateY(-8px) rotate(-5deg); }
:is(.brand-title, .brand-word) .l0 { color: var(--red); }
:is(.brand-title, .brand-word) .l1 { color: var(--amber); }
:is(.brand-title, .brand-word) .l2 { color: var(--yellow); }
:is(.brand-title, .brand-word) .l3 { color: var(--green); }
:is(.brand-title, .brand-word) .l4 { color: var(--teal); }
:is(.brand-title, .brand-word) .su { background: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.js .brand-title span { animation: pop .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.js .brand-title span:nth-child(2) { animation-delay: .06s; }
.js .brand-title span:nth-child(3) { animation-delay: .12s; }
.js .brand-title span:nth-child(4) { animation-delay: .18s; }
.js .brand-title span:nth-child(5) { animation-delay: .24s; }
.js .brand-title span:nth-child(6) { animation-delay: .32s; }
@keyframes pop { from { opacity: 0; transform: translateY(36px) scale(.6); } }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 32em; margin: 0 0 28px; }
@media (max-width: 860px) { .lede { margin-inline: auto; } }
.home-hero-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.home-hero-art::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%; z-index: -1; filter: blur(50px); opacity: .35;
  background: conic-gradient(from 90deg, var(--blue), var(--pink), var(--green), var(--blue));
}
.home-hero-art img { width: min(460px, 86%); filter: drop-shadow(0 24px 36px rgba(22, 21, 31, .16)); }
.js .home-hero-art img { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.home-section { padding-block: 56px 40px; }
.see-all { text-align: center; margin: 36px 0 0; }
.kind-head { text-align: center; padding-block: 56px 32px; max-width: 720px; }
.kind-head h1 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 10px; }
.kind-head p { font-size: 19px; color: var(--ink-soft); margin: 0; }
.kind-list { padding-bottom: 72px; }

/* An app on the home page: its words, and its screenshots fanned out. */
.showcase {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  padding: 56px; margin-bottom: 24px; border-radius: 36px; border: 1px solid var(--line); background: var(--paper-2);
}
.showcase::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--a1) 18%, transparent), transparent 70%),
              radial-gradient(60% 90% at 0% 100%, color-mix(in srgb, var(--a2) 14%, transparent), transparent 70%);
}
.showcase.flip .showcase-copy { order: 2; }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; padding: 32px 22px; text-align: center; }
  .showcase.flip .showcase-copy { order: 0; }
  .showcase .actions { justify-content: center; }
}
.showcase-mark { width: 76px; height: 76px; margin-bottom: 8px; }
@media (max-width: 860px) { .showcase-mark { margin-inline: auto; } }
.thumb-img, .showcase-mark picture, .showcase-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.thumb-img.tile { border-radius: 24%; }
.tagline { font-size: 18px; color: var(--ink-soft); margin: 0 0 24px; max-width: 30em; }
@media (max-width: 860px) { .tagline { margin-inline: auto; } }
.showcase-art { display: flex; justify-content: center; }
.showcase h2 { margin: 0 0 10px; }
.showcase h2.wordmark { font-size: clamp(42px, 5.2vw, 58px); }
.showcase h2.title { font-size: clamp(30px, 3.6vw, 42px); }
.showcase .book-3d img { max-width: 340px; }
.showcase .book-3d.tall img { max-width: 260px; }
.showcase .facts { margin-top: -6px; }
@media (max-width: 860px) { .showcase .facts { justify-content: center; } }
.fan { position: relative; display: block; width: 100%; height: 440px; }
.fan img {
  position: absolute; top: 50%; left: 50%; width: 200px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 24px;
  box-shadow: var(--shadow); background: var(--paper-2); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.fan img:nth-child(1) { transform: translate(-112%, -46%) rotate(-9deg); }
.fan img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.fan img:nth-child(3) { transform: translate(12%, -46%) rotate(9deg); }
.showcase:hover .fan img:nth-child(1) { transform: translate(-126%, -44%) rotate(-13deg); }
.showcase:hover .fan img:nth-child(2) { transform: translate(-50%, -58%) scale(1.03); }
.showcase:hover .fan img:nth-child(3) { transform: translate(26%, -44%) rotate(13deg); }
@media (max-width: 520px) { .fan { height: 330px; } .fan img { width: 146px; } }

/* A product as a card, on a shelf. */
.shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; align-items: start; }
@media (max-width: 520px) { .shelf { grid-template-columns: 1fr 1fr; gap: 16px; } }
.product-card { text-align: center; }
.product-card .kind { margin-bottom: 8px; }
.product-card h3 { font-size: 19px; margin: 0 0 4px; letter-spacing: -.015em; }
.product-card h3 a, .showcase h2 a { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: transparent; transition: text-decoration-color .25s; }
.product-card h3 a:hover, .showcase h2 a:hover { text-decoration-color: color-mix(in srgb, var(--a1, var(--blue)) 55%, transparent); }
.card-line { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.card-fact { margin: 6px 0 0; font-weight: 700; font-size: 14px; }
.card-tile {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; padding: 10%; margin-bottom: 16px; border-radius: var(--radius);
}
.card-tile .thumb-img, .card-tile picture { transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.card-tile.cover .thumb-img, .card-tile.cover-tall .thumb-img { height: auto; border-radius: 3px 8px 8px 3px; box-shadow: -1px 0 0 rgba(0, 0, 0, .08) inset, 0 16px 30px -12px rgba(20, 20, 40, .45); }
.card-tile.cover-tall .thumb-img { width: 74%; }
.card-tile.mark { padding: 22%; }
/* An app's poster: its wordmark over its mascot, filling the tile as a cover does. */
.card-tile.poster { padding: 12% 8% 6%; }
.poster { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6%; width: 100%; height: 100%; }
.poster .wordmark { font-size: clamp(28px, 3vw, 36px); line-height: 1; }
.poster-mark { flex: 1; min-height: 0; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 20px rgba(22, 21, 31, .18)); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.product-card:hover .poster-mark { transform: translateY(-8px) rotate(-3deg); }
.product-card:hover .card-tile .thumb-img, .product-card:hover .card-tile picture { transform: translateY(-8px) rotate(-2deg); }

/* ---------- Product page ---------- */
.product-hero { padding-block: 24px 8px; }
/* A product's tinted panel: its two colours glowing from opposite corners over a fine dot grid. The page's header and
   its call to action both wear it, so every product page reads as one. */
.tinted {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 36px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 110% at 0% 0%, color-mix(in srgb, var(--a1) 20%, transparent), transparent 62%),
    radial-gradient(70% 110% at 100% 100%, color-mix(in srgb, var(--a2) 18%, transparent), transparent 62%),
    var(--paper-2);
}
.tinted::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%);
}
.hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; }
.hero-panel.center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
@media (max-width: 900px) {
  .hero-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px 22px; text-align: center; }
  .hero-panel .crumb { margin-inline: auto; }
  .hero-panel .actions, .facts { justify-content: center; }
  .hero-panel .tagline { margin-inline: auto; }
}
.hero-copy h1 { margin: 0 0 12px; }
.hero-copy h1.wordmark { font-size: clamp(52px, 7.5vw, 84px); line-height: 1; }
.hero-copy h1.title { font-size: clamp(38px, 5.4vw, 60px); }
.hero-copy .tagline { font-size: 19px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: -8px 0 26px; list-style: none; }
.facts li { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.hero-art { display: flex; justify-content: center; }
.feature-graphic { margin: 0; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.feature-graphic img { display: block; width: 100%; }
.hero-mark { width: 200px; height: 200px; object-fit: contain; }
.hero-fan { height: 400px; }
.hero-fan img { width: 180px; }
@media (max-width: 520px) { .hero-fan { height: 320px; } .hero-fan img { width: 140px; } }
.book-3d { perspective: 1200px; }
.book-3d img {
  display: block; width: 100%; max-width: 400px; border-radius: 4px 12px 12px 4px; transform: rotateY(-14deg) rotateX(2deg);
  box-shadow: -2px 0 0 rgba(0, 0, 0, .1) inset, 30px 36px 56px -24px rgba(20, 20, 40, .55); transition: transform .6s cubic-bezier(.3, 1.3, .5, 1);
}
.book-3d.tall img { max-width: 300px; }
.book-3d img:hover { transform: none; }

.about { max-width: 820px; text-align: center; padding-block: 64px 24px; }
.about p { font-size: 18px; color: var(--ink-soft); margin: 0 0 14px; }
.about p:first-child { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
:lang(hi) .about p:first-child { letter-spacing: 0; }

/* Screenshots and pages: a grid on wide screens (8 screenshots make 2 rows of 4), a row to swipe on phones. */
.gallery { padding-block: 40px; }
.shots { --cols: 4; --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.shots > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 980px) and (min-width: 701px) { .shots { --cols: 3; } }
.gallery-nav { display: none; }
@media (max-width: 700px) {
  .shots {
    flex-wrap: nowrap; justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .gallery-nav { display: flex; }
}
.shots::-webkit-scrollbar { display: none; }
.shots li { min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.shot { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 22px; }
.shot img { display: block; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); background: var(--paper-2); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.shot { width: 100%; }
.shot img { width: 100%; }
.shot.phone img { aspect-ratio: 9 / 16; }
.shot.page img { aspect-ratio: 2 / 3; background: #fff; }
.shot.square img { aspect-ratio: 1; }
@media (max-width: 700px) {
  .shots li { flex: none; }
  .shot.phone, .shot.page { width: 200px; }
  .shot.square { width: 240px; }
}
.shot:hover img { transform: translateY(-6px); }
.caption { font-weight: 600; font-size: 14px; color: var(--ink-soft); max-width: 240px; text-align: center; line-height: 1.4; }

.cards-section { padding-block: 48px; }
.card-grid { --cols: 3; --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.card-grid > .card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 980px) { .card-grid { --cols: 2; } }
@media (max-width: 620px) { .card-grid { --cols: 1; } }
.card { display: flex; flex-direction: column; padding: 26px 24px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; margin-bottom: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 20%, transparent), color-mix(in srgb, var(--a2) 20%, transparent));
}
.card h3 { font-size: 18px; margin: 0 0 12px; letter-spacing: -.015em; }
.card h3::first-letter { text-transform: uppercase; }
.card p { margin: 0; font-weight: 600; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.card li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.card:has(p) { flex-direction: row; align-items: center; gap: 16px; padding-block: 20px; }
.card:has(p) .card-icon { margin: 0; flex: none; }
.outro { text-align: center; max-width: 720px; margin: 28px auto 0; }
.outro p { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

.cta-band {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; text-align: center;
  margin-block: 32px 72px; padding: 36px 40px;
}
.cta-thumb { width: 76px; height: 76px; flex: none; }
.cta-thumb.mark { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 10px; }
.cta-thumb.cover-tall { width: 56px; height: auto; }
.cta-thumb.cover .thumb-img, .cta-thumb.cover-tall .thumb-img { height: auto; border-radius: 3px 8px 8px 3px; box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .45); }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0; }
.cta-band p { margin: 4px 0 0; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 900px) { .cta-band { justify-content: space-between; text-align: left; } .cta-words { flex: 1; } }

.related { padding-block: 8px 88px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 18, .82); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-height: 88vh; width: auto; border-radius: 22px; }
.lightbox .close { position: absolute; top: -14px; right: -14px; z-index: 1; }

/* ---------- Privacy ---------- */
.privacy-mark { width: 88px; height: 88px; margin-bottom: 8px; }
.privacy-mark picture, .privacy-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.privacy-hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 6px 0 14px; }
.privacy-hero .crumb { margin-inline: auto; }
.updated { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.privacy-grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; padding-block: 40px 88px; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 84px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); }
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.toc a::before { content: counter(toc); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.toc a:hover, .toc a.active { background: var(--paper-2); color: var(--ink); }
.policy { min-width: 0; }
.policy-intro p { font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; margin: 0 0 24px; }
.policy-card { margin-bottom: 16px; padding: 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow-wrap: anywhere; }
.policy-card h2 { font-size: 22px; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; letter-spacing: -.02em; }
.policy-card h2::before { content: ''; flex: none; width: 6px; height: 24px; border-radius: 4px; background: linear-gradient(var(--a1), var(--a2)); }
.policy-card ul { padding-left: 0; list-style: none; margin: 8px 0; }
.policy-card li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--ink-soft); }
.policy-card li strong { color: var(--ink); }
.policy-card li::before { content: ''; position: absolute; left: 3px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--a1); }
.policy-card p { margin: 8px 0; color: var(--ink-soft); }
.policy-card a { color: var(--blue); font-weight: 700; }
@media (max-width: 520px) { .policy-card { padding: 22px 18px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); padding-block: 48px 24px; }
.footer-in { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.footer h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 6px 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; font-size: 15px; }
.footer li a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.footer li a:hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 45%, transparent); text-underline-offset: 4px; }
.copyright { margin-top: 28px; color: var(--ink-soft); font-size: 14px; }

/* ---------- Coming into view ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 50ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Tiles wear the tinted panel at card size. */
.card-tile.tinted { border-radius: var(--radius); }
.card-tile { text-decoration: none; }
