/* G1 Mobile — site stylesheet
   Fresh editorial layer on top of design system tokens.
   All colors/sizes via --g1-* tokens. */

@import url('./tokens.css');
@import url('./colors_and_type.css');

/* -------------------------------------------------- */
/*  Reset & base                                       */
/* -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--g1-font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--g1-ink-900);
  background: var(--g1-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: var(--g1-brand-600); text-decoration: none; }

/* Layout primitives */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 880px; }
.container--reading { max-width: 720px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section--tight { padding: 48px 0; }
@media (min-width: 1024px) { .section--tight { padding: 64px 0; } }

.divider { height: 1px; background: var(--g1-line-soft); border: none; margin: 0; }

/* Typography helpers */
.overline {
  font-size: 11px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--g1-brand-600);
  display: inline-flex; align-items: center; gap: 8px;
}
.overline--ink { color: var(--g1-ink-700); }
.overline::before {
  content: ""; width: 18px; height: 1px; background: currentColor;
}
.overline.no-rule::before { display: none; }

.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 500;
  color: var(--g1-ink-500);
  letter-spacing: 0.02em;
}

.h-display {
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--g1-ink-900);
  text-wrap: balance;
  margin: 0;
}
.h-display em { font-style: normal; color: var(--g1-brand-600); }

.h-1 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.h-2 {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-wrap: balance;
  margin: 0;
}
.h-3 {
  font-size: 22px; line-height: 30px; font-weight: 600;
  letter-spacing: -0.012em; margin: 0;
}
.h-4 { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.008em; margin: 0; }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--g1-ink-500);
  max-width: 56ch;
  margin: 0;
}
.muted { color: var(--g1-ink-500); }
.mono { font-family: var(--g1-font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------- */
/*  Buttons                                            */
/* -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1;
  height: 46px; padding: 0 22px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms var(--g1-ease-out),
              color 160ms var(--g1-ease-out),
              border-color 160ms var(--g1-ease-out),
              transform 80ms var(--g1-ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--primary   { background: var(--g1-brand-600); color: var(--g1-paper); }
.btn--primary:hover { background: var(--g1-brand-700); }
.btn--secondary { background: transparent; color: var(--g1-brand-600); border-color: var(--g1-brand-200); }
.btn--secondary:hover { border-color: var(--g1-brand-600); background: var(--g1-brand-50); }
.btn--ghost     { background: transparent; color: var(--g1-ink-900); }
.btn--ghost:hover { background: var(--g1-ink-200); }
.btn--invert    { background: var(--g1-paper); color: var(--g1-brand-600); }
.btn--invert:hover { background: var(--g1-brand-100); }
.btn--invert-ghost { background: transparent; color: var(--g1-paper); border-color: rgba(255,255,255,0.18); }
.btn--invert-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }
.btn .icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Pill / chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 9999px;
  background: var(--g1-brand-50);
  color: var(--g1-brand-600);
  font-size: 12px; font-weight: 500; line-height: 16px;
}
.chip--surface { background: var(--g1-surface); border: 1px solid var(--g1-line); color: var(--g1-ink-700); }
.chip--success { background: var(--g1-success-100); color: var(--g1-success-600); }
.chip--warn    { background: var(--g1-warn-100); color: var(--g1-warn-600); }
.chip--ink     { background: var(--g1-ink-900); color: var(--g1-paper); }
.chip__dot { width: 6px; height: 6px; border-radius: 9999px; background: currentColor; }

/* -------------------------------------------------- */
/*  Site nav                                           */
/* -------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--g1-line-soft);
}
.site-nav__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.site-nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--g1-ink-900); }
.site-nav__brand img { height: 30px; width: auto; }
.site-nav__brand:hover { color: var(--g1-ink-900); }
.site-nav__links { display: none; align-items: center; gap: 28px; }
@media (min-width: 940px) { .site-nav__links { display: flex; } }
.site-nav__link {
  font-size: 14.5px; font-weight: 500; color: var(--g1-ink-700);
  transition: color 80ms var(--g1-ease-out);
  cursor: pointer; position: relative; padding: 6px 0;
}
.site-nav__link:hover { color: var(--g1-ink-900); }
.site-nav__link[aria-current="page"] { color: var(--g1-brand-600); }
.site-nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--g1-brand-600); border-radius: 2px;
}
.site-nav__right { display: flex; align-items: center; gap: 12px; }

/* Lang switch */
.lang-switch {
  display: inline-flex; align-items: center;
  padding: 3px;
  background: var(--g1-ink-200);
  border-radius: 9999px;
  font-size: 12px; font-weight: 600;
}
.lang-switch button {
  border: none; background: transparent;
  padding: 4px 10px; border-radius: 9999px;
  color: var(--g1-ink-500); cursor: pointer;
  transition: background-color 160ms var(--g1-ease-out), color 160ms var(--g1-ease-out);
  letter-spacing: 0.02em;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--g1-paper);
  color: var(--g1-ink-900);
  box-shadow: var(--g1-shadow-xs);
}

/* Country pill in nav */
.nav-country {
  display: none; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 9999px;
  border: 1px solid var(--g1-line);
  background: var(--g1-surface);
  font-size: 13px; font-weight: 500; color: var(--g1-ink-700);
  cursor: pointer;
  transition: border-color 160ms var(--g1-ease-out);
}
@media (min-width: 1080px) { .nav-country { display: inline-flex; } }
.nav-country:hover { border-color: var(--g1-ink-300); }
.nav-country__flag {
  width: 20px; height: 14px; border-radius: 2px;
  display: inline-block; overflow: hidden;
}
.nav-country .icon { width: 14px; height: 14px; color: var(--g1-ink-500); }

.site-nav__cart {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background: transparent; color: var(--g1-ink-700);
  border: 1px solid var(--g1-line);
  cursor: pointer;
  transition: background-color 160ms var(--g1-ease-out);
}
.site-nav__cart:hover { background: var(--g1-ink-200); }
.site-nav__cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--g1-brand-600); color: var(--g1-paper);
  font-size: 10px; font-weight: 600;
  height: 18px; min-width: 18px; padding: 0 5px;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--g1-paper);
}

