/* GlobalProfitEdge.com — page styles.
   Direction: "The product performs" (tasteskill v2, seed 320909841). Palette kept from the brand (near-black, one green);
   type dealt: Libre Franklin for display and interface, Source Serif 4 for reading. One 4px radius on the page. */

@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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: "Libre Franklin"; src: url("../fonts/libre-franklin-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --ink: #FAFAFA;
  --muted: rgba(250, 250, 250, 0.72);
  --paper: #FAFAFA;
  --paper-ink: #0A0A0A;
  --paper-muted: #4D4D4D;
  --accent: #1FD65F;
  --accent-ink: #06170D;
  --neg: #FF6B6B;
  --warn: #E8A33C;

  --display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --s-small: 0.875rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --s-display: clamp(3.1rem, 0.4rem + 9vw, 8.75rem);

  --m: clamp(16px, 1.7vw, 28px);
  --gap: 8px;
  --r: 4px;
  --sec: clamp(88px, 4rem + 5vw, 152px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--s-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, figure, dl, dd, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; hyphens: none; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; 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: var(--m); top: -100px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: var(--r); font-family: var(--display); font-weight: 600; }
.skip:focus { top: 12px; }

.t-head { font-size: var(--s-head); line-height: 1; letter-spacing: -0.035em; }
.t-lead { font-size: var(--s-lead); line-height: 1.35; }
.sec { padding-inline: var(--m); margin-top: var(--sec); }
.mark { width: 1.35em; height: 1.35em; flex: none; }
.mark-edge { fill: var(--accent); }

/* ---------- buttons, links ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center; cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.btn:hover { background: color-mix(in srgb, var(--accent) 84%, #fff); }
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--paper); color: var(--paper-ink); }
.btn--light:hover { background: #E4E4E4; }
.btn--ink { background: var(--bg); color: var(--ink); }
.btn--ink:hover { background: #262626; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: var(--s-small); }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn--block { width: 100%; }
.link { text-decoration: underline; }
.link:hover { text-decoration-thickness: 0.14em; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-family: var(--display); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- bar ---------- */

.bar { position: relative; display: flex; align-items: center; gap: 28px; padding: 16px var(--m); font-family: var(--display); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; font-size: var(--s-body); letter-spacing: -0.01em; text-decoration: none; margin-right: auto; }
.bar-nav { display: flex; gap: 24px; }
.bar-end { display: flex; align-items: center; gap: 20px; }
.bar-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--muted); transition: color var(--t-hover) ease; }
.bar-link:hover, .bar-link[aria-current] { color: var(--ink); }
.bar-link[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r); background: var(--surface-2); color: var(--ink); font-size: var(--s-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.count.is-full { background: var(--accent); color: var(--accent-ink); }
.bar-menu { display: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r); background: var(--surface-2); color: var(--ink); font-family: var(--display); font-weight: 600; cursor: pointer; }
.menu { /* taste-skill-ignore: the open menu floats over the page */ position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--surface); padding: 16px var(--m) 24px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.8); }
.menu nav { display: flex; flex-direction: column; }
.menu a:not(.btn) { padding: 14px 0; font-size: var(--s-lead); font-weight: 600; text-decoration: none; }
.menu .btn { margin-top: 12px; }

/* ---------- hero: controls on the sentence ---------- */

