/* ============================================================================
   Parkane / ParkNet — Design tokens
   Source of truth: parknet_app/lib/widgets/system/app_colors.dart
                    parknet_app/lib/widgets/system/text_styles.dart
                    parknet_app/lib/config/theme.dart
   ============================================================================ */

/* ----- Fonts ----- */
/* Teachers — primary UI sans (Lato-ish humanist).
   Gilroy — display / titles / accent (geometric).
   ProductSans — secondary body (kept for legacy parity).
   ParkcoinIcons — proprietary icon font from the app. */
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-400.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-400-italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-500.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-500-italic.ttf") format("truetype");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-600.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-600-italic.ttf") format("truetype");
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-700.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-700-italic.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-800.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Teachers";
  src: url("../assets/fonts/Teachers-800-italic.ttf") format("truetype");
  font-weight: 800; font-style: italic; font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-500.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-700.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Product Sans";
  src: url("../assets/fonts/ProductSans-400.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "ParkcoinIcons";
  src: url("../assets/fonts/ParkcoinIcons-400.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* ---------- Brand colors (literal port from app_colors.dart) ---------- */
  --primary:           #0F6EFF; /* AppColors.primary — electric blue, CTA */
  --primary-dark:      #465D91; /* slate-blue, secondary headings */
  --primary-highlight: #023B80; /* deep navy — page titles, primary text on cards */
  --primary-tint:      rgba(15, 110, 255, 0.06); /* card border / soft shadow tint */

  --secondary:           #8193AE; /* muted blue-grey */
  --background:          #F5F5F5;
  --background-secondary:#F6F7FB; /* default screen bg */
  --background-highlight:rgba(115, 124, 206, 0.10);

  --text-header:    #212121; /* near-black, used for hero titles like "Welcome Back!" */
  --text-primary:   #455A64; /* main body color */
  --text-secondary: #8193AE; /* captions, hints */

  --disabled: rgba(129, 147, 174, 0.10);
  --danger:   #FF4883; /* hot pink-red — errors AND surcharge / penalty */
  --success:  #27AE60;
  --reward-blue: #5341EA;

  /* Yellow/orange family — parkcoin & jackpot */
  --jackpot-yellow: #FF4C00; /* actually orange-red; jackpot accent */
  --amber:       #FFC107;
  --dark-orange: #FF8C00;

  --outline:      #DDDADA;
  --shadow-black: rgba(29, 22, 23, 0.11); /* 0x1c1D1617 */
  --white: #FFFFFF;

  /* ---------- Brand gradients ---------- */
  /* App icon mark — blue→magenta cycle. Used on parkcoin glyph. */
  --grad-parkcoin: linear-gradient(135deg, #2D9CFF 0%, #B14CFF 50%, #FF4883 100%);
  /* Balance / coin display (UserSummaryCard) */
  --grad-balance:  linear-gradient(90deg, #FFC107 0%, #FF8C00 100%);
  /* Parkcoin themed circles (silver/blue/green/red/yellow) */
  --grad-coin-blue:   linear-gradient(135deg, #2D9CFF, #0052CC);
  --grad-coin-green:  linear-gradient(135deg, #2DE58D, #00B686);
  --grad-coin-red:    linear-gradient(135deg, #FF6F6F, #E62222);
  --grad-coin-yellow: linear-gradient(135deg, #FFE082, #FFA000);
  --grad-coin-silver: linear-gradient(135deg, #BFC8D0, #5A6A7A);

  /* ---------- Type families ---------- */
  --font-sans:    "Teachers", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Gilroy", "Teachers", system-ui, sans-serif;
  --font-product: "Product Sans", "Teachers", system-ui, sans-serif;
  --font-icon:    "ParkcoinIcons";

  /* ---------- Type scale (from TextStyles) ---------- */
  --fs-header-big:    24px; /* fontSizeHeaderBig   — page titles */
  --fs-header-normal: 20px; /* fontSizeHeaderNormal */
  --fs-header-small:  18px;
  --fs-body-normal:   16px;
  --fs-body-small:    14px;
  --fs-caption:       10px;

  /* ---------- Spacing (multiples of 4; common values in code: 4 / 8 / 12 / 16 / 24) ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Screen padding (AppScreen.screenHorizontalPadding) */
  --screen-pad-x: 24px;

  /* ---------- Radius ---------- */
  --radius-pill:  9999px;
  --radius-sm:    8px;
  --radius-md:    12px;  /* StatsCard, sheets */
  --radius-lg:    16px;  /* CardButton, TextField, card top */
  --radius-xl:    20px;
  --radius-card-top: 16px 16px 0 0; /* bottom-sheet style (StaticCard) */

  /* ---------- Borders ---------- */
  --border-field: 1px solid rgba(15, 110, 255, 0.10); /* primary @ 10% — TextFieldWrapper */
  --border-field-error: 1.5px solid var(--danger);

  /* ---------- Shadows (CardConstants.cardShadow — layered) ---------- */
  --shadow-card:
      0 4px 16px 0 rgba(29, 22, 23, 0.10),
      0 2px  8px 0 rgba(29, 22, 23, 0.10),
      0 1px  4px 0 rgba(29, 22, 23, 0.05);
  --shadow-field: 0 2px 1px 0 rgba(15, 110, 255, 0.05);
  --shadow-elev:  0 4px 10px 0 var(--primary-tint); /* UserSummary stats box */

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-decel: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:   180ms;   /* CardButton press / AnimatedSwitcher */
  --dur-normal: 250ms;   /* keyboard scroll-into-view */
  --dur-balance: 800ms;  /* AnimatedBalanceText, map fly */
  --dur-spin:    3000ms; /* ParkcoinSpinner rotation */
}

/* ============================================================================
   Semantic element styles — apply these directly when scaffolding a screen.
   ============================================================================ */

html, body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--background-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page / screen title (e.g. profile "Hello, Name", "Settings") — Gilroy */
h1, .h1, .display-large {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-header-big);
  color: var(--primary-dark);
  letter-spacing: -0.01em;
  margin: 0;
}

/* Section / card titles — Teachers extra-bold, navy */
h2, .h2, .title-medium {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-header-normal);
  color: var(--primary-highlight);
  margin: 0;
}

h3, .h3, .title-small {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-header-small);
  color: var(--primary-highlight);
  margin: 0;
}

/* Hero / auth screen title — Welcome Back! */
.display-hero {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-header);
}

p, .body, .body-normal {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-normal);
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0;
}

.body-small {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-small);
  color: var(--text-secondary);
  line-height: 1.45;
}

.body-secondary {
  font-family: var(--font-sans);
  font-size: var(--fs-body-small);
  color: var(--secondary);
}

.body-danger {
  font-family: var(--font-sans);
  font-size: var(--fs-body-normal);
  color: var(--danger);
}

.caption {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: var(--fs-caption);
  color: var(--text-secondary);
}

/* Button label — labelLarge */
.label-large {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-body-normal);
  color: var(--primary-highlight);
}

/* Stat caption — under stat circles in profile */
.label-caption {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-caption);
  color: var(--primary-highlight);
  line-height: 1.2;
}