/* Mobile menu */
.site-nav__menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 9999px; border: 1px solid var(--g1-line);
  background: var(--g1-surface); color: var(--g1-ink-900); cursor: pointer;
}
@media (min-width: 940px) { .site-nav__menu-btn { display: none; } }

/* -------------------------------------------------- */
/*  Announce bar                                       */
/* -------------------------------------------------- */
.announce {
  background: var(--g1-brand-600); color: var(--g1-paper);
  font-size: 13px; line-height: 1; padding: 10px 16px;
  text-align: center;
}
.announce__dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 9999px;
  background: var(--g1-success-100); margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(31, 157, 107, 0.18);
  vertical-align: middle;
}

/* -------------------------------------------------- */
/*  Hero                                               */
/* -------------------------------------------------- */
.hero {
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding: 88px 0 112px; } }
.hero__grid {
  display: grid; gap: 56px; align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
.hero__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--g1-ink-500); margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55;
  color: var(--g1-ink-500); margin: 28px 0 0; max-width: 540px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--g1-line-soft);
  font-size: 13px; color: var(--g1-ink-500);
}
.hero__trust strong { color: var(--g1-ink-900); font-weight: 600; }

/* Hero device showcase */
.hero__device {
  position: relative;
  background: var(--g1-brand-50);
  border-radius: 28px;
  padding: 48px 36px 36px;
  display: flex; flex-direction: column; align-items: center;
  isolation: isolate;
}
.hero__device::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, var(--g1-brand-100), transparent 60%);
  border-radius: inherit;
  z-index: -1;
}
.hero__device-meta {
  position: absolute; top: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 12px; color: var(--g1-ink-500);
}
.hero__device-meta strong { color: var(--g1-ink-900); }
.hero__device-price {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.hero__device-price .price { font-size: 22px; font-weight: 600; color: var(--g1-ink-900); font-variant-numeric: tabular-nums; letter-spacing: -0.012em; }
.hero__device-price .when { font-size: 12px; color: var(--g1-ink-500); }

/* -------------------------------------------------- */
/*  Section header                                     */
/* -------------------------------------------------- */
.sec-head { display: grid; gap: 16px; max-width: 720px; }
.sec-head--center { margin: 0 auto; text-align: center; justify-items: center; }
.sec-head__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px;
}
.sec-head__row .sec-head { margin-bottom: 0; }

