/* Salt — marketing site styles
   Palette + radii mirror the app's tailwind.config.js so the site matches the app. */

:root {
  --primary: #0e88a4;
  --primary-dark: #0b5d83;
  --primary-light: #d6f3ea;
  --ink: #0c2b30;
  --bg: #f4f6f6;
  --surface: #ffffff;
  --text: #17323a;
  --muted: #69757c;
  --subtle: #9aa5ac;
  --border: #e6eaea;
  --linen: #faf6ee;
  --linen-dark: #e3b341;
  --wind: #0d9488;
  --swell: #0369a1;
  --current: #f59e0b;
  --navy: #0f172a;
  --danger: #e5484d;

  --radius-card: 16px;
  --radius-field: 12px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg);
  background-image: url("assets/texture-bg.png");
  background-repeat: repeat;
  background-size: 320px auto;
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 246, 246, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  color: inherit;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-field);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-field);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--subtle);
}

/* Apple-style App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.15;
}

.appstore-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.appstore-badge .badge-copy {
  display: flex;
  flex-direction: column;
}

.appstore-badge .badge-copy span:first-child {
  font-size: 10.5px;
  opacity: 0.85;
}

.appstore-badge .badge-copy span:last-child {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 40px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(0, 560px);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--subtle);
}

/* ---------- Hero interactive card (the live demo lives directly in the hero) ---------- */

.hero .demo-card {
  box-shadow: 0 20px 60px -30px rgba(12, 43, 48, 0.35);
}

/* mirrors components/LiveDataBadge.tsx */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: live-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* ---------- Supported-sports banner ---------- */

.sports-banner {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.sports-banner-label {
  margin: 0 0 14px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
}

/* fades the scrolling strip out at both edges instead of clipping it abruptly */
.sports-banner::before,
.sports-banner::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.sports-banner::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), rgba(255, 255, 255, 0));
}

.sports-banner::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), rgba(255, 255, 255, 0));
}

.sports-track {
  display: flex;
  width: max-content;
  animation: sports-scroll 44s linear infinite;
}

.sports-banner:hover .sports-track {
  animation-play-state: paused;
}

.sports-track-inner {
  display: flex;
  flex-shrink: 0;
  gap: 28px;
  padding-right: 28px;
}

.sport-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sport-pill img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}

.sport-pill span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

@keyframes sports-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* the track is two identical copies back to back, so -50% loops seamlessly */
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sports-track {
    animation: none;
  }
}

/* ---------- Section shell ---------- */

/* .social-banner opts out — it sets its own padding below, independent of this
   shared default, instead of relying on and overriding it via the cascade. */
section:not(.social-banner) {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 32px;
}

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wind);
  margin: 0 0 10px;
}

