:root {
  color-scheme: light dark;
  --background: #f8fafc;
  --background-muted: #eef2f7;
  --surface: #ffffff;
  --surface-elevated: #f1f5f9;
  --surface-pressed: #e2e8f0;
  --border: #cbd5e1;
  --border-strong: #94a3b8;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --primary-soft: #dbeafe;
  --primary-soft-foreground: #1e3a8a;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --sun: #facc15;
  --sun-soft: #fde68a;
  --orange: #fb923c;
  --rose: #fb7185;
  --shadow: 15 23 42;
  --header: rgba(248, 250, 252, 0.82);
  --hero-glow: rgba(250, 204, 21, 0.27);
  --phone-screen: #f8fafc;
  --phone-shell: #0f172a;
  --card-blue: #d7eeff;
  --card-blue-ink: #082f49;
  --card-green: #cdeed9;
  --card-green-ink: #123524;
  --card-orange: #fde3b0;
  --card-orange-ink: #451a03;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #08111f;
    --background-muted: #101a2d;
    --surface: #101a2d;
    --surface-elevated: #15223a;
    --surface-pressed: #1c2a43;
    --border: #243550;
    --border-strong: #3a4e6e;
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --primary: #facc15;
    --primary-foreground: #281a00;
    --primary-soft: #43330a;
    --primary-soft-foreground: #fde68a;
    --accent: #4ade80;
    --accent-soft: #173a29;
    --sun: #facc15;
    --sun-soft: #43330a;
    --orange: #fdba74;
    --rose: #fb7185;
    --shadow: 0 0 0;
    --header: rgba(8, 17, 31, 0.82);
    --hero-glow: rgba(250, 204, 21, 0.14);
    --phone-screen: #08111f;
    --phone-shell: #eef2f7;
    --card-blue: #12354d;
    --card-blue-ink: #f0f9ff;
    --card-green: #173a29;
    --card-green-ink: #f0fdf4;
    --card-orange: #452a0a;
    --card-orange-ink: #fffbeb;
  }
}

:root[data-theme="dark"] {
  --background: #08111f;
  --background-muted: #101a2d;
  --surface: #101a2d;
  --surface-elevated: #15223a;
  --surface-pressed: #1c2a43;
  --border: #243550;
  --border-strong: #3a4e6e;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --primary: #facc15;
  --primary-foreground: #281a00;
  --primary-soft: #43330a;
  --primary-soft-foreground: #fde68a;
  --accent: #4ade80;
  --accent-soft: #173a29;
  --sun: #facc15;
  --sun-soft: #43330a;
  --orange: #fdba74;
  --rose: #fb7185;
  --shadow: 0 0 0;
  --header: rgba(8, 17, 31, 0.82);
  --hero-glow: rgba(250, 204, 21, 0.14);
  --phone-screen: #08111f;
  --phone-shell: #eef2f7;
  --card-blue: #12354d;
  --card-blue-ink: #f0f9ff;
  --card-green: #173a29;
  --card-green-ink: #f0fdf4;
  --card-orange: #452a0a;
  --card-orange-ink: #fffbeb;
}

:root[data-theme="light"] {
  --background: #f8fafc;
  --background-muted: #eef2f7;
  --surface: #ffffff;
  --surface-elevated: #f1f5f9;
  --surface-pressed: #e2e8f0;
  --border: #cbd5e1;
  --border-strong: #94a3b8;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --primary-soft: #dbeafe;
  --primary-soft-foreground: #1e3a8a;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --sun: #facc15;
  --sun-soft: #fde68a;
  --orange: #fb923c;
  --rose: #fb7185;
  --shadow: 15 23 42;
  --header: rgba(248, 250, 252, 0.82);
  --hero-glow: rgba(250, 204, 21, 0.27);
  --phone-screen: #f8fafc;
  --phone-shell: #0f172a;
  --card-blue: #d7eeff;
  --card-blue-ink: #082f49;
  --card-green: #cdeed9;
  --card-green-ink: #123524;
  --card-orange: #fde3b0;
  --card-orange-ink: #451a03;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    ui-rounded,
    "SF Pro Rounded",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:where(a, button):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 65%, transparent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: var(--header);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgb(var(--shadow) / 0.13);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  background: var(--surface-elevated);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.theme-toggle .moon,
.theme-toggle[data-active-theme="dark"] .sun-icon {
  display: none;
}

.theme-toggle[data-active-theme="dark"] .moon {
  display: block;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 780px;
  height: 780px;
  top: -330px;
  left: calc(50% - 780px);
  border-radius: 50%;
  background: var(--hero-glow);
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-soft-foreground);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  font-weight: 900;
}

.sun-underline {
  position: relative;
  display: inline-block;
}

.sun-underline::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.07em;
  left: -0.02em;
  height: 0.18em;
  border-radius: 999px;
  background: var(--sun);
  transform: rotate(-1.5deg);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0 0 34px;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  scroll-margin-top: 96px;
}