/* -------------------------------------------------- */
/*  Trust strip                                        */
/* -------------------------------------------------- */
.trust-strip {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--g1-line);
  border-radius: 20px;
  background: var(--g1-surface);
  overflow: hidden;
}
@media (min-width: 720px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-cell {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--g1-line-soft);
}
@media (min-width: 720px) {
  .trust-cell { border-bottom: none; border-right: 1px solid var(--g1-line-soft); }
  .trust-cell:last-child { border-right: none; }
}
.trust-cell:last-child { border-bottom: none; }
.trust-cell__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--g1-brand-50);
  color: var(--g1-brand-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-cell__icon .icon { width: 18px; height: 18px; }
.trust-cell__t { font-size: 14px; font-weight: 600; color: var(--g1-ink-900); }
.trust-cell__b { font-size: 13px; color: var(--g1-ink-500); margin-top: 4px; line-height: 1.45; }

/* -------------------------------------------------- */
/*  Phone gallery cards                                */
/* -------------------------------------------------- */
.phone-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .phone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .phone-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.phone-card {
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 20px;
  padding: 16px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: border-color 160ms var(--g1-ease-out), box-shadow 240ms var(--g1-ease-out), transform 240ms var(--g1-ease-out);
}
.phone-card:hover { border-color: var(--g1-ink-300); box-shadow: var(--g1-shadow-sm); transform: translateY(-2px); }
.phone-card__photo {
  background: var(--g1-brand-50);
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.phone-card__photo .device-svg { height: 78%; width: auto; transition: transform 480ms var(--g1-ease-out); }
.phone-card:hover .phone-card__photo .device-svg { transform: translateY(-4px); }
.phone-card__photo-tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 9999px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 600; color: var(--g1-ink-700);
}
.phone-card__photo-tag--success { background: var(--g1-success-100); color: var(--g1-success-600); }
.phone-card__photo-tag--warn { background: var(--g1-warn-100); color: var(--g1-warn-600); }
.phone-card__brand {
  font-size: 11px; font-weight: 600; color: var(--g1-ink-500);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.phone-card__name {
  font-size: 18px; font-weight: 600; color: var(--g1-ink-900);
  margin: 6px 0 6px; letter-spacing: -0.012em;
}
.phone-card__meta {
  font-size: 13px; color: var(--g1-ink-500); margin-bottom: 16px;
}
.phone-card__foot {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--g1-line-soft);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.phone-card__price { font-size: 18px; font-weight: 600; color: var(--g1-ink-900); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.1; }
.phone-card__price-meta { font-size: 11px; color: var(--g1-ink-500); margin-top: 4px; }
.phone-card__cta {
  font-size: 13px; font-weight: 500; color: var(--g1-brand-600);
  display: inline-flex; align-items: center; gap: 4px;
}
.phone-card__cta .icon { width: 14px; height: 14px; transition: transform 160ms var(--g1-ease-out); }
.phone-card:hover .phone-card__cta .icon { transform: translateX(3px); }

/* -------------------------------------------------- */
/*  Country picker / pricing                           */
/* -------------------------------------------------- */
.country-board {
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 24px;
  padding: 32px;
  display: grid; gap: 32px;
}
@media (min-width: 900px) { .country-board { grid-template-columns: 280px 1fr; align-items: stretch; padding: 40px; } }
.country-board__list {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 0;
}
@media (min-width: 900px) { .country-board__list { border-right: 1px solid var(--g1-line-soft); padding-right: 28px; } }
.country-row {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 12px;
  cursor: pointer; border: none; background: transparent; text-align: left;
  transition: background-color 160ms var(--g1-ease-out);
  font-family: inherit;
}
.country-row:hover { background: var(--g1-ink-100); }
.country-row[aria-pressed="true"] {
  background: var(--g1-brand-50);
  color: var(--g1-brand-600);
}
.country-row__flag {
  width: 24px; height: 18px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17,19,23,0.08);
}
.country-row__name { font-size: 14px; font-weight: 500; color: var(--g1-ink-900); }
.country-row[aria-pressed="true"] .country-row__name { color: var(--g1-brand-600); }
.country-row__currency { font-size: 11px; color: var(--g1-ink-500); font-family: var(--g1-font-mono); letter-spacing: 0.04em; }

.country-board__detail {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 28px;
  padding-left: 0;
}
@media (min-width: 900px) { .country-board__detail { padding-left: 12px; } }
.country-board__device { display: flex; align-items: center; gap: 20px; }
.country-board__device-photo {
  flex-shrink: 0;
  width: 76px; height: 96px;
  background: var(--g1-brand-50); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.country-board__device-photo .device-svg { height: 78%; width: auto; }
.country-board__device-name { font-size: 16px; font-weight: 600; color: var(--g1-ink-900); }
.country-board__device-meta { font-size: 13px; color: var(--g1-ink-500); margin-top: 4px; }
.country-board__price-block { display: flex; flex-direction: column; gap: 6px; }
.country-board__price {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1; font-weight: 600;
  color: var(--g1-ink-900);
  font-variant-numeric: tabular-nums; letter-spacing: -0.025em;
}
.country-board__price-meta { font-size: 13px; color: var(--g1-ink-500); }
.country-board__rows {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--g1-line-soft);
  padding-top: 20px;
}
.country-board__rows > div {
  padding-right: 16px;
}
.country-board__rows > div + div { border-left: 1px solid var(--g1-line-soft); padding-left: 16px; }
.country-board__row-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--g1-ink-500); font-weight: 600; }
.country-board__row-value { font-size: 14px; font-weight: 500; color: var(--g1-ink-900); margin-top: 6px; }
.country-board__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------- */
/*  Why-G1 large feature cards                         */
/* -------------------------------------------------- */
.why-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 240px;
}
.why-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--g1-brand-50); color: var(--g1-brand-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.why-card__icon .icon { width: 22px; height: 22px; }
.why-card__t { font-size: 18px; font-weight: 600; color: var(--g1-ink-900); letter-spacing: -0.01em; }
.why-card__b { font-size: 14px; line-height: 1.55; color: var(--g1-ink-500); margin: 0; }
.why-card__num {
  margin-top: auto;
  font-size: 13px; color: var(--g1-ink-700); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.why-card__num strong { color: var(--g1-brand-600); font-weight: 700; white-space: nowrap; }

/* -------------------------------------------------- */
/*  Big stats band                                     */
/* -------------------------------------------------- */
.stats-band {
  background: var(--g1-brand-900);
  color: var(--g1-paper);
  border-radius: 28px;
  padding: 48px 32px;
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .stats-band { grid-template-columns: repeat(4, 1fr); padding: 56px 48px; } }
.stats-band__cell { display: flex; flex-direction: column; gap: 6px; position: relative; }
.stats-band__cell + .stats-band__cell::before {
  content: ""; position: absolute; left: -18px; top: 4px; bottom: 4px; width: 1px;
  background: rgba(255,255,255,0.12);
  display: none;
}
@media (min-width: 768px) { .stats-band__cell + .stats-band__cell::before { display: block; } }
.stats-band__value {
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1; font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  color: var(--g1-paper);
}
.stats-band__value sup { font-size: 0.4em; vertical-align: top; color: var(--g1-brand-200); font-weight: 500; }
.stats-band__label { font-size: 14px; font-weight: 500; color: var(--g1-paper); margin-top: 12px; }
.stats-band__detail { font-size: 13px; color: var(--g1-brand-200); }

/* -------------------------------------------------- */
/*  How it works                                       */
/* -------------------------------------------------- */
.howto-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .howto-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.howto-card {
  background: var(--g1-paper);
  border: 1px solid var(--g1-line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.howto-card__n {
  font-family: var(--g1-font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--g1-ink-500);
}
.howto-card__t { font-size: 22px; font-weight: 600; color: var(--g1-ink-900); letter-spacing: -0.012em; }
.howto-card__b { font-size: 15px; line-height: 1.6; color: var(--g1-ink-500); margin: 0; }
.howto-card__icon {
  align-self: flex-start;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--g1-brand-600); color: var(--g1-paper);
  display: inline-flex; align-items: center; justify-content: center;
}
.howto-card__icon .icon { width: 22px; height: 22px; }

/* -------------------------------------------------- */
/*  Testimonial                                        */
/* -------------------------------------------------- */
.quote {
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 24px;
  padding: 40px;
  display: grid; gap: 32px;
}
@media (min-width: 720px) { .quote { padding: 56px; grid-template-columns: 1fr auto; align-items: flex-end; gap: 56px; } }
.quote__text {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35; color: var(--g1-ink-900); font-weight: 500;
  letter-spacing: -0.012em; margin: 0;
  text-wrap: balance;
}
.quote__row { display: flex; flex-direction: column; gap: 6px; }
.quote__name { font-size: 14px; font-weight: 600; color: var(--g1-ink-900); }
.quote__city { font-size: 13px; color: var(--g1-ink-500); }
.quote__outcome {
  margin-top: 12px;
  font-size: 12px; font-weight: 500; color: var(--g1-brand-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.quote__avatar {
  width: 48px; height: 48px; border-radius: 9999px;
  background: var(--g1-brand-100); color: var(--g1-brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px;
  flex-shrink: 0;
}

.quote-rail {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .quote-rail { grid-template-columns: repeat(3, 1fr); } }
.mini-quote {
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.mini-quote__text { font-size: 16px; line-height: 1.5; color: var(--g1-ink-900); margin: 0; text-wrap: balance; }
.mini-quote__foot { display: flex; align-items: center; gap: 12px; }

/* -------------------------------------------------- */
/*  CTA band                                           */
/* -------------------------------------------------- */
.cta-band {
  background: var(--g1-brand-600); color: var(--g1-paper);
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
@media (min-width: 720px) { .cta-band { padding: 88px 56px; } }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 90% 0%, var(--g1-brand-500), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, var(--g1-brand-700), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  color: var(--g1-paper);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 600;
  margin: 0; max-width: 18ch; margin-inline: auto;
}
.cta-band p {
  color: var(--g1-brand-200);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  max-width: 50ch; margin: 16px auto 0;
}
.cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* -------------------------------------------------- */
/*  Payments row                                       */
/* -------------------------------------------------- */
.pay-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .pay-grid { grid-template-columns: repeat(4, 1fr); } }
.pay-card {
  background: var(--g1-surface); border: 1px solid var(--g1-line);
  border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.pay-card__logo {
  height: 28px; display: flex; align-items: center;
  color: var(--g1-ink-900);
}
.pay-card__t { font-size: 14px; font-weight: 600; color: var(--g1-ink-900); }
.pay-card__b { font-size: 13px; line-height: 1.45; color: var(--g1-ink-500); margin: 0; }
.pay-card__meta { margin-top: auto; font-size: 12px; color: var(--g1-ink-500); }

/* -------------------------------------------------- */
/*  Footer                                             */
/* -------------------------------------------------- */
.site-footer {
  background: var(--g1-brand-900);
  color: var(--g1-ink-300);
  padding: 80px 0 32px;
  margin-top: 96px;
}
.site-footer__grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer__brand img { width: 150px; margin-bottom: 24px; filter: brightness(0) invert(1) opacity(0.9); }
.site-footer__tag { font-size: 14px; line-height: 1.55; color: var(--g1-ink-300); max-width: 320px; margin: 0; }
.site-footer__addr { font-size: 13px; line-height: 1.6; color: var(--g1-ink-400); margin: 20px 0 0; font-style: normal; }
.site-footer__addr a { color: var(--g1-ink-300); }
.site-footer h4 {
  font-size: 12px; font-weight: 600; color: var(--g1-paper);
  margin: 0 0 18px; letter-spacing: 0.08em; text-transform: uppercase;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer ul a {
  color: var(--g1-ink-300); font-size: 14px; text-decoration: none;
  transition: color 80ms var(--g1-ease-out);
}
.site-footer ul a:hover { color: var(--g1-paper); }
.site-footer__bottom {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--g1-ink-400);
}
.site-footer__bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__bottom a { color: var(--g1-ink-400); }
.site-footer__bottom a:hover { color: var(--g1-paper); }
.site-footer__pay {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px;
  align-items: center;
}
.site-footer__pay-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
  color: var(--g1-ink-300);
  font-size: 11px; font-weight: 600;
  font-family: var(--g1-font-mono);
  letter-spacing: 0.04em;
}

/* -------------------------------------------------- */
/*  Page header (non-home pages)                       */
/* -------------------------------------------------- */
.page-header {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--g1-line-soft);
}
@media (min-width: 1024px) { .page-header { padding: 88px 0 72px; } }
.page-header__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) {
  .page-header__grid { grid-template-columns: 1.4fr 1fr; align-items: flex-end; gap: 48px; }
}
.page-header__meta {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; color: var(--g1-ink-500);
}
.page-header__meta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* -------------------------------------------------- */
/*  Product listing toolbar                            */
/* -------------------------------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 16px;
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 14px;
  margin-bottom: 32px;
}
.toolbar__group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.toolbar__label { font-size: 12px; color: var(--g1-ink-500); margin-right: 4px; font-weight: 500; }
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 9999px;
  border: 1px solid var(--g1-line);
  background: var(--g1-paper);
  font-size: 13px; font-weight: 500; color: var(--g1-ink-700);
  cursor: pointer;
  transition: border-color 160ms var(--g1-ease-out), color 160ms var(--g1-ease-out), background-color 160ms var(--g1-ease-out);
}
.filter-pill:hover { border-color: var(--g1-ink-300); color: var(--g1-ink-900); }
.filter-pill[aria-pressed="true"] {
  background: var(--g1-brand-600); color: var(--g1-paper); border-color: var(--g1-brand-600);
}
.toolbar__sep { width: 1px; background: var(--g1-line-soft); align-self: stretch; margin: 0 8px; }
.toolbar__count { margin-left: auto; font-size: 13px; color: var(--g1-ink-500); }

/* -------------------------------------------------- */
/*  Product detail                                     */
/* -------------------------------------------------- */
.pdp {
  padding: 40px 0 80px;
}
.pdp__grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .pdp__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: flex-start; } }

.pdp__gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; }
.pdp__hero {
  background: var(--g1-brand-50);
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.pdp__hero .device-svg { height: 80%; width: auto; }
.pdp__hero-tag {
  position: absolute; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 600; color: var(--g1-brand-600);
}
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp__thumb {
  background: var(--g1-brand-50); border-radius: 12px;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 2px solid transparent; cursor: pointer;
}
.pdp__thumb[aria-pressed="true"] { border-color: var(--g1-brand-600); }
.pdp__thumb .device-svg { height: 70%; width: auto; }

.pdp__info { display: flex; flex-direction: column; gap: 0; }
.pdp__brand { font-size: 12px; font-weight: 600; color: var(--g1-ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.pdp__name {
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 600;
  letter-spacing: -0.02em; color: var(--g1-ink-900); margin: 12px 0 16px;
}
.pdp__intro { font-size: 16px; line-height: 1.55; color: var(--g1-ink-500); margin: 0; max-width: 52ch; }
.pdp__price-row { display: flex; align-items: baseline; gap: 16px; margin: 28px 0 8px; flex-wrap: wrap; }
.pdp__price { font-size: 36px; font-weight: 600; color: var(--g1-ink-900); font-variant-numeric: tabular-nums; letter-spacing: -0.022em; }
.pdp__price-strike { font-size: 16px; color: var(--g1-ink-400); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pdp__price-meta { font-size: 13px; color: var(--g1-ink-500); margin: 0 0 32px; }
.pdp__price-meta strong { color: var(--g1-success-600); font-weight: 600; }

.pdp__variants { display: flex; flex-direction: column; gap: 22px; }
.pdp__variant-label {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--g1-ink-700);
  margin-bottom: 10px;
}
.pdp__variant-label span { font-weight: 400; color: var(--g1-ink-500); }
.pdp__swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp__swatch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--g1-line);
  background: var(--g1-surface);
  font-size: 14px; font-weight: 500; color: var(--g1-ink-900);
  cursor: pointer;
  transition: border-color 160ms var(--g1-ease-out);
}
.pdp__swatch:hover { border-color: var(--g1-ink-300); }
.pdp__swatch[aria-pressed="true"] {
  border-color: var(--g1-brand-600);
  box-shadow: 0 0 0 1px var(--g1-brand-600) inset;
}
.pdp__color-dot { width: 18px; height: 18px; border-radius: 9999px; border: 1px solid rgba(17,19,23,0.08); }
.pdp__storage { padding: 12px 16px; min-width: 84px; text-align: center; }

.pdp__cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0; }
.pdp__delivery-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--g1-line-soft);
  padding-top: 24px;
}
@media (min-width: 640px) { .pdp__delivery-grid { grid-template-columns: repeat(2, 1fr); } }
.pdp__delivery {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  background: var(--g1-surface); border: 1px solid var(--g1-line);
}
.pdp__delivery .icon { width: 20px; height: 20px; color: var(--g1-brand-600); flex-shrink: 0; margin-top: 1px; }
.pdp__delivery-t { font-size: 14px; font-weight: 600; color: var(--g1-ink-900); }
.pdp__delivery-b { font-size: 13px; line-height: 1.45; color: var(--g1-ink-500); margin-top: 2px; }

