/* =====================================================================
   ZeroSMS public website.
   Layered on top of app.css: same tokens, same components, wider and
   lighter treatment for a marketing page.
   ===================================================================== */

.site { background: var(--surface); }

.site-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ------------------------------------------------------------ announce */
.site-announce {
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
}

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--text);
  flex-shrink: 0;
}
.site-brand:hover { text-decoration: none; }
.site-brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-nav { display: flex; gap: 4px; margin-right: auto; }

.site-nav__link {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.site-nav__link:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.site-nav__link.is-active { color: var(--brand); background: var(--brand-soft); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-nav__toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.site-hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%,
      color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    var(--surface);
  text-align: center;
}

.site-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-soft);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
}

.site-hero__title {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.08;
  max-width: 17ch;
  margin: 0 auto 20px;
}

.site-hero__subtitle {
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 58ch;
  margin: 0 auto 30px;
}

.site-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.site-hero__note { font-size: 13px; color: var(--text-subtle); }

/* --------------------------------------------------------------- stats */
.site-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}

.site-stat { background: var(--surface); padding: 26px 20px; text-align: center; }
.site-stat__value {
  font-size: 28px; font-weight: 680; letter-spacing: -.03em;
  color: var(--brand); line-height: 1.1;
}
.site-stat__label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* -------------------------------------------------------------- blocks */
.site-section { padding: 76px 0; }
.site-section--alt { background: var(--bg); border-block: 1px solid var(--border); }

.site-section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.site-section__title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 660; letter-spacing: -.028em; line-height: 1.18;
  margin-bottom: 12px;
}
.site-section__text { font-size: 15.5px; color: var(--text-muted); line-height: 1.6; }

.site-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.site-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.site-feature:hover {
  border-color: var(--brand-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.site-feature__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px;
}
.site-feature__title { font-size: 15.5px; font-weight: 620; margin-bottom: 7px; }
.site-feature__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ------------------------------------------------------------- pricing */
.site-price-head { text-align: center; padding: 64px 0 36px; }

/* The price itself is the thing people scan for, so it gets weight and
   tabular figures. Everything else reuses the shared .table component,
   which already handles narrow screens by turning rows into cards. */
.site-price__value {
  font-size: 15px;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.table tr.is-featured { background: var(--brand-soft); }
.table tr.is-featured:hover { background: var(--brand-soft); }

/* ------------------------------------------------------------ CTA band */
.site-cta {
  background: linear-gradient(140deg, var(--brand-strong), var(--brand) 60%, #0f6f9c);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.18), transparent 55%);
}
.site-cta__inner { position: relative; z-index: 1; }
.site-cta__title { font-size: clamp(22px, 3vw, 30px); font-weight: 660; letter-spacing: -.025em; margin-bottom: 10px; }
.site-cta__text { font-size: 15.5px; opacity: .92; margin-bottom: 26px; max-width: 46ch; margin-inline: auto; }
.site-cta .btn--primary { background: #fff; color: var(--brand-strong); border-color: #fff; }
.site-cta .btn--primary:hover { background: #f1f6fa; border-color: #f1f6fa; }
.site-cta .btn--secondary {
  background: rgba(255, 255, 255, .14); color: #fff;
  border-color: rgba(255, 255, 255, .34);
}
.site-cta .btn--secondary:hover { background: rgba(255, 255, 255, .24); }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 52px 0 28px; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 32px;
}
.site-footer__grid > div { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.site-footer__grid a { font-size: 13.5px; color: var(--text-muted); }
.site-footer__grid a:hover { color: var(--brand); }

.site-brand--footer { font-size: 15px; margin-bottom: 4px; }
.site-footer__tagline { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; max-width: 34ch; }
.site-footer__heading {
  font-size: 11.5px; font-weight: 640; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text); margin-bottom: 3px;
}
.site-footer__muted { font-size: 13px; color: var(--text-subtle); line-height: 1.55; }
.site-footer__social { display: flex; gap: 14px; margin-top: 6px; }

.site-footer__base {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-subtle);
}

/* ------------------------------------------------------------- contact */
.site-contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }

.site-contact-item { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.site-contact-item:last-child { border-bottom: 0; }
.site-contact-item__icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.site-contact-item__label { font-size: 12px; color: var(--text-subtle); margin-bottom: 2px; }
.site-contact-item__value { font-size: 14.5px; font-weight: 550; word-break: break-word; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 11px 14px; }
  .site-nav__toggle { display: inline-flex; }
  .site-hide-sm { display: none; }
  .site-header { position: relative; }

  .site-hero { padding: 56px 0 48px; }
  .site-section { padding: 52px 0; }

  .site-cta { padding: 40px 24px; }
}

@media (max-width: 520px) {
  .site-container { padding: 0 16px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-hero__actions .btn { width: 100%; }
}