.newsletter-form {
  width: min(100%, 540px);
}

.newsletter-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 800;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
}

.newsletter-fields input {
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.newsletter-fields input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-fields input:focus {
  border-color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--primary) 22%, transparent);
  outline-offset: 1px;
}

.newsletter-fields button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.newsletter-note,
.newsletter-status {
  margin: 8px 0 0;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.newsletter-status[data-kind="success"] {
  color: var(--accent);
  font-weight: 750;
}

.newsletter-status[data-kind="error"] {
  color: var(--rose);
  font-weight: 750;
}

.newsletter-challenge:not(:empty) {
  margin-top: 12px;
}

.newsletter-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.button {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 25%, transparent);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.phone-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 490px;
  height: 490px;
  border: 1px dashed color-mix(in srgb, var(--primary) 32%, transparent);
  border-radius: 50%;
  animation: orbit-spin 40s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 7px solid var(--background);
  border-radius: 50%;
}

.orbit::before {
  top: 55px;
  left: 45px;
  background: var(--sun);
}

.orbit::after {
  right: 20px;
  bottom: 120px;
  background: var(--accent);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.phone {
  position: relative;
  width: 286px;
  height: 590px;
  padding: 9px;
  border: 3px solid var(--phone-shell);
  border-radius: 48px;
  background: var(--phone-shell);
  box-shadow:
    0 40px 80px rgb(var(--shadow) / 0.22),
    0 10px 24px rgb(var(--shadow) / 0.14);
  transform: rotate(3deg);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: var(--phone-screen);
  color: var(--text);
}

.dynamic-island {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #020617;
  transform: translateX(-50%);
}

.phone-content {
  padding: 45px 17px 16px;
}

.phone-topline,
.phone-card-head,
.phone-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-topline span {
  font-size: 0.71rem;
  font-weight: 750;
}

.avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: #281a00;
  font-size: 0.68rem;
  font-weight: 900;
}

.phone h2 {
  margin: 17px 0 13px;
  font-size: 1.55rem;
}

.position-card {
  margin-bottom: 13px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 20px;
  background: var(--card-green);
  color: var(--card-green-ink);
}

.position-card small,
.envelope-card small {
  display: block;
  margin-bottom: 2px;
  opacity: 0.72;
  font-size: 0.65rem;
  font-weight: 750;
}

.position-card strong {
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.position-bar,
.envelope-bar {
  height: 6px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 99px;
  background: color-mix(in srgb, currentColor 15%, transparent);
}

.position-bar::after,
.envelope-bar::after {
  content: "";
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.section-label {
  margin: 14px 2px 8px;
  display: flex;
  justify-content: space-between;
  color: var(--text-tertiary);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.envelope-card {
  margin-bottom: 8px;
  padding: 11px 13px;
  border-radius: 16px;
}

.envelope-card.blue {
  background: var(--card-blue);
  color: var(--card-blue-ink);
}

.envelope-card.orange {
  background: var(--card-orange);
  color: var(--card-orange-ink);
}

.phone-card-head strong {
  font-size: 0.78rem;
}

.phone-card-head span {
  font-size: 0.73rem;
  font-weight: 850;
}

.envelope-bar {
  height: 5px;
  margin-top: 7px;
}

.envelope-card.blue .envelope-bar::after {
  width: 64%;
  background: #0284c7;
}

.envelope-card.orange .envelope-bar::after {
  width: 82%;
  background: #b45309;
}

.phone-tabbar {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 12px 20px 13px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 37px 37px;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  backdrop-filter: blur(14px);
}

.phone-tabbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.phone-tabbar span:first-child {
  width: 27px;
  height: 7px;
  border-radius: 99px;
  background: var(--primary);
}

.floating-note {
  position: absolute;
  right: -4px;
  bottom: 52px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 45px rgb(var(--shadow) / 0.16);
  font-size: 0.75rem;
  font-weight: 800;
  transform: rotate(-3deg);
}

.floating-note span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sun-soft);
  color: #6b4e00;
}

.message-page {
  min-height: 100vh;
  padding: 28px 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 15%, var(--hero-glow), transparent 38%),
    var(--background);
}

.message-card {
  width: min(100%, 640px);
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgb(var(--shadow) / 0.12);
  text-align: center;
}

.message-card > img {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
}

.message-card .eyebrow {
  margin: 0 auto 18px;
}

.message-card h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.message-card > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.message-copy {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

.message-copy p {
  margin: 0;
}

.message-copy .message-note {
  margin-top: 8px;
  color: color-mix(in srgb, var(--text-secondary) 68%, transparent);
  font-size: 0.875rem;
}

.not-found-page {
  min-height: 100vh;
  padding: 32px 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 15%, var(--hero-glow), transparent 38%),
    var(--background);
}