/* Product spec table */
.specs {
  display: grid; gap: 0; grid-template-columns: 1fr;
  background: var(--g1-surface);
  border: 1px solid var(--g1-line);
  border-radius: 16px;
  overflow: hidden;
}
.specs__row {
  display: grid; grid-template-columns: 200px 1fr; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--g1-line-soft);
  font-size: 14px;
}
.specs__row:last-child { border-bottom: none; }
.specs__row dt { color: var(--g1-ink-500); font-weight: 500; margin: 0; }
.specs__row dd { color: var(--g1-ink-900); font-weight: 500; margin: 0; }

/* -------------------------------------------------- */
/*  About-page bits                                    */
/* -------------------------------------------------- */
.story-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .story-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.story-card {
  background: var(--g1-brand-50);
  border-radius: 28px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.story-card__big {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600; line-height: 1; color: var(--g1-brand-600);
  letter-spacing: -0.025em; font-variant-numeric: tabular-nums;
}
.story-card__big-label { font-size: 14px; color: var(--g1-ink-700); margin-top: 4px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--g1-line-soft);
}
.timeline li:first-child { border-top: none; }
.timeline__year {
  font-family: var(--g1-font-mono);
  font-size: 14px; font-weight: 500;
  color: var(--g1-brand-600);
}
.timeline__t { font-size: 17px; font-weight: 600; color: var(--g1-ink-900); margin: 0; }
.timeline__b { font-size: 14px; line-height: 1.55; color: var(--g1-ink-500); margin: 6px 0 0; }

