:root {
  --bg: #fff7ed;
  --bg-warm: #fff3e7;
  --surface: #ffffff;
  --surface-warm: #fffaf4;
  --text: #2f1d18;
  --muted: #7b6258;
  --coral: #f06f52;
  --coral-dark: #dc563d;
  --amber: #f7bd52;
  --peach: #ffd7c7;
  --lavender: #eadcfb;
  --mint: #cfe8d8;
  --sky: #dff3fb;
  --border: rgba(75, 45, 35, 0.12);
  --shadow: 0 28px 70px rgba(95, 58, 37, 0.13);
  --shadow-card: 0 16px 34px rgba(95, 58, 37, 0.1);
  --radius: 28px;
  --radius-card: 22px;
  --max-width: 1168px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 215, 199, 0.42), transparent 28rem),
    radial-gradient(circle at 84% 20%, rgba(234, 220, 251, 0.42), transparent 24rem),
    linear-gradient(180deg, #fffaf3 0%, var(--bg) 46%, #fff5ea 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid rgba(240, 111, 82, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-shell,
.header-inner,
.footer-inner {
  width: min(calc(100% - 44px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(75, 45, 35, 0.1);
  background: rgba(255, 247, 237, 0.82);
  backdrop-filter: blur(20px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--coral);
  box-shadow: 0 12px 25px rgba(240, 111, 82, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.footer-logo .brand-mark:empty::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #fffaf4;
  clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%);
}

.footer-logo .brand-mark:empty::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 8px 0 0 var(--text), 4px 7px 0 -1px var(--text);
}

.brand-word {
  font-size: 1.24rem;
  letter-spacing: -0.01em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.primary-nav a {
  border-radius: 999px;
  color: #6d554b;
  font-size: 0.91rem;
  font-weight: 850;
  padding: 10px 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.primary-nav .nav-cta {
  margin-left: 10px;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 28px rgba(240, 111, 82, 0.26);
  padding-inline: 20px;
}

.primary-nav .nav-cta:hover {
  background: var(--coral-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 34px;
  padding: 72px 0 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.hero h1,
.legal-hero h1,
h2 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(3.8rem, 6vw, 6.65rem);
  line-height: 0.92;
}

.headline-line {
  display: block;
}

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

.hero-subtitle {
  max-width: 520px;
  margin: 26px 0 0;
  color: #6f5146;
  font-size: 1.09rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.access-form button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary,
.access-form button {
  background: linear-gradient(180deg, #ff805f, var(--coral));
  color: #fff;
  box-shadow: 0 18px 34px rgba(240, 111, 82, 0.28);
}

.button-primary:hover {
  background: linear-gradient(180deg, #f57557, var(--coral-dark));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(240, 111, 82, 0.34);
  color: var(--text);
}

.button-secondary:hover {
  background: #fff;
}

.button-secondary span {
  margin-left: 8px;
  font-size: 0.82rem;
  transform: translateY(1px);
}

.hero-visual {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 5% 0%;
  z-index: -1;
  border-radius: 50px;
  background: radial-gradient(circle, rgba(255, 214, 170, 0.9), rgba(234, 220, 251, 0.16) 56%, transparent 72%);
  filter: blur(18px);
}

.hero-visual img {
  width: min(100%, 710px);
  margin-left: auto;
  filter: drop-shadow(0 36px 48px rgba(78, 48, 31, 0.18));
}

.how-section,
.companion-section,
.pillars-section,
.access-section,
.legal-content,
.faq-section {
  padding: 34px 0 58px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.left {
  max-width: 720px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.9rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.18;
  font-weight: 900;
}

p {
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  position: relative;
  min-height: 248px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-align: center;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(240, 111, 82, 0.34), transparent);
}

.step-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff8a6d;
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
}

.step-badge.amber {
  background: var(--amber);
}

.step-badge.lavender {
  background: #c8a9f7;
}

.step-badge.peach {
  background: #ff9b7f;
}

.mini-illustration {
  position: relative;
  width: 104px;
  height: 88px;
  margin: 18px auto 18px;
}

.mini-illustration::before,
.mini-illustration::after,
.mini-illustration span,
.scene::before,
.scene::after,
.pillar-art::before,
.pillar-art::after,
.mail-art::before,
.mail-art::after {
  content: "";
  position: absolute;
  display: block;
}

.phone-icon::before {
  left: 30px;
  top: 8px;
  width: 44px;
  height: 72px;
  border: 5px solid #6c4a3e;
  border-radius: 12px;
  background: #fffaf4;
  box-shadow: inset 0 0 0 4px rgba(255, 215, 199, 0.45);
}

.phone-icon span {
  left: 44px;
  top: 38px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8b654f;
}

.pet-icon::before,
.bond-icon::before {
  left: 23px;
  top: 18px;
  width: 58px;
  height: 50px;
  border-radius: 48% 48% 43% 43%;
  background: #f4b77a;
  box-shadow: 0 10px 0 #fff0dd;
}

.pet-icon::after,
.bond-icon::after {
  left: 17px;
  top: 8px;
  width: 20px;
  height: 28px;
  background: #e8954f;
  border-radius: 80% 16% 80% 16%;
  transform: rotate(-18deg);
  box-shadow: 54px 17px 0 -1px #e8954f;
}

.pet-icon span,
.bond-icon span {
  left: 43px;
  top: 42px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 18px 0 0 var(--text), 9px 11px 0 -1px var(--text);
}

.decor-icon::before {
  left: 17px;
  top: 37px;
  width: 64px;
  height: 28px;
  border-radius: 12px 12px 8px 8px;
  background: #e8a064;
  box-shadow: 0 12px 0 #bc7445;
}

.decor-icon::after {
  left: 12px;
  top: 23px;
  width: 78px;
  height: 38px;
  border-radius: 18px;
  background: var(--lavender);
  box-shadow: inset 0 -10px 0 rgba(170, 126, 220, 0.18);
}

.decor-icon span {
  right: 4px;
  top: 15px;
  width: 26px;
  height: 54px;
  border-radius: 18px 18px 8px 8px;
  background: var(--mint);
  box-shadow: 10px 40px 0 -10px #9d7150;
}

.bond-icon::before {
  background: #f7a960;
}

.bond-icon span::after {
  content: "";
  position: absolute;
  left: 44px;
  top: -30px;
  width: 24px;
  height: 24px;
  background: var(--coral);
  border-radius: 50% 50% 45% 50%;
  transform: rotate(-45deg);
  box-shadow: 10px 0 0 -1px var(--coral);
}

.step-card p {
  max-width: 170px;
  margin: 10px auto 0;
  color: #6d5148;
  font-size: 0.96rem;
}

.companion-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(255, 234, 218, 0.84));
  box-shadow: var(--shadow);
  padding: 34px;
}

.companion-copy {
  padding: 0 8px;
}

.companion-copy p {
  margin: 18px 0 0;
  max-width: 360px;
  color: #6f5146;
}

.soft-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.soft-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5f453c;
  font-weight: 800;
}

.soft-list span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--coral);
  box-shadow: inset 0 0 0 1px var(--border);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.scene-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(75, 45, 35, 0.08);
}

.scene-card h3 {
  padding: 12px 14px 14px;
  font-size: 1rem;
}

.scene {
  position: relative;
  min-height: 205px;
  background:
    linear-gradient(150deg, rgba(255, 215, 199, 0.36), transparent 42%),
    linear-gradient(180deg, #fff2e7 0 42%, #f5bf75 42% 100%);
}

.scene::before {
  left: 30%;
  bottom: 22px;
  width: 78px;
  height: 58px;
  border-radius: 50% 50% 42% 42%;
  background: #f4a65f;
  box-shadow: 0 12px 0 #fff2e6, 72px -18px 0 -26px var(--coral), 62px 22px 0 -20px #fff;
}

.scene::after {
  left: 39%;
  bottom: 48px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 23px 0 0 var(--text), 12px 14px 0 -2px var(--text);
}

.scene-play {
  background:
    radial-gradient(circle at 28% 72%, var(--lavender) 0 14px, transparent 15px),
    radial-gradient(circle at 72% 28%, var(--mint) 0 28px, transparent 29px),
    linear-gradient(180deg, #fff2e7 0 42%, #f5bf75 42% 100%);
}

.scene-play span {
  position: absolute;
}

.scene-sleep::before {
  left: 28%;
  bottom: 50px;
  background: #e99c57;
  transform: rotate(-8deg);
  box-shadow: -8px 22px 0 16px #ef9f7e, 68px 0 0 -30px var(--coral);
}

.scene-sleep::after {
  content: "Zz";
  left: auto;
  right: 26px;
  top: 26px;
  width: auto;
  height: auto;
  border-radius: 999px;
  background: #fff;
  color: var(--coral-dark);
  font-weight: 900;
  padding: 10px 12px;
  box-shadow: var(--shadow-card);
}

.scene-bond::before {
  left: 34%;
  bottom: 30px;
  box-shadow: 0 12px 0 #fff2e6, 68px -80px 0 -28px var(--lavender), -64px -6px 0 -18px #f2ac70;
}

.scene-bond::after {
  content: "";
  left: auto;
  right: 26px;
  top: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.pillar-card {
  min-height: 270px;
  text-align: center;
  padding: 24px 22px;
  border-right: 1px solid rgba(240, 111, 82, 0.24);
}

.pillar-card:last-child {
  border-right: 0;
}

.pillar-card p {
  margin: 10px auto 0;
  max-width: 220px;
  color: #6f5146;
  font-size: 0.96rem;
}

.pillar-art,
.legal-art,
.mail-art {
  position: relative;
  width: 118px;
  height: 108px;
  margin: 0 auto 18px;
}

.room-art::before {
  left: 13px;
  top: 25px;
  width: 88px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2c383, #ffd7c7);
  transform: skewY(-12deg);
  box-shadow: 0 16px 0 #c98955;
}

.room-art::after {
  left: 34px;
  top: 40px;
  width: 44px;
  height: 28px;
  border-radius: 14px;
  background: var(--lavender);
  box-shadow: 42px 10px 0 -13px var(--mint), -22px 20px 0 -12px var(--amber);
}

.identity-art::before {
  left: 18px;
  top: 16px;
  width: 62px;
  height: 76px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  transform: rotate(8deg);
  box-shadow: 26px 20px 0 -6px var(--peach);
}

.identity-art::after {
  left: 39px;
  top: 40px;
  width: 32px;
  height: 28px;
  border-radius: 48% 48% 44% 44%;
  background: #f2a460;
  box-shadow: 9px 13px 0 -7px var(--text), 22px 13px 0 -7px var(--text);
}

.privacy-art::before {
  left: 32px;
  top: 14px;
  width: 58px;
  height: 74px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(180deg, #6d493e, #3d2823);
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, 0.08);
}

.privacy-art::after {
  left: 53px;
  top: 48px;
  width: 18px;
  height: 22px;
  border-radius: 4px;
  background: #fffaf4;
  box-shadow: 0 -16px 0 -5px #fffaf4;
}

.soon-art::before {
  left: 24px;
  top: 22px;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: #ffe5d7;
  box-shadow: inset 0 18px 0 var(--coral), 0 18px 30px rgba(95, 58, 37, 0.12);
}

.soon-art::after {
  left: 40px;
  top: 54px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #fffaf4;
  box-shadow: 24px 0 0 #fffaf4, 0 24px 0 #fffaf4, 24px 24px 0 #fffaf4, 56px 22px 0 10px var(--coral);
}

.access-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 26px;
  border-radius: 30px;
  background: linear-gradient(110deg, rgba(234, 220, 251, 0.78), rgba(255, 239, 229, 0.96) 48%, rgba(255, 215, 199, 0.74));
  box-shadow: var(--shadow-card);
  padding: 30px 36px;
}

.mail-art {
  width: 128px;
  margin: 0;
}

.mail-art::before {
  left: 8px;
  top: 34px;
  width: 94px;
  height: 62px;
  border-radius: 10px;
  background: #fff8ed;
  transform: rotate(-12deg);
  box-shadow: 0 20px 28px rgba(95, 58, 37, 0.12);
}

.mail-art::after {
  left: 26px;
  top: 51px;
  width: 32px;
  height: 32px;
  background: var(--coral);
  border-radius: 50% 50% 48% 50%;
  transform: rotate(-45deg);
  box-shadow: 18px 0 0 -1px var(--coral), 62px -34px 0 -9px #a99a52;
}

.access-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.access-copy p {
  margin: 8px 0 0;
  color: #6f5146;
}

.access-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border), 0 12px 24px rgba(95, 58, 37, 0.08);
  padding: 8px;
}

.access-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 20px;
}

.access-form button {
  min-height: 48px;
  padding-inline: 24px;
  cursor: not-allowed;
  opacity: 0.92;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: rgba(255, 250, 244, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 22px;
  padding: 32px 0;
}

.footer-brand-block p,
.copyright {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.site-footer nav a {
  color: #6d554b;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

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

.copyright {
  text-align: right;
}

.legal-page {
  padding: 48px 0 36px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(255, 229, 215, 0.8));
  box-shadow: var(--shadow);
  padding: 44px;
}

.legal-hero h1 {
  max-width: 860px;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
}

.legal-hero p:not(.section-label) {
  max-width: 720px;
  margin: 16px 0 0;
  color: #6f5146;
  font-size: 1.06rem;
}

.legal-content,
.faq-list {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 0 30px;
}

.legal-content article {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.legal-content article:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-content p {
  max-width: 820px;
  margin: 8px 0 0;
}

.faq-section .section-heading {
  margin-bottom: 18px;
}

details {
  border-bottom: 1px solid var(--border);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  list-style: none;
  padding: 22px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--coral-dark);
  font-size: 1.25rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 860px;
  margin: 0;
  padding: 0 0 24px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
    text-align: center;
  }

  .hero-copy {
    max-width: 800px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .companion-panel,
  .access-card {
    grid-template-columns: 1fr;
  }

  .access-card {
    text-align: center;
  }

  .mail-art {
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .section-shell,
  .header-inner,
  .footer-inner {
    width: min(calc(100vw - 28px), var(--max-width));
  }

  .hero,
  .how-section,
  .companion-section,
  .pillars-section,
  .access-section,
  .legal-page {
    max-width: 100vw;
    overflow-x: clip;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: var(--shadow);
    padding: 10px;
  }

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

  .primary-nav a {
    padding: 13px 14px;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

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

  .pillar-card {
    border-right: 0;
    border-bottom: 1px solid rgba(240, 111, 82, 0.18);
  }

  .pillar-card:nth-last-child(-n+2) {
    border-bottom: 0;
  }

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

  .scene {
    min-height: 190px;
  }

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

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }

  .section-shell,
  .header-inner,
  .footer-inner {
    width: calc(100vw - 48px);
  }

  .brand-word {
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 30px 0 38px;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.36rem, 9.5vw, 2.72rem);
    line-height: 0.98;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.64;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual img {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
  }

  .how-section,
  .companion-section,
  .pillars-section,
  .access-section,
  .legal-content,
  .faq-section {
    padding: 34px 0 44px;
  }

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

  .pillar-card,
  .pillar-card:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid rgba(240, 111, 82, 0.18);
  }

  .pillar-card:last-child {
    border-bottom: 0;
  }

  .companion-panel,
  .access-card,
  .legal-hero {
    border-radius: 24px;
    padding: 22px;
  }

  .access-form {
    display: grid;
    gap: 8px;
    border-radius: 24px;
  }

  .access-form button {
    width: 100%;
  }

  .legal-content,
  .faq-list {
    padding: 0 22px;
  }
}

@media (max-width: 480px) {
  .section-shell,
  .header-inner,
  .footer-inner {
    width: min(calc(100vw - 48px), 342px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
