/* ============================================================
   Sansoif — Landing layout (.ls-*)
   Ported verbatim from the design-system landing kit, minus the
   global reset (now in base.css). One invalid :not() selector in
   the mobile nav rule was replaced with a .ls-nav-link class.
   ============================================================ */

.ls-root { overflow-x: hidden; }

/* Header */
.ls-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.ls-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
}
.ls-brand img { width: 34px; height: 34px; border-radius: 8px; }
.ls-brand.on-dark { color: var(--ink-inverse); }
.ls-nav { display: flex; align-items: center; gap: 22px; color: var(--ink-muted); font-weight: 600; font-size: 15px; }
.ls-nav-link:hover { color: var(--ink); }
.ls-nav .ls-nav-download { display: none; }
.ls-lang { display: inline-flex; gap: 8px; color: var(--ink); font-weight: 700; }
.ls-lang .sep { color: var(--border); }
.ls-lang a[aria-current="true"] { color: var(--ink-accent); }

/* Hero */
.ls-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) clamp(16px, 4vw, 48px);
}
.ls-wordmark {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 9vw, 7rem); line-height: 0.9; letter-spacing: -0.03em;
}
.ls-tagline {
  margin: 10px 0 0; font-family: var(--font-display); font-weight: 700; color: var(--ink-accent);
  font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.02em;
}
.ls-lede {
  margin: 22px 0 0; max-width: 46ch; color: var(--ink-body);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5;
}
.ls-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ls-hero-guide { margin: 16px 0 0; color: var(--ink-muted); font-size: 0.9375rem; font-weight: 600; }
.ls-hero-guide a { text-decoration: underline; text-decoration-color: var(--border-control); text-underline-offset: 4px; }
.ls-hero-guide a:hover { color: var(--ink-accent); text-decoration-color: currentColor; }
.ls-hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ls-hero-mascot { display: flex; justify-content: center; }

/* Sections */
.ls-section { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); }
.ls-kicker {
  margin: 0 0 12px; color: var(--ink-accent); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ls-kicker.on-dark { color: var(--accent); }
.ls-title {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch;
}
.ls-title.on-dark { color: var(--ink-inverse); }
.ls-lede.ls-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 60ch; }

/* Benefits */
.ls-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.ls-benefit {
  padding: 26px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.ls-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 28px;
  border-radius: 50%; background: var(--contrast); color: var(--on-contrast);
  font-family: var(--font-display); font-weight: 800;
}
.ls-benefit h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.ls-benefit p { margin: 12px 0 0; color: var(--ink-muted); line-height: 1.55; }

/* Quick guide: the poke is visible, the other walkthroughs expand on demand. */
.ls-guide { padding-top: 0; }
.ls-guide .ls-title { max-width: 22ch; }
.ls-guide .ls-lede { max-width: 58ch; }
.ls-guide-poke {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px); margin-top: 32px; padding: clamp(24px, 4vw, 36px);
  background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.ls-guide-poke h3 {
  margin: 18px 0 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; letter-spacing: -0.02em;
}
.ls-guide-poke p { margin: 14px 0 0; color: var(--ink-body); }
.ls-guide-poke .ls-guide-note { color: var(--ink-muted); font-size: 14px; }
.ls-guide-steps { margin: 0; padding-left: 24px; color: var(--ink-body); }
.ls-guide-steps li { padding-left: 6px; }
.ls-guide-steps li + li { margin-top: 16px; }
.ls-guide-steps li::marker { color: var(--ink-accent); font-weight: 800; }
.ls-guide-topics {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; gap: 12px; margin-top: 16px;
}
.ls-guide-topic {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.ls-guide-topic summary { padding: 20px 24px; cursor: pointer; font-weight: 700; }
.ls-guide-topic summary::marker { color: var(--ink-accent); }
.ls-guide-topic summary:hover { color: var(--ink-accent); }
.ls-guide-topic summary:focus-visible {
  outline: none; box-shadow: var(--sf-ring); border-radius: var(--radius-sm);
}
.ls-guide-topic[open] summary { border-bottom: 1px solid var(--border-soft); }
.ls-guide-topic .ls-guide-steps { margin: 20px 24px 24px; }

/* Privacy band */
.ls-band { background: var(--surface-inverse); color: var(--ink-inverse); }
.ls-band-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px);
}
.ls-band .ls-lede { color: var(--ink-inverse-muted); }
.ls-privacy { display: grid; gap: 2px; }
.ls-privacy-row {
  display: flex; justify-content: space-between; gap: 18px;
  border-top: 1px solid var(--border-inverse); padding: 16px 0; color: var(--ink-inverse-muted);
}
.ls-privacy-row strong { color: var(--ink-inverse); font-weight: 700; }

/* Gallery */
.ls-gallery-section { text-align: center; background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg-tint) 60%, var(--surface-sunken))); }
.ls-gallery-section .ls-title { margin: 0 auto; }
.ls-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center; gap: clamp(28px, 4vw, 52px);
  max-width: 880px; margin: 44px auto 0;
}
.ls-shot { margin: 0; }
.ls-shot-pair { display: flex; justify-content: center; gap: clamp(10px, 1.4vw, 16px); }
.ls-phone {
  width: clamp(126px, 15vw, 168px); padding: 7px; background: var(--charcoal);
  border-radius: 26px; box-shadow: var(--shadow-md);
}
.ls-phone img { display: block; width: 100%; border-radius: 20px; }
.ls-shot figcaption { margin-top: 16px; color: var(--ink-muted); font-weight: 600; font-size: 14px; }