.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px;
  align-content: center; min-height: calc(100svh - 76px); padding: 32px var(--m) 72px;
}
.hero-h { grid-column: 1 / -1; grid-row: 2; text-align: center; font-size: var(--s-display); line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hl { display: block; overflow: clip; padding-bottom: 0.04em; }
.hl > span { display: inline-block; }
.chip--ad { grid-column: 2 / 5; grid-row: 1; justify-self: start; transform: rotate(-3deg); }
.chip--fee { grid-column: 2 / 5; grid-row: 3; justify-self: start; transform: rotate(2deg); }
.chip--switch { grid-column: 9 / 12; grid-row: 3; justify-self: end; transform: rotate(-2deg); }
.hero-sub { grid-column: 3 / 11; grid-row: 4; justify-self: center; text-align: center; max-width: 58ch; margin-top: 8px; }
.hero-actions { grid-column: 1 / -1; grid-row: 5; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { grid-column: 1 / -1; grid-row: 6; text-align: center; color: var(--muted); font-size: var(--s-small); }

/* ---------- intro: narrow column beside the painting ---------- */

.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.intro-text { grid-column: 2 / 6; display: flex; flex-direction: column; gap: 1em; padding-bottom: 8px; }
.intro-text h2 { margin-bottom: 0.4em; }
.intro-first { font-weight: 600; }
.intro-pic { grid-column: 7 / 13; }
.intro-pic img { width: 100%; aspect-ratio: 1400 / 1167; object-fit: cover; border-radius: var(--r); background: var(--surface); }
figcaption { margin-top: 12px; font-size: var(--s-small); color: var(--muted); max-width: 62ch; }

/* ---------- raw orders, real profit ---------- */

.io { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: max(90svh, 720px); margin-top: var(--sec); }
.io-in, .io-out { padding: 22svh var(--m) 48px; }
.io-in { display: flex; justify-content: center; background: var(--surface); }
.io-out { display: flex; justify-content: center; background: var(--paper); color: var(--paper-ink); }
.io-h { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: var(--s-head); line-height: 1; letter-spacing: -0.035em; }
.io-h span { padding: 0 var(--m) 32px; }
.io-h span:first-child { background: var(--surface); color: var(--ink); }
.io-h span:last-child { background: var(--paper); color: var(--paper-ink); text-align: right; }

/* ---------- shape the report: fixed output, live controls ---------- */

.shape { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: var(--sec); }
.shape-stage { grid-column: 1 / 7; grid-row: 1 / 3; position: sticky; top: 0; height: 100svh; background: var(--surface); display: grid; place-items: center; padding: 24px; }
.shape-h { grid-column: 8 / 12; grid-row: 1; padding-top: 72px; margin-bottom: 18vh; }
.shape-read { grid-column: 8 / 12; grid-row: 2; padding-bottom: 20vh; }
.shape-block { min-height: 52vh; }
.shape-s { font-family: var(--display); font-weight: 700; font-size: var(--s-lead); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 10px; }
.shape-block > p:not(.shape-s) { max-width: 44ch; }
.shape-ctl { margin-top: 22px; }

/* ---------- how it works: call and response ---------- */

.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.how > h2 { grid-column: 3 / 9; margin-bottom: 56px; }
.how-list { grid-column: 3 / 13; display: flex; flex-direction: column; gap: 88px; }
.how-list > li { max-width: 620px; }
.how-list > li.how-last { max-width: none; }
.how-s { font-family: var(--display); font-weight: 600; font-size: var(--s-lead); line-height: 1.2; margin-bottom: 16px; }
.how-resp { margin: 16px 0 0 56px; }

/* ---------- every market, every channel ---------- */

.angles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.angles-pic { grid-column: 1 / 8; }
.angles-pic video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.angles-text { grid-column: 9 / 13; }
.angles-text h2 { margin-bottom: 36px; }
.angles-list { display: flex; flex-direction: column; gap: 18px; }
.angles-list dt { font-family: var(--display); font-weight: 700; }
.angles-list dd { color: var(--muted); }

/* ---------- plans as a large table ---------- */

.ptable-wrap { overflow: visible; }
.ptable { width: 100%; border-collapse: collapse; font-family: var(--display); font-variant-numeric: tabular-nums; table-layout: fixed; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 18px 16px; font-size: var(--s-small); line-height: 1.35; }
.ptable thead th { vertical-align: bottom; padding-top: 28px; padding-bottom: 24px; }
.ptable-corner { width: 25%; }
.ptable-h { font-size: var(--s-head); line-height: 1; letter-spacing: -0.035em; }
.ptable-name, .ptable-price { display: block; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.ptable-name { font-weight: 700; }
.ptable-price { font-weight: 400; margin-top: 4px; }
.ptable-period { display: block; margin-top: 8px; font-size: var(--s-small); font-weight: 400; color: var(--muted); }
.ptable tbody th { font-weight: 600; font-size: var(--s-body); }
.ptable tbody td { font-size: var(--s-body); }
.ptable tbody tr:nth-child(odd) { background: var(--surface); }
.ptable .is-rec { background: var(--accent); color: var(--accent-ink); }
.ptable .is-rec .ptable-period { color: var(--accent-ink); }
.ptable-buy td { padding-top: 24px; padding-bottom: 24px; }
.ptable-buy th { vertical-align: middle; }
.plans-note { margin-top: 28px; max-width: 62ch; }
.ptable-cards { display: none; }
.pcard { background: var(--surface); border-radius: var(--r); padding: 24px 20px; font-family: var(--display); }
.pcard.is-rec { background: var(--accent); color: var(--accent-ink); }
.pcard-name { font-size: 9vw; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.pcard-name span { font-weight: 400; }
.pcard-period { margin-top: 4px; font-size: var(--s-small); }
.pcard dl { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 24px; }
.pcard dt { color: var(--muted); font-size: var(--s-small); }
.pcard.is-rec dt { color: var(--accent-ink); opacity: 0.8; }
.pcard dd { font-size: var(--s-body); }

/* ---------- questions ---------- */

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.faq-h { grid-column: 1 / 5; position: sticky; top: 96px; }
.faq-list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border-radius: var(--r); transition: background-color var(--t-hover) ease; }
.faq-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 14px 24px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: var(--s-body); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item:not([open]) > summary:hover { background: var(--surface-2); border-radius: var(--r); }
.faq-item[open] { background: var(--accent); color: var(--accent-ink); }
.faq-item:not([open]) > p { display: none; }
.faq-item > p { padding: 0 24px 24px; max-width: 54ch; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 1px; background: currentColor; transition: transform 240ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }

/* ---------- first step, already open ---------- */

.cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: var(--sec); background: var(--accent); color: var(--accent-ink); padding: clamp(72px, 9vw, 128px) var(--m) clamp(40px, 4vw, 56px); align-items: end; }
.cta-words { grid-column: 1 / 9; align-self: end; }
.cta-h { font-size: var(--s-display); line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; }
.cta-words p { margin-top: 20px; max-width: 40ch; }
.cta .dialog { grid-column: 9 / 13; justify-self: end; }

/* ---------- footer of tiles ---------- */

.foot { margin-top: var(--gap); padding: var(--gap) var(--m) 24px; font-family: var(--display); }
.cta + .foot, main + .foot { margin-top: var(--gap); }
.foot-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.ft { background: var(--surface); border-radius: var(--r); padding: 20px; min-height: 220px; display: flex; flex-direction: column; gap: 6px; }
.ft-statement { grid-column: 1 / 4; justify-content: space-between; }
.ft-lead { font-size: var(--s-lead); line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
.ft-legal { font-size: var(--s-small); color: var(--muted); font-family: var(--text); }
.ft-nav { grid-column: 4 / 6; }
.ft-legalnav { grid-column: 6 / 8; }
.ft-nav a, .ft-legalnav a { text-decoration: none; padding: 3px 0; }
.ft-nav a:hover, .ft-legalnav a:hover { text-decoration: underline; }
.ft-hours { grid-column: 8 / 10; }
.ft-label { color: var(--muted); }
.ft-open { margin-top: auto; font-weight: 600; }
.ft-open.is-open { color: var(--accent); }
.ft-mail { grid-column: 10 / 13; justify-content: flex-end; }
.ft-email { font-size: var(--s-body); font-weight: 600; overflow-wrap: break-word; }
.ft-mail p { font-size: var(--s-small); color: var(--muted); font-family: var(--text); }
.ft-word { grid-column: 1 / 9; min-height: 320px; background: var(--paper); color: var(--paper-ink); flex-direction: row; align-items: center; justify-content: center; gap: 0.3em; text-decoration: none; font-weight: 700; font-size: var(--s-head); letter-spacing: -0.035em; line-height: 1; }
.ft-word .mark { width: 1.1em; height: 1.1em; }
.ft-go { grid-column: 9 / 13; min-height: 320px; background: var(--accent); color: var(--accent-ink); justify-content: space-between; text-decoration: none; font-size: var(--s-lead); font-weight: 700; line-height: 1.15; transition: background-color var(--t-hover) ease; }
.ft-go:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); }
.ft-go svg { width: 48px; height: 48px; align-self: flex-end; transition: transform 300ms var(--ease-out); }
.ft-go:hover svg { transform: translate(4px, -4px); }
.foot-last { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gap); margin-top: 24px; font-size: var(--s-small); color: var(--muted); }
.foot-last > p { grid-column: 1 / 5; }
.foot-last .credits { grid-column: 6 / 13; display: flex; flex-direction: column; gap: 8px; font-family: var(--text); }
.credits ul { display: flex; flex-direction: column; gap: 2px; }

