/* Simmy marketing landing — a deliberate LIGHT theme ("light luxury").
   Warm-neutral surfaces, near-black ink, a single disciplined blue accent.
   Light only — no prefers-color-scheme override.
   No build step, no dependencies. */

:root {
  /* ---- palette (light luxury) ---- */
  --bg: #f6f6f3;            /* warm paper, not stark white */
  --surface: #ffffff;
  --surface-2: #fbfaf7;    /* faint warm tint for banded sections */
  --text: #14161a;         /* near-black ink */
  --text-muted: #5b6068;   /* AA on --surface (7.0:1) and on --bg */
  --border: #e7e5df;       /* warm hairline */
  --border-strong: #d9d6cd;
  --accent: #2557e6;       /* deeper blue — AA as text on white (5.4:1) */
  --accent-deep: #1840b8;
  --accent-text: #ffffff;
  --accent-weak: #eef2ff;  /* tinted accent surface */
  --ink-surface: #14161a;  /* dark surface used sparingly (device, chips) */

  --hero-gradient: linear-gradient(135deg, #3b6bff 0%, #2557e6 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(20, 22, 26, 0.04), 0 10px 28px rgba(20, 22, 26, 0.06);
  --shadow-lift: 0 2px 8px rgba(20, 22, 26, 0.06), 0 22px 54px rgba(20, 22, 26, 0.12);
  --shadow-accent: 0 10px 28px rgba(37, 87, 230, 0.28);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* fluid type — real scale contrast */
  --fs-eyebrow: 0.8125rem;
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  --fs-h1: clamp(2.5rem, 1.2rem + 5.2vw, 4.6rem);

  /* non-uniform spacing rhythm */
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --shell-max: 1140px;
  --shell-pad: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);

  --duration-fast: 140ms;
  --duration: 260ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

img, svg { display: block; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast) var(--ease-out-expo);
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* ---------- buttons ---------- */
.btn {
  --btn-py: 0.7rem;
  --btn-px: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration) var(--ease-out-expo),
    background var(--duration-fast), color var(--duration-fast);
}
.btn--sm { --btn-py: 0.5rem; --btn-px: 0.95rem; font-size: 0.875rem; }
.btn--lg { --btn-py: 0.95rem; --btn-px: 1.7rem; font-size: 1.0625rem; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn--ghost:active { transform: translateY(0); }

.btn--invert {
  background: #ffffff;
  color: var(--accent-deep);
}
.btn--invert:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.btn--invert:active { transform: translateY(0); }

/* ---------- store badges ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.store-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  line-height: 1.15;
  transition: transform var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast);
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.store-btn__line1 { font-size: 0.6875rem; color: var(--text-muted); }
.store-btn__line2 { font-size: 0.95rem; font-weight: 700; }
.store-btn--invert {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.store-btn--invert .store-btn__line1 { color: rgba(255, 255, 255, 0.8); }
.store-btn--invert:hover { border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration), background var(--duration);
}
.site-header[data-elevate].is-stuck { border-bottom-color: var(--border); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.wordmark__mark { display: inline-flex; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 0.85rem; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--duration-fast);
}
.nav-list a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out-expo);
}
.nav-list a:not(.btn):hover { color: var(--text); }
.nav-list a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform var(--duration) var(--ease-out-expo), opacity var(--duration-fast);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- language toggle (segmented control) ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.lang-toggle__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--duration-fast), background var(--duration-fast);
}
.lang-toggle__btn:hover { color: var(--text); }
.lang-toggle__btn[aria-pressed='true'] {
  background: var(--accent);
  color: var(--accent-text);
}
.lang-toggle__btn[aria-pressed='true']:hover { color: var(--accent-text); }

/* legal-page header keeps the wordmark + language toggle only */
.legal-header .header-row { justify-content: space-between; }

/* localized note shown on legal pages when chrome is translated */
.legal-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 6vw, 7rem) var(--space-section);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(59, 107, 255, 0.16), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(24, 64, 184, 0.10), transparent 70%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-weak);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  max-width: 14ch;
}
.hero__accent {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--text-muted);
  max-width: 46ch;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* hero visual — layered device */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.device {
  position: relative;
  width: clamp(240px, 26vw, 300px);
  aspect-ratio: 9 / 18.5;
  background: linear-gradient(160deg, #1a1c20, #06070a);
  border-radius: 38px;
  padding: 12px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.device__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 22px;
  background: #06070a;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.device__screen {
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #0e1426 0%, #050813 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
}
.globe { animation: spin 26s linear infinite; }
.device__plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  width: 84%;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.device__flag { font-size: 1.4rem; }
.device__plan-name { color: #fff; font-weight: 600; font-size: 0.85rem; }
.device__plan-state {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2fd47e;
  background: rgba(47, 212, 126, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.95rem;
  box-shadow: var(--shadow-card);
  font-weight: 600;
  font-size: 0.85rem;
  animation: bob 5s ease-in-out infinite;
}
.float-chip--qr { top: 8%; left: -2%; color: var(--accent); }
.float-chip--qr span { color: var(--text); }
.float-chip--price { bottom: 10%; right: -4%; animation-delay: 1.2s; line-height: 1.05; flex-direction: column; align-items: flex-start; }
.float-chip__big { font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.float-chip--price span:last-child { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

/* ---------- generic section ---------- */
.section { padding-block: var(--space-section); }
.section__title { font-size: var(--fs-h2); font-weight: 800; max-width: 18ch; }
.section__lead { margin-top: 0.85rem; color: var(--text-muted); max-width: 52ch; }

/* ---------- bento value props ---------- */
.bento {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.bento__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease-out-expo), box-shadow var(--duration);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.bento__card--wide {
  grid-column: span 2;
  background:
    radial-gradient(120% 140% at 100% 0%, var(--accent-weak), transparent 55%),
    var(--surface);
}
.bento__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-weak);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.bento__card h3 { font-size: var(--fs-h3); font-weight: 700; }
.bento__card p { margin-top: 0.6rem; color: var(--text-muted); max-width: 48ch; }
.bento__card p strong { color: var(--text); font-weight: 600; }

/* ---------- how it works ---------- */
.how { background: var(--surface-2); }
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 1rem; }
.step::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 56px;
  right: -0.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 0;
}
.step:last-child::before { display: none; }
.step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-accent);
}
.step h3 { font-size: var(--fs-h3); font-weight: 700; margin-top: 1.2rem; }
.step p { margin-top: 0.55rem; color: var(--text-muted); max-width: 34ch; }

