:root {
  --ink: #1F2937;
  --page: #FFFDF8;
  --panel: #FFFFFF;
  --muted: #6B7280;
  --subtle: #52627A;
  --accent: #6B7FD7;
  --accent-hover: #5B6EC6;
  --given: #F2E9DA;
  --gold: #FBBF24;
  --success: #A7D7B5;
  --shadow: 0 18px 48px rgba(23, 32, 51, 0.12);
  --line: rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.96), transparent 38rem),
    linear-gradient(135deg, #F8FAFC, #EEF2FF);
}

a { color: inherit; }

.site-shell {
  width: min(100% - 32px, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 4vw, 34px) 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  width: clamp(190px, 28vw, 286px);
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.10);
  color: var(--subtle);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}
.nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--subtle);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.08);
}
.nav-cta {
  color: #0F172A;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
}
.nav-cta:hover,
.nav-cta.is-active {
  color: #0F172A;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 7vw, 78px) 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.subtitle {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.store-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 30px;
}

.store-row-ios-only {
  width: 100%;
  max-width: 760px;
  grid-template-columns: minmax(0, 1fr);
}
.store-card {
  width: 100%;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.10);
}
.store-card-featured {
  min-height: 104px;
  max-width: none;
  padding: 22px 26px;
}
.store-card-featured .store-symbol {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.store-card-featured strong {
  font-size: 1.18rem;
}
.store-card-featured small {
  font-size: 0.96rem;
}
.app-store-callout {
  min-height: 112px;
  width: 100%;
  max-width: none;
  padding: 26px 30px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,242,255,0.94));
  border-color: rgba(107,127,215,0.18);
  box-shadow: 0 18px 46px rgba(23, 32, 51, 0.14);
}
.app-store-callout .store-symbol {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.app-store-callout strong {
  font-size: clamp(1.18rem, 2.3vw, 1.45rem);
  letter-spacing: -0.025em;
}
.app-store-callout small {
  max-width: 360px;
  font-size: 1rem;
  line-height: 1.35;
}
.store-card strong,
.store-card small { display: block; }
.store-card strong {
  font-size: 1.05rem;
  font-weight: 900;
}
.store-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.store-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #0F172A;
  color: #F8FAFC;
  flex: 0 0 auto;
}
.apple { font-size: 1.7rem; line-height: 1; }
.play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #F8FAFC;
  transform: translateX(1px);
}



.premium-offer {
  max-width: 760px;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,251,235,0.84));
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.10);
}
.premium-heading {
  max-width: 680px;
}
.premium-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.premium-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
  flex: 0 0 auto;
}
.premium-offer h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.premium-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.plan-card {
  min-height: 142px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.07);
}
.plan-premium {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(254,243,199,0.96));
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.12);
}
.choice-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-premium .choice-label {
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  color: #78350F;
}
.plan-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.02rem, 1.8vw, 1.14rem);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -0.025em;
}
.plan-card span:not(.choice-label) {
  display: block;
  color: var(--subtle);
  font-size: 0.94rem;
  line-height: 1.45;
}
.premium-usp-box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(31,41,55,0.94));
  color: #F8FAFC;
  box-shadow: 0 16px 34px rgba(15,23,42,0.18);
}
.premium-usp-box strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.premium-usp-box p {
  margin: 0;
  color: rgba(248,250,252,0.78);
  font-size: 0.96rem;
  line-height: 1.5;
}
.premium-usp-label {
  margin-bottom: 0;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  color: #78350F;
}

.preview-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.preview-wrap::before {
  content: "";
  position: absolute;
  width: min(440px, 82vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(107,127,215,0.22), rgba(124,58,237,0.10), transparent 68%);
  filter: blur(4px);
}

