:root {
  --night: #07111d;
  --ocean: #10314f;
  --lagoon: #2f8b92;
  --lagoon-soft: rgba(47, 139, 146, 0.16);
  --sand: #efe3d3;
  --sun: #fff8ef;
  --coral: #dc8d75;
  --coral-soft: rgba(220, 141, 117, 0.16);
  --leaf: #264337;
  --ink: #0f1720;
  --ink-soft: rgba(15, 23, 32, 0.72);
  --line: rgba(16, 49, 79, 0.12);
  --card: rgba(255, 250, 242, 0.78);
  --card-strong: rgba(255, 252, 247, 0.92);
  --shadow: 0 24px 80px rgba(7, 17, 29, 0.16);
  --shadow-soft: 0 16px 40px rgba(7, 17, 29, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-offset: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(239, 227, 211, 0.95), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(47, 139, 146, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f2e9 0%, #fdf9f4 40%, #fffdf9 100%);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.7;
}

.page-shell::before {
  width: 22rem;
  height: 22rem;
  top: 6rem;
  right: -6rem;
  background: rgba(47, 139, 146, 0.18);
}

.page-shell::after {
  width: 20rem;
  height: 20rem;
  bottom: 10rem;
  left: -7rem;
  background: rgba(220, 141, 117, 0.18);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(253, 249, 244, 0.72);
  border-bottom: 1px solid rgba(16, 49, 79, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
}

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

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0.32rem;
  border-radius: 0.95rem;
  background: rgba(255, 252, 247, 0.8);
  box-shadow: var(--shadow-soft);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.7rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Clash Display", "Avenir Next", "Trebuchet MS", sans-serif;
  letter-spacing: -0.04em;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a,
.menu-toggle {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: var(--night);
  background: rgba(16, 49, 79, 0.06);
  outline: none;
}

.nav-cta {
  color: var(--night);
  background: rgba(47, 139, 146, 0.12);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  box-shadow: 0 12px 24px rgba(47, 139, 146, 0.18);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

section {
  scroll-margin-top: var(--header-offset);
}

.hero-section {
  padding: 5.5rem 0 3.5rem;
}

.hero-grid,
.philosophy-grid,
.access-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.hero-copy h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.95;
  max-width: 11ch;
}

.hero-lead {
  max-width: 42rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.eyebrow-pill,
.section-kicker,
.mini-label,
.step-number {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(16, 49, 79, 0.08);
  box-shadow: var(--shadow-soft);
}

.eyebrow-pill.muted {
  color: var(--ink-soft);
  background: rgba(239, 227, 211, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.6rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--ocean), #14496d);
  color: var(--sun);
  box-shadow: 0 18px 34px rgba(16, 49, 79, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 24px 40px rgba(16, 49, 79, 0.32);
}

.button-secondary {
  background: rgba(255, 252, 247, 0.84);
  color: var(--night);
  border-color: rgba(16, 49, 79, 0.1);
}

.hero-points,
.feature-list,
.contact-list,
.trust-card ul,
.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: grid;
  gap: 0.85rem;
  max-width: 38rem;
}

.hero-points li,
.feature-list li,
.contact-list li,
.trust-card li,
.legal-list li {
  position: relative;
  padding-left: 1.3rem;
}

.hero-points li::before,
.feature-list li::before,
.contact-list li::before,
.trust-card li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--lagoon);
  box-shadow: 0 0 0 0.25rem rgba(47, 139, 146, 0.15);
}

.hero-visual {
  position: relative;
}

.hero-stage {
  position: relative;
  min-height: 44rem;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.85;
}

.orb-lagoon {
  inset: 2rem auto auto 0;
  width: 11rem;
  height: 11rem;
  background: rgba(47, 139, 146, 0.18);
}

.orb-coral {
  inset: auto 1rem 2rem auto;
  width: 8rem;
  height: 8rem;
  background: rgba(220, 141, 117, 0.22);
}

.hero-card,
.signal-card,
.step-card,
.principle-card,
.trust-panel,
.waitlist-card,
.contact-card,
.faq-item,
.legal-card {
  background: var(--card);
  border: 1px solid rgba(16, 49, 79, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
}

.statement-card {
  top: 0;
  left: 0;
  z-index: 2;
  width: min(24rem, calc(100% - 5rem));
  padding: 1.4rem;
}

.statement-card h2,
.trust-card h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.6rem;
  line-height: 1.05;
}

.statement-card p,
.trust-card p,
.signal-card p,
.step-card p,
.principle-card p,
.trust-panel p,
.faq-item p,
.contact-card,
.legal-card,
.form-note,
.form-response {
  color: var(--ink-soft);
}

.phone-card {
  top: 4.75rem;
  right: 0;
  z-index: 1;
  width: min(18.5rem, 70%);
  padding: 0.8rem;
  transform: rotate(6deg);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.phone-card.active,
.phone-card:hover {
  transform: rotate(4deg) translateY(-4px);
}

.phone-card img {
  width: 100%;
  border-radius: 1.6rem;
  aspect-ratio: 591 / 1280;
  object-fit: cover;
  background: #f1ece4;
}

.phone-caption {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.85rem 0.3rem 0.2rem;
}

.phone-caption span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.trust-card {
  left: 3rem;
  bottom: 0.5rem;
  z-index: 3;
  width: min(22rem, calc(100% - 4rem));
  padding: 1.4rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.3rem;
}

.section-kicker,
.mini-label,
.step-number {
  color: var(--lagoon);
}

.section-heading h2,
.philosophy-copy h2,
.access-copy h2,
.legal-intro h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.section-heading p,
.philosophy-copy p,
.access-copy p,
.legal-intro p {
  max-width: 44rem;
  color: var(--ink-soft);
}

.signal-section,
.trust-section,
.faq-section {
  padding: 4rem 0;
}

.product-section,
.philosophy-section,
.access-section,
.legal-main {
  padding: 5rem 0;
}

.signal-grid,
.product-grid,
.trust-grid,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

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

.signal-card,
.step-card,
.trust-panel,
.contact-card,
.waitlist-card,
.legal-card {
  border-radius: var(--radius-lg);
}

.signal-card,
.step-card,
.trust-panel,
.legal-card {
  padding: 1.45rem;
}

.signal-card h3,
.step-card h3,
.trust-panel h3,
.principle-card h3,
.faq-item summary,
.legal-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  line-height: 1.08;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.screen-frame {
  margin: 0;
  padding: 1rem;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background: rgba(255, 252, 247, 0.74);
  border: 1px solid rgba(16, 49, 79, 0.08);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.screen-frame:hover,
.screen-frame.is-selected {
  transform: translateY(-4px);
  border-color: rgba(47, 139, 146, 0.4);
  box-shadow: 0 22px 36px rgba(16, 49, 79, 0.14);
}

.screen-frame img {
  border-radius: 1.4rem;
  width: 100%;
  aspect-ratio: 591 / 1280;
  object-fit: cover;
  background: #f1ece4;
}

.screen-frame figcaption {
  padding-top: 0.8rem;
  color: var(--ink-soft);
}

.philosophy-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
}

.principle-stack {
  display: grid;
  gap: 1rem;
}

.principle-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
}

.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  gap: 1.6rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--lagoon);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.8rem 0 0;
}