.not-found-card {
  max-width: 560px;
  text-align: center;
}

.not-found-card .eyebrow {
  margin: 0 auto 20px;
}

.not-found-card h1 {
  max-width: none;
  margin: 0 auto 18px;
  font-size: clamp(3rem, 7vw, 5rem);
}

.not-found-copy {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section {
  padding: 110px 0;
}

.section-muted {
  background: var(--background-muted);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 17px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgb(var(--shadow) / 0.05);
}

.feature-card:nth-child(1) {
  border-top: 5px solid var(--primary);
}

.feature-card:nth-child(2) {
  border-top: 5px solid var(--accent);
}

.feature-card:nth-child(3) {
  border-top: 5px solid var(--orange);
}

.feature-card:nth-child(4) {
  border-top: 5px solid #a78bfa;
}

.feature-card:nth-child(5) {
  border-top: 5px solid var(--rose);
}

.feature-card:nth-child(6) {
  border-top: 5px solid var(--sun);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 27px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-elevated);
  color: var(--text);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  margin-bottom: 11px;
  font-size: 1.28rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.principle {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 84px;
}

.principle-art {
  position: relative;
  min-height: 430px;
}

.bird-card {
  position: absolute;
  inset: 20px 46px 20px 0;
  overflow: hidden;
  border-radius: 72px;
  background: linear-gradient(145deg, var(--sun-soft), var(--surface));
  box-shadow: 0 24px 60px rgb(var(--shadow) / 0.13);
}

.bird-card picture,
.bird-card img {
  width: 100%;
  height: 100%;
}

.bird-card img {
  object-fit: cover;
}

.bird-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 65%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.mini-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 205px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(var(--shadow) / 0.15);
}

.mini-card strong {
  display: block;
  font-size: 1.05rem;
}

.mini-card span {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.principle-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 900;
}

.principle-copy > p {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 1.06rem;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-secondary);
}

.check-list svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.cta {
  padding: 85px 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: 36px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.cta-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -185px;
  border: 55px solid color-mix(in srgb, var(--sun) 76%, transparent);
  border-radius: 50%;
}

.cta-card h2 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-bottom: 17px;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 900;
}

.cta-card p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 0 29px;
  opacity: 0.86;
  font-size: 1.05rem;
}

.cta-card .button {
  position: relative;
  z-index: 1;
  background: var(--surface);
  color: var(--text);
}

.site-footer {
  padding: 50px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 50px;
}

.footer-copy {
  max-width: 400px;
  margin-top: 15px;
  color: var(--text-tertiary);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

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

.copyright {
  margin-top: 42px;
  color: var(--text-tertiary);
  font-size: 0.79rem;
}

.legal-hero {
  padding: 82px 0 48px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  margin-bottom: 15px;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.legal-hero p {
  margin: 0;
  color: var(--text-secondary);
}

.legal-layout {
  padding: 70px 0 100px;
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  align-items: start;
  gap: 70px;
}

.legal-nav {
  position: sticky;
  top: 105px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.legal-nav a {
  display: block;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--text-tertiary);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--surface-elevated);
  color: var(--text);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  scroll-margin-top: 105px;
  margin-bottom: 47px;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
}

.legal-content p {
  margin: 0 0 15px;
}

.legal-content ul {
  margin: 10px 0 17px;
  padding-left: 1.3rem;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a,
.support-card a {
  color: var(--primary);
  font-weight: 750;
}

.legal-note {
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  background: var(--primary-soft);
  color: var(--primary-soft-foreground);
}

.support-grid {
  padding: 70px 0 110px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.support-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.support-card h2 {
  margin-bottom: 12px;
  font-size: 1.42rem;
}

.support-card p {
  margin: 0;
  color: var(--text-secondary);
}

.support-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .hero-grid,
  .principle {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 70px;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

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

  .phone-stage {
    min-height: 650px;
  }

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

  .principle {
    gap: 55px;
  }

  .principle-art {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, 1160px);
  }

  .nav-links a {
    display: none;
  }

  .nav-links {
    gap: 8px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-grid,
  .container {
    width: min(100% - 30px, 1160px);
  }

  .hero-grid {
    padding-top: 55px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .newsletter-fields {
    grid-template-columns: 1fr;
  }

  .newsletter-fields .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 610px;
    transform: scale(0.9);
  }

  .orbit {
    width: 430px;
    height: 430px;
  }

  .floating-note {
    right: -18px;
  }

  .section {
    padding: 80px 0;
  }

  .features-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .bird-card {
    right: 25px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta-card {
    padding: 45px 27px 55px;
    border-radius: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .legal-hero {
    padding-top: 58px;
  }

  .legal-layout {
    padding-top: 45px;
  }

  .legal-nav {
    display: none;
  }

  .support-card-wide {
    grid-column: auto;
  }
}

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

  .orbit {
    animation: none;
  }

  .button {
    transition: none;
  }
}
