/* ============================================================
   RoundBlitz — marketing site
   Palette mirrors the app (RoundBlitz/Helpers/Theme.swift)
   Type: Anton (impact display) · Hanken Grotesk (body) · JetBrains Mono (digits)
   ============================================================ */

:root {
  /* Phase accents — straight from the app */
  --fight:   #FF2D55;
  --prepare: #34C759;
  --rest:    #00D4FF;
  --warning: #FFB800;

  /* Signature flame gradient — from the app icon (red → orange) */
  --flame: linear-gradient(135deg, #FF2D55 0%, #FF5A36 55%, #FF7A2F 100%);
  --flame-soft: linear-gradient(135deg, rgba(255,45,85,.16), rgba(255,122,47,.10));

  /* Surfaces */
  --bg:            #0A0A0A;
  --surface:       #141414;
  --card:          #171717;
  --card-elevated: #202020;

  /* Text */
  --text:   #FFFFFF;
  --text-2: #A0A0A0;
  --text-3: #6A6A6A;
  --muted:  #444444;

  /* Lines */
  --border:        #2A2A2A;
  --border-strong: #383838;

  /* Type */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Rhythm */
  --maxw: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--fight); color: #fff; }

/* ---------- atmospherics ---------- */
/* Fixed grain + radial glow layer behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(255,45,85,.16), transparent 55%),
    radial-gradient(90% 70% at 8% 8%,  rgba(255,122,47,.08), transparent 50%),
    radial-gradient(70% 60% at 50% 108%, rgba(0,212,255,.05), transparent 55%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: .035; pointer-events: none; z-index: 0; mix-blend-mode: screen;
}

/* ---------- layout ---------- */
.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--fight); font-weight: 600;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--fight); opacity: .7; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: .96; letter-spacing: .01em; text-transform: uppercase; }
.gradient-text {
  background: var(--flame);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10,10,10,.72);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--border-strong), 0 6px 20px rgba(255,45,85,.25); }
