:root {
  --night: #15151e;
  --night-deep: #101016;
  --slate: #39404d;
  --slate-light: #49586a;
  --violet: #3b3964;
  --violet-warm: #5e3953;
  --indigo: #020668;
  --ember: #6a0404;
  --rose: #e37171;
  --rose-text: #ffc0c0;
  --mist: #dcd8d5;
  --mist-muted: #bbb7bd;
  --hairline: rgba(220, 216, 213, 0.22);
  --frame: min(1180px, calc(100vw - 48px));
  --display: "Sora", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--night);
  font-weight: 600;
  transition: transform 160ms ease-out;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: var(--frame);
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--hairline);
}
.wordmark {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 0.86rem; font-weight: 500; }
.site-nav a { color: var(--mist-muted); text-decoration: none; transition: color 180ms ease-out; }
.site-nav a:hover { color: var(--mist); }
.site-nav .nav-apply { padding: 9px 15px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--mist); }

.signal-field {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--slate);
  background-image:
    radial-gradient(circle at 7% 32%, rgba(227, 113, 113, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 70%, rgba(227, 113, 113, 0.56) 0 1px, transparent 3px),
    radial-gradient(circle at 61% 18%, rgba(227, 113, 113, 0.68) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 58%, rgba(227, 113, 113, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 25%, rgba(227, 113, 113, 0.46) 0 1px, transparent 3px),
    linear-gradient(145deg, var(--slate-light), var(--slate) 56%, #313544);
}
.hero {
  display: grid;
  min-height: min(980px, 100svh);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 82px;
}
.hero::after {
  position: absolute;
  right: -20vw;
  bottom: -32vw;
  z-index: -2;
  width: 72vw;
  height: 72vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 57, 83, 0.65), rgba(59, 57, 100, 0.16) 48%, transparent 70%);
  content: "";
}
.hero-glow {
  position: absolute;
  top: 13%;
  left: 58%;
  z-index: -1;
  width: clamp(280px, 36vw, 560px);
  height: clamp(280px, 36vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 6, 104, 0.4), transparent 67%);
  filter: blur(8px);
}
.hero-copy { max-width: 690px; }
.hero-kicker, .section-label, .fit-question {
  margin: 0 0 28px;
  color: var(--rose-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
h1 { max-width: 7ch; font-size: clamp(4rem, 8.2vw, 6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; }
h1 span { display: block; }
h1 span:nth-child(2) { margin-left: 0.5ch; color: #c3c0d7; }
h1 span:nth-child(3) { margin-left: 1ch; color: #afa8ce; }
.hero-intro { max-width: 54ch; margin: 34px 0 0; color: #eeeae7; font-size: clamp(1.02rem, 1.4vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 38px; }
.primary-action {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 25px;
  border: 1px solid rgba(227, 113, 113, 0.48);
  border-radius: 999px;
  background: linear-gradient(110deg, var(--indigo), var(--ember));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  color: #f7f2ef;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 240ms var(--ease), border-color 240ms ease-out, box-shadow 240ms ease-out;
}
.primary-action:hover { transform: translateY(-2px); border-color: #f29797; box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32); }
.primary-action:active { transform: translateY(0); }
.text-action { padding: 8px 0; color: #d7d3d4; font-size: 0.9rem; font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.commitment-loop { position: relative; display: grid; min-height: 520px; align-content: center; padding-left: 46px; }
.loop-track { position: absolute; top: 13%; bottom: 13%; left: 11px; width: 1px; background: linear-gradient(180deg, rgba(220,216,213,.14), rgba(227,113,113,.9), rgba(220,216,213,.14)); }
.signal-pulse {
  position: absolute;
  top: 0;
  left: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4aaaa;
  box-shadow: 0 6px 20px rgba(227, 113, 113, 0.65);
  animation: travel 7s var(--ease) infinite;
}
.loop-step { position: relative; padding: 28px 0 32px; border-top: 1px solid var(--hairline); }
.loop-step:last-child { border-bottom: 1px solid var(--hairline); }
.loop-step::before { position: absolute; top: 35px; left: -40px; width: 11px; height: 11px; border: 2px solid #e88989; border-radius: 50%; background: var(--slate); content: ""; }
.loop-index { color: var(--rose-text); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; }
.loop-step strong { display: block; margin-top: 10px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.loop-step p { max-width: 38ch; margin: 11px 0 0; color: #ccc9cd; font-size: 0.93rem; }
@keyframes travel { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 84% { opacity: 1; } 100% { transform: translateY(370px); opacity: 0; } }

.field-slate { background: linear-gradient(160deg, #465769, var(--slate) 62%, #333744); }
.field-night { background: var(--night); }
.field-violet { background: radial-gradient(circle at 82% 18%, rgba(227,113,113,.1), transparent 26%), linear-gradient(140deg, var(--violet), var(--violet-warm)); }
.section-frame { width: var(--frame); margin: 0 auto; padding: clamp(92px, 11vw, 150px) 0; }
.problem-layout { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1.35fr); gap: clamp(40px, 8vw, 120px); }
h2 { max-width: 13ch; font-size: clamp(2.55rem, 5.4vw, 5.45rem); font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.problem-layout .lead, .circle-copy .lead { max-width: 50ch; margin: 44px 0 0; color: #f0edeb; font-size: clamp(1.22rem, 2vw, 1.65rem); line-height: 1.45; }
.problem-layout div > p:last-child { max-width: 56ch; margin: 24px 0 0; color: #d1ced2; }

.method-heading { display: grid; grid-template-columns: .36fr 1fr .72fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.method-heading > p:last-child { max-width: 45ch; margin: 0; color: var(--mist-muted); }
.rhythm { margin: clamp(72px, 10vw, 132px) 0 0; padding: 0; border-top: 1px solid var(--hairline); list-style: none; }
.rhythm li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--hairline); }
.rhythm-marker { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(227,113,113,.7); border-radius: 50%; color: #f09999; font-size: .78rem; font-weight: 600; }
.rhythm h3 { font-size: clamp(1.35rem, 2.5vw, 2.1rem); font-weight: 500; letter-spacing: -.02em; }
.rhythm p { max-width: 62ch; margin: 10px 0 0; color: var(--mist-muted); }

.circle-layout, .fit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr); gap: clamp(52px, 9vw, 140px); align-items: start; }
.circle-copy p { max-width: 52ch; }
.circle-copy .lead { margin-top: 0; }
.circle-details { margin: 34px 0 40px; padding: 0; list-style: none; }
.circle-details li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--hairline); color: #e5e0e0; }
.circle-details li:last-child { border-bottom: 1px solid var(--hairline); }
.circle-details li::before { position: absolute; top: 22px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); content: ""; }
.fit-copy { padding-top: 56px; }
.fit-copy p { max-width: 54ch; margin: 0 0 22px; color: #e0dcdd; font-size: 1.08rem; }
.fit-copy .primary-action { margin-top: 20px; }

.site-footer { display: grid; width: var(--frame); min-height: 220px; margin: 0 auto; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; color: #99969f; font-size: .78rem; }
.site-footer a { color: #c4c0c6; text-underline-offset: 4px; }
.footer-mark { color: var(--mist); font-family: var(--display); font-size: 1rem; font-weight: 600; }

.not-found { display: grid; min-height: 100svh; place-content: center; padding: 40px max(24px, calc((100vw - 900px) / 2)); }
.not-found h1 { max-width: 12ch; }
.not-found p:not(.hero-kicker) { max-width: 52ch; margin: 34px 0; color: #e4e0df; font-size: 1.08rem; }
.not-found .primary-action { width: fit-content; }

@media (max-width: 900px) {
  :root { --frame: min(100% - 36px, 720px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 72px; padding: 150px 18px 90px; }
  .hero-copy, .commitment-loop { width: min(100%, 720px); margin: 0 auto; }
  .commitment-loop { min-height: auto; }
  .method-heading { grid-template-columns: 1fr; }
  .method-heading > p:last-child { margin-top: 12px; }
  .circle-layout, .fit-layout { grid-template-columns: 1fr; }
  .fit-copy { padding-top: 0; }
}

@media (max-width: 680px) {
  :root { --frame: calc(100% - 32px); }
  .site-header { min-height: 72px; }
  .site-nav > a:not(.nav-apply) { display: none; }
  .site-nav .nav-apply { padding: 8px 12px; font-size: .78rem; }
  .hero { padding-top: 128px; }
  h1 { font-size: clamp(3.55rem, 18vw, 5rem); }
  h1 span:nth-child(2) { margin-left: .28ch; }
  h1 span:nth-child(3) { margin-left: .56ch; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .primary-action { width: 100%; }
  .problem-layout { grid-template-columns: 1fr; gap: 20px; }
  .problem-layout .lead { margin-top: 32px; }
  .rhythm li { grid-template-columns: 52px 1fr; gap: 14px; }
  .site-footer { min-height: 260px; grid-template-columns: 1fr; gap: 10px; align-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .signal-pulse { top: 50%; opacity: 1; }
}