/* ---------- inner pages ---------- */

.page-head { margin-top: 64px; }
.page-head h1 { max-width: 20ch; }
.page-head--pic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.ph-text { grid-column: 1 / 7; padding-bottom: 36px; }
.ph-pic { grid-column: 8 / 13; }
.ph-pic img { width: 100%; aspect-ratio: 1400 / 1188; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.page-lead { margin-top: 24px; max-width: 56ch; }
.cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.cap-text { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 18px; }
.cap-text p { max-width: 46ch; }
.cap-frag { grid-column: 7 / 13; }
.cap--flip .cap-text { grid-column: 8 / 13; grid-row: 1; }
.cap--flip .cap-frag { grid-column: 1 / 7; grid-row: 1; }
.cap-h { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); }
.defs { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.defs dt { font-family: var(--display); font-weight: 700; }
.defs dd { color: var(--muted); }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.band--two { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.band-film { grid-column: 1 / 9; }
.band-still { grid-column: 9 / 13; }
.band-film video, .band--two .band-still img { width: 100%; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.band-film video { aspect-ratio: 16 / 10; }
.band--two .band-still img { aspect-ratio: 4 / 5; }
.all-lead { margin: 20px 0 40px; max-width: 56ch; }
.all-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.all-group h3 { font-size: var(--s-body); margin-bottom: 12px; }
.all-group li { display: flex; flex-direction: column; padding: 8px 0; }
.all-group li b { font-family: var(--display); }
.all-group li span { color: var(--muted); }

.sol { display: flex; flex-direction: column; gap: 8px; }
.sol-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 36px 24px; background: var(--surface); border-radius: var(--r); }
.sol-row:nth-of-type(even) { background: var(--bg); }
.sol-h { grid-column: 1 / 6; font-size: var(--s-lead); line-height: 1.2; letter-spacing: -0.015em; }
.sol-body { grid-column: 6 / 13; }
.sol-body p { max-width: 54ch; }
.sol-points { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-family: var(--display); font-size: var(--s-small); color: var(--muted); }
.sol-pic { margin: 40px 0; }
.sol-pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.sol-entities { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.sol-entities .ui-card { grid-column: 7 / 13; }

.incl-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 40px; }
.incl-col h3 { display: flex; flex-direction: column; font-size: var(--s-lead); line-height: 1.15; }
.incl-col h3 span { font-size: var(--s-small); font-weight: 400; color: var(--muted); margin-top: 4px; }
.incl-col p { margin: 12px 0 14px; color: var(--muted); }
.incl-col li { padding: 6px 0 6px 18px; position: relative; }
.incl-col li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 8px; height: 8px; border-radius: 2px; background: var(--muted); }
.incl-col.is-rec li::before { background: var(--accent); }
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.buy-steps h3 { font-size: var(--s-lead); margin-top: 20px; }
.buy-steps p { margin-top: 8px; max-width: 52ch; }

/* utility pages */
.page-head--util { margin-top: 48px; }
.u-title { font-size: var(--s-lead); line-height: 1.15; letter-spacing: -0.02em; }
.u-sub { margin-top: 10px; max-width: 64ch; color: var(--muted); }
.page-head--util ~ .sec, .page-head--util ~ div.sec { margin-top: 32px; }
.trail { display: flex; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-family: var(--display); font-size: var(--s-small); }
.trail li + li::before { content: "→"; margin: 0 10px; }
.trail [aria-current] { color: var(--ink); font-weight: 600; }
.trail a { text-decoration: none; }
.notice { background: var(--surface); padding: 20px 24px; border-radius: var(--r); }

.docs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.docs-side { grid-column: 1 / 4; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.docs-nav { display: flex; flex-direction: column; font-family: var(--display); }
.docs-nav a { padding: 7px 10px; border-radius: var(--r); text-decoration: none; color: var(--muted); }
.docs-nav a:hover, .docs-nav a.is-active { background: var(--surface); color: var(--ink); }
.docs-main { grid-column: 5 / 12; display: flex; flex-direction: column; gap: 8px; }
.doc { background: var(--surface); border-radius: var(--r); padding: 28px 28px 20px; scroll-margin-top: 24px; }
.doc h2 { font-size: var(--s-lead); line-height: 1.2; margin-bottom: 10px; }
.doc p { max-width: 64ch; }
.doc-help { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-family: var(--display); font-size: var(--s-small); color: var(--muted); }
.docs-stuck { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.docs-stuck h2 { font-size: var(--s-lead); }
.docs-empty { padding: 24px; background: var(--surface); border-radius: var(--r); }

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.contact-info { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 8px; }
.info-block { background: var(--surface); border-radius: var(--r); padding: 20px 24px; }
.info-block h2 { font-size: var(--s-small); color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-form { grid-column: 6 / 13; background: var(--surface); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-h { font-size: var(--s-lead); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-note { color: var(--muted); font-size: var(--s-small); }
.form-err { font-family: var(--display); font-size: var(--s-small); display: flex; gap: 8px; align-items: center; }
.form-err::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neg); flex: none; }

.empty { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.empty-copy { grid-column: 1 / 7; background: var(--surface); border-radius: var(--r); padding: 40px; }
.empty-h { font-size: var(--s-lead); }
.empty-copy p { margin: 12px 0 28px; max-width: 46ch; }
.empty-plans { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 6px; font-family: var(--display); }
.empty-plans li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; background: var(--surface); border-radius: var(--r); padding: 10px 12px 10px 20px; min-height: 60px; }
.empty-name { font-weight: 600; }
.empty-price { font-variant-numeric: tabular-nums; }

.cart-grid, .co-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.cart-main, .co-main { grid-column: 1 / 9; display: flex; flex-direction: column; gap: var(--gap); }
.cart-plan { background: var(--surface); border-radius: var(--r); padding: 28px; }
.cart-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.cart-name { font-size: var(--s-lead); margin-bottom: 6px; }
.cart-terms { margin-top: 6px; color: var(--muted); font-size: var(--s-small); }
.cart-price { font-family: var(--display); font-size: var(--s-lead); font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 22px; font-family: var(--display); font-size: var(--s-small); color: var(--muted); }
.cart-ws { margin-top: 18px; font-family: var(--display); }
.cart-actions { display: flex; gap: 24px; margin-top: 22px; font-family: var(--display); }
.summary { grid-column: 9 / 13; position: sticky; top: 24px; background: var(--surface); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; font-family: var(--display); }
.summary-h { font-size: var(--s-body); }
.sum-rows { display: flex; flex-direction: column; gap: 10px; font-variant-numeric: tabular-nums; }
.sum-rows div { display: flex; justify-content: space-between; gap: 16px; }
.sum-rows dt { color: var(--muted); display: flex; flex-direction: column; }
.sum-sub { font-size: var(--s-small); }
.sum-rows dd { font-weight: 600; white-space: nowrap; }
.sum-total { margin-top: 10px; align-items: baseline; }
.sum-total dt { color: var(--ink); font-weight: 600; }
.sum-total dd { font-size: var(--s-lead); }
.summary-note { font-size: var(--s-small); color: var(--muted); font-family: var(--text); }
.sum-desc { display: flex; justify-content: space-between; gap: 12px; font-size: var(--s-small); }
.sum-desc dt { color: var(--muted); }

.testmode { background: var(--surface-2); color: var(--ink); border-radius: var(--r); padding: 18px 24px; margin-bottom: var(--gap); font-family: var(--display); }
.co-block { background: var(--surface); border-radius: var(--r); padding: 28px; }
.co-h { float: left; width: 100%; padding: 0; margin-bottom: 20px; font-family: var(--display); font-weight: 700; }
.co-fields { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.fld { min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.field-label { display: block; font-family: var(--display); font-size: var(--s-small); font-weight: 600; margin-bottom: 6px; }
.input { /* taste-skill-ignore: real form fields keep their outline */ width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(250, 250, 250, 0.16); border-radius: var(--r); background: var(--bg); color: var(--ink); font-family: var(--display); font-size: 1rem; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FAFAFA' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 40px; }
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: var(--neg); border-width: 2px; }
.fld-note { margin-top: 8px; font-size: var(--s-small); color: var(--muted); }
.fld-err { margin-top: 6px; font-family: var(--display); font-size: var(--s-small); display: flex; align-items: center; gap: 8px; }
.fld-err::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neg); flex: none; }
.co-cards { height: 28px; width: auto; margin: -4px 0 20px; clear: both; background: var(--paper); border-radius: 3px; padding: 3px 6px; box-sizing: content-box; }
.co-agree { display: flex; flex-direction: column; gap: 16px; }
.co-privacy { color: var(--muted); font-size: var(--s-small); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.pay-result { background: var(--neg); color: var(--paper-ink); border-radius: var(--r); padding: 18px 20px; font-family: var(--display); }
.pay-result p + p { margin-top: 4px; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.access { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.access-side { grid-column: 1 / 7; background: var(--surface); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.access-claim { font-size: var(--s-lead); }
.access-main { grid-column: 8 / 12; padding-top: 16px; }
.access-form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.access-links { display: flex; gap: 24px; margin-top: 20px; font-family: var(--display); }

.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; margin-top: 48px; }
.legal-nav { grid-column: 1 / 4; position: sticky; top: 24px; background: var(--surface); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 2px; font-family: var(--display); }
.legal-nav-h { font-weight: 700; margin: 0 0 8px 12px; }
.legal-nav a { padding: 10px 12px; border-radius: var(--r); text-decoration: none; color: var(--muted); }
.legal-nav a:hover { color: var(--ink); background: var(--surface-2); }
.legal-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.legal-doc { grid-column: 4 / 11; background: var(--surface); border-radius: var(--r); padding: 48px; }
.legal-date { margin-top: 12px; color: var(--muted); }
.legal-doc section { margin-top: 32px; }
.legal-doc h2 { font-size: var(--s-body); }
.legal-doc section p { margin-top: 8px; max-width: 66ch; }
.legal-contact { margin-top: 32px; padding: 20px; background: var(--bg); border-radius: var(--r); }

.nf-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); font-family: var(--display); }
.nf-places a { display: flex; flex-direction: column; gap: 4px; min-height: 104px; padding: 20px; border-radius: var(--r); background: var(--surface); text-decoration: none; transition: background-color var(--t-hover) ease; }
.nf-places a:hover { background: var(--surface-2); }
.nf-places span { color: var(--muted); }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .hl > span { animation: line-up 900ms var(--ease-expo) both; }
  .js .hl + .hl > span { animation-delay: 110ms; }
  .js .hero-sub, .js .hero-actions, .js .hero-note { animation: fade-up 700ms var(--ease-out) 420ms both; }
  .js .hero .chip { animation: chip-in 800ms var(--ease-expo) both; }
  .js .hero .chip--fee { animation-delay: 160ms; }
  .js .hero .chip--switch { animation-delay: 260ms; }
  .rise-ready [data-rise] { opacity: 0.25; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .rise-ready [data-rise].is-in { opacity: 1; transform: none; }
  .rise-ready .intro-pic[data-rise] img, .rise-ready .band[data-rise] img, .rise-ready .sol-pic[data-rise] img { transform: scale(1.08); transition: transform 1400ms var(--ease-expo); }
  .rise-ready .intro-pic.is-in img, .rise-ready .band.is-in img, .rise-ready .sol-pic.is-in img { transform: none; }
}
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- tablet ---------- */

@media (max-width: 1100px) {
  .bar-nav { gap: 18px; }
  .chip--ad, .chip--fee { grid-column: 1 / 6; }
  .chip--switch { grid-column: 8 / 13; }
  .hero-sub { grid-column: 2 / 12; font-size: 1.1875rem; }
  .intro-text { grid-column: 1 / 6; }
  .shape-h, .shape-read { grid-column: 7 / 13; padding-left: 16px; }
  .how > h2, .how-list { grid-column: 2 / 13; }
  .angles-pic { grid-column: 1 / -1; }
  .angles-text { grid-column: 1 / -1; margin-top: 40px; }
  .angles-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .cta-words { grid-column: 1 / -1; align-self: start; }
  .cta .dialog { grid-column: 1 / -1; justify-self: start; margin-top: 40px; }
  .all-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-h { grid-column: 1 / 6; }
  .faq-list { grid-column: 6 / 13; }
  .incl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-statement { grid-column: 1 / 7; }
  .ft-nav { grid-column: 7 / 10; }
  .ft-legalnav { grid-column: 10 / 13; }
  .ft-hours { grid-column: 1 / 7; min-height: 160px; }
  .ft-mail { grid-column: 7 / 13; min-height: 160px; }
  .ft-word { grid-column: 1 / -1; min-height: 220px; }
  .ft-go { grid-column: 1 / -1; min-height: 160px; }
  .foot-last > p, .foot-last .credits { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */

@media (max-width: 860px) {
  .bar-nav, .bar-hide { display: none; }
  .bar-menu { display: inline-flex; align-items: center; }
  .bar { gap: 12px; }
  .bar-end { gap: 12px; }
  .hero-grid { row-gap: 16px; padding-top: 24px; align-content: start; min-height: 0; }
  .hero-h { grid-row: 2; font-size: 13vw; }
  .chip--ad { grid-column: 1 / -1; grid-row: 1; justify-self: stretch; transform: none; }
  .chip--fee { grid-column: 1 / 7; grid-row: 3; justify-self: stretch; transform: none; }
  .chip--switch { grid-column: 7 / 13; grid-row: 3; justify-self: stretch; transform: none; }
  .hero-sub { grid-column: 1 / -1; text-align: left; justify-self: start; }
  .hero-actions { justify-content: stretch; flex-direction: column; }
  .hero-note { text-align: left; }
  .intro-text { grid-column: 1 / -1; }
  .intro-pic { grid-column: 1 / -1; margin-top: 40px; }
  .io { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; }
  .io-in { grid-row: 1; padding: 64px var(--m) 32px; }
  .io-out { grid-row: 3; padding: 24px var(--m) 64px; }
  .io-h { grid-row: 2; grid-template-columns: minmax(0, 1fr); font-size: 11vw; }
  .io-h span:first-child { padding: 0 var(--m) 20px; }
  .io-h span:last-child { text-align: left; padding: 20px var(--m) 0; }
  .shape-h { grid-column: 1 / -1; grid-row: 1; padding: 0 var(--m); margin-bottom: 32px; }
  .shape-stage { grid-column: 1 / -1; grid-row: 2; height: 46svh; top: 0; z-index: 2; place-items: start center; overflow: clip; padding: 16px; }
  .shape-read { grid-column: 1 / -1; grid-row: 3; padding: 32px var(--m) 40px; }
  .shape-block { min-height: 0; padding-bottom: 56px; }
  .how > h2, .how-list { grid-column: 1 / -1; }
  .how-resp { margin-left: 0; margin-top: 24px; }
  .angles-list { grid-template-columns: 1fr; }
  .ptable { display: none; }
  .ptable-cards { display: flex; flex-direction: column; gap: var(--gap); }
  .ptable-cards .ptable-h { margin-bottom: 20px; }
  .cta { padding-top: 64px; }
  .cta-h { font-size: 13vw; }
  .cta .dialog { justify-self: stretch; width: auto; }
  .ft { min-height: 140px; }
  .ft-word { order: -2; min-height: 160px; }
  .ft-go { order: -1; }
  .ft-statement, .ft-hours, .ft-mail { grid-column: 1 / -1; }
  .ft-nav, .ft-legalnav { grid-column: span 6; }
  .page-head { margin-top: 40px; }
  .cap-text, .cap-frag, .cap--flip .cap-text, .cap--flip .cap-frag { grid-column: 1 / -1; grid-row: auto; }
  .cap-frag { margin-top: 28px; }
  .band img, .sol-pic img { aspect-ratio: 4 / 3; }
  .band-film, .band-still, .ph-text, .ph-pic { grid-column: 1 / -1; }
  .band-still { margin-top: 20px; }
  .band--two .band-still img { aspect-ratio: 4 / 3; }
  .ph-text { padding-bottom: 0; }
  .ph-pic { margin-top: 32px; }
  .all-groups, .incl-cols, .buy-steps { grid-template-columns: 1fr; }
  .sol-row { padding: 28px 20px; }
  .sol-h, .sol-body { grid-column: 1 / -1; }
  .sol-body { margin-top: 12px; }
  .sol-entities .cap-text, .sol-entities .ui-card { grid-column: 1 / -1; }
  .sol-entities .ui-card { margin-top: 28px; }
  .docs-side, .docs-main { grid-column: 1 / -1; }
  .docs-side { position: static; margin-bottom: 24px; }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .contact-info, .contact-form { grid-column: 1 / -1; }
  .contact-form { margin-top: 24px; padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .empty-copy, .empty-plans { grid-column: 1 / -1; }
  .empty-copy { padding: 24px 20px; }
  .empty-plans li { grid-template-columns: 1fr auto; }
  .empty-plans .btn { grid-column: 1 / -1; }
  .cart-main, .co-main, .summary { grid-column: 1 / -1; }
  .summary { position: static; }
  .cart-plan, .co-block, .summary { padding: 24px 20px; }
  .cart-top { flex-direction: column; gap: 10px; }
  .cart-feats, .co-fields { grid-template-columns: 1fr; }
  .access-side, .access-main { grid-column: 1 / -1; }
  .access-main { order: -1; margin-bottom: 32px; }
  .access-side { padding: 24px 20px; }
  .legal-nav, .legal-doc { grid-column: 1 / -1; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal-nav-h { width: 100%; }
  .legal-doc { padding: 28px 20px; }
  .nf-places { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .faq-h { grid-column: 1 / -1; position: static; margin-bottom: 28px; }
  .faq-list { grid-column: 1 / -1; }
}