/* Money/balance treatment — gold gradient text */
.money {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  background: var(--grad-balance);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ============================================================================
   ELEGANT SYSTEM — canonical refinement layer (replaces bold base palette).
   Source of truth: design-system/elegant_theme.dart (Flutter)
   Import this file once and all --el-* tokens are available everywhere.
   ============================================================================ */
:root {
  /* ---- Ink / text ---- */
  --el-ink:    #1B335F; /* titles, numerals, address */
  --el-ink2:   #4A5A77; /* body copy */
  --el-muted:  #94A1B8; /* captions, hints */
  --el-faint:  #C3CCDB; /* unknown / disabled glyphs */

  /* ---- Surfaces ---- */
  --el-white:  #FFFFFF; /* ALL cards & sheets — never tinted */
  --el-line:   rgba(20, 40, 80, 0.08); /* 1px hairline border */
  --el-paper:  #FBFAF7; /* faint sheet tint */
  --el-canvas: #FFFFFF; /* white screen / map background */

  /* ---- Primary blue (softer than legacy #0F6EFF) ---- */
  --el-blue:      #2F73E6;
  --el-blue-soft: rgba(47, 115, 230, 0.10);

  /* ---- Success green ---- */
  --el-green:      #3AAE7A;
  --el-green-soft: rgba(58, 174, 122, 0.12);
  --el-green-ink:  #2C8B61;

  /* ---- Amber — calm caution (replaces alarm red / hot pink) ---- */
  --el-amber:      #E89A3C;
  --el-amber-soft: rgba(232, 154, 60, 0.13);
  --el-amber-ink:  #B26B12;

  /* ---- Gold — ParkCoin / jackpot ---- */
  --el-gold-soft: rgba(244, 180, 60, 0.16);
  --el-gold-ink:  #B26B12;

  /* ---- Type (families defined above) ---- */
  --el-font-display: "Gilroy", "Teachers", system-ui, sans-serif;
  --el-font-sans:    "Teachers", system-ui, sans-serif;

  /* ---- Radius ---- */
  --el-r-card:   16px; /* white cards, recaps, reassurance strips */
  --el-r-sheet:  32px; /* docked bottom-sheet top corners */
  --el-r-button: 16px; /* primary / ghost CTA */
  --el-r-field:  12px; /* ETA / spec strips */
  --el-r-pill:   999px; /* chips, badges, price / balance pills */

  /* ---- Elevation ---- */
  --el-shadow-sheet:    0 -10px 30px rgba(20, 40, 60, 0.10);
  --el-shadow-floating: 0 6px 16px rgba(20, 40, 60, 0.16);
  --el-shadow-cta:      0 6px 16px rgba(47, 115, 230, 0.26);

  /* ---- Spacing (4-base) ---- */
  --el-s1: 4px; --el-s2: 8px; --el-s3: 12px;
  --el-s4: 16px; --el-s5: 20px; --el-s6: 24px;

  /* ---- Motion ---- */
  --el-ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --el-dur-fast:  180ms;
  --el-dur-normal: 320ms;
}


/* ============================================================================
   Parkane — "Elegant" design system · CANONICAL (web / in-project reuse)
   Pairs with elegant_theme.dart. Import AFTER colors_and_type.css (for fonts).
   Mirror of the EL palette used across the elegant booking/handshake screens.
   ============================================================================ */

:root {
  /* ---- Ink / text ---- */
  --el-ink:    #1B335F; /* titles, address, primary numerals */
  --el-ink2:   #4A5A77; /* body copy */
  --el-muted:  #94A1B8; /* captions, hints */
  --el-faint:  #C3CCDB; /* unknown / disabled glyphs */

  /* ---- Surfaces / structure ---- */
  --el-white:  #FFFFFF; /* ALL cards & sheets are white */
  --el-line:   rgba(20, 40, 80, 0.08); /* hairline border */
  --el-paper:  #FBFAF7; /* faint sheet tint */
  --el-canvas: #FFFFFF; /* white screen background */

  /* ---- Primary blue (softer than legacy #0F6EFF) ---- */
  --el-blue:      #2F73E6;
  --el-blue-soft: rgba(47, 115, 230, 0.10);

  /* ---- Success green ---- */
  --el-green:      #3AAE7A;
  --el-green-soft: rgba(58, 174, 122, 0.12);
  --el-green-ink:  #2C8B61;

  /* ---- Amber — calm caution (replaces alarm red / hot pink) ---- */
  --el-amber:      #E89A3C;
  --el-amber-soft: rgba(232, 154, 60, 0.13);
  --el-amber-ink:  #B26B12;

  /* ---- Gold — ParkCoin / jackpot ---- */
  --el-gold-soft: rgba(244, 180, 60, 0.16);
  --el-gold-ink:  #B26B12;

  /* ---- Type families (defined in colors_and_type.css) ---- */
  --el-font-display: "Gilroy", "Teachers", system-ui, sans-serif; /* titles + numerals */
  --el-font-sans:    "Teachers", system-ui, sans-serif;           /* body, labels, buttons */

  /* ---- Radius ---- */
  --el-r-card:   16px;
  --el-r-sheet:  32px;
  --el-r-button: 16px;
  --el-r-field:  12px;
  --el-r-pill:   999px;

  /* ---- Elevation (cards read via hairline, not shadow) ---- */
  --el-shadow-sheet:    0 -10px 30px rgba(20, 40, 60, 0.10);
  --el-shadow-floating: 0 6px 16px rgba(20, 40, 60, 0.16);
  --el-shadow-cta:      0 6px 16px rgba(47, 115, 230, 0.26);

  /* ---- Spacing (4-base) ---- */
  --el-s1: 4px; --el-s2: 8px; --el-s3: 12px; --el-s4: 16px; --el-s5: 20px; --el-s6: 24px;

  /* ---- Motion ---- */
  --el-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --el-dur-fast: 180ms;
  --el-dur-normal: 320ms;
}

/* ============================================================================
   Component classes — minimal, composable. Mirror the React primitives.
   ============================================================================ */

/* White hairline card — the base surface for everything */
.el-card {
  background: var(--el-white);
  border-radius: var(--el-r-card);
  box-shadow: inset 0 0 0 1px var(--el-line);
}

/* Eyebrow / chip — tinted pill, dot + tracked uppercase label */
.el-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: var(--el-r-pill);
  background: var(--el-blue-soft);
}
.el-chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--el-blue); flex-shrink: 0;
}
.el-chip > span {
  font: 700 12px var(--el-font-sans); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--el-blue);
}
.el-chip.is-green  { background: var(--el-green-soft); }
.el-chip.is-green::before  { background: var(--el-green-ink); }
.el-chip.is-green > span   { color: var(--el-green-ink); }
.el-chip.is-amber  { background: var(--el-amber-soft); }
.el-chip.is-amber::before  { background: var(--el-amber-ink); }
.el-chip.is-amber > span   { color: var(--el-amber-ink); }

