/* Rizula. Look B "Five colours": light page, one colour per service, glossy 3D tiles, slow motion.
   Order: 1 tokens  2 base  3 header  4 hero  5 3D stage  6 order form  7 sections  8 footer  9 checkout  10 motion  11 small screens */

/* ---------- 0. fonts (hosted on this site) ---------- */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Gabarito'; font-style: normal; font-weight: 800 900; font-display: swap; src: url(../fonts/gabarito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. tokens ---------- */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root {
  --page: #f4f6fc;
  --card: #ffffff;
  --ink: #0d1124;
  --ink-2: #454b63;
  --ink-3: #5d6480;
  --line: #e2e6f1;
  --line-2: #c9cfdf;
  --field: #f8f9fd;
  --field-line: #8b92aa;
  --sw-off: #868ca3;
  --ok: #0a7a48;
  --bad: #c31b39;

  /* one colour per service: solid (switch, accents), ink (text on white), a (light end), b (dark end), deep (3D side) */
  --likes: #ee2059;   --likes-ink: #c9154a;   --likes-a: #ff6f95;   --likes-b: #e3154f;   --likes-deep: #a80d39;
  --views: #2f62ff;   --views-ink: #2148d9;   --views-a: #6c93ff;   --views-b: #2450ee;   --views-deep: #1736ad;
  --shares: #0a9a5a;  --shares-ink: #087a47;  --shares-a: #3fd596;  --shares-b: #078a50;  --shares-deep: #055f37;
  --reposts: #e56a00; --reposts-ink: #ad4e00; --reposts-a: #ffb04d; --reposts-b: #ea6a00; --reposts-deep: #a84a00;
  --saves: #7446f5;   --saves-ink: #5f33e0;   --saves-a: #a58bff;   --saves-b: #6a3aee;   --saves-deep: #4722b3;

  --rainbow: linear-gradient(90deg, #e3154f 0%, #e56a00 25%, #0a9a5a 50%, #2f62ff 75%, #7446f5 100%);
  --display: 'Gabarito', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --body: 'DM Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px;
  --shadow-1: 0 1px 0 rgba(13,17,36,.04), 0 2px 6px rgba(13,17,36,.06);
  --shadow-2: 0 1px 0 rgba(13,17,36,.05), 0 6px 14px rgba(13,17,36,.07), 0 22px 48px rgba(28,44,120,.12);
  --shadow-3: 0 1px 0 rgba(13,17,36,.06), 0 10px 22px rgba(13,17,36,.08), 0 40px 90px rgba(28,44,120,.20);
  --wrap: 1200px;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}
.likes   { --c: var(--likes);   --c-ink: var(--likes-ink);   --c-a: var(--likes-a);   --c-b: var(--likes-b);   --c-deep: var(--likes-deep); }
.views   { --c: var(--views);   --c-ink: var(--views-ink);   --c-a: var(--views-a);   --c-b: var(--views-b);   --c-deep: var(--views-deep); }
.shares  { --c: var(--shares);  --c-ink: var(--shares-ink);  --c-a: var(--shares-a);  --c-b: var(--shares-b);  --c-deep: var(--shares-deep); }
.reposts { --c: var(--reposts); --c-ink: var(--reposts-ink); --c-a: var(--reposts-a); --c-b: var(--reposts-b); --c-deep: var(--reposts-deep); }
.saves   { --c: var(--saves);   --c-ink: var(--saves-ink);   --c-a: var(--saves-a);   --c-b: var(--saves-b);   --c-deep: var(--saves-deep); }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #2f62ff; outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 3. header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244,246,252,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,17,36,.06); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); min-height: 48px; }
.brand svg { width: 36px; height: 36px; flex: none; }
.nav { display: flex; gap: 6px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-weight: 600; font-size: 16px; color: var(--ink-2); text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(13,17,36,.05); }
.btn-top { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 14px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 16.5px; text-decoration: none; box-shadow: 0 6px 16px rgba(13,17,36,.22); transition: transform .2s var(--ease-out), box-shadow .2s; }
.btn-top:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,17,36,.28); }