.team-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  background: var(--g1-surface); border: 1px solid var(--g1-line);
  border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.team-card__face {
  width: 56px; height: 56px; border-radius: 9999px;
  background: var(--g1-brand-100); color: var(--g1-brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px;
}
.team-card__name { font-size: 15px; font-weight: 600; color: var(--g1-ink-900); }
.team-card__role { font-size: 13px; color: var(--g1-ink-500); margin-top: 2px; }
.team-card__loc { font-size: 12px; color: var(--g1-ink-500); margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }

/* -------------------------------------------------- */
/*  Blog                                               */
/* -------------------------------------------------- */
.blog-feature {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
}
@media (min-width: 1000px) { .blog-feature { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; } }
.blog-feature__media {
  background: var(--g1-brand-50);
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: var(--g1-brand-600);
  position: relative;
  overflow: hidden;
}
.blog-feature__media .icon { width: 64px; height: 64px; }
.blog-feature__meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--g1-ink-500); }
.blog-feature__t { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; color: var(--g1-ink-900); margin: 18px 0; text-wrap: balance; }
.blog-feature__b { font-size: 17px; line-height: 1.5; color: var(--g1-ink-500); margin: 0; max-width: 52ch; }
.blog-feature__cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; color: var(--g1-brand-600); font-weight: 500; font-size: 14px; }