/* Price pill — gold tint, coin + numeral */
.el-price-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 8px; border-radius: var(--el-r-pill);
  background: var(--el-gold-soft);
}
.el-price-pill .el-amount {
  font: 500 20px var(--el-font-display); letter-spacing: -0.01em;
  color: var(--el-gold-ink); font-variant-numeric: tabular-nums;
}

/* Primary CTA — solid blue */
.el-btn {
  width: 100%; height: 56px; border: 0; cursor: pointer;
  border-radius: var(--el-r-button); background: var(--el-blue); color: #fff;
  box-shadow: var(--el-shadow-cta);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px var(--el-font-sans); letter-spacing: 0.005em;
}

/* Ghost / cancel — calm amber outline on white */
.el-btn-ghost {
  width: 100%; height: 52px; cursor: pointer;
  border-radius: var(--el-r-button);
  border: 1.5px solid var(--el-amber-soft); background: #fff;
  color: var(--el-amber-ink); font: 700 16px var(--el-font-sans);
}

/* Inset strip — ETA / spec rows live inside white cards */
.el-strip {
  background: #fff; border-radius: var(--el-r-field);
  box-shadow: inset 0 0 0 1px var(--el-line); padding: 12px 16px;
}


/* fallback */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  src: url("../assets/fonts/MaterialSymbolsRounded-400.woff2") format('woff2');
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


/* ============================================================================
   Parkane — Landing page styles.  Elegant system (canonical).
   Pairs with design-system/colors_and_type.css + design-system/elegant.css.
   Colour rides on ink/icons/text; surfaces stay white with hairline borders.
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--el-canvas);
  color: var(--el-ink2);
  font-family: var(--el-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- Accent system (tweakable) ---- */
:root {
  --accent:      var(--el-blue);
  --accent-soft: var(--el-blue-soft);
  --accent-ink:  #2F73E6;
}
[data-accent="green"] { --accent: var(--el-green); --accent-soft: var(--el-green-soft); --accent-ink: var(--el-green-ink); }
[data-accent="gold"]  { --accent: #C98A2E;         --accent-soft: var(--el-gold-soft);  --accent-ink: var(--el-gold-ink); }

/* ---- Shared shell ---- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-tint { background: var(--el-white); border-top: 1px solid var(--el-line); border-bottom: 1px solid var(--el-line); }

a { color: var(--el-blue); text-decoration: none; }
a:hover { color: #1E5FCC; }

img { max-width: 100%; display: block; }

.msr {
  font-family: 'Material Symbols Rounded' !important; font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap;
  -webkit-font-smoothing: antialiased; user-select: none;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---- Eyebrow / section heading ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px var(--el-font-sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-title {
  font: 600 clamp(30px, 4vw, 44px)/1.06 var(--el-font-display);
  color: var(--el-ink); letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
.sec-sub {
  font: 500 17px/1.6 var(--el-font-sans); color: var(--el-ink2);
  margin: 18px auto 0; max-width: 600px; text-wrap: pretty;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border: 0; border-radius: var(--el-r-button);
  font: 700 15.5px var(--el-font-sans); letter-spacing: 0.005em; cursor: pointer;
  white-space: nowrap; transition: transform .18s var(--el-ease-out), box-shadow .18s var(--el-ease-out), background .18s;
}
.btn-primary { background: var(--el-blue); color: #fff; box-shadow: var(--el-shadow-cta); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47,115,230,0.34); color: #fff; }
.btn-ghost {
  background: #fff; color: var(--el-ink);
  box-shadow: inset 0 0 0 1.5px var(--el-line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--el-blue-soft); transform: translateY(-2px); color: var(--el-ink); }
.btn .msr { font-size: 20px; }

/* ============================================================================
   HEADER
   ============================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--el-line); box-shadow: 0 6px 20px rgba(20,40,60,0.05); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 3px 8px rgba(20,40,60,0.18); }
.brand .name {
  font: 700 23px var(--el-font-display); letter-spacing: -0.02em;
  background: var(--grad-parkcoin); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  font: 600 14.5px var(--el-font-sans); color: var(--el-ink2); white-space: nowrap;
  padding: 9px 13px; border-radius: 9px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--el-ink); background: var(--el-blue-soft); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Language selector */
.lang {
  position: relative; display: inline-flex;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font: 700 14px var(--el-font-sans); color: var(--el-ink2);
  box-shadow: inset 0 0 0 1px var(--el-line); transition: background .15s, box-shadow .15s;
}
.lang-btn:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--el-blue-soft); }
.lang-btn .msr { font-size: 18px; color: var(--el-muted); }
.lang-btn .caret { font-size: 18px; margin-left: -2px; transition: transform .18s; }
.lang.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  background: #fff; border-radius: 14px; padding: 6px;
  box-shadow: 0 16px 40px rgba(20,40,60,0.16), inset 0 0 0 1px var(--el-line);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .16s var(--el-ease-out), transform .16s var(--el-ease-out), visibility .16s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 0; background: transparent; cursor: pointer; padding: 9px 11px; border-radius: 9px;
  font: 600 14px var(--el-font-sans); color: var(--el-ink); transition: background .12s;
}
.lang-menu button:hover { background: var(--el-blue-soft); }
.lang-menu button .flag { font-size: 15px; }
.lang-menu button .code { margin-left: auto; font: 700 11px var(--el-font-sans); color: var(--el-muted); letter-spacing: .04em; }
.lang-menu button[aria-current="true"] { background: var(--el-blue-soft); color: var(--el-blue); }
.lang-menu button[aria-current="true"] .code { color: var(--el-blue); }