.screenshot-card {
  position: relative;
  width: min(360px, 86vw);
  margin: 0;
  padding: clamp(8px, 2vw, 12px);
  border-radius: clamp(28px, 6vw, 38px);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  transition: transform 180ms ease;
}
.screenshot-card:hover {
  transform: rotate(-2deg) translateY(-2px);
}
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: clamp(20px, 4vw, 30px);
  border: 3px solid #07111D;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0 30px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.site-footer a {
  color: var(--accent);
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent-hover); }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F8FAFC;
    --subtle: #CBD5E1;
    --muted: #94A3B8;
    --line: rgba(255,255,255,0.10);
    --shadow: 0 18px 48px rgba(0,0,0,0.30);
  }
  body {
    background:
      radial-gradient(circle at top left, rgba(37,99,235,0.30), transparent 38rem),
      linear-gradient(135deg, #0B1220, #111827);
  }
  .status-pill,
  .site-nav,
  .store-card,
  .premium-offer,
  .plan-card,
  .screenshot-card {
    background: rgba(15,23,42,0.86);
    border-color: rgba(255,255,255,0.10);
  }
  .app-store-callout {
    background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(30,41,59,0.92));
  }
  .premium-usp-box {
    background: linear-gradient(135deg, rgba(2,6,23,0.98), rgba(30,41,59,0.94));
  }
  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(255,255,255,0.10);
  }
  .nav-cta,
  .nav-cta:hover,
  .nav-cta.is-active {
    color: #0F172A;
  }
  .plan-premium {
    background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(120,53,15,0.36));
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
  .screenshot-card { transform: rotate(-2.5deg); }
  .screenshot-card:hover { transform: rotate(-1.5deg); }
  .premium-offer { max-width: none; }
  .premium-plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 24px, 1120px); }
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .brand img { width: 190px; }
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
  .nav-link {
    flex: 1 1 0;
    padding: 8px 10px;
    font-size: 0.82rem;
  }
  .status-pill { min-height: 34px; padding: 7px 12px; font-size: 0.78rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .subtitle { font-size: 1rem; }
  .store-row { grid-template-columns: 1fr; }
  .store-card { width: 100%; }
  .app-store-callout { min-height: 108px; padding: 22px; }
  .app-store-callout .store-symbol { width: 54px; height: 54px; }
  .premium-offer { padding: 18px; }
  .premium-usp-box { grid-template-columns: 1fr; }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.status-pill-link {
  text-decoration: none;
  color: var(--subtle);
}
.status-pill-link:hover {
  color: var(--accent-hover);
}

.support-shell {
  max-width: none;
}

.support-hero {
  padding: clamp(34px, 7vw, 70px) 0 clamp(22px, 4vw, 34px);
}
.support-hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}
.support-intro {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 20px;
}
.support-card,
.contact-panel,
.useful-links {
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.09);
}
.support-card {
  padding: clamp(20px, 3vw, 28px);
}
.support-card h2,
.contact-panel h2,
.useful-links h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.support-card p,
.contact-panel p {
  margin: 12px 0 0;
  color: var(--subtle);
  line-height: 1.6;
  font-size: 0.98rem;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 32px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,242,255,0.86));
}
.support-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 18px;
  background: #0F172A;
  color: #F8FAFC;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(15,23,42,0.20);
}
.support-email:hover {
  transform: translateY(-1px);
}

.useful-links {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 26px);
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.link-row a,
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 850;
}
.link-row a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(107,127,215,0.10);
}
.link-row a:hover,
.footer-links a:hover {
  color: var(--accent-hover);
}
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (prefers-color-scheme: dark) {
  .support-card,
  .contact-panel,
  .useful-links {
    background: rgba(15,23,42,0.86);
    border-color: rgba(255,255,255,0.10);
  }
  .contact-panel {
    background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(30,41,59,0.92));
  }
  .support-email {
    background: #F8FAFC;
    color: #0F172A;
  }
  .link-row a {
    background: rgba(255,255,255,0.08);
  }
}

@media (max-width: 760px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  .contact-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .support-email {
    width: 100%;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

.footer-note { color: var(--muted); }


/* v16 support/navigation polish */
.support-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.support-card h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  flex: 0 0 auto;
}
.support-card {
  min-height: 168px;
}
.support-hero {
  padding-bottom: 18px;
}
.site-nav a {
  text-decoration: none;
}
@media (max-width: 560px) {
  .support-card { min-height: auto; }
}


/* v21 consistent page widths */
.support-shell,
.privacy-shell {
  max-width: none;
}

/* v20 launch pages: privacy/support URL cleanup */
.privacy-shell { max-width: none; }
.privacy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 8px 0 20px;
}
.privacy-card { min-height: auto; }
.privacy-card p + p { margin-top: 10px; }
.privacy-card a,
.privacy-content a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}
.privacy-card a:hover,
.privacy-content a:hover { color: var(--accent-hover); }
.site-footer { gap: 14px; }
@media (max-width: 760px) {
  .site-nav { flex-wrap: wrap; border-radius: 24px; justify-content: flex-start; }
  .nav-link { min-height: 36px; }
}
