/* layout.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--beige);
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.site-nav.is-scrolled {
  background: rgba(246, 241, 233, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 1.5rem, var(--wrap));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-feed { font-style: italic; color: var(--orange-primary); }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.nav-venue {
  color: var(--orange-primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--hero-space-4)) 0 var(--hero-space-6);
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--hero-bg);
}

.hero-glow {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 92vw);
  height: 420px;
  background: radial-gradient(ellipse, rgba(224, 90, 53, 0.07) 0%, transparent 72%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hero-space-4);
  align-items: start;
}

.hero-main {
  display: contents;
}

.hero-lower {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.hero-action-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-lofi {
  width: min(72px, 20vw);
  height: auto;
  margin-top: auto;
  padding-top: 0.65rem;
  margin-bottom: -0.15rem;
  filter: drop-shadow(0 10px 24px rgba(15, 13, 11, 0.1));
  pointer-events: none;
  user-select: none;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 1;
  justify-self: end;
  align-self: start;
}

.hero-copy {
  display: flex;
  justify-content: flex-start;
}

.hero-copy-inner {
  width: 100%;
  max-width: 22rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 8vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin: 0 0 var(--hero-space-3);
  color: var(--ink);
  text-wrap: balance;
}

.hero-h1-accent {
  display: inline;
  color: var(--orange-primary);
  font-weight: 800;
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: clamp(1.625rem, 7.4vw, 2rem);
    line-height: 1.1;
    margin-bottom: var(--hero-space-2);
    letter-spacing: -0.028em;
  }

  .hero-h1-lead {
    white-space: normal;
  }
}

@media (min-width: 768px) {
  .hero-h1-lead {
    white-space: nowrap;
  }
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-ui), var(--orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

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

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: stretch;
  margin: 0 0 var(--hero-space-4);
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .hero-ctas {
    margin-bottom: var(--hero-space-5);
  }
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.hero .btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
}

@media (max-width: 479px) {
  .hero-ctas .btn { width: 100%; }
}

.hero-phone-glow {
  position: absolute;
  width: 120%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(224, 90, 53, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 767px) and (max-aspect-ratio: 1/1) {
  .hero {
    padding: calc(var(--nav-h) + var(--hero-space-3)) 0 var(--hero-space-4);
  }

  .hero-content {
    grid-template-columns: minmax(0, max-content) 1fr;
    grid-template-rows: auto auto;
    gap: var(--hero-space-2) 0.35rem;
    align-items: stretch;
  }

  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-copy-inner {
    max-width: 100%;
  }

  .hero-location:not([hidden]) {
    margin-bottom: var(--hero-space-2);
  }

  .hero-ctas {
    display: none;
  }

  .hero-tag2 {
    margin-bottom: var(--hero-space-2);
  }

  .hero-lower {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
}

@media (min-width: 768px), ((min-width: 520px) and (min-aspect-ratio: 1/1)) {
  .hero > .wrap {
    width: min(100% - 4rem, var(--wrap));
  }

  .hero {
    padding: calc(var(--nav-h) + var(--hero-space-4)) 0 2.5rem;
  }

  .hero-content {
    width: 100%;
    max-width: var(--hero-layout-max);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: var(--hero-space-1);
    column-gap: var(--hero-layout-gap);
    align-items: start;
  }

  .hero h1 {
    margin-bottom: var(--hero-space-2);
  }

  .hero-lead {
    margin-bottom: 0.25rem;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }

  .hero-copy-inner {
    max-width: 100%;
  }

  .hero-tag2 {
    margin-bottom: 0;
  }

  .hero-main {
    display: contents;
  }

  .hero-lower {
    grid-column: 1;
    grid-row: 2;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-trust-bar {
    margin-top: 0;
  }

  .hero-action-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    margin-top: 0;
    width: 100%;
    position: relative;
  }

  .hero-ctas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    flex: 0 1 auto;
    gap: 0.75rem;
  }

  .hero-lofi {
    width: 104px;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
    align-self: flex-end;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / -1;
    --hero-phone-w: min(268px, 100%);
    align-self: center;
    justify-self: start;
  }
}

@media ((min-width: 520px) and (min-aspect-ratio: 1/1)), (min-width: 768px) {
  @media (max-height: 820px) {
    .hero {
      padding: calc(var(--nav-h) + var(--hero-space-3)) 0 2rem;
    }

    .hero-content {
      row-gap: 0.35rem;
    }

    .hero h1 {
      margin-bottom: 0.5rem;
      font-size: clamp(1.75rem, 4.2vw, 2.5rem);
    }

    .hero-kicker-top {
      margin-bottom: var(--hero-space-2);
    }

    .hero-lower {
      gap: 0.35rem;
    }

    .hero-trust-bar {
      gap: 0.35rem;
    }

    .hero-trust-row {
      min-height: 2.75rem;
      padding: 0.4rem 0.65rem;
    }

    .hero-lofi {
      width: 88px;
    }
  }
}

@media (min-width: 960px) {
  .hero-lofi {
    width: 132px;
  }
}

/* Ticker */
.ticker-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: ticker-scroll 40s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-ui);
  flex-shrink: 0;
}

