/* ============================================================
   Super Sunbed — Design tokens
   ============================================================ */
:root {
  /* Palette — warm resort sand + deep pool teal + sunset coral.
     No purple anywhere. */
  --sand: #F7F1E6;
  --sand-deep: #F0E7D6;
  --card: #FFFDF8;
  --ink: #16241F;
  --ink-soft: rgba(22, 36, 31, 0.68);
  --ink-faint: rgba(22, 36, 31, 0.45);
  --line: rgba(22, 36, 31, 0.12);

  --teal: #0E3D3B;
  --teal-700: #0A2E2C;
  --teal-tint: #E4EEEC;

  --coral: #E4602E;
  --coral-600: #C94E22;
  --coral-tint: #FBE3D4;

  --gold: #F4A15F;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(22, 36, 31, 0.06);
  --shadow-md: 0 18px 40px -14px rgba(14, 61, 59, 0.28);
  --shadow-lg: 0 30px 70px -20px rgba(14, 61, 59, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1220px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--teal); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Type scale
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-600);
  margin: 0 0 16px;
}
.eyebrow--dark { color: var(--teal); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 0 0 24px;
}
.hero__title-alt {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  color: var(--teal);
  max-width: 20ch;
}
.h2--light { color: var(--sand); }

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.16;
  color: var(--teal);
  margin: 0 0 22px;
  max-width: 16ch;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 18px;
}
.lead--light { color: rgba(247, 241, 230, 0.78); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn svg { flex-shrink: 0; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

.btn--primary {
  background: var(--teal);
  color: var(--sand);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--teal-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--teal);
  padding: 15px 4px;
}
.btn--ghost svg path { stroke: var(--teal); }
.btn--ghost:hover { color: var(--coral-600); }
.btn--ghost:hover svg path { stroke: var(--coral-600); }

.btn--light {
  background: var(--sand);
  color: var(--teal);
}
.btn--light:hover { background: #fff; transform: translateY(-1px); }

.btn--outline-light {
  background: transparent;
  color: var(--sand);
  border: 1.5px solid rgba(247, 241, 230, 0.4);
}
.btn--outline-light svg path { stroke: var(--sand); }
.btn--outline-light:hover { border-color: var(--sand); background: rgba(247, 241, 230, 0.08); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--teal);
  margin-top: 8px;
  position: relative;
}
.link-arrow svg path { stroke: var(--teal); }
.link-arrow:hover { color: var(--coral-600); }
.link-arrow:hover svg path { stroke: var(--coral-600); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 241, 230, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(22,36,31,0.35); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--teal);
  letter-spacing: -0.01em;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__link:hover { background: var(--teal-tint); color: var(--teal); }
.nav__link--btn { cursor: pointer; }
.chev { transition: transform 0.2s ease; color: var(--ink-soft); }

.nav__dropdown { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav__dropdown:hover .nav__panel,
.nav__dropdown:focus-within .nav__panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown:hover .chev { transform: rotate(180deg); }
.nav__panel a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.nav__panel a:hover { background: var(--teal-tint); color: var(--teal); }

.nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__signin {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
}
.nav__signin svg path { stroke: var(--ink); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 64px 0 40px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__sub { font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px; }
.hero__ctas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note { font-size: 13.5px; color: var(--ink-faint); font-weight: 600; }

.hero__visual { position: relative; }

.deckcard {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 22px;
  transform: rotate(1.2deg);
}
.deckcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.deckcard__title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13.5px; color: var(--teal);
}
.deckcard__legend { display: none; }
.deckcard__legend span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--live { background: #46A87C; box-shadow: 0 0 0 4px rgba(70, 168, 124, 0.22); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(70,168,124,0.22);} 50% { box-shadow: 0 0 0 7px rgba(70,168,124,0.06);} }

.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg--occupied { background: var(--teal); }
.lg--flag { background: var(--coral); }
.lg--free { background: var(--sand-deep); border: 1px solid var(--line); }
.lg--ghost { background: var(--sand-deep); border: 1px solid var(--line); border-radius: 3px; }
.lg--real { background: var(--teal); border-radius: 3px; }

.deckcard__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}
.lounger {
  aspect-ratio: 1 / 1.05;
  border-radius: 7px;
  position: relative;
  background: var(--sand-deep);
  border: 1px solid var(--line);
}
.lounger::before {
  content: "";
  position: absolute; top: 14%; left: 18%; right: 18%; height: 26%;
  border-radius: 5px 5px 2px 2px;
  background: currentColor;
  opacity: 0.9;
}
.lounger.is-occupied { color: var(--teal); background: var(--teal-tint); border-color: rgba(14,61,59,0.18); }
.lounger.is-flag { color: var(--coral); background: var(--coral-tint); border-color: rgba(228,96,46,0.3); animation: flagpulse 1.8s ease-in-out infinite; }
.lounger.is-free { color: transparent; }
@keyframes flagpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(228,96,46,0.3);} 50% { box-shadow: 0 0 0 5px rgba(228,96,46,0);} }