.brand span { line-height: 1; padding-top: 3px; }
.brand b { color: var(--fight); font-weight: inherit; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: .93rem; color: var(--text-2); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links .btn-sm { color: #fff; }
@media (max-width: 840px) { .nav__links a:not(.btn-sm) { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  letter-spacing: .01em;
}
.btn--primary { background: var(--flame); color: #fff; box-shadow: 0 10px 30px -8px rgba(255,45,85,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255,45,85,.7); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-sm { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 100px; font-weight: 700; font-size: .9rem; background: var(--flame); box-shadow: 0 8px 22px -10px rgba(255,45,85,.6); transition: transform .18s; }
.btn-sm:hover { transform: translateY(-1px); }

/* App Store badge (self-contained, no external asset) */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 20px; border-radius: 14px;
  background: #fff; color: #000;
  transition: transform .18s, box-shadow .25s;
  box-shadow: 0 12px 34px -14px rgba(0,0,0,.9);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(255,45,85,.5); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore .as-txt small { font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; color: #333; font-weight: 600; }
.appstore .as-txt strong { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; font-family: var(--font-body); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 76px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); margin: 22px 0 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero__sub { font-size: 1.22rem; color: var(--text-2); max-width: 30ch; margin-top: 22px; line-height: 1.5; }
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero__meta { margin-top: 22px; display: flex; align-items: center; gap: 18px; color: var(--text-3); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; flex-wrap: wrap; }
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.hero__meta b { color: var(--prepare); font-weight: 600; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__sub { max-width: 46ch; }
  .hero__phone { margin: 20px auto 0; }
}

/* ---------- phone mockup ---------- */
.hero__phone { justify-self: center; position: relative; }
.phone {
  width: 300px; aspect-ratio: 300 / 620;
  background: #000; border-radius: 46px;
  padding: 11px;
  box-shadow:
    0 0 0 2px #1c1c1c,
    0 0 0 11px #0d0d0d,
    0 0 0 12px #262626,
    0 50px 90px -30px rgba(0,0,0,.9),
    0 0 120px -20px rgba(255,45,85,.35);
  position: relative;
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #000; border-radius: 20px; z-index: 3; }
.phone__screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #1a0d10, var(--bg) 60%);
  display: flex; flex-direction: column; align-items: center;
  padding: 46px 20px 26px; position: relative;
}
.scr__phase { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .12em; color: var(--fight); text-shadow: 0 0 24px rgba(255,45,85,.6); }
.scr__ring { position: relative; width: 200px; height: 200px; margin: 22px 0; }
.scr__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scr__ring .track { fill: none; stroke: #232323; stroke-width: 9; }
.scr__ring .prog { fill: none; stroke: var(--fight); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 534; stroke-dashoffset: 150; filter: drop-shadow(0 0 6px rgba(255,45,85,.7)); animation: ringPulse 3.4s ease-in-out infinite; }
@keyframes ringPulse { 0%,100% { stroke-dashoffset: 175; } 50% { stroke-dashoffset: 120; } }
.scr__ctr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.scr__time { font-family: var(--font-mono); font-size: 2.9rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.scr__round { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; color: var(--text-3); margin-top: 2px; }
.scr__controls { display: flex; gap: 16px; margin-top: 6px; }
.scr__controls span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1c1c1c; border: 1px solid var(--border); color: var(--text-2); font-size: 1rem; }
.scr__controls span.play { background: var(--flame); color: #fff; border: none; box-shadow: 0 8px 20px -6px rgba(255,45,85,.6); }
.scr__gesture { margin-top: auto; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; color: var(--prepare); text-transform: uppercase; }
.scr__gesture .live { width: 6px; height: 6px; border-radius: 50%; background: var(--prepare); box-shadow: 0 0 8px var(--prepare); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* floating gesture chips around phone */
.float-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 100px;
  background: rgba(20,20,20,.9); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.9);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .em { font-size: 1.15rem; }
.float-chip--a { top: 14%; left: -46px; }
.float-chip--b { top: 46%; right: -54px; animation-delay: -1.6s; }
.float-chip--c { bottom: 15%; left: -40px; animation-delay: -3.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 520px) { .float-chip { display: none; } .phone { width: 264px; } }

/* ---------- logo ticker (bell sounds) ---------- */
.ticker { border-block: 1px solid var(--border); margin-top: 46px; padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__row { display: flex; gap: 56px; width: max-content; animation: scroll 26s linear infinite; }
.ticker__row span { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .08em; color: var(--text-3); display: inline-flex; align-items: center; gap: 56px; text-transform: uppercase; }
.ticker__row span::after { content: "•"; color: var(--fight); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   GESTURE — signature section
   ============================================================ */
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 18px 0 16px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.pad { padding: 96px 0; }

.gesture { position: relative; }
.gesture__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.gesture__copy h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 18px 0 20px; }
.gesture__copy p { color: var(--text-2); font-size: 1.16rem; max-width: 42ch; }
.gesture__copy .hint { margin-top: 20px; font-family: var(--font-mono); font-size: .82rem; color: var(--text-3); letter-spacing: .02em; }
.gesture__copy .hint code { color: var(--rest); }

.gmap { display: flex; flex-direction: column; gap: 14px; }
.gmap__row {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; transition: transform .25s, border-color .25s, background .25s;
}
.gmap__row:hover { transform: translateX(8px); border-color: var(--border-strong); background: var(--card-elevated); }
.gmap__em { font-size: 2.1rem; width: 56px; height: 56px; display: grid; place-items: center; background: var(--bg); border-radius: 14px; border: 1px solid var(--border); flex: none; }
.gmap__txt { flex: 1; }
.gmap__txt b { display: block; font-size: 1.05rem; font-weight: 700; }
.gmap__txt small { color: var(--text-3); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.gmap__arrow { color: var(--muted); font-size: 1.2rem; }
.gmap__action { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .04em; color: var(--text); text-transform: uppercase; }
.gmap__row:hover .gmap__action { color: var(--fight); }

/* ============================================================
   AT A GLANCE (definition + spec table)
   ============================================================ */
.glance { border-top: 1px solid var(--border); }
.glance__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.glance__lead { font-size: 1.5rem; line-height: 1.45; color: var(--text); margin-top: 18px; max-width: 24ch; font-weight: 500; }
.glance__lead strong { color: var(--fight); font-weight: 700; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec > div { background: var(--card); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.spec dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.spec dd { font-size: 1.02rem; font-weight: 600; color: var(--text); }
@media (max-width: 700px) { .glance__grid { grid-template-columns: 1fr; gap: 34px; } .glance__lead { font-size: 1.3rem; max-width: none; } }

/* ============================================================
   TABATA INTERVAL STRIP
   ============================================================ */
.tabata-strip { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--card); }
.ts__row { display: flex; gap: 3px; height: 74px; }
.ts__seg { border-radius: 5px; display: grid; place-items: center; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; min-width: 0; overflow: hidden; transition: transform .2s; }
.ts__seg:hover { transform: translateY(-3px); }
.ts__work { background: linear-gradient(180deg, var(--fight), #d81f44); color: #fff; box-shadow: 0 6px 18px -8px rgba(255,45,85,.9); }
.ts__rest { background: rgba(0,212,255,.16); border: 1px solid rgba(0,212,255,.4); color: var(--rest); }
.ts__seg span { opacity: .95; }
.ts__legend { display: flex; align-items: center; gap: 22px; margin-top: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--text-3); text-transform: uppercase; }
.ts__legend span { display: inline-flex; align-items: center; gap: 8px; }
.ts__dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.ts__dot--work { background: var(--fight); }
.ts__dot--rest { background: rgba(0,212,255,.5); border: 1px solid rgba(0,212,255,.6); }
.ts__total { margin-left: auto; color: var(--text); font-weight: 600; }
@media (max-width: 700px) {
  .ts__row { height: 56px; gap: 2px; }
  .ts__seg { font-size: .5rem; border-radius: 3px; }
  .ts__total { margin-left: 0; }
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features { background: linear-gradient(180deg, transparent, rgba(255,255,255,.012)); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.fcard::before { content: ""; position: absolute; inset: 0; background: var(--flame-soft); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fcard:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.fcard:hover::before { opacity: 1; }
.fcard__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px; background: var(--bg); border: 1px solid var(--border); position: relative; }
.fcard h3 { font-size: 1.5rem; letter-spacing: .02em; margin-bottom: 10px; position: relative; }
.fcard p { color: var(--text-2); font-size: .98rem; position: relative; }
.fcard--wide { grid-column: span 2; }
.fcard .tag { position: absolute; top: 26px; right: 26px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--prepare); border: 1px solid rgba(52,199,89,.3); padding: 3px 9px; border-radius: 100px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } .fcard--wide { grid-column: span 2; } }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } .fcard--wide { grid-column: span 1; } .gesture__grid { grid-template-columns: 1fr; gap: 34px; } }

/* ============================================================
   PRESETS
   ============================================================ */
.presets__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preset {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  background: var(--card); position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.preset:hover { transform: translateY(-6px); border-color: var(--accent, var(--fight)); }
.preset__bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent, var(--fight)); }
.preset__name { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .02em; }
.preset__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, var(--fight)); margin-bottom: 4px; }
.preset__big { font-family: var(--font-mono); font-size: 3.1rem; font-weight: 700; margin: 18px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.preset__big small { font-size: 1rem; color: var(--text-3); font-weight: 500; }
.preset__specs { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; border-top: 1px solid var(--border); padding-top: 18px; }
.preset__link { display: inline-block; margin-top: 16px; font-size: .88rem; font-weight: 700; color: var(--accent, var(--fight)); transition: gap .2s, opacity .2s; }
.preset__link:hover { opacity: .75; }
.preset__specs div { display: flex; justify-content: space-between; font-size: .9rem; }
.preset__specs span { color: var(--text-3); }
.preset__specs b { font-family: var(--font-mono); font-weight: 600; }
@media (max-width: 800px) { .presets__grid { grid-template-columns: 1fr; } }

/* ============================================================
   OWN IT — pricing
   ============================================================ */
.own { text-align: center; }
.own__card {
  max-width: 640px; margin-inline: auto;
  background: linear-gradient(180deg, var(--card-elevated), var(--card));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 56px 40px; position: relative; overflow: hidden;
}
.own__card::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,45,85,.28), transparent 70%); filter: blur(20px); }
.own__badge { position: relative; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--prepare); }
.own__card h2 { position: relative; font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 16px 0 12px; }
.own__card p { position: relative; color: var(--text-2); font-size: 1.12rem; max-width: 40ch; margin: 0 auto 30px; }
.own__list { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto 34px; text-align: left; }
.own__list li { list-style: none; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: .98rem; }
.own__list li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--prepare); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }
.own__cta { position: relative; display: inline-flex; }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final { text-align: center; padding: 110px 0; }
.final h2 { font-size: clamp(3rem, 9vw, 6.5rem); }
.final p { color: var(--text-2); font-size: 1.2rem; margin: 20px auto 36px; max-width: 34ch; }

.footer { border-top: 1px solid var(--border); padding: 54px 0 40px; }
.footer__grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 300px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__brand p { color: var(--text-3); font-size: .9rem; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; color: var(--text-2); font-size: .95rem; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--fight); }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: .84rem; font-family: var(--font-mono); letter-spacing: .02em; }