.header-cta { height: 42px; padding: 0 18px; font-size: 14.5px; }

.menu-toggle { display: none; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px 380px at 82% 8%, var(--el-blue-soft), transparent 70%),
    radial-gradient(560px 320px at 6% 92%, rgba(58,174,122,0.07), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font: 600 clamp(38px, 5.2vw, 62px)/1.02 var(--el-font-display);
  color: var(--el-ink); letter-spacing: -0.025em; margin: 20px 0 0; text-wrap: balance;
}
.hero h1 .u { color: var(--el-blue); }
.hero-sub {
  font: 500 18.5px/1.6 var(--el-font-sans); color: var(--el-ink2);
  margin: 22px 0 0; max-width: 520px; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font: 600 13.5px var(--el-font-sans); color: var(--el-muted);
}
.hero-note .msr { font-size: 17px; color: var(--el-green); }

/* App store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px; height: 54px; padding: 0 18px 0 16px;
  border-radius: 13px; background: var(--el-ink); color: #fff;
  transition: transform .18s var(--el-ease-out), box-shadow .18s var(--el-ease-out);
  box-shadow: 0 6px 16px rgba(20,40,60,0.18);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,40,60,0.26); color: #fff; }
.store-badge .msr { font-size: 27px; }
.store-badge .bt { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .bt small { font: 500 10px var(--el-font-sans); letter-spacing: 0.04em; opacity: 0.72; text-transform: uppercase; }
.store-badge .bt b { font: 700 17px var(--el-font-display); letter-spacing: -0.01em; }

/* ---- Hero visual stage ---- */
.hero-visual { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; }
.hv { display: none; width: 100%; }
[data-hero="phone"]        .hv-phone,
[data-hero="illustration"] .hv-illustration,
[data-hero="map"]          .hv-map,
[data-hero="mix"]          .hv-mix { display: block; }

/* ============================================================================
   PHONE MOCKUP  (shared by hero + mix)
   ============================================================================ */
.phone {
  position: relative; width: 300px; margin: 0 auto;
  background: #0E1B33; border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 80px rgba(14,27,51,0.30), 0 12px 30px rgba(14,27,51,0.20), inset 0 0 0 1.5px rgba(255,255,255,0.06);
}
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 28px; background: #0E1B33; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone-screen {
  position: relative; border-radius: 33px; overflow: hidden; background: #fff;
  aspect-ratio: 300 / 620; display: flex; flex-direction: column;
}
.phone-status {
  position: absolute; top: 0; left: 0; right: 0; height: 46px; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 0 24px 6px;
  font: 700 13px var(--el-font-sans); color: var(--el-ink);
}
.phone-status .ind { display: inline-flex; gap: 5px; align-items: center; }
.phone-status .ind .msr { font-size: 15px; }

