@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-cyrillic-400-normal-ffb0f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-400-normal-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-latin-400-normal-cf48e3.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-cyrillic-500-normal-ffb0f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-500-normal-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-latin-500-normal-cf48e3.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-cyrillic-600-normal-ffb0f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-600-normal-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-latin-600-normal-cf48e3.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-cyrillic-700-normal-ffb0f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-700-normal-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-latin-700-normal-cf48e3.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: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-ext-400-italic-c74ec7.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-400-italic-905125.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: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-ext-400-normal-d8c865.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-400-normal-b76914.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: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-ext-500-normal-d8c865.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-500-normal-b76914.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: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-ext-600-normal-d8c865.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Newsreader-latin-600-normal-b76914.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;
}
/* ==========================================================================
   JoinUp — marketing site
   Themes: "Blush Stone" (light) / "Midnight & Champagne" (dark)
   ========================================================================== */

:root {
  --bg:          #F5F3EF;
  --bg-alt:      #EDE8E0;
  --surface:     #FFFFFF;
  --surface-2:   #FAF7F3;
  --text:        #241C1A;
  --text-soft:   #6E5F58;
  --text-faint:  #94847C;
  --accent:      #C1502E;
  --accent-ink:  #A8421F;
  --accent-soft: #B4766F;
  --on-accent:   #FFF8F3;
  --line:        rgba(36, 28, 26, .12);
  --line-strong: rgba(36, 28, 26, .22);
  --hatch:       rgba(193, 80, 46, .07);
  --foil-1:      #9C6B22;
  --foil-2:      #D6A960;
  --foil-3:      #8A5B1C;
  /* Invitation card in the phone mockup. Deliberately independent of --accent:
     in dark mode --accent is gold, and gold foil lettering on a gold card
     disappears. The card keeps its own dark-enough ground in both themes. */
  --inv-card-1:  #C1502E;
  --inv-card-2:  #B4766F;
  --inv-ink:     #FFF8F3;
  --shadow-sm:   0 1px 2px rgba(60, 40, 32, .05), 0 4px 14px rgba(60, 40, 32, .05);
  --shadow-md:   0 2px 6px rgba(60, 40, 32, .06), 0 16px 40px rgba(60, 40, 32, .09);
  --shadow-lg:   0 30px 70px rgba(60, 40, 32, .16);
  --radius:      20px;
  --radius-lg:   28px;
  --maxw:        1140px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg:          #1A1119;
  --bg-alt:      #150D14;
  --surface:     #241826;
  --surface-2:   #2C1E2E;
  --text:        #F2E9E4;
  --text-soft:   #BCA8B2;
  --text-faint:  #8E7A85;
  --accent:      #E7C67A;
  --accent-ink:  #F0D69A;
  --accent-soft: #D9A98C;
  --on-accent:   #221528;
  --line:        rgba(231, 198, 122, .16);
  --line-strong: rgba(231, 198, 122, .30);
  --hatch:       rgba(231, 198, 122, .05);
  --foil-1:      #B98F45;
  --foil-2:      #F3DEA8;
  --foil-3:      #9C7433;
  --inv-card-1:  #4A2C48;
  --inv-card-2:  #2B1B2C;
  --inv-ink:     #F4ECE6;
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, .30), 0 4px 14px rgba(0, 0, 0, .26);
  --shadow-md:   0 2px 6px rgba(0, 0, 0, .34), 0 16px 40px rgba(0, 0, 0, .40);
  --shadow-lg:   0 30px 70px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.1vw, 2.9rem); }
h3 { font-size: clamp(1.16rem, 2vw, 1.35rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }

a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

img, svg { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--accent-soft);
  margin: 0 0 .9rem;
}
html[data-theme="dark"] .eyebrow { color: var(--accent); opacity: .85; }

.lead { font-size: clamp(1.06rem, 1.9vw, 1.24rem); color: var(--text-soft); }