/* iPad */
.ls-ipad { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-tint) 60%, var(--surface-sunken)), var(--bg-tint)); border-top: 1px solid var(--border); text-align: center; }
.ls-ipad-inner { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); }
.ls-ipad .ls-title { margin: 0 auto; }
.ls-ipad-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px); max-width: 1120px; margin: 44px auto 0; align-items: start;
}
.ls-tablet-shot { margin: 0; }
.ls-tablet {
  padding: 7px; background: var(--charcoal);
  border-radius: 18px; box-shadow: var(--shadow-lg);
}
.ls-tablet img { display: block; width: 100%; border-radius: 11px; }
.ls-tablet-shot figcaption { margin-top: 14px; color: var(--ink-muted); font-weight: 600; font-size: 14px; }

/* Premium — subscription + seasons pack */
.ls-premium { background: var(--surface); border-top: 1px solid var(--border); text-align: center; }
.ls-premium-inner { max-width: 1000px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); }
.ls-premium .ls-title { margin: 0 auto; }
.ls-premium-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px); margin-top: 44px; text-align: left; align-items: start;
}
.ls-premium-card {
  padding: 28px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.ls-premium-card h3 { margin: 14px 0 0; font-size: 1.35rem; line-height: 1.2; font-weight: 700; }
.ls-premium-card p { margin: 10px 0 0; color: var(--ink-muted); line-height: 1.55; }
.ls-premium-crown { float: right; width: 96px; margin: 0 0 8px 12px; }
.ls-premium-seasons {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px;
  margin: 20px 0 0; padding: 0; list-style: none;
}
.ls-premium-seasons img { width: 100%; max-width: 104px; }
.ls-premium-seasons li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ls-premium-crown, .ls-premium-seasons img {
  height: auto; aspect-ratio: 1;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
}
.ls-premium-seasons span { color: var(--ink-body); font-size: 13px; font-weight: 600; line-height: 1.25; }
.ls-premium-note { margin: 28px auto 0; color: var(--ink-muted); font-size: 14px; font-weight: 600; max-width: 52ch; }

/* Free vs Plus comparison. The wrapper scrolls on narrow screens so the page
   body never does. */
.ls-premium-table-wrap { margin-top: 44px; overflow-x: auto; }
.ls-premium-table {
  width: 100%; min-width: 460px; border-collapse: collapse;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; text-align: left;
}
.ls-premium-table caption {
  caption-side: top; padding: 0 0 14px; color: var(--ink-muted);
  font-size: 14px; font-weight: 700; text-align: left;
}
.ls-premium-table th, .ls-premium-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.4;
}
.ls-premium-table thead th { font-weight: 700; background: var(--surface-sunken); white-space: nowrap; }
.ls-premium-table tbody th { font-weight: 600; }
.ls-premium-table td { color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
.ls-premium-table tbody tr:last-child th,
.ls-premium-table tbody tr:last-child td { border-bottom: 0; }

/* Availability */
.ls-avail { background: var(--surface-sunken); border-top: 1px solid var(--border); }
.ls-avail-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 48px);
}
.ls-avail h2 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.02em; max-width: 14ch;
}

/* Footer */
.ls-footer { background: var(--surface-inverse); color: var(--ink-inverse); }
.ls-footer-inner {
  display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 48px;
}
.ls-footer-note { margin: 12px 0 0; color: var(--ink-inverse-muted); font-size: 14px; }
.ls-footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-inverse-muted); font-weight: 600; align-content: flex-start; }
.ls-footer-links a:hover { color: var(--ink-inverse); }

/* Availability — store badges */
.ls-avail-note { margin: 8px 0 0; color: var(--ink-muted); font-weight: 600; }
.ls-avail-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Apple Watch */
.ls-watch { background: var(--bg-tint); border-top: 1px solid var(--border); text-align: center; }
.ls-watch-inner {
  max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px);
}
.ls-watch .ls-title { margin: 0 auto; }
.ls-watch-points { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.ls-watch-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px); max-width: 1000px; margin: 44px auto 0; align-items: start;
}
.ls-watch-shot { margin: 0; }
.ls-watch-frame {
  padding: 8px; background: var(--charcoal);
  border-radius: 34px; box-shadow: var(--shadow-lg);
}
.ls-watch-frame img { display: block; width: 100%; border-radius: 27px; }
.ls-watch-shot figcaption { margin-top: 14px; color: var(--ink-muted); font-weight: 600; font-size: 13px; }

@media (max-width: 1080px) {
  .ls-nav-guide { display: none; }
}

@media (max-width: 880px) {
  /* minmax(0, …): a bare 1fr grows to the mascot's 420px and pushes the copy
     and the store buttons past a phone's edge. */
  .ls-hero { grid-template-columns: minmax(0, 1fr); }
  .ls-hero-mascot { order: -1; justify-content: flex-start; }
  .ls-band-inner { grid-template-columns: 1fr; }
  .ls-benefits { grid-template-columns: 1fr; }
  .ls-guide-poke, .ls-guide-topics { grid-template-columns: minmax(0, 1fr); }
  .ls-nav-link { display: none; }
  .ls-ipad-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
  .ls-premium-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ls-nav .ls-nav-store { display: none; }
  .ls-nav .ls-nav-download { display: inline-flex; }
  .ls-premium-crown { width: 72px; }
}

@media (max-width: 620px) {
  .ls-watch-row { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; }
}

@media (max-width: 680px) {
  .ls-gallery { grid-template-columns: 1fr; gap: 36px; }
  .ls-phone { width: clamp(130px, 40vw, 170px); }
}

/* Four columns leave a 320px phone about 50px each, narrower than
   "Oktoberfest"; three fit once the card's padding shrinks. */
@media (max-width: 420px) {
  .ls-premium-card { padding: 20px; }
  .ls-premium-seasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
}