.section-head h2 {
  font-size: 30px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* ---------- Concept / slogan strip ---------- */

.concept {
  background: var(--linen);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.concept .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 8px;
}

.slogan {
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.slogan .underline {
  box-shadow: inset 0 -0.4em 0 var(--linen-dark);
}

.concept p.body {
  color: var(--text);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Demo card (compass + slider + outlook) ---------- */

/* Deliberately capped and centered — this is a compact widget, not a full-width
   panel, so it reads at roughly app-card scale even on a wide desktop viewport. */
.demo-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.demo-head .place {
  font-weight: 700;
  color: var(--ink);
  font-size: 13.5px;
}

.demo-head .place-sub {
  font-size: 10.5px;
  color: var(--subtle);
  margin-top: 1px;
}

.demo-head .live-badge {
  font-size: 10px;
}

/* three-day outlook row (mirrors ThreeDayOutlookRow.tsx) */

.outlook-row {
  display: flex;
  padding-top: 8px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.outlook-day {
  flex: 1;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  position: relative;
  padding: 0;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
}

.outlook-day + .outlook-day {
  border-left: 1px solid var(--border);
}

.outlook-day.active {
  border-bottom-color: var(--primary);
}

.outlook-bars {
  display: flex;
  height: 26px;
}

/* white seam separating the wind bars from the wave bars below them */
.outlook-bars.wind {
  border-bottom: 2px solid #fff;
}

.outlook-bars.wave {
  transform: scaleY(-1);
}

.bar-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

.bar-col .fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

/* gust marker (wind bars only) — a thin line above the fill, colored by its own
   strength, positioned via inline `bottom` set in app.js */
.bar-col .gust {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
}

.bar-col.is-active {
  box-shadow: inset 0 -2px 0 0 var(--ink);
}

.outlook-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
  pointer-events: none;
}

/* ---- hero body: map card (ConditionsMap) + stacked condition tiles (StackedConditionTile) ----
   Map fixed-width on the left, tiles + slider stacked to fill the rest — a compact
   side-by-side widget on desktop; the media query below stacks it for mobile instead. */

.demo-main {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 10px;
  padding: 10px 14px;
  align-items: start;
}

.demo-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tiles-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* mirrors components/StackedConditionTile.tsx / HeroConditionTile.tsx */
.tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 9px;
  --accent: var(--muted);
}

.tile-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tile-icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

.tile-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.tile-value small {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 1px;
}

.tile-sub {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
  font-size: 9.5px;
  color: var(--muted);
}

.tile-sub b {
  color: var(--navy);
  font-weight: 700;
}

.dir-arrow {
  width: 9px;
  height: 9px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* mirrors components/ConditionsMap.tsx */
.map-card {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #cfe9ee;
}

.map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compass-overlay {
  position: absolute;
  inset: 0;
  width: 90%;
  height: 90%;
  margin: auto;
}

.map-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  /* above the attribution badge below, so the wind/wave/current legend always
     reads clearly instead of being partly covered by it */
  z-index: 2;
}

.map-legend {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 8.5px;
  color: var(--muted);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.map-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.map-attribution {
  position: absolute;
  right: 5px;
  bottom: 3px;
  font-size: 7px;
  color: var(--subtle);
  background: rgba(255, 255, 255, 0.7);
  padding: 1px 3px;
  border-radius: 3px;
  /* sits under the wind/wave/current legend (see .map-fade) rather than on top of it */
  z-index: 1;
}

/* mirrors components/ToleranceSlider.tsx, used with hideHeader in the app's hero */
.slider-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 7px 10px;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sun-ico {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex-shrink: 0;
}

input[type="range"].time-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary) var(--fill, 50%),
    var(--border) var(--fill, 50%),
    var(--border) 100%
  );
  outline: none;
}

input[type="range"].time-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(12, 43, 48, 0.35);
  cursor: pointer;
  margin-top: -1px;
}

input[type="range"].time-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(12, 43, 48, 0.35);
  cursor: pointer;
  border: none;
}

.slider-hint {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--subtle);
  margin-top: 3px;
}

/* sport recommendation strip */

.recommend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--linen);
}

.recommend .sport-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px;
  flex-shrink: 0;
}

.recommend-copy .tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--linen-dark);
  margin-bottom: 1px;
}

.recommend-copy .headline {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.recommend-copy .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.recommend-copy .gear {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.recommend-copy .gear b {
  color: var(--ink);
  font-weight: 700;
}

.stoke-badge {
  margin-left: auto;
  font-size: 18px;
}

/* ---------- Social feed banner ---------- */
/* Full-bleed, unlike the CTA band's inset dark card — a distinct color break in the
   page, with the app's own screen texture reused on top, fading into the page
   background at the bottom instead of a hard edge. */

.social-banner {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-dark);
  background-image: url("assets/texture-bg.png");
  background-repeat: repeat;
  background-size: 320px auto;
}

.social-banner .section-head {
  position: relative;
}

.social-banner .kicker {
  color: #a9e8de;
}

.social-banner .section-head h2 {
  color: #fff;
}

.social-banner .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* text left, the scrolling feed right — stacked (text above) on mobile */
.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 40px;
  align-items: center;
}

/* A fixed-height window onto an ever-scrolling column of cards — .feed-track is
   twice as tall as this (see app.js, which duplicates the 3 real cards once) so
   the loop can run from 0 to -50% and repeat with no visible seam. */
.social-feed-viewport {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.feed-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: feed-scroll 28s linear infinite;
}

.social-feed-viewport:hover .feed-track {
  animation-play-state: paused;
}

@keyframes feed-scroll {
  from {
    transform: translateY(0);
  }
  to {
    /* the track is two identical copies stacked end to end, so -50% loops seamlessly */
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feed-track {
    animation: none;
  }
}

/* Cards fade into the banner's own color at the top and bottom of the viewport —
   real divs with a gradient, not a mask, per how this was asked for: 100% opacity
   at the outer edge fading to 0% toward the middle. */
.feed-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}

.feed-fade-top {
  top: 0;
  background: linear-gradient(to bottom, rgba(11, 93, 131, 1) 0%, rgba(11, 93, 131, 0) 100%);
}