/* mini map */
.mini-map { position: relative; flex: 1; background: #F3F5F9; overflow: hidden; }
.mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-pin {
  position: absolute; transform: translate(-50%, -100%);
  width: 30px; height: 30px; z-index: 2;
}
.mini-pin .drop {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  background: var(--el-blue); box-shadow: 0 6px 14px rgba(47,115,230,0.4);
  display: flex; align-items: center; justify-content: center;
}
.mini-pin .drop .msr { transform: rotate(45deg); color: #fff; font-size: 16px; }
.mini-pin.is-gold .drop { background: #E7A93C; box-shadow: 0 6px 14px rgba(200,138,46,0.4); }
.mini-pin .pulse {
  position: absolute; left: 50%; top: 30px; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--el-blue); opacity: 0.18; animation: pinpulse 2.4s var(--el-ease-out) infinite;
}
@keyframes pinpulse { 0% { transform: scale(0.4); opacity: 0.34; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mini-pin .pulse { animation: none; opacity: 0.16; } }

/* mini reserve card docked at bottom of phone */
.mini-card {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  background: #fff; border-radius: 22px; padding: 15px 15px 16px;
  box-shadow: 0 -8px 24px rgba(20,40,60,0.10), inset 0 0 0 1px var(--el-line);
}
.mini-card .grab { width: 34px; height: 4px; border-radius: 999px; background: var(--el-line); margin: -5px auto 12px; }
.mini-card .mc-row { display: flex; align-items: center; gap: 10px; }
.mini-card .mc-ic {
  width: 38px; height: 38px; border-radius: 11px; background: var(--el-blue-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mini-card .mc-ic .msr { color: var(--el-blue); font-size: 21px; }
.mini-card .mc-t { min-width: 0; }
.mini-card .mc-t b { display: block; font: 700 14px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em; }
.mini-card .mc-t span { font: 500 11.5px var(--el-font-sans); color: var(--el-muted); }
.mini-card .mc-price {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--el-gold-soft);
  font: 500 15px var(--el-font-display); color: var(--el-gold-ink); flex-shrink: 0;
}
.mini-card .mc-price .pc-ic, .float-chip .pc-ic { flex-shrink: 0; display: block; }
.mini-card .mc-cta {
  margin-top: 13px; height: 42px; border-radius: 13px; background: var(--el-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font: 700 14px var(--el-font-sans); box-shadow: 0 6px 14px rgba(47,115,230,0.28);
}
.mini-card .mc-cta .msr { font-size: 18px; }

/* Floating chips around the phone */
.float-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 15px; padding: 11px 15px;
  box-shadow: 0 14px 30px rgba(20,40,60,0.16), inset 0 0 0 1px var(--el-line);
}
.float-chip .fc-ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-chip .fc-ic.blue { background: var(--el-blue-soft); } .float-chip .fc-ic.blue .msr { color: var(--el-blue); }
.float-chip .fc-ic.green { background: var(--el-green-soft); } .float-chip .fc-ic.green .msr { color: var(--el-green-ink); }
.float-chip .fc-ic.gold { background: var(--el-gold-soft); }
.float-chip .fc-ic .msr { font-size: 18px; }
.float-chip .fc-t { line-height: 1.15; }
.float-chip .fc-t small { display: block; font: 600 10.5px var(--el-font-sans); color: var(--el-muted); }
.float-chip .fc-t b { font: 700 14px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em; }
.float-chip .coin-amt { font-variant-numeric: tabular-nums; }

.hv-phone { position: relative; }
.hv-phone .float-chip.fc-1 { top: 40px; left: -6px; }
.hv-phone .float-chip.fc-2 { bottom: 74px; right: -10px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-chip { animation: floaty 5s ease-in-out infinite; }
.float-chip.fc-2 { animation-delay: 1.4s; }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

/* ---- Illustration hero ---- */
.hv-illustration { text-align: center; }
.hv-illustration .illus-frame { position: relative; display: inline-block; }
.hv-illustration img.illus { width: min(100%, 560px); filter: drop-shadow(0 30px 50px rgba(20,40,60,0.14)); }
.hv-illustration .float-chip.fi-1 { position: absolute; top: 8%; right: -4px; }
.hv-illustration .float-chip.fi-2 { position: absolute; bottom: 12%; left: -8px; }

/* ---- Map hero ---- */
.hv-map .map-panel {
  position: relative; width: 100%; aspect-ratio: 5 / 4.4; max-width: 560px; margin: 0 auto;
  background: #F3F5F9; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(20,40,60,0.16), inset 0 0 0 1px var(--el-line);
}
.hv-map .map-panel > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-map .map-pin { position: absolute; transform: translate(-50%,-100%); z-index: 2; width: 40px; height: 40px; }
.hv-map .map-pin .drop {
  width: 40px; height: 40px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center; background: var(--el-blue);
  box-shadow: 0 8px 18px rgba(47,115,230,0.4);
}
.hv-map .map-pin .drop .msr { transform: rotate(45deg); color: #fff; font-size: 21px; }
.hv-map .map-pin.is-gold .drop { background: #E7A93C; box-shadow: 0 8px 18px rgba(200,138,46,0.4); }
.hv-map .map-pin.is-muted .drop { background: #B7C0D0; box-shadow: none; }
.hv-map .map-pin .pulse {
  position: absolute; left: 50%; top: 40px; width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-radius: 50%; background: var(--el-blue); opacity: .18; animation: pinpulse 2.6s var(--el-ease-out) infinite;
}
.hv-map .map-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  background: #fff; border-radius: 20px; padding: 15px 16px;
  box-shadow: 0 16px 34px rgba(20,40,60,0.16), inset 0 0 0 1px var(--el-line);
  display: flex; align-items: center; gap: 12px;
}
.hv-map .map-card .mc-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--el-blue-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv-map .map-card .mc-ic .msr { color: var(--el-blue); font-size: 23px; }
.hv-map .map-card b { display: block; font: 700 15px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em; }
.hv-map .map-card span { font: 500 12.5px var(--el-font-sans); color: var(--el-muted); }
.hv-map .map-card .go { margin-left: auto; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--el-blue); color: #fff; display: inline-flex; align-items: center; gap: 6px; font: 700 13.5px var(--el-font-sans); }
.hv-map .map-card .go .msr { font-size: 17px; }

/* ---- Mix hero ---- */
.hv-mix { position: relative; }
.hv-mix .mix-stage { position: relative; display: flex; justify-content: center; }
.hv-mix .phone { width: 264px; }
.hv-mix .mix-map {
  position: absolute; left: -6%; bottom: 6%; width: 55%; z-index: -1;
  aspect-ratio: 1 / 1; background: #F3F5F9; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(20,40,60,0.16), inset 0 0 0 1px var(--el-line); opacity: .96;
}
.hv-mix .mix-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-mix .float-chip.fm-1 { position: absolute; top: 24px; right: -6px; z-index: 5; }
.hv-mix .float-chip.fm-2 { position: absolute; bottom: 40px; right: 4%; z-index: 5; }

/* ============================================================================
   Trust bar (logos-of-value strip under hero)
   ============================================================================ */
.trustbar { border-top: 1px solid var(--el-line); border-bottom: 1px solid var(--el-line); background: #fff; }
.trustbar .row { display: flex; flex-wrap: wrap; gap: 18px 44px; justify-content: center; align-items: center; padding: 26px 0; }
.trustbar .item { display: inline-flex; align-items: center; gap: 10px; font: 600 14.5px var(--el-font-sans); color: var(--el-ink2); }
.trustbar .item .msr { font-size: 22px; color: var(--accent-ink); }
.trustbar .item b { color: var(--el-ink); font-weight: 800; font-family: var(--el-font-display); }

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.how-paths { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: start; }
.path-col { position: relative; }
.path-head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.path-head .pill {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px;
  font: 800 14px var(--el-font-sans); color: #fff; background: var(--el-blue);
}
.path-head .pill.is-provider { background: var(--el-green-ink); }
.path-head .pill .msr { font-size: 19px; }
.path-head .ph-sub { font: 500 13.5px var(--el-font-sans); color: var(--el-muted); }

.steps { display: flex; flex-direction: column; gap: 16px; }
.step {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  background: #fff; border-radius: var(--el-r-card); padding: 18px;
  box-shadow: inset 0 0 0 1px var(--el-line);
  transition: box-shadow .2s, transform .2s;
}
.step:hover { box-shadow: inset 0 0 0 1px var(--el-blue-soft), 0 12px 26px rgba(20,40,60,0.07); transform: translateY(-2px); }
.step.is-active { box-shadow: inset 0 0 0 1.5px var(--accent), 0 14px 30px rgba(20,40,60,0.08); transform: translateY(-2px); }
.step.is-active .step-num { background: var(--accent); }
.step-num {
  position: absolute; top: -9px; left: -9px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--el-ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font: 700 13px var(--el-font-display); z-index: 3; box-shadow: 0 4px 10px rgba(20,40,60,0.2);
}
.step-art-wrap { position: relative; }
.step-art {
  position: relative; width: 88px; height: 88px; border-radius: 14px; flex-shrink: 0;
  background: var(--el-white); box-shadow: inset 0 0 0 1px var(--el-line); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.step-txt b { display: block; font: 700 16px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em; margin-bottom: 4px; }
.step-txt p { font: 500 13.5px/1.5 var(--el-font-sans); color: var(--el-ink2); margin: 0; text-wrap: pretty; }

/* OR divider */
.how-or { display: flex; flex-direction: column; align-items: center; gap: 0; align-self: stretch; padding-top: 66px; }
.how-or .line { flex: 1; width: 1px; background: linear-gradient(var(--el-line), transparent); }
.how-or .line.top { background: linear-gradient(transparent, var(--el-line)); }
.how-or .badge {
  width: 52px; height: 52px; border-radius: 50%; background: var(--el-ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font: 800 13px var(--el-font-sans);
  letter-spacing: 0.06em; margin: 14px 0; box-shadow: 0 8px 20px rgba(20,40,60,0.22);
}

/* --- Step art: elegant custom / illustrated / minimal switch --- */
.art-elegant, .art-illustrated, .art-minimal { display: none; width: 100%; height: 100%; }
[data-art="elegant"]     .art-elegant     { display: block; }
[data-art="illustrated"] .art-illustrated { display: flex; align-items: center; justify-content: center; }
[data-art="minimal"]     .art-minimal     { display: flex; align-items: center; justify-content: center; }
.art-elegant svg { width: 100%; height: 100%; display: block; }
.art-illustrated img { width: 82%; height: 82%; object-fit: contain; }
.art-minimal .msr { font-size: 38px; color: var(--el-blue); }
.art-minimal.is-provider .msr { color: var(--el-green-ink); }

/* --- Stepper layout (alt) --- */
.how-stepper { display: none; }
[data-how="stepper"] .how-paths { display: none; }
[data-how="stepper"] .how-stepper { display: block; }
.stepper-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--el-paper); box-shadow: inset 0 0 0 1px var(--el-line); margin: 0 auto 40px; }
.stepper-tabs button {
  border: 0; background: transparent; cursor: pointer; height: 42px; padding: 0 22px; border-radius: 999px;
  font: 700 14.5px var(--el-font-sans); color: var(--el-ink2); display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s, color .18s, box-shadow .18s;
}
.stepper-tabs button .msr { font-size: 19px; }
.stepper-tabs button.on { background: #fff; color: var(--el-ink); box-shadow: 0 4px 12px rgba(20,40,60,0.12); }
.stepper-stage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; }
.stepper-visual { display: flex; align-items: center; justify-content: center; }
.stepper-visual .big-art {
  width: min(100%, 380px); aspect-ratio: 1/1; border-radius: 28px; background: var(--el-white);
  box-shadow: inset 0 0 0 1px var(--el-line); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.stepper-visual .big-art svg { width: 74%; height: 74%; }
.stepper-list { display: flex; flex-direction: column; gap: 10px; }
.stepper-item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; cursor: pointer;
  padding: 16px 18px; border-radius: var(--el-r-card); background: #fff; text-align: left; border: 0; width: 100%;
  box-shadow: inset 0 0 0 1px var(--el-line); transition: box-shadow .18s, transform .18s;
}
.stepper-item .n {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font: 700 15px var(--el-font-display); background: var(--el-paper); color: var(--el-muted); box-shadow: inset 0 0 0 1px var(--el-line);
  transition: background .18s, color .18s;
}
.stepper-item b { display: block; font: 700 16px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em; }
.stepper-item span { font: 500 13.5px/1.45 var(--el-font-sans); color: var(--el-ink2); }
.stepper-item.on { box-shadow: inset 0 0 0 1.5px var(--el-blue); transform: translateX(4px); }
.stepper-item.on .n { background: var(--el-blue); color: #fff; box-shadow: none; }
[data-stepper-path="provider"] .stepper-item.on { box-shadow: inset 0 0 0 1.5px var(--el-green-ink); }
[data-stepper-path="provider"] .stepper-item.on .n { background: var(--el-green-ink); }

/* ============================================================================
   BENEFITS
   ============================================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: #fff; border-radius: var(--el-r-card); padding: 26px 24px 28px;
  box-shadow: inset 0 0 0 1px var(--el-line); transition: transform .2s var(--el-ease-out), box-shadow .2s var(--el-ease-out);
}
.benefit:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--el-blue-soft), 0 18px 36px rgba(20,40,60,0.08); }
.benefit .b-ic {
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: var(--el-blue-soft);
}
.benefit .b-ic .msr { font-size: 27px; color: var(--el-blue); }
.benefit.g .b-ic { background: var(--el-green-soft); } .benefit.g .b-ic .msr { color: var(--el-green-ink); }
.benefit.a .b-ic { background: var(--el-amber-soft); } .benefit.a .b-ic .msr { color: var(--el-amber-ink); }
.benefit h3 { font: 700 19px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em; margin: 0 0 8px; }
.benefit p { font: 500 14.5px/1.55 var(--el-font-sans); color: var(--el-ink2); margin: 0; text-wrap: pretty; }
@media (min-width: 861px) { .benefits-grid .benefit:nth-child(3n+1):last-child { grid-column: 2; } }

/* ============================================================================
   PARKCOIN
   ============================================================================ */
.coin-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.coin-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.coin-visual .coin-main {
  width: 220px; height: 220px; filter: drop-shadow(0 24px 40px rgba(200,138,46,0.34));
  animation: coinbob 6s ease-in-out infinite;
}
@keyframes coinbob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .coin-visual .coin-main { animation: none; } }
.coin-visual .orbit {
  position: absolute; background: #fff; border-radius: 15px; padding: 11px 14px;
  box-shadow: 0 14px 30px rgba(20,40,60,0.14), inset 0 0 0 1px var(--el-line);
  display: inline-flex; align-items: center; gap: 9px; font: 700 14px var(--el-font-display); color: var(--el-ink);
}
.coin-visual .orbit .msr { font-size: 18px; }
.coin-visual .orbit.o1 { top: 8%; left: 2%; } .coin-visual .orbit.o1 .msr { color: var(--el-green-ink); }
.coin-visual .orbit.o2 { bottom: 10%; right: 0; } .coin-visual .orbit.o2 .msr { color: var(--el-blue); }
.coin-visual .orbit.o3 { bottom: 26%; left: -2%; } .coin-visual .orbit.o3 .msr { color: var(--el-amber-ink); }
.coin-copy h2 { font: 600 clamp(28px,3.4vw,40px)/1.08 var(--el-font-display); color: var(--el-ink); letter-spacing: -0.02em; margin: 14px 0 0; }
.coin-copy .lede { font: 500 17px/1.6 var(--el-font-sans); color: var(--el-ink2); margin: 18px 0 0; max-width: 500px; text-wrap: pretty; }
.coin-points { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; }
.coin-point { display: flex; gap: 14px; align-items: flex-start; }
.coin-point .cp-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--el-gold-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.coin-point .cp-ic .msr { color: var(--el-gold-ink); font-size: 21px; }
.coin-point b { display: block; font: 700 15.5px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.005em; margin-bottom: 2px; }
.coin-point span { font: 500 14px/1.5 var(--el-font-sans); color: var(--el-ink2); }

/* ============================================================================
   REWARDS (Jackpot + Referral) — two feature cards
   ============================================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 34px 32px; min-height: 236px;
  box-shadow: inset 0 0 0 1px var(--el-line); display: flex; flex-direction: column;
}
.feature-card .fc-badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 13px 6px 10px; border-radius: 999px; font: 800 11.5px var(--el-font-sans); letter-spacing: .06em; text-transform: uppercase; }
.feature-card.jackpot .fc-badge { background: var(--el-gold-soft); color: var(--el-gold-ink); }
.feature-card.referral .fc-badge { background: var(--el-blue-soft); color: var(--el-blue); }
.feature-card .fc-badge .msr { font-size: 15px; }
.feature-card h3 { font: 600 26px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.015em; margin: 18px 0 0; }
.feature-card p { font: 500 15px/1.6 var(--el-font-sans); color: var(--el-ink2); margin: 12px 0 0; max-width: 300px; text-wrap: pretty; }
.feature-card .fc-media { position: absolute; right: 8px; bottom: 8px; width: 118px; opacity: 0.96; pointer-events: none; }
.feature-card.referral .fc-media { width: 132px; right: 4px; bottom: 4px; }
.feature-card .fc-foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 10px; }
.feature-card .fc-stat { display: inline-flex; align-items: baseline; gap: 7px; }
.feature-card .fc-stat .pc-ic-lg { align-self: center; flex-shrink: 0; }
.feature-card .fc-stat b { font: 500 30px var(--el-font-display); color: var(--el-gold-ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.feature-card.referral .fc-stat b { color: var(--el-blue); }
.feature-card .fc-stat span { font: 600 13px var(--el-font-sans); color: var(--el-muted); }
.feature-card.spend .fc-badge { background: var(--el-amber-soft); color: var(--el-amber-ink); }
.feature-card .fc-cats { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-card .cat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--el-amber-soft); font: 700 12.5px var(--el-font-sans); color: var(--el-amber-ink); white-space: nowrap; }
.feature-card .cat-chip .msr { font-size: 16px; }
/* Chain rewards card */
.feature-card.chain .fc-badge { background: var(--el-green-soft); color: var(--el-green-ink); }
.feature-card .fc-chain { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 6px; }
.feature-card .fc-chain .ch-node { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--el-gold-soft); box-shadow: inset 0 0 0 1px rgba(178,107,18,0.14); }
.feature-card .fc-chain .ch-node.dim { opacity: 0.42; }
.feature-card .fc-chain .ch-node img { display: block; }
.feature-card .fc-chain .ch-link { width: 14px; border-top: 2px dotted var(--el-muted); opacity: 0.6; flex-shrink: 0; }
.feature-card .fc-chain .ch-more { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font: 700 12.5px var(--el-font-sans); color: var(--el-green-ink); white-space: nowrap; }
.feature-card .fc-chain .ch-more .msr { font-size: 18px; }

/* ============================================================================
   TRUST & SAFETY
   ============================================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { text-align: center; padding: 8px 10px; }
.trust-item .t-ic { width: 58px; height: 58px; border-radius: 18px; margin: 0 auto 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--el-line); display: flex; align-items: center; justify-content: center; }
.trust-item .t-ic .msr { font-size: 28px; color: var(--accent-ink); }
.trust-item h4 { font: 700 16.5px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.005em; margin: 0 0 6px; }
.trust-item p { font: 500 13.5px/1.5 var(--el-font-sans); color: var(--el-ink2); margin: 0; text-wrap: pretty; }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--el-r-card); box-shadow: inset 0 0 0 1px var(--el-line); overflow: hidden; }
.faq-q {
  width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  font: 700 17px var(--el-font-display); color: var(--el-ink); letter-spacing: -0.01em;
}
.faq-q .faq-coin { width: 22px; height: 22px; flex-shrink: 0; }
.faq-q .msr { margin-left: auto; font-size: 24px; color: var(--el-muted); transition: transform .24s var(--el-ease-out); flex-shrink: 0; }
.faq-item.open .faq-q .msr { transform: rotate(45deg); color: var(--el-blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--el-ease-out); }
.faq-a-inner { padding: 0 22px 22px; font: 500 15px/1.62 var(--el-font-sans); color: var(--el-ink2); text-wrap: pretty; }
.faq-a-inner a { font-weight: 700; }

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.final-cta { text-align: center; }
.final-cta .cta-box {
  position: relative; overflow: hidden; background: var(--el-ink); border-radius: 32px; padding: 64px 40px;
  box-shadow: 0 30px 70px rgba(14,27,51,0.28);
}
.final-cta .cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 15% 10%, rgba(47,115,230,0.4), transparent 65%), radial-gradient(520px 300px at 90% 100%, rgba(58,174,122,0.28), transparent 60%);
}
.final-cta .cta-inner { position: relative; z-index: 1; }
.final-cta h2 { font: 600 clamp(30px,4vw,46px)/1.06 var(--el-font-display); color: #fff; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.final-cta p { font: 500 17px/1.6 var(--el-font-sans); color: rgba(255,255,255,0.78); margin: 18px auto 0; max-width: 480px; }
.final-cta .store-badges { justify-content: center; margin-top: 32px; }
.final-cta .store-badge { background: #fff; color: var(--el-ink); }
.final-cta .store-badge:hover { color: var(--el-ink); }
.final-cta .store-badge .bt small { opacity: 0.6; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { background: #fff; border-top: 1px solid var(--el-line); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font: 500 14px/1.6 var(--el-font-sans); color: var(--el-ink2); max-width: 280px; margin: 0; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-brand .socials a { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--el-line); color: var(--el-ink2); transition: background .15s, color .15s; }
.footer-brand .socials a:hover { background: var(--el-blue-soft); color: var(--el-blue); }
.footer-brand .socials svg { width: 18px; height: 18px; }
.footer-col h5 { font: 700 12px var(--el-font-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--el-muted); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font: 500 14.5px var(--el-font-sans); color: var(--el-ink2); }
.footer-col a:hover { color: var(--el-blue); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--el-line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer-bottom .cr { font: 500 13.5px var(--el-font-sans); color: var(--el-muted); }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom .legal-links a { font: 600 13.5px var(--el-font-sans); color: var(--el-ink2); }
.footer-bottom .legal-links a:hover { color: var(--el-blue); }

/* ============================================================================
   STICKY DOWNLOAD BAR (mobile / on-scroll)
   ============================================================================ */
.sticky-dl {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border-radius: 18px; box-shadow: 0 16px 40px rgba(20,40,60,0.18), inset 0 0 0 1px var(--el-line);
  padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 14px;
  transform: translateY(160%); transition: transform .34s var(--el-ease-out);
}
.sticky-dl.show { transform: none; }
.sticky-dl .sd-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.sticky-dl .sd-brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 8px rgba(20,40,60,0.18); }
.sticky-dl .sd-brand .t { min-width: 0; }
.sticky-dl .sd-brand b {
  display: block; font: 700 15px var(--el-font-display); letter-spacing: -0.01em;
  background: var(--grad-parkcoin); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sticky-dl .sd-brand span { font: 500 12.5px var(--el-font-sans); color: var(--el-muted); }
.sticky-dl .sd-actions { margin-left: auto; display: flex; gap: 8px; }
.sticky-dl .sd-btn { height: 44px; padding: 0 16px; border-radius: 12px; background: var(--el-ink); color: #fff; display: inline-flex; align-items: center; gap: 7px; font: 700 13.5px var(--el-font-sans); }
.sticky-dl .sd-btn .msr { font-size: 20px; }

/* ============================================================================
   Reveal on scroll
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--el-ease-out), transform .7s var(--el-ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; }
  .hero-copy { max-width: 640px; }
  .coin-grid { grid-template-columns: 1fr; gap: 40px; }
  .coin-visual { min-height: 300px; order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .stepper-stage { grid-template-columns: 1fr; gap: 28px; }
  .stepper-visual { order: -1; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 0; border-radius: 11px; background: transparent; box-shadow: inset 0 0 0 1px var(--el-line); cursor: pointer; color: var(--el-ink);
  }
  .menu-toggle .msr { font-size: 24px; }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  .how-paths { grid-template-columns: 1fr; gap: 8px; }
  .how-or { flex-direction: row; padding: 22px 0; width: 100%; }
  .how-or .line { width: auto; height: 1px; background: linear-gradient(90deg, var(--el-line), transparent); }
  .how-or .line.top { background: linear-gradient(90deg, transparent, var(--el-line)); }
  .how-or .badge { margin: 0 14px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .section-pad { padding: 68px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .store-badge { flex: 1; }
}

/* Mobile slide-in menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(14,27,51,0.4); opacity: 0; visibility: hidden;
  transition: opacity .24s, visibility .24s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); background: #fff; padding: 20px;
  transform: translateX(100%); transition: transform .3s var(--el-ease-out); display: flex; flex-direction: column; gap: 6px;
  box-shadow: -20px 0 50px rgba(20,40,60,0.2);
}
.mobile-menu.open .sheet { transform: none; }
.mobile-menu .sheet .mm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu .sheet a { font: 700 18px var(--el-font-display); color: var(--el-ink); padding: 14px 12px; border-radius: 12px; letter-spacing: -0.01em; }
.mobile-menu .sheet a:hover { background: var(--el-blue-soft); }
.mobile-menu .sheet .mm-cta { margin-top: 12px; }
.mobile-menu .sheet .close-mm { width: 42px; height: 42px; border: 0; border-radius: 11px; background: var(--el-paper); cursor: pointer; color: var(--el-ink); display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu .sheet .close-mm .msr { font-size: 24px; }

/* ----- Store badges awaiting store URLs ----- */
.is-soon {
  position: relative;
  cursor: default;
  opacity: .62;
  pointer-events: none;
}
.soon-pill {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--el-amber, #E89A3C);
  color: #1A1A1A;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
  white-space: nowrap;
}
.site-footer .soon-pill {
  position: static;
  margin-left: 6px;
}

/* ----- Cookie consent ----- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: none;
  background: #FFFFFF;
  border: 1px solid rgba(14, 27, 51, .12);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(14, 27, 51, .18);
}
.consent.show { display: block; }
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.consent-text { flex: 1 1 320px; font-size: 14px; line-height: 1.5; margin: 0; }
.consent-text a { text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn {
  padding: 10px 22px;
  border: 1px solid rgba(14, 27, 51, .18);
  border-radius: 999px;
  background: #FFFFFF;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.consent-btn:hover { background: rgba(14, 27, 51, .05); }
@media (max-width: 560px) {
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; }
}

/* ----- Legal pages ----- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 120px 20px 80px; }
.legal-wrap h1 { margin-bottom: 8px; }
.legal-updated { display: block; margin-bottom: 40px; font-size: 14px; opacity: .65; }
.legal-wrap h2 { margin: 36px 0 12px; font-size: 20px; }
.legal-wrap p, .legal-wrap li { line-height: 1.7; margin-bottom: 12px; }
.legal-wrap ul { padding-left: 22px; list-style: disc; }
.legal-back { display: inline-block; margin-bottom: 28px; font-size: 14px; }
.legal-wrap h3 { margin: 24px 0 8px; font-size: 16px; }

/* Wide tables must scroll inside the column instead of widening the page. */
.legal-wrap table {
  display: block;
  overflow-x: auto;
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.legal-wrap th, .legal-wrap td {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  text-align: left;
  vertical-align: top;
}
.legal-wrap th { font-weight: 600; background: rgba(0, 0, 0, .04); }

/* These pages are read mostly inside the app's web view, which already draws its
   own header — the desktop top inset would push the title off the first screen. */
@media (max-width: 560px) {
  .legal-wrap { padding: 32px 20px 56px; }
  .legal-wrap h1 { font-size: 24px; line-height: 1.3; }
  .legal-wrap h2 { margin: 28px 0 10px; font-size: 18px; }
  .legal-wrap table { font-size: 14px; }
  .legal-wrap th, .legal-wrap td { padding: 8px 10px; }
}

.legal-link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}
