/* StoreTune — landing page styles.
 *
 * Anchored to the same premium-light design system as the screenshots:
 *   - Soft sky/lavender background gradient
 *   - Serif italic display headlines (New York / Iowan / Charter)
 *   - White cards with airy shadows
 *   - Brand blue accent (#4A90E2)
 *
 * Single CSS file so the site deploys anywhere static (Netlify, Vercel,
 * Cloudflare Pages, GitHub Pages, plain S3+CloudFront).
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --st-blue:        #4A90E2;
  --st-blue-deep:   #2A66C8;
  --st-blue-darker: #1B4FA8;
  --st-yellow:      #F5C518;
  --st-yellow-soft: #FFE066;

  --st-text:        #1B1B22;
  --st-text-soft:   #353541;
  --st-muted:       #5C6577;
  --st-faint:       #8B92A4;
  --st-line:        #E5E9F1;

  --st-bg:          #FAFCFE;
  --st-card:        #FFFFFF;
  --st-card-alt:    #F4F7FB;

  --st-success-bg:  #DCFCE7;
  --st-success-ink: #166534;
  --st-up-bg:       #DBEAFE;
  --st-up-ink:      #1E40AF;

  --st-shadow-card:
    0 24px 48px -16px rgba(28, 50, 110, 0.16),
    0 4px 14px -4px rgba(28, 50, 110, 0.08),
    0 0 0 1px rgba(28, 50, 110, 0.04);
  --st-shadow-card-strong:
    0 30px 60px -18px rgba(28, 50, 110, 0.22),
    0 6px 18px -4px rgba(28, 50, 110, 0.12),
    0 0 0 1px rgba(28, 50, 110, 0.05);

  --st-serif: "New York", "Iowan Old Style", "Charter",
              "Palatino Linotype", Palatino, Georgia, serif;
  --st-sans:  "SF Pro Display", "SF Pro Text", "Inter", ui-sans-serif,
              system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --st-radius: 16px;
  --st-container: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--st-sans);
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  color: var(--st-text);
  background:
    radial-gradient(60% 40% at 16% 12%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 70%),
    linear-gradient(165deg,
      #F4F8FE 0%,
      #E8EFF8 35%,
      #DCE5F4 70%,
      #D4DDEE 100%);
  background-attachment: fixed;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--st-blue-deep); text-decoration: none; }
a:hover { color: var(--st-blue-darker); }

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--st-container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Navbar ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(244, 248, 254, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 50, 110, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--st-text);
}
.nav__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(28, 50, 110, 0.18);
}
.nav__brand span {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
}
.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-muted);
  border-radius: 8px;
}
.nav__link:hover { color: var(--st-text); background: rgba(28, 50, 110, 0.04); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease,
              background-color .12s ease, color .12s ease;
}
.btn--primary {
  background: linear-gradient(180deg, var(--st-blue) 0%, var(--st-blue-deep) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 18px -6px rgba(74, 144, 226, 0.45);
}
.btn--primary:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(74, 144, 226, 0.5);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(28, 50, 110, 0.08);
  color: var(--st-text);
}
.btn--ghost:hover {
  background: #FFFFFF;
  color: var(--st-text);
  transform: translateY(-1px);
}
.btn--lg {
  padding: 14px 22px;
  font-size: 15px;
}
.btn__chrome {
  width: 18px; height: 18px;
}

/* ── Section primitives ─────────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 50, 110, 0.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-blue-deep);
  box-shadow: 0 2px 8px rgba(28, 50, 110, 0.05);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--st-blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.section-h2 {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--st-text);
  margin-top: 16px;
}
.section-h2 .accent { color: var(--st-blue-deep); }
.section-lede {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--st-muted);
  max-width: 640px;
  letter-spacing: -0.005em;
}
.section-lede strong { color: var(--st-text); font-weight: 700; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  text-align: center;
}
.hero__text { max-width: 880px; margin: 0 auto; }
.hero__h1 {
  margin-top: 22px;
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 92px;
  letter-spacing: -0.022em;
  line-height: 0.96;
  color: var(--st-text);
}
.hero__h1 .accent { color: var(--st-blue-deep); }
.hero__sub {
  margin: 24px auto 0;
  max-width: 720px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--st-muted);
  letter-spacing: -0.005em;
}
.hero__sub strong { color: var(--st-text); font-weight: 700; }
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-faint);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust b { color: var(--st-text-soft); font-weight: 700; }

.hero__visual {
  margin-top: 8px;
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: 100%;
  max-width: 1100px;
  border-radius: 18px;
  box-shadow: var(--st-shadow-card-strong);
}

/* ── Trust strip ────────────────────────────────────────────────────── */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid rgba(28, 50, 110, 0.06);
  border-bottom: 1px solid rgba(28, 50, 110, 0.06);
  background: rgba(255, 255, 255, 0.4);
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
  letter-spacing: -0.005em;
}
.trust-strip__inner b { color: var(--st-text); font-weight: 700; }
.trust-strip__sep { color: var(--st-faint); opacity: 0.6; }