.feed-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(11, 93, 131, 1) 0%, rgba(11, 93, 131, 0) 100%);
}

/* mirrors components/SessionCard.tsx's content (avatar, sport, conditions, stoke)
   restyled as a uniform-corner feed post instead of a chat bubble with a tail */
.feed-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.45);
}

.feed-photo {
  aspect-ratio: 16 / 9;
}

.feed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.feed-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* mirrors components/Avatar.tsx's initials-on-a-tinted-circle placeholder */
.feed-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.feed-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.feed-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
}

.feed-badge-friend {
  background: rgba(14, 136, 164, 0.13);
  color: var(--primary-dark);
}

.feed-badge-hero {
  background: rgba(227, 179, 65, 0.22);
  color: #8a6112;
}

.feed-badge-new {
  background: rgba(13, 148, 136, 0.13);
  color: var(--wind);
}

.feed-meta {
  margin-top: 1px;
  font-size: 11.5px;
  color: var(--muted);
}

/* mirrors components/CompactConditionStat.tsx */
.feed-stats {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feed-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}

.feed-stat svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.feed-stat b {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
}

.feed-stat span {
  color: var(--muted);
}

/* mirrors the colored message pill under a session card in the app's feed */
.feed-pill {
  margin: 0;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.feed-stoke {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Quotes (slider) ---------- */
/* Constrained to .wrap's normal width, unlike the edge-to-edge .sports-banner
   marquee — this is a paged slider, not a full-bleed strip. */

.quotes-viewport {
  overflow: hidden;
}

.quotes-track {
  display: flex;
  --gap: 18px;
  gap: var(--gap);
  transition: transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .quotes-track {
    transition: none;
  }
}

/* Sized by JS via --n (cards visible at once) on .quotes-track — every card is a
   fixed fraction of the viewport's width, and the track holds more of them than
   fit on screen, sliding one at a time rather than paging a whole screenful. */
.quote-card {
  flex: 0 0 calc((100% - var(--gap) * (var(--n) - 1)) / var(--n));
  display: flex;
  flex-direction: column;
  height: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.quote-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.quote-text {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
  overflow: hidden;
}

.quote-sport {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.quotes-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.quotes-nav,
.quotes-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.quotes-nav:hover,
.quotes-pause:hover {
  border-color: var(--subtle);
}

.quotes-nav svg {
  width: 16px;
  height: 16px;
}

.quotes-pause svg {
  width: 13px;
  height: 13px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 0 24px;
  max-width: 992px;
  margin-inline: auto;
}

.cta-kicker {
  color: #7dd8cc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.cta-band h2 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.cta-band p {
  color: #c9d6d8;
  margin: 0 0 26px;
  font-size: 15px;
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 24px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer .foot-brand-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

footer .foot-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

footer .foot-pill {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bfe3d8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

footer .foot-links {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

footer .foot-links a {
  text-decoration: none;
  color: inherit;
}

footer .foot-links a:hover {
  color: var(--text);
}

footer .copyright {
  font-size: 12.5px;
  color: var(--subtle);
  margin: 0;
}

/* ---------- Privacy page ---------- */

.legal {
  padding: 48px 0 80px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  font-size: 34px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--subtle);
  font-size: 13.5px;
  margin: 0 0 36px;
}

.legal h2 {
  font-size: 19px;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal h2:first-of-type {
  margin-top: 8px;
}

.legal p {
  color: var(--text);
  font-size: 15px;
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 6px;
}

.legal li strong {
  color: var(--ink);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  overflow: hidden;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  background: var(--bg);
  color: var(--subtle);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.callout {
  background: var(--primary-light);
  border: 1px solid #bfe3d8;
  border-radius: var(--radius-field);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--primary-dark);
  margin: 20px 0;
}

.callout strong {
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .social-banner {
    padding-top: 48px;
  }

  .social-layout {
    grid-template-columns: 1fr;
  }

  .social-feed-viewport {
    height: 500px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .concept .wrap {
    grid-template-columns: 1fr;
  }

  .demo-main {
    grid-template-columns: 1fr;
  }

  .map-card {
    max-width: 240px;
    margin: 0 auto;
  }

  .cta-band {
    padding: 36px 24px;
    margin: 0 16px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .recommend {
    flex-wrap: wrap;
  }

  .stoke-badge {
    margin-left: 0;
  }
}
