* {
  box-sizing: border-box;
}

:root {
  --tf-bg-0: #07080c;
  --tf-bg-1: #0c0e12;
  --tf-bg-2: #141820;
  --tf-surface: #1b2030;
  --tf-text: #e6e7eb;
  --tf-text-secondary: #b9bcc6;
  --tf-text-muted: #8a8f9c;
  --tf-teal: #6ee7d8;
  --tf-teal-cool: #4ecdba;
  --tf-blue: #3f7bff;
  --tf-indigo: #5a6bff;
  --tf-violet: #8f6cff;
  --tf-violet-soft: #b38cff;
  --tf-lime: #52e07a;
  --tf-lime-soft: #8ae6a3;
  --tf-font-display: "Sora", system-ui, sans-serif;
  --tf-font-body: "Outfit", system-ui, sans-serif;
  --tf-header-h: 4rem;
  --tf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tf-grad-primary: linear-gradient(135deg, var(--tf-teal), var(--tf-blue));
  --tf-grad-perform: linear-gradient(135deg, var(--tf-teal) 0%, var(--tf-blue) 55%, var(--tf-violet) 100%);
  --tf-grad-alt: linear-gradient(135deg, var(--tf-violet-soft), var(--tf-lime));
  --tf-page-bg:
    radial-gradient(900px 520px at 12% -8%, rgba(110, 231, 216, 0.16), transparent 55%),
    radial-gradient(800px 480px at 88% 6%, rgba(143, 108, 255, 0.14), transparent 50%),
    radial-gradient(700px 500px at 50% 70%, rgba(63, 123, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--tf-bg-0) 0%, var(--tf-bg-1) 45%, #05060a 100%);
}

html {
  scroll-behavior: smooth;
  background: var(--tf-bg-1);
  color: var(--tf-text);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--tf-font-body);
}

body {
  background: var(--tf-page-bg);
  background-attachment: fixed;
  color: var(--tf-text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------- */
/* App shell (preserve contract)                                              */
/* -------------------------------------------------------------------------- */

#app-div {
  display: none;
  width: 100%;
  min-height: 100%;
}

#app-div.visible {
  display: block;
}

#spa-div.hidden {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Brochure layout                                                            */
/* -------------------------------------------------------------------------- */

#spa-div {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow-x: hidden;
}