.blog-grid {
  display: grid; gap: 32px 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.post-card__media {
  background: var(--g1-brand-50);
  border-radius: 14px;
  aspect-ratio: 16 / 11;
  display: flex; align-items: center; justify-content: center;
  color: var(--g1-brand-600);
  overflow: hidden;
}
.post-card__media .icon { width: 40px; height: 40px; }
.post-card__media .device-svg { height: 80%; width: auto; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--g1-ink-500); }
.post-card__t { font-size: 18px; font-weight: 600; color: var(--g1-ink-900); margin: 0; line-height: 1.3; letter-spacing: -0.012em; }
.post-card__b { font-size: 14px; line-height: 1.5; color: var(--g1-ink-500); margin: 0; }

/* Blog post body */
.post-body {
  max-width: 720px; margin: 0 auto; padding: 56px 20px 80px;
}
.post-body__meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--g1-ink-500); margin-bottom: 16px; }
.post-body h1 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.12; font-weight: 600;
  letter-spacing: -0.022em; margin: 0 0 24px;
}
.post-body .lead { font-size: 19px; line-height: 1.55; color: var(--g1-ink-500); margin-bottom: 32px; max-width: none; }
.post-body__hero {
  background: var(--g1-brand-50);
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  margin: 24px 0 40px;
  color: var(--g1-brand-600);
}
.post-body__hero .device-svg { height: 75%; width: auto; }
.post-body h2 { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; margin: 48px 0 16px; }
.post-body h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 32px 0 12px; }
.post-body p { font-size: 17px; line-height: 1.65; color: var(--g1-ink-700); margin: 0 0 20px; }
.post-body blockquote {
  border-left: 3px solid var(--g1-brand-600);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-size: 20px; line-height: 1.5;
  color: var(--g1-ink-900); font-weight: 500;
}
.post-body ul { padding-left: 0; margin: 0 0 24px; list-style: none; }
.post-body ul li {
  position: relative; padding-left: 24px; margin-bottom: 8px;
  font-size: 17px; line-height: 1.6; color: var(--g1-ink-700);
}
.post-body ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--g1-ink-400);
}
.post-body__author {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--g1-line);
  display: flex; gap: 16px; align-items: center;
}
.post-body__author .face {
  width: 48px; height: 48px; border-radius: 9999px;
  background: var(--g1-brand-100); color: var(--g1-brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
}

/* -------------------------------------------------- */
/*  Contact                                            */
/* -------------------------------------------------- */
.contact-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; } }
.contact-card {
  background: var(--g1-surface); border: 1px solid var(--g1-line);
  border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact-card__head { display: flex; align-items: flex-start; gap: 14px; }
.contact-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--g1-brand-50); color: var(--g1-brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon .icon { width: 20px; height: 20px; }
.contact-card__t { font-size: 17px; font-weight: 600; color: var(--g1-ink-900); margin: 0; }
.contact-card__b { font-size: 14px; line-height: 1.55; color: var(--g1-ink-500); margin: 4px 0 0; }
.contact-card__lines {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
}
.contact-card__lines li { display: flex; align-items: center; gap: 10px; color: var(--g1-ink-700); }
.contact-card__lines li strong { color: var(--g1-ink-900); }
.contact-card__lines li .icon { width: 16px; height: 16px; color: var(--g1-ink-500); flex-shrink: 0; }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: 13px; font-weight: 500; color: var(--g1-ink-900); }
.form__field input, .form__field select, .form__field textarea {
  font-family: inherit; font-size: 15px; color: var(--g1-ink-900);
  padding: 12px 14px;
  background: var(--g1-paper);
  border: 1px solid var(--g1-line);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms var(--g1-ease-out), box-shadow 160ms var(--g1-ease-out);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--g1-ink-400); }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  border-color: var(--g1-brand-600);
  box-shadow: 0 0 0 3px var(--g1-brand-100);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hint { font-size: 12px; color: var(--g1-ink-500); }

