/* FIKA website — shared styles for the landing page and legal pages. */

:root {
  --green-900: #0d3b22;
  --green-700: #0b8f43;
  --green-600: #0bb04f;
  --green-500: #3fcb5c;
  --green-400: #87b171;
  --lime-300: #b9f56a;
  --gold: #e9ab13;
  --gold-dark: #b8860b;

  --bg: #ffffff;
  --bg-soft: #f4f8f4;
  --surface: #ffffff;
  --surface-2: #f8faf8;
  --border: #e3ebe4;
  --text: #15251c;
  --text-2: #4f5d54;
  --text-3: #7a877e;
  --brand: var(--green-600);
  --brand-ink: #087a37;
  --shadow-sm: 0 1px 2px rgba(16, 40, 24, 0.06), 0 2px 8px rgba(16, 40, 24, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(11, 80, 40, 0.28), 0 8px 24px -12px rgba(11, 80, 40, 0.18);
  --radius: 22px;
  --gradient: linear-gradient(120deg, #0bb04f 0%, #4fd35f 55%, #b9f56a 100%);
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b120e;
    --bg-soft: #0f1813;
    --surface: #131d17;
    --surface-2: #18241d;
    --border: #243329;
    --text: #eef5f0;
    --text-2: #b3c1b7;
    --text-3: #87958b;
    --brand: #3fcb5c;
    --brand-ink: #6fe08a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b120e;
  --bg-soft: #0f1813;
  --surface: #131d17;
  --surface-2: #18241d;
  --border: #243329;
  --text: #eef5f0;
  --text-2: #b3c1b7;
  --text-3: #87958b;
  --brand: #3fcb5c;
  --brand-ink: #6fe08a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-soft);
}
.nav-cta {
  margin-left: 8px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav .nav-cta {
    display: none;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(11, 176, 79, 0.7);
}
.btn-primary:hover {
  background: var(--green-700);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-soft);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 16px;
  background: #0b120e;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}
.store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  line-height: 1.1;
}
.store strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
}
@media (max-width: 700px) {
  section {
    padding: 64px 0;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 14px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}
.section-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--text-2);
}
.soft {
  background: var(--bg-soft);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(185, 245, 106, 0.45), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(11, 176, 79, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  max-width: 540px;
}
.hero .store-badges {
  margin-top: 32px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--green-600);
  flex: none;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding-top: 32px;
  }
}