/* ---------- price strip ---------- */
.prices__head { display: flex; flex-direction: column; }
.price-strip {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease-out-expo), border-color var(--duration-fast);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-card__flag { font-size: 1.7rem; }
.price-card__place { font-weight: 600; }
.price-card__price { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.price-card__from { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); margin-right: 0.25rem; }
.price-card--cta { justify-content: center; background: var(--accent-weak); border-color: transparent; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--hero-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--space-section);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-band h2 { font-size: var(--fs-h2); font-weight: 800; max-width: 16ch; }
.cta-band p { margin-top: 1rem; max-width: 44ch; color: rgba(255, 255, 255, 0.85); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; align-items: center; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 3rem 1.5rem; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}
.footer-tagline { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.9rem; max-width: 30ch; }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-weight: 500; transition: color var(--duration-fast); }
.footer-links a:hover { color: var(--accent); }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-muted); }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 360px; }
  .hero h1, .hero__sub { max-width: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step::before { display: none; }
  .price-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; z-index: 60; }
  .nav-list {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem var(--shell-pad) 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transform: translateY(-130%);
    transition: transform var(--duration) var(--ease-out-expo);
  }
  .nav-list a:not(.btn) { padding: 0.5rem 0; }
  .site-nav.is-open .nav-list { transform: translateY(0); }
  .nav-list .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .price-strip { grid-template-columns: 1fr; }
  .float-chip--qr { left: 0; }
  .float-chip--price { right: 0; }
}