/* foil — metallic gold accent text */
.foil {
  background: linear-gradient(100deg, var(--foil-3), var(--foil-2) 42%, var(--foil-1) 62%, var(--foil-2) 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@supports not (background-clip: text) { .foil { color: var(--foil-1); -webkit-text-fill-color: currentColor; } }

/* diagonal hatching */
.hatch { position: relative; isolation: isolate; }
.hatch::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(45deg,
      var(--hatch) 0 1.5px, transparent 1.5px 11px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .92em 1.6em; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 700; font-size: .96rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, background-color .25s ease, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn__sub { display: block; font-size: .66rem; font-weight: 600; opacity: .8; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.btn__main { display: block; font-size: 1.02rem; line-height: 1.2; }
.btn--store { padding: .7em 1.5em; text-align: left; }
.btn--store svg { width: 22px; height: 26px; flex: none; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.hdr[data-stuck="1"] { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand:hover { color: var(--text); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: 'Newsreader', serif; font-size: 1.42rem; font-weight: 600; letter-spacing: -.02em; }

.hdr__nav { display: flex; gap: 26px; margin-right: 8px; }
.hdr__nav a { color: var(--text-soft); text-decoration: none; font-size: .93rem; font-weight: 600; }
.hdr__nav a:hover { color: var(--accent); }
@media (max-width: 860px) { .hdr__nav { display: none; } }

.ctrl { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); cursor: pointer; padding: 0;
  transition: border-color .2s, transform .2s, color .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn .i-sun { display: none; }
html[data-theme="dark"] .icon-btn .i-sun { display: block; }
html[data-theme="dark"] .icon-btn .i-moon { display: none; }

/* language picker */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4em; height: 38px; padding: 0 .85em;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang__btn:hover { border-color: var(--accent); color: var(--accent); }
.lang__btn svg { width: 11px; height: 11px; opacity: .6; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 9px); min-width: 168px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
  box-shadow: var(--shadow-md); padding: 6px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang[data-open="1"] .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: .58em .8em; border: 0; border-radius: 10px; background: transparent;
  color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer;
}
.lang__menu button:hover { background: var(--bg-alt); color: var(--accent); }
.lang__menu button[aria-current="true"]::after { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 116px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec__head { max-width: 660px; margin: 0 auto clamp(38px, 5vw, 62px); text-align: center; }
.sec__head p { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(46px, 7vw, 88px) 0 clamp(58px, 8vw, 104px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: -2; width: 62vw; height: 62vw;
  max-width: 780px; max-height: 780px; right: -19vw; top: -25vw; border-radius: 50%;
  background: radial-gradient(circle at 32% 32%,
      color-mix(in srgb, var(--accent) 20%, transparent), transparent 66%);
  filter: blur(28px); pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(30px, 5vw, 66px); align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; text-align: center; } }

.hero h1 { margin-bottom: .38em; }
.hero__sub { max-width: 34em; margin-bottom: 2rem; }
@media (max-width: 900px) { .hero__sub { margin-inline: auto; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
@media (max-width: 900px) { .hero__cta { justify-content: center; } }

.hero__note { margin: 1.35rem 0 0; font-size: .87rem; color: var(--text-faint); }

.badge {
  display: inline-flex; align-items: center; gap: .55em; margin-bottom: 1.4rem;
  padding: .42em 1em; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* phone mockup */
.phone-wrap { display: grid; place-items: center; perspective: 1400px; }
.phone {
  width: min(310px, 78vw); filter: drop-shadow(var(--shadow-lg));
  transform: rotateY(-11deg) rotateX(4deg) rotateZ(-1.4deg);
  transition: transform .7s cubic-bezier(.2,.8,.3,1);
}
.phone:hover { transform: rotateY(-4deg) rotateX(2deg); }
@media (max-width: 900px) { .phone { transform: none; } }

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--foil-2), transparent);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-soft); margin-bottom: 0; font-size: .97rem; }

.card__ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 17px; flex: none;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  color: var(--accent);
}
.card__ico svg { width: 22px; height: 22px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: 'Newsreader', serif; font-size: 2.6rem; font-weight: 500; line-height: 1;
  background: linear-gradient(100deg, var(--foil-3), var(--foil-2) 45%, var(--foil-1));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step::after {
  content: ""; position: absolute; top: 20px; left: 3.1rem; right: -10px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.steps > .step:last-child::after { display: none; }
@media (max-width: 800px) { .step::after { display: none; } }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--text-soft); margin-bottom: 0; font-size: .97rem; }

/* ---------- download band ---------- */
.band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(42px, 6vw, 74px) clamp(24px, 5vw, 62px);
  background: linear-gradient(145deg,
      color-mix(in srgb, var(--accent) 92%, #000 8%),
      color-mix(in srgb, var(--accent-soft) 82%, #000 6%));
  color: var(--on-accent); text-align: center; box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .band {
  background: linear-gradient(145deg, #2E1F30, #3A2634 62%, #241826);
  border: 1px solid var(--line-strong);
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.075) 0 1.5px, transparent 1.5px 12px);
}
.band > * { position: relative; }
.band h2 { color: inherit; }
html[data-theme="dark"] .band h2 { color: var(--text); }
.band p { color: inherit; opacity: .92; max-width: 40em; margin-inline: auto; }
html[data-theme="dark"] .band p { color: var(--text-soft); opacity: 1; }
.band .btn { --btn-bg: var(--on-accent); --btn-fg: var(--accent); }
html[data-theme="dark"] .band .btn { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.band .btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }
/* Must restate --btn-bg: the dark ".band .btn" rule above outranks the plain
   ".band .btn--ghost" one, which would otherwise fill the ghost button gold
   and make the secondary CTA indistinguishable from the primary. */
html[data-theme="dark"] .band .btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); }
.band__cta { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 1.9rem; }

/* Links sit on the accent-filled band, so the default accent link colour would
   vanish into the background — inherit the band's own foreground instead. */
.band a:not(.btn) {
  color: inherit; text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
  text-underline-offset: 3px; font-weight: 700;
}
.band a:not(.btn):hover { text-decoration-color: currentColor; }
html[data-theme="dark"] .band a:not(.btn) { color: var(--accent); }

.band__legal { margin: .75rem 0 0 !important; font-size: .84rem; opacity: .8; }

/* ---------- footer ---------- */
.ftr { padding: clamp(46px, 6vw, 72px) 0 40px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.ftr__grid { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; align-items: flex-start; }
.ftr__brand { max-width: 21rem; }
.ftr__brand p { color: var(--text-soft); font-size: .93rem; margin: .85rem 0 0; }
.ftr__col h4 { font-family: 'Manrope', sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .62rem; }
.ftr__col a { color: var(--text-soft); text-decoration: none; font-size: .94rem; font-weight: 600; }
.ftr__col a:hover { color: var(--accent); }
.ftr__btm { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: var(--text-faint); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 5vw, 64px) 0 clamp(60px, 8vw, 96px); }
.legal__grid { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
/* minmax(0,…) not 1fr: a grid item defaults to min-width:auto and would refuse
   to shrink below the 480px min-width of the data tables, pushing the whole
   page into horizontal scroll on phones. The tables scroll inside .tbl-scroll. */
@media (max-width: 940px) { .legal__grid { grid-template-columns: minmax(0, 1fr); } }

.toc { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 18px 16px; box-shadow: var(--shadow-sm); }
@media (max-width: 940px) { .toc { position: static; } }
.toc h4 { font-family: 'Manrope', sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 .85rem; }
/* Section headings already carry their own numbers, so the list adds none. */
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a {
  display: block; padding: .38em .55em; border-radius: 8px;
  color: var(--text-soft); text-decoration: none; font-size: .86rem; font-weight: 600; line-height: 1.35;
}
.toc a:hover { background: var(--bg-alt); color: var(--accent); }

.doc { max-width: 66ch; min-width: 0; }
.doc__hd { margin-bottom: 2.4rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.doc__hd h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: .3em; }
.doc__meta { font-size: .86rem; color: var(--text-faint); margin: 0; }
.doc h2 {
  font-size: clamp(1.34rem, 2.5vw, 1.72rem); margin-top: 2.5em; margin-bottom: .55em;
  padding-top: .9rem; border-top: 1px solid var(--line); scroll-margin-top: 88px;
}
.doc h2:first-of-type { margin-top: 1.2em; }
.doc h3 { font-size: 1.09rem; margin-top: 1.7em; margin-bottom: .45em; }
.doc p, .doc li { color: var(--text-soft); }
.doc strong { color: var(--text); font-weight: 700; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1.15em; }
.doc li { margin-bottom: .5em; }
.doc li::marker { color: var(--accent-soft); }

.note {
  border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  padding: 1.05rem 1.25rem; margin: 0 0 1.6em;
}
.note p { margin: 0; color: var(--text); font-size: .95rem; }
.note p + p { margin-top: .6em; }

.tbl-scroll { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .92rem; }
th, td { text-align: left; padding: .78em .95em; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--text); background: var(--surface-2); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--text-soft); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.2,.8,.3,1), transform .75s cubic-bezier(.2,.8,.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .phone, .card, .btn { transition: none; }
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: .7em 1.2em; border-radius: 0 0 12px 0; font-weight: 700;
}
.skip:focus { left: 0; color: var(--on-accent); }

[hidden] { display: none !important; }