/* -------------------------------------------------- */
/*  Shipping table                                     */
/* -------------------------------------------------- */
.ship-table {
  width: 100%; border-collapse: collapse;
  background: var(--g1-surface); border: 1px solid var(--g1-line);
  border-radius: 16px; overflow: hidden;
  font-size: 14px;
}
.ship-table th, .ship-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--g1-line-soft);
}
.ship-table th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--g1-ink-500); background: var(--g1-paper); }
.ship-table tr:last-child td { border-bottom: none; }
.ship-table td.flag-cell { display: flex; align-items: center; gap: 10px; }
.ship-table td.flag-cell .nav-country__flag { width: 22px; height: 16px; }

/* -------------------------------------------------- */
/*  Country picker modal                                */
/* -------------------------------------------------- */
.cp-modal[hidden], .mobile-menu[hidden] { display: none !important; }
.cp-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.cp-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 13, 27, 0.36);
  backdrop-filter: blur(4px);
}
.cp-modal__card {
  position: relative;
  width: 100%; max-width: 460px;
  max-height: 86vh; display: flex; flex-direction: column;
  background: var(--g1-surface);
  border-radius: 20px;
  box-shadow: var(--g1-shadow-xl);
  animation: g1-fade-up 240ms var(--g1-ease-out) both;
}
.cp-modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 24px 24px 16px; gap: 16px;
  border-bottom: 1px solid var(--g1-line-soft);
}
.cp-modal__close {
  background: transparent; border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--g1-ink-700);
}
.cp-modal__close:hover { background: var(--g1-ink-200); }
.cp-modal__body {
  overflow-y: auto;
  padding: 12px;
  display: flex; flex-direction: column; gap: 2px;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--g1-paper);
  display: flex; flex-direction: column;
  padding: 24px;
}
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-menu__links {
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu__links a {
  font-size: 22px; font-weight: 600; color: var(--g1-ink-900);
  padding: 14px 0; border-bottom: 1px solid var(--g1-line-soft);
  text-decoration: none;
}

/* Device SVG default sizing — pages override per context */
.device-svg { display: block; height: 100%; max-width: 100%; width: auto; }
/* Generic wrappers that hold a device SVG — let the SVG inherit parent sizing */
#pdp-hero-img, #post-hero, #feat-img, #rp1, #rp2, #rp3, #hero-device {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
#hero-device { height: 360px; } /* hero has its own fixed height context */

/* Animations — minimal fade-up on first paint */
@keyframes g1-fade-up {

  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.fade-up {
  /* opacity:1 base, animation only enhances; safe under static screenshot */
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .fade-up { animation: g1-fade-up 720ms var(--g1-ease-out) both; }
}
.fade-up-2 { animation-delay: 120ms; }
.fade-up-3 { animation-delay: 240ms; }