.access-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.3rem;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.contact-list a {
  color: var(--ocean);
}

.waitlist-card {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.waitlist-card label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.waitlist-card input,
.waitlist-card textarea {
  width: 100%;
  border: 1px solid rgba(16, 49, 79, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.waitlist-card input:focus,
.waitlist-card textarea:focus {
  outline: none;
  border-color: rgba(47, 139, 146, 0.55);
  box-shadow: 0 0 0 0.32rem rgba(47, 139, 146, 0.12);
}

.form-response {
  min-height: 1.5rem;
  margin: 0;
}

.form-response.is-success {
  color: var(--leaf);
}

.form-response.is-error {
  color: #8c4333;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(16, 49, 79, 0.08);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--ink-soft);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--night);
  transform: translateX(2px);
  outline: none;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.75);
}

.legal-body {
  background:
    radial-gradient(circle at 15% 0, rgba(47, 139, 146, 0.1), transparent 28%),
    linear-gradient(180deg, #f8f2e9 0%, #fffdf9 100%);
}

.compact-header {
  position: sticky;
}

.legal-nav {
  gap: 0.5rem;
}

.legal-layout {
  display: grid;
  gap: 1rem;
}

.legal-intro {
  max-width: 44rem;
  padding-bottom: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

@media (max-width: 980px) {
  :root {
    --header-offset: 88px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border-radius: 1.4rem;
    background: rgba(255, 252, 247, 0.94);
    border: 1px solid rgba(16, 49, 79, 0.08);
    box-shadow: var(--shadow);
  }

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

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-grid,
  .philosophy-grid,
  .access-grid,
  .signal-grid,
  .product-grid,
  .gallery-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 39rem;
  }

  .statement-card {
    width: calc(100% - 2rem);
  }

  .phone-card {
    width: min(18rem, 68%);
  }

  .trust-card {
    left: 1rem;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 720px) {
  .hero-section,
  .product-section,
  .philosophy-section,
  .access-section,
  .legal-main {
    padding: 4rem 0;
  }

  .signal-section,
  .trust-section,
  .faq-section {
    padding: 3rem 0;
  }

  .hero-copy h1 {
    max-width: 9ch;
  }

  .hero-stage {
    min-height: 36rem;
  }

  .statement-card,
  .trust-card {
    padding: 1.15rem;
  }

  .phone-card {
    top: 6.8rem;
    width: min(16rem, 74%);
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .legal-nav {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 5rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .philosophy-copy h2,
  .access-copy h2,
  .legal-intro h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 34rem;
  }

  .statement-card {
    width: calc(100% - 1rem);
  }

  .phone-card {
    width: min(14rem, 72%);
    right: 0.2rem;
  }

  .trust-card {
    left: 0.5rem;
    width: calc(100% - 1rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
