:root {
  --paper: #f5f1e9;
  --ink: #1d302c;
  --muted: #727a70;
  --line: #dcd8ce;
  --orange: #d7754c;
  --moss: #899581;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", sans-serif;
  --display: Manrope, var(--sans);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
.app-shell {
  max-width: 1240px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 6.15% 112px;
}
.topbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 800 21px var(--display);
  letter-spacing: -1.3px;
}
.brand-mark {
  color: var(--orange);
  font-size: 24px;
}
.brand-dot {
  color: var(--orange);
}
.profile-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  font-size: 12px;
}
.profile-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d9ded2;
  font-weight: 700;
}
.hero-grid {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
  padding: 40px 0 52px;
}
.eyebrow {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #788075;
}
.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--orange);
  margin: 0 9px 3px 0;
}
.hero-copy h1 {
  font: 500 clamp(52px, 6.4vw, 82px)/0.99 var(--serif);
  letter-spacing: -3.8px;
  margin: 26px 0 22px;
}
.hero-copy h1 em {
  color: var(--orange);
  font-weight: 400;
}
.hero-description {
  max-width: 430px;
  color: #5f6a61;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}
.button {
  border: 0;
  border-radius: 3px;
  padding: 14px 19px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 16px;
  padding-left: 20px;
}
.button-dark {
  background: var(--ink);
  color: #f7f3eb;
}
.privacy-note {
  margin: 17px 0 0;
  font-size: 10px;
  color: #8a9087;
}
.privacy-note span {
  color: var(--moss);
  margin-right: 5px;
}
.hero-art {
  position: relative;
  width: min(100%, 475px);
  aspect-ratio: 1.15;
  margin: 0 auto;
  background: #e8e3d8;
  overflow: hidden;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(41, 64, 56, 0.14);
  border-radius: 50%;
  width: 78%;
  aspect-ratio: 1;
  left: 11%;
  top: 11%;
}
.hero-art:after {
  width: 57%;
  left: 21.5%;
  top: 21.5%;
  border-color: rgba(41, 64, 56, 0.23);
}
.art-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #b5b8a5;
}
.orbit-one {
  width: 94%;
  height: 50%;
  left: 3%;
  top: 25%;
  transform: rotate(-34deg);
}
.orbit-two {
  width: 76%;
  height: 41%;
  left: 12%;
  top: 30%;
  transform: rotate(39deg);
  border-color: #cdb2a1;
}
.art-sun {
  position: absolute;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d6855c;
  left: 34%;
  top: 29%;
  box-shadow: 0 0 65px rgba(215, 117, 76, 0.2);
}
.art-center {
  position: absolute;
  z-index: 1;
  left: 47%;
  top: 42%;
  font-size: 30px;
  color: rgba(245, 241, 233, 0.85);
}
.art-star {
  position: absolute;
  z-index: 2;
  color: var(--ink);
}
.star-one {
  top: 19%;
  right: 22%;
  font-size: 22px;
}
.star-two {
  left: 24%;
  bottom: 21%;
  font-size: 17px;
  color: var(--orange);
}
.art-label {
  position: absolute;
  z-index: 3;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #53625a;
}
.art-label-top {
  top: 12%;
  left: 10%;
}
.art-label-bottom {
  bottom: 13%;
  right: 12%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 10px 0 20px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font: 500 30px/1.2 var(--serif);
  letter-spacing: -0.8px;
  margin: 9px 0 0;
}
.heading-index {
  font-size: 10px;
  color: #899087;
  letter-spacing: 1px;
  padding-bottom: 4px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  padding: 16px 0 54px;
}
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-height: 196px;
  padding: 18px 17px;
  background: #ede9e0;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    border 0.2s,
    transform 0.2s;
}
.module-card:hover {
  border-color: #b7bdae;
  transform: translateY(-3px);
}
.module-number {
  font-size: 9px;
  letter-spacing: 1px;
  color: #899087;
}
.module-icon {
  height: 54px;
  display: flex;
  align-items: center;
  font: 30px var(--serif);
  color: var(--orange);
}
.module-title {
  font: 600 14px/1.3 var(--display);
  max-width: 150px;
}
.module-copy {
  font-size: 10px;
  line-height: 1.5;
  color: #737b72;
  margin-top: 8px;
  max-width: 170px;
}
.module-arrow {
  position: absolute;
  right: 16px;
  top: 15px;
  font-size: 13px;
  color: #a5a79b;
}
.module-pattern {
  background: #e8e8df;
}
.module-period {
  background: #eee5dc;
}
.module-practice {
  background: #e5e9df;
}
.children-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 29px 33px;
  background: var(--ink);
  color: #f4f0e7;
}
.children-symbol {
  flex: 0 0 63px;
  height: 63px;
  display: grid;
  place-items: center;
  border: 1px solid #879487;
  border-radius: 50%;
  font-size: 27px;
  color: #df9975;
}
.children-copy {
  flex: 1;
}
.children-copy .eyebrow {
  color: #aab4a6;
}
.children-copy h2 {
  font-size: 26px;
}
.children-copy p {
  max-width: 530px;
  margin: 9px 0 0;
  color: #c0c7bd;
  font-size: 11px;
  line-height: 1.65;
}
.button-light {
  background: #e4ddd0;
  color: var(--ink);
  white-space: nowrap;
}
.home-disclaimer {
  max-width: 670px;
  margin: 21px auto 0;
  text-align: center;
  color: #898e83;
  font-size: 10px;
  line-height: 1.6;
}
.bottom-nav {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 660px);
  display: flex;
  justify-content: space-around;
  padding: 10px 10px calc(9px + var(--safe-bottom));
  background: rgba(245, 241, 233, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-item {
  display: flex;
  min-width: 62px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #8a9087;
  cursor: pointer;
}
.nav-item span {
  font-size: 19px;
}
.nav-item small {
  font-size: 9px;
}
.nav-item.selected {
  color: var(--ink);
}
.view {
  display: none;
  min-height: 75vh;
  padding: 48px 0 30px;
}
.view.active {
  display: block;
}
.subpage {
  max-width: 860px;
  margin: 0 auto;
}
.back-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #778176;
  font-size: 11px;
  cursor: pointer;
}
.subpage-head {
  padding: 38px 0 29px;
  border-bottom: 1px solid var(--line);
}
.subpage-kicker {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.subpage-head h1 {
  font: 500 clamp(38px, 6vw, 62px)/1.04 var(--serif);
  letter-spacing: -2px;
  margin: 14px 0;
}
.subpage-head p {
  max-width: 580px;
  margin: 0;
  color: #69736a;
  font-size: 14px;
  line-height: 1.7;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.content-card {
  padding: 22px;
  background: #ede9e0;
}
.content-card h3 {
  margin: 0 0 9px;
  font: 500 21px var(--serif);
}
.content-card p {
  margin: 0;
  color: #69736a;
  font-size: 12px;
  line-height: 1.7;
}
.prompt-card {
  padding: 22px;
  background: #e5e9df;
}
.prompt-card h3 {
  font: 500 23px var(--serif);
  margin: 8px 0;
}
.prompt-card p {
  font-size: 12px;
  line-height: 1.6;
  color: #647066;
}
.field-label {
  display: block;
  margin: 18px 0 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #69736a;
}
.text-field,
.select-field {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7d4ca;
  border-radius: 2px;
  background: #faf8f3;
  color: var(--ink);
  font-size: 12px;
  outline: none;
}
.text-field:focus,
.select-field:focus {
  border-color: #899581;
}
.text-field::placeholder {
  color: #a3a69d;
}
.textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.section-form {
  margin: 22px 0 30px;
  padding: 24px;
  background: #ede9e0;
}
.section-form h3 {
  margin: 0;
  font: 500 23px var(--serif);
}
.section-form .form-intro {
  font-size: 11px;
  color: #737b72;
  line-height: 1.6;
}
.saved-note {
  padding: 16px;
  border-left: 2px solid var(--orange);
  background: #f0ece4;
  font-size: 12px;
  line-height: 1.6;
  color: #536057;
  margin: 15px 0;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
}
.button-outline {
  border: 1px solid #aeb4a8;
  background: transparent;
  color: var(--ink);
}
.quiet-note {
  font-size: 10px;
  color: #8a9087;
}
.check-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.check-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  background: #f7f4ed;
  font-size: 11px;
  line-height: 1.5;
  color: #5f6a61;
}
.check-option input {
  accent-color: var(--ink);
  margin-top: 1px;
}
.timeline {
  border-left: 1px solid #c8c9bd;
  margin: 22px 0 28px 7px;
  padding-left: 21px;
}
.timeline-item {
  position: relative;
  padding: 0 0 23px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  left: -26px;
  top: 3px;
  background: var(--orange);
}
.timeline-item h3 {
  margin: 0 0 5px;
  font: 500 20px var(--serif);
}
.timeline-item p {
  max-width: 590px;
  margin: 0;
  color: #69736a;
  font-size: 12px;
  line-height: 1.65;
}
.notice {
  margin: 18px 0;
  padding: 15px 17px;
  background: #e8e8df;
  color: #606b61;
  font-size: 11px;
  line-height: 1.65;
}
.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 100px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 36px);
  padding: 12px 17px;
  background: #263b35;
  color: white;
  border-radius: 3px;
  font-size: 12px;
  transition: all 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.danger-link {
  border: 0;
  background: transparent;
  color: #a4543c;
  text-decoration: underline;
  padding: 0;
  font-size: 11px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .app-shell {
    padding: 0 20px calc(96px + var(--safe-bottom));
  }
  .topbar {
    height: 67px;
  }
  .profile-label {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 44px 0 36px;
  }
  .hero-copy h1 {
    font-size: 61px;
  }
  .hero-description {
    max-width: 370px;
    font-size: 14px;
  }
  .hero-art {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1.2;
  }
  .section-heading {
    padding-top: 5px;
  }
  h2 {
    font-size: 26px;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    padding-bottom: 34px;
  }
  .module-card {
    min-height: 174px;
    padding: 14px;
  }
  .module-icon {
    height: 44px;
  }
  .children-banner {
    gap: 15px;
    padding: 21px 18px;
    flex-wrap: wrap;
  }
  .children-symbol {
    flex-basis: 46px;
    height: 46px;
    font-size: 21px;
  }
  .children-copy {
    min-width: calc(100% - 70px);
  }
  .children-copy h2 {
    font-size: 23px;
  }
  .children-banner .button {
    margin-left: 61px;
  }
  .view {
    padding-top: 28px;
  }
  .subpage-head {
    padding-top: 27px;
  }
  .content-grid {
    gap: 9px;
  }
  .content-card {
    padding: 16px;
  }
  .section-form {
    padding: 17px;
  }
  .children-copy p {
    font-size: 10px;
  }
}
@media (max-width: 390px) {
  .app-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-copy h1 {
    font-size: 54px;
  }
  .module-title {
    font-size: 13px;
  }
  .module-copy {
    font-size: 9px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .nav-item {
    min-width: 54px;
  }
  .nav-item small {
    font-size: 8px;
  }
}
body:not(.authorized) .app-shell {
  display: none;
}
.access-gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.access-gate h1 {
  max-width: 520px;
  margin: 18px 0 10px;
  font: 500 clamp(36px, 7vw, 56px)/1.05 var(--serif);
  letter-spacing: -1.5px;
}
.access-gate p {
  max-width: 420px;
  color: #69736a;
  font-size: 13px;
  line-height: 1.7;
}
.gate-mark {
  margin-bottom: 25px;
  color: var(--orange);
  font-size: 44px;
}
body.authorized .access-gate {
  display: none;
}
.natal-result {
  margin: 25px 0 32px;
}
.natal-result h2 {
  margin-bottom: 18px;
}
.natal-result .content-grid {
  margin-bottom: 10px;
}
.natal-result .content-card {
  min-height: 90px;
}
.section-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