.gradient-text {
  background: var(--tf-grad-perform);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-alt {
  background: var(--tf-grad-alt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 0.65rem;
  font-family: var(--tf-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.2s var(--tf-ease),
    box-shadow 0.2s var(--tf-ease),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--tf-bg-0);
  background: var(--tf-grad-primary);
  border: none;
  box-shadow: 0 10px 28px rgba(78, 205, 186, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(63, 123, 255, 0.35);
}

.btn-secondary {
  color: var(--tf-text);
  background: transparent;
  border: 1px solid rgba(110, 231, 216, 0.45);
}

.btn-secondary:hover {
  border-color: var(--tf-teal);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(110, 231, 216, 0.2);
}

.btn-outline {
  color: var(--tf-text);
  background: rgba(12, 14, 18, 0.35);
  border: 1px solid rgba(110, 231, 216, 0.55);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--tf-teal);
  background: rgba(110, 231, 216, 0.08);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--tf-header-h);
  padding: 0.75rem 1.25rem;
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid rgba(110, 231, 216, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.brand-name {
  font-family: var(--tf-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--tf-text);
  border-radius: 1px;
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 1rem;
  left: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(20, 24, 32, 0.96);
  border: 1px solid rgba(110, 231, 216, 0.16);
  border-radius: 0.85rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 0.75rem 0.9rem;
  border-radius: 0.55rem;
  color: var(--tf-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--tf-text);
  background: rgba(110, 231, 216, 0.08);
}

.site-nav .nav-cta {
  display: block;
  margin-top: 0.35rem;
  text-align: center;
  color: var(--tf-bg-0);
  background: var(--tf-grad-primary);
  font-family: var(--tf-font-display);
  font-weight: 600;
  border: 0;
  cursor: pointer;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.55rem;
  font-size: 0.95rem;
}

.site-nav .nav-cta-launch {
  color: var(--tf-teal);
  background: transparent;
  border: 1px solid rgba(110, 231, 216, 0.45);
}

.site-nav .nav-cta-launch:hover {
  color: var(--tf-text);
  background: rgba(110, 231, 216, 0.1);
  filter: none;
}

.site-nav .nav-cta:hover {
  color: var(--tf-bg-0);
  background: var(--tf-grad-primary);
  filter: brightness(1.05);
}

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - var(--tf-header-h));
  min-height: calc(100vh - var(--tf-header-h));
  padding: 3rem 1.25rem 3.5rem;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 8, 12, 0.55) 0%, rgba(7, 8, 12, 0.42) 35%, rgba(7, 8, 12, 0.92) 100%),
    radial-gradient(600px 400px at 80% 20%, rgba(143, 108, 255, 0.22), transparent 60%),
    radial-gradient(500px 360px at 15% 70%, rgba(110, 231, 216, 0.18), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--tf-teal);
  font-family: var(--tf-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1.15rem;
  font-family: var(--tf-font-display);
  font-size: clamp(2.35rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: var(--tf-text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
}

/* -------------------------------------------------------------------------- */
/* App purpose (Google OAuth verification — keep visible without JS)          */
/* -------------------------------------------------------------------------- */

.app-purpose {
  padding: 2.5rem 1.25rem 1rem;
}

.app-purpose-inner {
  max-width: 44rem;
  margin-inline: auto;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(27, 32, 48, 0.55);
}

.app-purpose-inner h2 {
  font-family: var(--tf-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.app-purpose-lede {
  margin: 0 0 1.25rem;
  color: var(--tf-text-secondary);
  line-height: 1.65;
  font-size: 1.02rem;
}

.app-purpose-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--tf-text-secondary);
  line-height: 1.6;
}

.app-purpose-list li {
  margin-bottom: 0.85rem;
}

.app-purpose-list strong {
  color: var(--tf-text);
  font-weight: 600;
}

.app-purpose-legal {
  margin: 0;
  font-size: 0.95rem;
  color: var(--tf-text-muted);
  line-height: 1.55;
}

.app-purpose-legal a {
  color: var(--tf-teal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.app-purpose-legal a:hover {
  color: var(--tf-teal-cool);
}

@media (min-width: 768px) {
  .app-purpose {
    padding: 3rem clamp(2rem, 6vw, 5rem) 1.25rem;
  }

  .app-purpose-inner {
    padding: 2rem 2.25rem;
  }
}

.hero-content.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
}

.hero-content.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s var(--tf-ease),
    transform 0.9s var(--tf-ease);
}

/* -------------------------------------------------------------------------- */
/* Pillars                                                                    */
/* -------------------------------------------------------------------------- */

.pillars {
  padding: 3rem 1.25rem 1rem;
}

.pillar-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  padding: 1.25rem 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.pillar-icon {
  display: inline-flex;
  color: var(--tf-teal);
  margin-bottom: 0.85rem;
}

.pillar-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.pillar h2 {
  margin: 0 0 0.4rem;
  font-family: var(--tf-font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  color: var(--tf-text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.pillar:nth-child(2) .pillar-icon {
  color: var(--tf-violet);
}

.pillar:nth-child(3) .pillar-icon {
  color: var(--tf-blue);
}

.pillar:nth-child(4) .pillar-icon {
  color: var(--tf-lime);
}

.pillar:nth-child(5) .pillar-icon {
  color: var(--tf-violet-soft);
}

/* -------------------------------------------------------------------------- */
/* Philosophy                                                                 */
/* -------------------------------------------------------------------------- */

.philosophy {
  display: grid;
  gap: 1.75rem;
  padding: 3.5rem 1.25rem;
}

.philosophy-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--tf-font-display);
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.philosophy-copy p {
  margin: 0;
  color: var(--tf-text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
}

.philosophy-visual {
  position: relative;
  min-height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
}

.philosophy-visual img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) brightness(0.85);
}

.philosophy-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(110, 231, 216, 0.18), transparent 45%),
    linear-gradient(225deg, rgba(143, 108, 255, 0.2), transparent 50%),
    linear-gradient(180deg, transparent 40%, rgba(7, 8, 12, 0.55));
}

/* -------------------------------------------------------------------------- */
/* Stats                                                                      */
/* -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  background: rgba(148, 163, 184, 0.12);
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  min-height: 7.5rem;
  padding: 1.35rem 1.15rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--stat-accent) 18%, var(--tf-bg-2)), var(--tf-bg-1));
}

.stat-label {
  color: var(--tf-text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--tf-font-display);
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--stat-accent) 75%, #fff);
}

/* -------------------------------------------------------------------------- */
/* Process                                                                    */
/* -------------------------------------------------------------------------- */

.process {
  padding: 4rem 1.25rem;
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--tf-font-display);
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-intro p {
  margin: 0;
  color: var(--tf-text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.process-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 1.5rem 1.15rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  background: rgba(20, 24, 32, 0.55);
  overflow: hidden;
  counter-increment: process;
}

.process-arc {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  width: 7rem;
  height: 7rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
  clip-path: inset(0 0 50% 0);
}

.process-step[data-accent="teal"] {
  color: var(--tf-teal);
}

.process-step[data-accent="violet"] {
  color: var(--tf-violet);
}

.process-step[data-accent="blue"] {
  color: var(--tf-blue);
}

.process-step[data-accent="lime"] {
  color: var(--tf-lime);
}

.process-step h3 {
  position: relative;
  margin: 0 0 0.45rem;
  font-family: var(--tf-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tf-text);
}

.process-step h3::before {
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 0.55rem;
  color: currentColor;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.process-step p {
  position: relative;
  margin: 0;
  color: var(--tf-text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Schedule + Launch                                                          */
/* -------------------------------------------------------------------------- */

.schedule-section {
  padding: 1rem 1.25rem 3rem;
}

.schedule-inner {
  padding: 2.25rem 1.35rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(110, 231, 216, 0.18), transparent 55%),
    radial-gradient(420px 220px at 90% 100%, rgba(63, 123, 255, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(27, 32, 48, 0.95), rgba(12, 14, 18, 0.92));
  border: 1px solid rgba(110, 231, 216, 0.18);
  text-align: center;
}

.schedule-inner h2 {
  margin: 0 0 0.65rem;
  font-family: var(--tf-font-display);
  font-size: clamp(1.7rem, 5vw, 2.25rem);
  font-weight: 700;
}

.schedule-inner p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--tf-text-secondary);
  line-height: 1.55;
}

.launch-section {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1.25rem 3.5rem;
}

.launch-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--tf-font-display);
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.launch-copy p {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: var(--tf-text-secondary);
  line-height: 1.6;
}

.launch-phone {
  display: flex;
  justify-content: center;
}

.launch-phone img {
  width: min(100%, 280px);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
}

/* -------------------------------------------------------------------------- */
/* Testimonial + Footer                                                       */
/* -------------------------------------------------------------------------- */

.testimonial {
  padding: 1rem 1.25rem 3rem;
}

.testimonial blockquote {
  margin: 0;
  padding: 1.75rem 1.35rem;
  border-radius: 1rem;
  background: rgba(20, 24, 32, 0.72);
  border: 1px solid rgba(143, 108, 255, 0.22);
}

.testimonial p {
  margin: 0 0 1rem;
  font-family: var(--tf-font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--tf-text);
}

.testimonial footer {
  color: var(--tf-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  padding: 2.5rem 1.25rem 3.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

.footer-tagline {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-family: var(--tf-font-display);
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--tf-text-muted);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--tf-teal);
}

/* -------------------------------------------------------------------------- */
/* Reveal motion                                                              */
/* -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.7s var(--tf-ease),
    transform 0.7s var(--tf-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-content.reveal,
  .hero-content.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

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

@media (min-width: 640px) {
  .site-header {
    padding-inline: 1.75rem;
  }

  .hero,
  .pillars,
  .philosophy,
  .process,
  .schedule-section,
  .launch-section,
  .testimonial,
  .site-footer {
    padding-inline: 1.75rem;
  }

  .pillar-list {
    grid-template-columns: 1fr 1fr;
  }

  .launch-phone img {
    width: min(100%, 320px);
  }
}

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

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding-inline: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    width: auto;
    font-size: 0.88rem;
  }

  .site-nav .nav-cta-launch {
    margin-left: 0.35rem;
  }

  .hero {
    padding: 4.5rem 3rem 4.5rem;
  }

  .pillars,
  .philosophy,
  .process,
  .schedule-section,
  .launch-section,
  .testimonial,
  .site-footer {
    padding-inline: 3rem;
  }

  .pillar-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .pillar {
    border-top: 0;
    padding: 1rem 0.5rem;
  }

  .philosophy {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    padding-block: 4.5rem;
  }

  .philosophy-visual,
  .philosophy-visual img {
    min-height: 22rem;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .schedule-inner {
    padding: 3rem 2rem;
  }

  .launch-section {
    grid-template-columns: 1fr 0.85fr;
    gap: 3rem;
    padding-block: 3rem 4.5rem;
  }

  .launch-phone img {
    width: min(100%, 360px);
  }

  .testimonial blockquote {
    max-width: 48rem;
    margin-inline: auto;
    padding: 2.25rem 2.5rem;
  }
}

@media (min-width: 1100px) {
  .site-header,
  .hero,
  .pillars,
  .philosophy,
  .process,
  .schedule-section,
  .launch-section,
  .testimonial,
  .site-footer {
    padding-inline: clamp(3rem, 8vw, 7rem);
  }

  .stats {
    margin-inline: clamp(3rem, 8vw, 7rem);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
  }
}

/* Legal pages (privacy / terms) */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  width: min(44rem, 100%);
  margin-inline: auto;
  padding: calc(var(--tf-header-h) + 2rem) 1.25rem 3rem;
}

.legal-main h1 {
  font-family: var(--tf-font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.legal-updated {
  color: var(--tf-text-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-main h2 {
  font-family: var(--tf-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--tf-text);
}

.legal-main p,
.legal-main li {
  color: var(--tf-text-secondary);
  line-height: 1.65;
  font-size: 0.98rem;
}

.legal-main p {
  margin: 0 0 1rem;
}

.legal-main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-main a {
  color: var(--tf-teal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-main a:hover {
  color: var(--tf-teal-cool);
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}