/* ---------- Phone mockup ---------- */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
}
.phone {
  position: relative;
  width: 300px;
  height: 610px;
  border-radius: 46px;
  padding: 12px;
  background: #0b120e;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #0b120e;
  z-index: 3;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #eef8ea;
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.scr-hello {
  font-size: 11px;
  color: #647067;
}
.scr-title {
  font-size: 17px;
  font-weight: 800;
  margin-top: 2px;
}
.scr-search {
  margin-top: 12px;
  height: 38px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3ebe4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #7a877e;
  box-shadow: 0 4px 14px -8px rgba(16, 40, 24, 0.3);
}
.scr-search svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.scr-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.scr-cat {
  background: #fff;
  border: 1px solid #e3ebe4;
  border-radius: 12px;
  padding: 8px 2px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
}
.scr-cat span {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.scr-label {
  margin: 14px 2px 8px;
  font-weight: 800;
  font-size: 12.5px;
}
.scr-provider {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #e3ebe4;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 8px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.avatar.gold {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold);
}
.scr-provider b {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.scr-provider small {
  color: #647067;
  font-size: 10.5px;
}
.tick {
  width: 13px;
  height: 13px;
  flex: none;
}
.rating {
  margin-left: auto;
  font-weight: 700;
  font-size: 11px;
  color: #b8860b;
  white-space: nowrap;
}
.float-card {
  position: absolute;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
  z-index: 4;
}
.float-card .ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.float-card b {
  display: block;
  font-size: 13.5px;
}
.float-card small {
  color: var(--text-3);
}
.fc-1 {
  top: 70px;
  left: -10px;
}
.fc-2 {
  bottom: 120px;
  right: -20px;
  animation-delay: -2s;
}
.fc-3 {
  bottom: 24px;
  left: 0;
  animation-delay: -4s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 520px) {
  .phone-stage {
    min-height: 560px;
  }
  .phone {
    transform: scale(0.92);
    transform-origin: top center;
  }
  .fc-1 {
    left: 0;
    top: 40px;
  }
  .fc-2 {
    right: 0;
  }
  .float-card {
    font-size: 12px;
    padding: 10px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-card {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 20px;
  font-weight: 800;
}
.step p {
  margin-top: 8px;
  color: var(--text-2);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--green-600) 12%, transparent);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature .ic svg {
  width: 24px;
  height: 24px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 800;
}
.feature p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
}
@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.service {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  font-weight: 700;
}
.service span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: none;
}
@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .service {
    padding: 14px;
    gap: 10px;
    font-size: 14px;
  }
  .service span {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }
}
.services-note {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 15px;
  text-align: center;
}

/* ---------- Providers ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.checklist li {
  display: flex;
  gap: 14px;
}
.checklist .ck {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green-600) 14%, transparent);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.checklist .ck svg {
  width: 16px;
  height: 16px;
}
.checklist b {
  display: block;
}
.checklist span {
  color: var(--text-2);
  font-size: 15px;
}

.dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-top b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
}
.dash-top small {
  color: var(--text-3);
}
.status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-700);
  background: color-mix(in srgb, var(--green-600) 14%, transparent);
  padding: 5px 10px;
  border-radius: 999px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.gallery div {
  aspect-ratio: 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.coins {
  margin-top: 16px;
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #fff4d6, #fce29a);
  color: #5c4300;
  display: flex;
  align-items: center;
  gap: 14px;
}
.coins .c {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd54f, #b8860b);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  flex: none;
}
.coins b {
  font-size: 17px;
  display: block;
}
.coins small {
  color: #8a6a12;
}
.coins .worth {
  white-space: nowrap;
  margin-left: auto;
  text-align: right;
  font-weight: 800;
}

/* ---------- Gold ---------- */
.gold-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 48px;
  background: radial-gradient(120% 140% at 100% 0%, #3a2a05 0%, #15100a 55%, #0b0905 100%);
  color: #fff7e0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.gold-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 171, 19, 0.35), transparent);
}
.gold-card h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
}
.gold-text {
  background: linear-gradient(120deg, #ffe08a, #e9ab13 60%, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-card p {
  color: #e8dcc0;
  margin-top: 12px;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 24px;
}
.price strong {
  white-space: nowrap;
  font-size: clamp(34px, 8vw, 44px);
  font-weight: 800;
  color: #fff;
}
.price span {
  color: #cdbf9d;
}
.gold-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.gold-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(233, 171, 19, 0.25);
  border-radius: 18px;
  padding: 14px 16px;
}
.gold-list .gi {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd54f, #b8860b);
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.gold-list .gi svg {
  width: 18px;
  height: 18px;
}
.gold-list b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.gold-list span {
  color: #d8cba9;
  font-size: 14.5px;
}
.soon {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(233, 171, 19, 0.2);
  color: #ffd76a;
  padding: 2px 8px;
  border-radius: 999px;
}
@media (max-width: 900px) {
  .gold-card {
    grid-template-columns: 1fr;
    padding: 32px 22px;
    border-radius: 26px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 22px;
  transition: box-shadow 0.2s;
}
.faq details[open] {
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}
.faq details p {
  padding: 0 0 20px;
  color: var(--text-2);
}

/* ---------- CTA + contact ---------- */
.cta {
  border-radius: 32px;
  padding: 56px 48px;
  background: var(--gradient);
  color: #062b15;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}
.cta p {
  margin-top: 12px;
  font-size: 18px;
  color: #0d3b22;
}
.cta .store-badges {
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .cta {
    grid-template-columns: 1fr;
    padding: 36px 22px;
    border-radius: 26px;
  }
  .cta .store-badges {
    justify-content: flex-start;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 0;
}
a.contact:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.contact .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--green-600) 12%, transparent);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.contact .ic svg {
  width: 22px;
  height: 22px;
}
.contact small {
  color: var(--text-3);
  display: block;
}
.contact b {
  display: block;
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid p {
  color: var(--text-2);
  margin-top: 12px;
  max-width: 320px;
  font-size: 15px;
}
.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 500;
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 14px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 56px 0 32px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
}
.legal-hero p {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 720px;
  font-size: 18px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.legal-meta span {
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-2);
}
.legal-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.legal-tabs a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
}
.legal-tabs a[aria-current="page"] {
  background: var(--green-600);
  color: #fff;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 90px;
  font-size: 14px;
}
.toc h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.toc a {
  display: block;
  text-decoration: none;
  color: var(--text-2);
  padding: 6px 10px;
  border-radius: 8px;
}
.toc a:hover {
  background: var(--bg-soft);
  color: var(--text);
}
.legal-body article {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.legal-body article:first-child {
  padding-top: 0;
}
.legal-body h2 {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.legal-body h2 .n {
  color: var(--brand-ink);
  font-size: 18px;
}
.legal-body p {
  margin-top: 12px;
  color: var(--text-2);
}
.legal-body h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
}
.legal-body ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text-2);
  display: grid;
  gap: 6px;
}
.legal-body li::marker {
  color: var(--green-600);
}
.legal-contact {
  margin-top: 36px;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.legal-contact a {
  color: var(--brand-ink);
  font-weight: 700;
}
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }
  .toc {
    position: static;
  }
  .toc ol {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .toc ol {
    grid-template-columns: 1fr;
  }
}

/* ---------- Open-in-app page ---------- */
.open-app {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.open-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.open-card img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.open-card h1 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
}
.open-card p {
  color: var(--text-2);
}
.open-card .store-badges {
  justify-content: center;
}