/* ---------- 4. hero ---------- */
.hero { position: relative; padding: 44px 0 88px; isolation: isolate; }
.hero-bg { position: absolute; inset: -76px 0 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13,17,36,.16) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(1000px 620px at 50% 30%, #000 20%, transparent 78%); mask-image: radial-gradient(1000px 620px at 50% 30%, #000 20%, transparent 78%); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.glow-1 { width: 460px; height: 460px; left: -120px; top: 420px; background: #ff7aa0; animation: drift 19s ease-in-out infinite alternate; }
.glow-2 { width: 420px; height: 420px; left: 30%; top: 560px; background: #ffc26e; animation: drift 23s ease-in-out -6s infinite alternate-reverse; }
.glow-3 { width: 520px; height: 520px; right: -140px; top: -80px; background: #8fa9ff; animation: drift 21s ease-in-out -3s infinite alternate; }
.glow-4 { width: 380px; height: 380px; right: 8%; top: 520px; background: #7fe3b7; animation: drift 25s ease-in-out -9s infinite alternate-reverse; }
.glow-5 { width: 360px; height: 360px; left: 38%; top: -140px; background: #b9a3ff; animation: drift 27s ease-in-out -12s infinite alternate; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); grid-template-areas: "copy order" "stage order"; column-gap: 48px; align-items: start; }
.hero-copy { grid-area: copy; padding-top: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: .005em; line-height: 1.3; color: #fff; background: var(--ink); padding: 9px 16px; border-radius: 99px; box-shadow: var(--shadow-1); }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(#ee2059, #ffb04d, #3fd596, #6c93ff, #a58bff, #ee2059); flex: none; }
.h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -0.03em; }
.h1-line { display: block; }
.kicker + .h1-line { margin-top: 22px; }
.shine { background-image: linear-gradient(110deg, transparent 42%, rgba(255,255,255,.85) 50%, transparent 58%), var(--rainbow); background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #2f62ff; padding-bottom: .08em; animation: text-shine 6.5s ease-in-out 1.6s infinite; }
.lede { margin-top: 22px; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 500px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 15px; font-weight: 700; color: var(--ink); }
.facts li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.4 3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(145deg, var(--c-a), var(--c-b)); }

/* ---------- 5. the 3D stage: a post preview with five floating tiles ---------- */
.stage { grid-area: stage; position: relative; height: 330px; margin-top: 8px; perspective: 1100px; --mx: 0; --my: 0; }
.post { position: absolute; left: 14px; top: 78px; width: 410px; padding: 16px 18px 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, #fbfcff); border: 1px solid var(--line); box-shadow: inset 0 1px 0 #fff, var(--shadow-3); transform: rotateX(calc(var(--my) * -7deg + 6deg)) rotateY(calc(var(--mx) * 9deg - 6deg)) rotateZ(-2.5deg); transform-style: preserve-3d; transition: transform .5s var(--ease-out); will-change: transform; }
.post::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(260px 180px at calc(50% + var(--mx) * 40%) calc(20% + var(--my) * 40%), rgba(255,255,255,.9), rgba(255,255,255,0) 70%); mix-blend-mode: soft-light; pointer-events: none; }
.post-who { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.post-who small { display: block; font-weight: 500; font-size: 14px; color: var(--ink-3); }
.ava { width: 38px; height: 38px; border-radius: 50%; flex: none; background: conic-gradient(from 210deg, #ee2059, #ffb04d, #ffd23f, #3fd596, #2f62ff, #7446f5, #ee2059); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--line); }
.counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 14px; transform: translateZ(26px); }
.count { text-align: center; padding: 11px 2px 9px; border-radius: 13px; background: #f4f6fc; border: 1px solid transparent; transition: opacity .35s, background .35s, border-color .35s, transform .45s var(--spring); }
.count svg { width: 21px; height: 21px; margin: 0 auto 5px; color: var(--c); }
.count b { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.15; }
.count small { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.count.is-on { background: color-mix(in srgb, var(--c) 9%, #fff); border-color: color-mix(in srgb, var(--c) 30%, #fff); transform: translateY(-5px); }
.count:not(.is-on) { opacity: .46; }

.tok { position: absolute; width: var(--s); height: var(--s); translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px); transition: translate .6s var(--ease-out), scale .55s var(--spring), filter .4s, opacity .4s; animation: tok-float var(--t) ease-in-out var(--delay, 0s) infinite alternate; transform-style: preserve-3d; will-change: transform; }
.tok-body { position: absolute; inset: 0; transform-style: preserve-3d; animation: tok-turn calc(var(--t) * 1.7) ease-in-out var(--delay, 0s) infinite alternate; }
.tok-body i { position: absolute; inset: 0; border-radius: 28%; background: var(--c-deep); }
.tok-body i:nth-child(1) { transform: translateZ(-2px); } .tok-body i:nth-child(2) { transform: translateZ(-4px); }
.tok-body i:nth-child(3) { transform: translateZ(-6px); } .tok-body i:nth-child(4) { transform: translateZ(-8px); }
.tok-body i:nth-child(5) { transform: translateZ(-10px); } .tok-body i:nth-child(6) { transform: translateZ(-12px); box-shadow: 0 26px 30px -6px color-mix(in srgb, var(--c-deep) 55%, transparent); }
.tok-face { position: absolute; inset: 0; border-radius: 28%; display: grid; place-items: center; color: #fff; overflow: hidden; background: linear-gradient(145deg, var(--c-a), var(--c-b) 62%); box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -4px 8px rgba(0,0,0,.14), inset 0 0 0 1px rgba(255,255,255,.18); }
.tok-face svg { width: 46%; height: 46%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.22)); position: relative; z-index: 1; }
.tok-face::before { content: ""; position: absolute; left: -10%; top: -30%; width: 90%; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.62), rgba(255,255,255,0)); }
.tok-face::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(112deg, transparent 44%, rgba(255,255,255,.75) 50%, transparent 56%); transform: translateX(-70%); animation: sweep 5.5s ease-in-out var(--delay, 0s) infinite; }
.tok { scale: 1.06; }
.tok.is-off { filter: saturate(.82); scale: .84; opacity: .9; }
.tok-1 { --s: 92px; --d: 26; --t: 5.2s; left: 420px; top: 22px; }
.tok-2 { --s: 74px; --d: 38; --t: 6.1s; --delay: -1.4s; left: 452px; top: 172px; }
.tok-3 { --s: 66px; --d: 18; --t: 5.7s; --delay: -2.6s; left: 372px; top: 264px; }
.tok-4 { --s: 62px; --d: 30; --t: 6.6s; --delay: -3.2s; left: -16px; top: 0; }
.tok-5 { --s: 58px; --d: 44; --t: 4.9s; --delay: -0.8s; left: 300px; top: -6px; }

/* ---------- 6. order form ---------- */
.order { grid-area: order; position: relative; z-index: 2; padding: 28px 28px 26px; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 1px 0 #fff, var(--shadow-3); }
.order::before { content: ""; position: absolute; inset: -2px; border-radius: calc(var(--r-xl) + 2px); padding: 2px; background: conic-gradient(from var(--ang), #ee2059, #ffb04d, #3fd596, #2f62ff, #a58bff, #ee2059); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; animation: ring 9s linear infinite; }
.order-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.order-head h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.order-head p { font-size: 14.5px; color: var(--ink-3); font-weight: 500; }
.field { margin-top: 16px; }
.field > label, .rows > legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--ink); padding: 0; }
.link-box { position: relative; display: flex; align-items: center; border-radius: var(--r-md); background: var(--field); border: 1.5px solid var(--field-line); transition: border-color .2s, box-shadow .2s, background .2s; }
.link-box > svg { position: absolute; left: 16px; width: 22px; height: 22px; color: var(--ink-3); pointer-events: none; }
.link-box input { width: 100%; height: 58px; padding: 0 16px 0 50px; border: 0; background: transparent; font-size: 16.5px; border-radius: inherit; outline: none; min-width: 0; }
.link-box input::placeholder { color: #666c86; }
.link-box:focus-within { border-color: #2f62ff; background: #fff; box-shadow: 0 0 0 4px rgba(47,98,255,.16); }
.link-box.is-ok { border-color: color-mix(in srgb, var(--ok) 60%, #fff); background: #fff; }
.link-box.is-bad { border-color: var(--bad); background: #fff; box-shadow: 0 0 0 4px rgba(195,27,57,.12); }
.msg { min-height: 22px; margin-top: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.msg.is-ok { color: var(--ok); } .msg.is-bad { color: var(--bad); }
.msg svg { width: 16px; height: 16px; flex: none; }

.rows { margin-top: 8px; }
.rows-in { display: grid; gap: 8px; }
.row { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 64px; grid-template-areas: "tile name sw" "qty qty price"; align-items: center; column-gap: 12px; row-gap: 10px; min-height: 68px; padding: 9px 4px 9px 10px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; transition: border-color .3s, background .3s, box-shadow .3s; }
.row.is-on { border-color: color-mix(in srgb, var(--c) 42%, #fff); background: color-mix(in srgb, var(--c) 4.5%, #fff); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--c) 45%, transparent); }
.tile { grid-area: tile; position: relative; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--c-a), var(--c-b) 65%); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -3px 5px rgba(0,0,0,.12), 0 3px 0 var(--c-deep), 0 10px 14px -4px color-mix(in srgb, var(--c) 55%, transparent); transition: filter .35s, transform .35s var(--spring), box-shadow .35s; overflow: hidden; transform: translateY(-1.5px); }
.tile svg { width: 24px; height: 24px; position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.tile::before { content: ""; position: absolute; left: -12%; top: -34%; width: 90%; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.tile::after { content: ""; position: absolute; inset: -20% -70%; background: linear-gradient(112deg, transparent 44%, rgba(255,255,255,.8) 50%, transparent 56%); transform: translateX(-75%); }
.row:not(.is-on) .tile { filter: saturate(.75); opacity: .62; box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), 0 2px 0 color-mix(in srgb, var(--c-deep) 45%, #fff); transform: none; }
.row.is-pop .tile { animation: tile-flip .7s var(--ease-out); }
.row.is-pop .tile::after { animation: sweep-once .8s ease-out .1s; }
.row.is-pop::after { content: ""; position: absolute; left: 10px; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 15px; border: 2px solid var(--c); animation: burst .7s ease-out forwards; pointer-events: none; }
/* services section: one wide card per service */
.svc-list { display: grid; gap: 16px; }
.svc { display: grid; grid-template-columns: 84px minmax(0, 1fr) 260px; gap: 24px; align-items: center; padding: 26px 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); scroll-margin-top: 96px; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; }
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 40%, #fff); box-shadow: 0 2px 0 rgba(13,17,36,.04), 0 26px 44px -18px color-mix(in srgb, var(--c) 45%, transparent); }
.svc-ic svg { width: 84px; height: 84px; overflow: visible; filter: drop-shadow(0 10px 12px color-mix(in srgb, var(--c) 30%, transparent)); transition: transform .5s var(--spring); }
.svc:hover .svc-ic svg { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.svc h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.015em; line-height: 1.15; }
.svc-body p { margin-top: 9px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.svc-side { display: grid; gap: 12px; }
.svc-prices { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-md); background: color-mix(in srgb, var(--c) 6%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); }
.svc-prices li { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); min-height: 26px; align-items: center; }
.svc-prices b { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.svc-btn { min-height: 52px; font-size: 17px; padding: 0 20px; border-radius: 15px; }
@media (max-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 20px; align-items: start; }
  .svc-ic svg { width: 60px; height: 60px; }
  .svc h3 { font-size: 23px; }
}

/* real 3D service icons in the order rows: no square behind them */
.ic3 { grid-area: tile; width: 48px; height: 48px; display: grid; place-items: center; transition: filter .35s, opacity .35s, transform .45s var(--spring); }
.ic3 svg { width: 46px; height: 46px; overflow: visible; filter: drop-shadow(0 6px 7px color-mix(in srgb, var(--c) 32%, transparent)); }
.row.is-on .ic3 { transform: translateY(-2px) scale(1.06); }
.row:not(.is-on) .ic3 { filter: saturate(.55); opacity: .72; }
.row.is-pop .ic3 { animation: ic3-pop .75s var(--ease-out); }
.row:hover .ic3 { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
@keyframes ic3-pop { 0% { transform: perspective(300px) rotateY(0) scale(1); } 45% { transform: perspective(300px) rotateY(180deg) scale(1.22); } 100% { transform: perspective(300px) rotateY(360deg) translateY(-2px) scale(1.06); } }
.row.is-pop::after { border-radius: 50%; }
.name { grid-area: name; font-weight: 700; font-size: 17.5px; line-height: 1.2; cursor: pointer; min-height: 48px; display: flex; flex-direction: column; justify-content: center; }
.name small { font-weight: 500; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.sw-hit { grid-area: sw; display: grid; place-items: center; min-width: 64px; min-height: 48px; cursor: pointer; }
.sw { appearance: none; -webkit-appearance: none; margin: 0; width: 56px; height: 32px; border-radius: 99px; cursor: pointer; background-color: var(--sw-off); background-image: radial-gradient(circle at 50% 50%, #fff 0 11.5px, rgba(13,17,36,.16) 12px, rgba(13,17,36,0) 14px); background-size: 32px 32px; background-repeat: no-repeat; background-position: 0 0; transition: background-position .28s var(--spring), background-color .25s; }
.sw:checked { background-color: var(--c); background-position: 24px 0; }
.qty { grid-area: qty; display: inline-flex; align-items: stretch; height: 51px; border-radius: 13px; border: 1.5px solid var(--field-line); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.qty:focus-within { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.qty button { width: 48px; border: 0; background: transparent; font-size: 22px; font-weight: 500; color: var(--ink-2); line-height: 1; transition: background .15s, color .15s; }
.qty button:hover { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c-ink); }
.qty button:active { background: color-mix(in srgb, var(--c) 18%, #fff); }
.qty input { width: 88px; border: 0; border-inline: 1.5px solid var(--line); text-align: center; font-weight: 800; font-size: 17px; background: transparent; outline: none; min-width: 0; font-variant-numeric: tabular-nums; }
.qty.is-bad { border-color: var(--bad); }
.price { grid-area: price; text-align: right; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--c-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row:not(.is-on) .qty, .row:not(.is-on) .price { display: none; }
.row.is-on { padding-bottom: 12px; }
.qty { justify-self: start; }
.price { padding-right: 12px; font-size: 20px; }
@media (min-width: 1141px) {
  .row { grid-template-columns: 48px minmax(0, 1fr) auto 72px 64px; grid-template-areas: "tile name qty price sw"; row-gap: 0; }
  .row.is-on { padding-bottom: 9px; }
  .row:not(.is-on) .qty, .row:not(.is-on) .price { display: block; visibility: hidden; }
  .row:not(.is-on) .qty { display: inline-flex; }
  .qty input { width: 80px; }
  .price { padding-right: 0; font-size: 18px; }
}
.row-msg { grid-column: 1 / -1; font-size: 14.5px; font-weight: 600; color: var(--bad); padding: 6px 6px 2px 2px; }
.row-note { grid-column: 1 / -1; font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 6px 6px 2px 2px; }
.row-msg[hidden], .row-note[hidden] { display: none; }

.total { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sum small { display: block; font-size: 14.5px; color: var(--ink-3); font-weight: 600; }
.sum b { display: block; font-family: var(--display); font-weight: 900; font-size: 38px; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 0 30px; border: 0; border-radius: 18px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 19.5px; letter-spacing: -0.01em; text-decoration: none; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #000, 0 14px 26px rgba(13,17,36,.30); transition: transform .2s var(--ease-out), box-shadow .2s; }
.btn svg { width: 22px; height: 22px; transition: transform .25s var(--ease-out); }
.btn::after { content: ""; position: absolute; inset: 0 -60%; background: linear-gradient(112deg, transparent 42%, rgba(255,255,255,.34) 50%, transparent 58%); transform: translateX(-70%); animation: sweep 4.8s ease-in-out 2s infinite; }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 5px 0 #000, 0 20px 34px rgba(13,17,36,.34); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 0 #000, 0 8px 14px rgba(13,17,36,.3); }
.form-msg { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--bad); }
.form-msg[hidden] { display: none; }
.fine { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }

.paybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-3); transform: translateY(140%); transition: transform .4s var(--ease-out); }
.paybar.is-up { transform: none; }
.paybar small { display: block; font-size: 14px; font-weight: 600; color: var(--ink-3); line-height: 1.2; }
.paybar b { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.paybar .btn { min-height: 52px; padding: 0 20px; font-size: 17px; border-radius: 15px; }

/* ---------- 7. sections ---------- */
.sec { padding: 84px 0; position: relative; }
.sec-white { background: #fff; border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.04; letter-spacing: -0.028em; }
.sec-head p { margin-top: 14px; font-size: 19px; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 26px; border-radius: var(--r-lg); background: var(--page); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(145deg, var(--c-a), var(--c-b) 65%); color: #fff; font-family: var(--display); font-weight: 900; font-size: 24px; margin-bottom: 18px; text-shadow: 0 1px 1px rgba(0,0,0,.25); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -3px 5px rgba(0,0,0,.12), 0 4px 0 var(--c-deep), 0 14px 18px -6px color-mix(in srgb, var(--c) 55%, transparent); transition: transform .45s var(--spring); }
.step:hover::before { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.015em; line-height: 1.15; }
.step p { margin-top: 9px; color: var(--ink-2); font-size: 16.5px; }

.signals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; perspective: 1400px; }
.signal { position: relative; padding: 22px 20px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; transform-style: preserve-3d; }
.signal:hover { transform: translateY(-8px) rotateX(5deg); box-shadow: 0 2px 0 rgba(13,17,36,.04), 0 28px 44px -14px color-mix(in srgb, var(--c) 45%, transparent); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.signal .tile { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px; transform: translateZ(30px); }
.signal .tile svg { width: 29px; height: 29px; }
.signal:hover .tile { animation: tile-flip .8s var(--ease-out); }
.signal:hover .tile::after { animation: sweep-once .9s ease-out .1s; }
.signal h3 { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.015em; }
.signal p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.signal .from { margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--line-2); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.signal .from b { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--c-ink); }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.about p { font-size: 18.5px; color: var(--ink-2); }
.about p + p { margin-top: 14px; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); -webkit-overflow-scrolling: touch; }
.prices { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices caption { caption-side: bottom; padding: 14px 20px; font-size: 14.5px; color: var(--ink-3); text-align: left; border-top: 1px solid var(--line); }
.prices th, .prices td { padding: 14px 18px; text-align: right; font-size: 16.5px; white-space: nowrap; }
.prices thead th { font-family: var(--display); font-weight: 800; font-size: 17px; background: #f7f8fd; border-bottom: 1px solid var(--line); position: relative; }
.prices thead th[class] { color: var(--c-ink); }
.prices thead th[class]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--c); }
.prices th:first-child, .prices td:first-child { text-align: left; }
.prices tbody th { font-weight: 800; font-family: var(--display); font-size: 17px; }
.prices tbody tr + tr > * { border-top: 1px solid #eef0f7; }
.prices tbody tr:hover > * { background: #fafbff; }
.prices td.none { color: #6a7088; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.qa { padding: 24px 24px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.qa h3 { font-family: var(--display); font-weight: 800; font-size: 21.5px; letter-spacing: -0.012em; line-height: 1.2; }
.qa p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; }

.cta { position: relative; overflow: hidden; border-radius: 34px; padding: 60px 48px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 280px at 8% 110%, rgba(238,32,89,.55), transparent 70%), radial-gradient(420px 280px at 36% -20%, rgba(255,176,77,.38), transparent 70%), radial-gradient(460px 300px at 70% 120%, rgba(47,98,255,.6), transparent 70%), radial-gradient(380px 260px at 100% -10%, rgba(116,70,245,.6), transparent 70%); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); max-width: 620px; }
.cta p { margin-top: 10px; color: #d7dbee; font-size: 18px; max-width: 560px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 -3px 0 rgba(13,17,36,.12), 0 14px 30px rgba(0,0,0,.35); }
.btn-light:hover { box-shadow: inset 0 -3px 0 rgba(13,17,36,.12), 0 20px 38px rgba(0,0,0,.42); }
.btn-light:active { box-shadow: inset 0 -1px 0 rgba(13,17,36,.12), 0 8px 14px rgba(0,0,0,.35); }
.btn-light::after { background: linear-gradient(112deg, transparent 42%, rgba(47,98,255,.18) 50%, transparent 58%); }

/* ---------- 8. footer ---------- */
.foot { padding: 44px 0 110px; color: var(--ink-2); font-size: 15.5px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 24px; }
.foot .brand svg { width: 30px; height: 30px; }
.foot p { max-width: 640px; }
.motion-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 13px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 15px; color: var(--ink); }
.motion-btn i { width: 10px; height: 10px; border-radius: 50%; background: var(--shares); display: block; }
.motion-btn[aria-pressed="false"] i { background: #9aa0b6; }

/* ---------- 9. checkout ---------- */
.co { padding: 44px 0 90px; min-height: 70vh; }
.co-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; margin-top: 28px; }
.co h1 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 58px); letter-spacing: -0.03em; line-height: 1; }
.co .lede { max-width: 620px; }
.panel { padding: 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.panel h2 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.co-link { margin-top: 12px; padding: 13px 16px; border-radius: var(--r-md); background: var(--field); border: 1px solid var(--line); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.co-link small { display: block; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.lines { margin-top: 16px; display: grid; gap: 8px; }
.line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-md); border: 1.5px solid color-mix(in srgb, var(--c) 34%, #fff); background: color-mix(in srgb, var(--c) 4.5%, #fff); }
.line .tile { grid-area: auto; transform: none; }
.line .price { grid-area: auto; padding-right: 0; }
.line b { display: block; font-weight: 700; font-size: 17.5px; line-height: 1.25; }
.line small { display: block; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.line .price { font-size: 19px; }
.co-total { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: baseline; }
.co-total span { font-weight: 700; color: var(--ink-2); }
.co-total b { font-family: var(--display); font-weight: 900; font-size: 36px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; color: var(--views-ink); text-decoration: none; }
.back:hover { text-decoration: underline; }
.notice { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-md); background: #fff7e8; border: 1px solid #f3d7a2; color: #5f3c00; font-weight: 600; font-size: 16px; }
.panel p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; }
.empty[hidden], .co-grid[hidden] { display: none; }
.send-btns { display: grid; gap: 14px; margin-top: 16px; }
.send-btns .btn { width: 100%; font-size: 17.5px; padding: 0 16px; gap: 10px; }
.send-btns .btn[hidden] { display: none; }
.btn-wa { background: var(--shares-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 0 var(--shares-deep), 0 14px 26px rgba(8,122,71,.30); }
.btn-wa:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 5px 0 var(--shares-deep), 0 20px 34px rgba(8,122,71,.34); }
.btn-wa:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 var(--shares-deep), 0 8px 14px rgba(8,122,71,.3); }
.btn-tg { background: var(--views-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 0 var(--views-deep), 0 14px 26px rgba(33,72,217,.30); }
.btn-tg:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 5px 0 var(--views-deep), 0 20px 34px rgba(33,72,217,.34); }
.btn-tg:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 var(--views-deep), 0 8px 14px rgba(33,72,217,.3); }
.foot-contact a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--views-ink); }
.send-btns.is-locked .btn { opacity: .6; }
.send-btns.is-locked .btn::after { animation: none; }
.co-ref { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.co-ref b { font-family: var(--display); font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.co-facts { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: grid; gap: 9px; }
.co-facts li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.co-facts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background-color: var(--shares); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.4 3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.co-facts li.warn::before { background-color: var(--reposts); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5.2v6M10 14.2v.6' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E"); }
#co-send[hidden], .notice[hidden] { display: none; }

/* ---------- 10. motion ---------- */
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(60px,-40px,0) scale(1.12); } }
@keyframes text-shine { 0%, 62% { background-position: 130% 0, 0 0; } 82%, 100% { background-position: -60% 0, 0 0; } }
@keyframes tok-float { from { transform: translate3d(0, -9px, 0); } to { transform: translate3d(0, 11px, 0); } }
@keyframes tok-turn { from { transform: rotateX(20deg) rotateY(-30deg) rotateZ(-7deg); } to { transform: rotateX(-12deg) rotateY(28deg) rotateZ(6deg); } }
@keyframes sweep { 0%, 70% { transform: translateX(-75%); } 100% { transform: translateX(75%); } }
@keyframes sweep-once { from { transform: translateX(-75%); } to { transform: translateX(75%); } }
@keyframes ring { to { --ang: 360deg; } }
@keyframes tile-flip { 0% { transform: perspective(300px) rotateY(0) scale(1); } 45% { transform: perspective(300px) rotateY(190deg) scale(1.16); } 100% { transform: perspective(300px) rotateY(360deg) scale(1) translateY(-1.5px); } }
@keyframes burst { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise-solid { from { transform: translate3d(0, 16px, 0); } to { transform: none; } }

.js .hero .kicker, .js .hero .lede, .js .hero .facts, .js .hero .stage { animation: rise-solid .8s var(--ease-out) both; }
.js .hero .facts { animation-delay: .22s; }
.js .hero .h1-line { animation: rise-solid .8s var(--ease-out) both; }
.js .hero .order { animation: rise-solid .9s var(--ease-out) both; }
.js .hero .h1-line.shine { animation: rise-solid .8s var(--ease-out) .08s both, text-shine 6.5s ease-in-out 1.6s infinite; }
.js .hero .lede { animation-delay: .16s; } .js .hero .stage { animation-delay: .3s; }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .signal[data-reveal].in { transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s, opacity .7s var(--ease-out); transition-delay: 0s; }

[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition: none !important; }
[data-motion="off"] [data-reveal] { opacity: 1 !important; transform: none !important; }
[data-motion="off"] { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation: none !important; transition: none !important; }
  html:not([data-motion="on"]) [data-reveal] { opacity: 1 !important; transform: none !important; }
  html:not([data-motion="on"]) { scroll-behavior: auto; }
}

/* ---------- 11. small screens ---------- */
@media (max-width: 1140px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); column-gap: 36px; }
  .signals { grid-template-columns: repeat(3, 1fr); }
  .tok-2 { left: 440px; } .tok-1 { left: 400px; }
  .post { width: 370px; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .hero { padding: 10px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "order" "stage"; row-gap: 28px; }
  .hero-copy { padding-top: 12px; }
  .lede { max-width: 620px; }
  .order { max-width: 640px; width: 100%; margin-inline: auto; }
  .stage { width: 100%; max-width: 560px; margin: 18px auto 0; height: 310px; }
  .post { left: 50%; margin-left: -205px; width: 410px; top: 70px; }
  .tok-1 { left: auto; right: 0; top: 8px; } .tok-2 { left: auto; right: 6%; top: 236px; }
  .tok-3 { left: 4%; top: 246px; } .tok-4 { left: 0; top: 4px; } .tok-5 { left: 46%; top: -14px; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .co-grid { grid-template-columns: 1fr; }
  .paybar { display: flex; }
  .sec { padding: 64px 0; }
}
@media (max-width: 720px) {
  .faq { grid-template-columns: 1fr; }
  .signals { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 44px 26px; border-radius: 26px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .top-in { height: 66px; }
  .brand { font-size: 25px; } .brand svg { width: 32px; height: 32px; }
  .btn-top { padding: 0 16px; font-size: 15.5px; }
  .lede { font-size: 18px; }
  .order { padding: 22px 16px 20px; border-radius: 24px; }
  .order::before { border-radius: 26px; }
  .order-head h2 { font-size: 24px; }
  .qty input { width: 104px; }
  .total { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn { width: 100%; }
  .stage { height: 290px; }
  .post { width: min(350px, 100% - 8px); margin-left: 0; left: 50%; translate: -50% 0; top: 76px; padding: 14px 12px 16px; }
  .count small { font-size: 14px; } .count b { font-size: 15.5px; }
  .tok-1 { --s: 70px; } .tok-2 { --s: 58px; top: 236px; } .tok-3 { --s: 54px; top: 240px; } .tok-4 { --s: 52px; } .tok-5 { --s: 48px; }
  .signals { grid-template-columns: 1fr; }
  .signal { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; }
  .signal .tile { grid-row: span 3; margin-bottom: 0; }
  .signal .from { grid-column: 2; }
  .cta .btn { width: 100%; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .sum b { font-size: 34px; }
}
@media (hover: none) {
  .signal:hover { transform: none; }
}

/* ---------- author page ---------- */
.author { padding: 56px 0 84px; }
.author-card { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-2); }
.author-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--line), var(--shadow-2); }
.author-kicker { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--views-ink); }
.author h1 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 6px; }
.author-role { margin-top: 10px; font-weight: 700; color: var(--ink-2); }
.author-lead { margin-top: 14px; font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.author-sec { margin-top: 48px; max-width: 760px; }
.author-sec h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.02em; }
.author-list { margin-top: 16px; padding-left: 22px; display: grid; gap: 10px; color: var(--ink-2); }
.author-list a, .author-mail a { color: var(--views-ink); font-weight: 700; }
.author-mail { margin-top: 20px; color: var(--ink-2); }
.foot-author a { color: inherit; font-weight: 700; }
@media (max-width: 640px) {
  .author { padding-top: 32px; }
  .author-card { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; gap: 20px; }
  .author-photo { width: 160px; height: 160px; margin-inline: auto; }
  .author-lead { margin-inline: auto; }
}

/* ---------- blog posts ---------- */
.guide { padding: 40px 0 84px; }
.post-in { max-width: 780px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; font-size: 15px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); }
.guide h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.028em; margin-top: 14px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.byline p { display: grid; gap: 2px; }
.byline a { font-weight: 700; color: var(--ink); }
.byline span { font-size: 15px; color: var(--ink-3); }
.post-answer { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--views); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-1); }
.post-answer h2 { font-family: var(--display); font-size: 20px; font-weight: 900; }
.post-answer p { margin-top: 8px; font-size: 18px; color: var(--ink-2); }
.post-toc { margin-top: 28px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.post-toc p { font-weight: 700; }
.post-toc ol { margin-top: 8px; padding-left: 22px; display: grid; gap: 4px; }
.post-toc a, .post-body a, .post-faq a, .post-related a, .post-sources a, .blog-lead a, .blog-hub a { color: var(--views-ink); font-weight: 600; }
.post-body { margin-top: 12px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.post-body h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-top: 48px; scroll-margin-top: 96px; }
.post-body h3 { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); margin-top: 28px; scroll-margin-top: 96px; }
.post-body p, .post-body ul, .post-body ol, .post-table { margin-top: 16px; }
.post-body ul, .post-body ol { padding-left: 24px; display: grid; gap: 8px; }
.post-body strong { color: var(--ink); }
.post-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.post-table th, .post-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-table th { background: var(--field); color: var(--ink); }
.post-table tr:last-child td { border-bottom: 0; }
.post-cta { margin-top: 48px; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.post-cta p { max-width: 46ch; }
.post-cta .btn { background: #fff; color: var(--ink); }
.post-faq, .post-related, .post-sources { margin-top: 48px; }
.post-faq > h2, .post-related h2, .post-sources h2 { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; }
.faq-item { margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 19px; font-weight: 700; }
.faq-item p { margin-top: 6px; color: var(--ink-2); }
.post-related ul, .post-sources ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); }
.post-sources { font-size: 15px; }
.blog-index h1 { margin-top: 0; }
.blog-lead { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.blog-hub { margin-top: 44px; }
.blog-hub h2 { font-family: var(--display); font-weight: 900; font-size: 28px; }
.blog-hub ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 14px; }
.blog-hub li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 4px; }
.blog-hub li span { color: var(--ink-2); font-size: 16px; }
@media (max-width: 640px) {
  .guide { padding-top: 24px; }
  .post-body { font-size: 17px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- legal pages + footer links ---------- */
.foot-legal a { color: inherit; }
.post-updated { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