/* Brand beat */
.brand-beat {
  padding: 2.5rem 0;
  text-align: center;
  background: var(--beige);
}

.brand-beat h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.brand-beat h2 span { color: var(--orange-primary); }

.brand-lofi {
  width: min(280px, 70vw);
  margin: 0 auto 1.5rem;
}

.brand-url {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Audience switcher */
.audience-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(246, 241, 233, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}

.audience-pills {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin-inline: auto;
  padding: 0.25rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.audience-pill {
  flex: 1;
  padding: 0.65rem 1rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.audience-pill.is-active {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.2);
}

.audience-pill:not(.is-active):hover {
  background: var(--orange-wash);
}

/* Panels */
.hub-section { padding: 1.75rem 0 1rem; }

.hub-section > .wrap {
  position: relative;
}

.audience-panel {
  display: none;
}

.audience-panel.is-active {
  display: block;
}

/* Bento grid */
.bento-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Product tour */
.tour-section { margin-top: 1rem; }

.tour-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .tour-layout {
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
  }
}

.tour-steps { display: flex; flex-direction: column; gap: 0; }

.tour-step {
  padding: 2rem 0;
  border-left: 3px solid var(--line);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
  opacity: 0.45;
  transition: opacity var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}

.tour-step.is-active {
  opacity: 1;
  border-color: var(--orange-primary);
}

.tour-step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 0.35rem;
}

.tour-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.tour-step p { font-size: 0.95rem; color: var(--ink-soft); }

.tour-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 900px) {
  .tour-phone-col {
    position: sticky;
    top: calc(var(--nav-h) + 80px);
  }
}

.tour-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .tour-tabs { display: none; }
}

.tour-tab {
  flex: 1;
  padding: 0.5rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--line);
}

.tour-tab.is-active {
  background: var(--orange-primary);
  color: var(--white);
  border-color: var(--orange-primary);
}

/* Venues panel layout */
.venue-panel-inner {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .venue-panel-inner { padding: 0 0 0.5rem; }
}

.venue-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.venue-header h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.venue-header p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.venue-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .venue-stats { grid-template-columns: repeat(4, 1fr); }
}

.venue-shift-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .venue-shift-grid { grid-template-columns: repeat(2, 1fr); }
}

.venue-expanders {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 640px;
  margin-inline: auto;
}

/* FAQ section */
.venue-offering + .faq-section {
  padding-top: 1.25rem;
}

.faq-section {
  padding: 2rem 0;
  background: var(--cream-app);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.faq-section .faq-sub {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

/* Download CTA */
.download-cta {
  padding: 2.5rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--orange-wash) 0%, var(--beige) 100%);
}

.download-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.download-cta h2 span { color: var(--orange-primary); }

.download-cta p {
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.store-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 480px) {
  .store-row { flex-direction: row; justify-content: center; }
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: var(--beige);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-links a:hover { color: var(--orange-primary); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 241, 233, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(15, 13, 11, 0.08);
}

.mobile-bar .btn { flex: 1; min-height: 44px; font-size: 0.85rem; padding: 0.65rem 0.75rem; }