/* ============================================================
   CONTENT PAGES (privacy / support)
   ============================================================ */
.page { padding: 70px 0 40px; }
.page__head { max-width: 760px; margin-bottom: 40px; }
.page__head h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 16px 0 10px; }
.page__head p { color: var(--text-3); font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; letter-spacing: .02em; margin: 44px 0 14px; color: var(--text); }
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; text-transform: none; letter-spacing: 0; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 1.02rem; margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--rest); border-bottom: 1px solid rgba(0,212,255,.3); }
.prose strong { color: var(--text); }
.callout { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--prepare); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.callout p { margin: 0; color: var(--text-2); }

/* embedded contact form (ravolti) */
.form-embed { position: relative; }
.form-embed iframe { display: block; width: 100%; min-height: 620px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: 0 24px 60px -28px rgba(0,0,0,.85); }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq summary { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--fight); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin-top: 14px; max-width: 68ch; }

/* contact row */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.contact a { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform .25s, border-color .25s; }
.contact a:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.contact .ci { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border); font-size: 1.3rem; flex: none; }
.contact b { display: block; font-size: 1.02rem; }
.contact small { color: var(--text-3); font-family: var(--font-mono); font-size: .82rem; }
@media (max-width: 600px) { .contact { grid-template-columns: 1fr; } }

/* ---------- reveal on load ---------- */
.reveal { opacity: 0; transform: translateY(26px); animation: reveal .8s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; } .d6 { animation-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