.floatcard {
  position: absolute;
  background: var(--teal);
  color: var(--sand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
}
.floatcard--stat {
  right: -18px;
  top: -26px;
  text-align: center;
  min-width: 108px;
}
.floatcard__num { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1; margin-bottom: 4px; color: var(--gold); }
.floatcard__label { font-size: 11.5px; font-weight: 700; line-height: 1.3; color: rgba(247,241,230,0.82); }

.floatcard--pct {
  left: -22px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}
.floatcard__pct { display: block; font-weight: 800; font-size: 17px; color: var(--teal); }
.floatcard__sub { display: block; font-size: 11px; font-weight: 700; color: var(--ink-faint); }

/* ============================================================
   Logo strip
   ============================================================ */
.logos { padding: 56px 0; }
.logos__label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 26px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 40px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.wordmark:hover { color: var(--teal); }

/* ============================================================
   Intro
   ============================================================ */
.intro { padding: 30px 0 76px; }
.intro__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.intro .h2 { max-width: none; }
.intro .lead { max-width: none; margin: 18px auto 0; }

/* ============================================================
   How it works
   ============================================================ */
.how { padding: 20px 0 76px; }
.how__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.how__head .h2 { max-width: none; }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stepcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
}
.stepcard__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.stepcard__title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--teal); margin-bottom: 10px; }
.stepcard__text { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ============================================================
   Feature sections
   ============================================================ */
.feature { padding: 54px 0; }
.feature__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature--reverse .feature__grid { grid-template-columns: 1fr 0.85fr; }
.feature--reverse .feature__copy { order: 2; }
.feature--reverse .feature__visual { order: 1; }

.checklist { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.checklist span { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* --- feature visual: cards share a base look --- */
.feature__visual > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* scancard (AI detection) */
.scancard { overflow: hidden; }
.scancard__frame {
  position: relative;
  aspect-ratio: 16/11;
  background: linear-gradient(160deg, var(--teal) 0%, #1B5450 60%, #276560 100%);
  overflow: hidden;
}
.scancard__frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(247,241,230,0.06) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(247,241,230,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.scancard__lounger {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 46%; height: 30%;
  background: rgba(247,241,230,0.14);
  border-radius: 10px;
}
.scancard__lounger::before {
  content: "";
  position: absolute; top: -22%; left: 12%; width: 30%; height: 44%;
  background: rgba(247,241,230,0.14);
  border-radius: 8px 8px 3px 3px;
}
.scancard__box {
  position: absolute;
  left: 22%; top: 24%; width: 56%; height: 52%;
  border: 2px dashed var(--gold);
  border-radius: 10px;
}
.scancard__tag {
  position: absolute;
  bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.scancard__meta { display: flex; padding: 26px 22px 22px; gap: 22px; }
.scancard__meta > div { display: flex; flex-direction: column; gap: 5px; }
.scancard__meta-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.scancard__meta-val { font-weight: 800; font-size: 15px; color: var(--teal); }
.scancard__meta-val--flag { color: var(--coral-600); }

/* phonecard (staff alerts) */
.phonecard {
  max-width: 320px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}
.phonecard__notch {
  width: 60px; height: 5px; border-radius: 3px;
  background: var(--sand-deep);
  margin: 0 auto 16px;
}
.phonecard__head {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; font-size: 13.5px; color: var(--teal);
  padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.phonecard__list { display: flex; flex-direction: column; }
.phonecard__list li {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.phonecard__list li:last-child { border-bottom: none; }
.phonecard__row { font-weight: 800; font-size: 14px; color: var(--ink); }
.phonecard__task { font-size: 12.5px; color: var(--coral-600); font-weight: 600; }
.phonecard__list li.is-done .phonecard__row { color: var(--ink-faint); }
.phonecard__list li.is-done .phonecard__task { color: #3E8C6A; }

/* chartcard (capacity) */
.chartcard { padding: 26px 24px 22px; }
.chartcard__head { font-weight: 800; font-size: 13.5px; color: var(--teal); margin-bottom: 22px; }
.chartcard__bars { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; height: 190px; }
.chartcard__col { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; height: 100%; justify-content: flex-end; }
.chartcard__col span { font-size: 11.5px; font-weight: 700; color: var(--ink-faint); }
.chartcard__bar-track {
  position: relative;
  width: 100%;
  max-width: 30px;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chartcard__bar { position: absolute; bottom: 0; width: 100%; border-radius: 6px 6px 3px 3px; height: var(--h); }
.chartcard__bar--ghost { background: var(--sand-deep); border: 1px dashed rgba(22,36,31,0.25); }
.chartcard__bar--real { width: 60%; background: var(--teal); }
.chartcard__legend { display: flex; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.chartcard__legend span { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* ============================================================
   Stats band
   ============================================================ */
.stats { background: var(--teal); padding: 88px 0; margin-top: 20px; }
.stats__head { max-width: 640px; margin-bottom: 56px; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.statcard {
  background: rgba(247,241,230,0.06);
  border: 1px solid rgba(247,241,230,0.14);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
}
.statcard__num { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.1rem); color: var(--gold); line-height: 1; margin-bottom: 14px; }
.statcard__label { display: block; font-size: 14.5px; font-weight: 600; color: rgba(247,241,230,0.78); max-width: 22ch; }

/* ============================================================
   Testimonial
   ============================================================ */
.quote { padding: 96px 0; }
.quote__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.quote__mark { margin: 0 auto 26px; }
.quote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.42;
  color: var(--teal);
  margin-bottom: 34px;
}
.quote__attrib { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral-tint); color: var(--coral-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.quote__attrib span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.quote__attrib strong { font-size: 15px; color: var(--ink); }
.quote__attrib em { font-style: normal; font-size: 13.5px; color: var(--ink-faint); }

/* ============================================================
   Integrations
   ============================================================ */
.integrations { padding: 30px 0 100px; }
.integrations__inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 54px;
}
.integrations__grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ============================================================
   CTA
   ============================================================ */
.cta { padding-bottom: 100px; }
.cta__inner {
  position: relative;
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  overflow: hidden;
}
.cta__shape {
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  background: conic-gradient(from 210deg, var(--coral), var(--gold), var(--coral));
  border-radius: 50% 50% 42% 58% / 55% 45% 55% 45%;
  opacity: 0.9;
  filter: blur(0.5px);
}
.cta__inner::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(14,61,59,0.35), transparent 55%);
}
.cta__copy { position: relative; max-width: 560px; }
.cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--teal-700); color: var(--sand); padding: 76px 0 34px; }
.footer__tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--sand);
  max-width: 16ch;
  margin-bottom: 56px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(247,241,230,0.14);
}
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__head { font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: rgba(247,241,230,0.5); margin-bottom: 4px; }
.footer__col a { font-size: 14.5px; font-weight: 600; color: rgba(247,241,230,0.86); }
.footer__col a:hover { color: var(--gold); }
.footer__col a.is-hidden { display: none; }
.footer__address { font-size: 14.5px; font-weight: 600; line-height: 1.5; color: rgba(247,241,230,0.86); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 30px;
}
.footer__logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.footer__bottom p { font-size: 13px; color: rgba(247,241,230,0.55); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: 13px; color: rgba(247,241,230,0.55); }
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: 0.1s; }
.reveal--delay2 { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot--live, .lounger.is-flag { animation: none; }
}

/* ============================================================
   Responsive — tablet (≤991px)
   ============================================================ */
@media (max-width: 991px) {
  .container { padding: 0 24px; }

  .nav__links { display: none; }
  .nav__signin { display: none; }
  .nav__burger { display: flex; }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__dropdown { width: 100%; }
  .nav.is-open .nav__link--btn { width: 100%; justify-content: space-between; }
  .nav.is-open .nav__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 4px 0 4px 14px; display: none;
  }
  .nav.is-open .nav__dropdown.is-open .nav__panel { display: flex; }
  .nav.is-open .nav__link { width: 100%; }

  .nav__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-active span:nth-child(2) { opacity: 0; }
  .nav__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-top: 48px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .floatcard--stat { right: -10px; top: 42px; min-width: 96px; padding: 12px 14px; }
  .floatcard__num { font-size: 1.7rem; }

  .how__grid { grid-template-columns: 1fr; gap: 18px; }

  .feature__grid, .feature--reverse .feature__grid { grid-template-columns: 1fr; gap: 40px; }
  .feature--reverse .feature__copy { order: 1; }
  .feature--reverse .feature__visual { order: 2; }
  .feature__visual { max-width: 480px; margin: 0 auto; width: 100%; }

  .stats__grid { grid-template-columns: 1fr; }

  .integrations__inner { grid-template-columns: 1fr; padding: 40px; }

  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Responsive — mobile (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  body { font-size: 15.5px; }

  .nav__logo-word { font-size: 18px; }

  .hero { padding: 36px 0 32px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; width: 100%; }

  .deckcard { padding: 16px; transform: none; }
  .deckcard__grid { grid-template-columns: repeat(4, 1fr); }
  .floatcard--stat { right: -10px; top: 36px; min-width: 90px; padding: 12px 14px; }
  .floatcard__num { font-size: 1.6rem; }
  .floatcard--pct { left: -10px; bottom: -18px; padding: 12px 14px; }

  .logos__row { gap: 16px 26px; }
  .wordmark { font-size: 14px; }

  .cta__inner { padding: 44px 26px; }
  .cta__shape { width: 200px; height: 200px; right: -40px; top: -40px; }

  .integrations__inner { padding: 30px 22px; }

  .footer { padding: 56px 0 26px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-wrap: wrap; }
}

@media (max-width: 479px) {
  .container { padding: 0 16px; }
  .deckcard__grid { grid-template-columns: repeat(3, 1fr); }
  .stats { padding: 64px 0; }
  .quote { padding: 64px 0; }
  .intro { padding: 20px 0 56px; }
}