/* ── Two-column section ─────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.two-col__visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--st-shadow-card);
}

/* ── Feature grid ───────────────────────────────────────────────────── */
.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px;
  background: var(--st-card);
  border-radius: var(--st-radius);
  box-shadow: var(--st-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg,
    rgba(74, 144, 226, 0.18) 0%,
    rgba(74, 144, 226, 0.04) 100%);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--st-blue-deep);
}
.feature__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--st-text);
  letter-spacing: -0.01em;
}
.feature__lede {
  font-size: 14.5px;
  color: var(--st-muted);
  line-height: 1.5;
}

/* ── How it works (3-step) ──────────────────────────────────────────── */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  position: relative;
  padding: 28px;
  background: var(--st-card);
  border-radius: var(--st-radius);
  box-shadow: var(--st-shadow-card);
}
.step-card__num {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--st-blue);
  font-variant-numeric: tabular-nums;
}
.step-card__title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--st-text);
  letter-spacing: -0.01em;
}
.step-card__lede {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--st-muted);
  line-height: 1.5;
}

/* ── Stat callouts ──────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.stat-card {
  padding: 22px 22px;
  background: var(--st-card);
  border-radius: var(--st-radius);
  box-shadow: var(--st-shadow-card);
}
.stat-card__num {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--st-text);
  font-variant-numeric: tabular-nums;
}
.stat-card__num small {
  font-size: 22px;
  color: var(--st-blue);
  margin-left: 2px;
}
.stat-card__lbl {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-blue-deep);
}
.stat-card__sub {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--st-muted);
  line-height: 1.4;
}

/* ── Pricing ────────────────────────────────────────────────────────── */
.plans {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: var(--st-card);
  border-radius: 18px;
  box-shadow: var(--st-shadow-card);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.plan--featured {
  background: linear-gradient(165deg, #FFFFFF 0%, #F4F8FE 100%);
  box-shadow: var(--st-shadow-card-strong);
  border: 1px solid rgba(74, 144, 226, 0.22);
}
.plan__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--st-blue) 0%, var(--st-blue-deep) 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -3px rgba(74, 144, 226, 0.4);
}
.plan__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-blue-deep);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__amount {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--st-text);
  font-variant-numeric: tabular-nums;
}
.plan__period {
  font-size: 16px;
  font-weight: 600;
  color: var(--st-muted);
}
.plan__tag {
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.45;
}
.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--st-text-soft);
  line-height: 1.45;
}
.plan__features li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--st-success-bg);
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan__cta { margin-top: auto; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq {
  margin-top: 48px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.faq__item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 50, 110, 0.06);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--st-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.005em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--st-muted);
  transition: transform .15s ease;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--st-muted);
  line-height: 1.55;
}
.faq__item code {
  background: var(--st-card-alt);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  font-family: ui-monospace, Menlo, Monaco, monospace;
}

/* ── Final CTA ──────────────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding: 96px 0 80px;
}
.final-cta__h2 {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.022em;
  line-height: 1.0;
  color: var(--st-text);
}
.final-cta__sub {
  margin: 18px auto 28px;
  max-width: 580px;
  font-size: 18px;
  color: var(--st-muted);
  line-height: 1.45;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.foot {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(28, 50, 110, 0.08);
  background: rgba(255, 255, 255, 0.4);
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 700;
  color: var(--st-text);
}
.foot__brand img {
  width: 30px; height: 30px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(28, 50, 110, 0.18);
}
.foot__brand span {
  font-family: var(--st-serif);
  font-style: italic;
}
.foot__tag {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--st-muted);
  line-height: 1.5;
  max-width: 360px;
}
.foot__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-blue-deep);
}
.foot__list {
  margin-top: 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot__list a {
  font-size: 14px;
  color: var(--st-muted);
  font-weight: 500;
}
.foot__list a:hover { color: var(--st-text); }
.foot__legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(28, 50, 110, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--st-faint);
}

/* ── Article (privacy.html, terms.html) ─────────────────────────────── */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 96px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--st-text-soft);
}
.article h1 {
  font-family: var(--st-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.022em;
  line-height: 1.0;
  color: var(--st-text);
  margin-bottom: 24px;
}
.article h2 {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
  color: var(--st-text);
  letter-spacing: -0.01em;
}
.article p { margin-top: 14px; }
.article ul { margin-top: 14px; padding-left: 22px; }
.article li { margin-top: 6px; }
.article code {
  background: var(--st-card-alt);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  font-family: ui-monospace, Menlo, Monaco, monospace;
}
.article table {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
  background: var(--st-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--st-shadow-card);
}
.article th, .article td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--st-line);
  font-size: 14px;
}
.article th {
  background: var(--st-card-alt);
  font-weight: 700;
  color: var(--st-text);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__h1 { font-size: 64px; }
  .section-h2 { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .foot__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav__link[data-hide-mobile] { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero__h1 { font-size: 48px; }
  .hero__sub { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-h2 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .final-cta__h2 { font-size: 40px; }
}
