:root {
  --navy: #071b3a;
  --ink: #10233f;
  --porcelain: #f7f4ee;
  --paper: #fffdf8;
  --pearl: #e8ddc6;
  --bronze: #b7791f;
  --jade: #0f766e;
  --mist: #d8e0ea;
  --muted: #526783;
  --line: rgba(16, 35, 63, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration-color: rgba(16, 35, 63, 0.35);
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--navy);
  transform: translateY(-160%);
}

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

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  padding: 0 clamp(24px, 5vw, 84px) 80px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

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

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(660px, 55vw);
  padding-top: clamp(70px, 11vh, 128px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  font-size: clamp(76px, 10vw, 156px);
}

h2 {
  max-width: 820px;
  font-size: clamp(45px, 6vw, 84px);
}

h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.hero-statement {
  max-width: 640px;
  margin: 22px 0 16px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(31px, 3.2vw, 52px);
  line-height: 1.08;
}

.hero-description {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.6;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.hero-action p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--paper);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-button:hover {
  background: var(--jade);
  border-color: var(--jade);
  transform: translateY(-2px);
}

.hero-product {
  position: absolute;
  z-index: 2;
  top: 112px;
  right: clamp(-30px, 2vw, 44px);
  width: min(43vw, 570px);
  height: calc(100% - 140px);
  margin: 0;
}

.phone-frame {
  position: absolute;
  top: 4%;
  right: 8%;
  z-index: 2;
  width: min(72%, 360px);
  max-height: 88%;
  overflow: hidden;
  border: 7px solid var(--navy);
  border-radius: 38px;
  background: var(--porcelain);
  box-shadow: 0 34px 70px rgba(7, 27, 58, 0.18);
  transform: rotate(2deg);
  animation: settle-device 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.phone-frame img {
  width: 100%;
  height: auto;
}

.hero-product figcaption {
  position: absolute;
  right: 0;
  bottom: 2%;
  z-index: 3;
  width: min(360px, 80%);
  padding-left: 16px;
  border-left: 2px solid var(--bronze);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 5%;
  right: -32%;
  width: 104%;
  aspect-ratio: 1;
}

.hero-orbit-two {
  top: 22%;
  right: -13%;
  width: 72%;
  aspect-ratio: 1;
  border-color: rgba(183, 121, 31, 0.42);
}

.hero-next {
  position: absolute;
  bottom: 24px;
  left: clamp(24px, 5vw, 84px);
  z-index: 4;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(88px, 11vw, 168px) clamp(24px, 7vw, 116px);
}

.cycle-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(400px, 1fr);
  align-items: center;
  gap: clamp(52px, 9vw, 148px);
  min-height: 860px;
  background: var(--porcelain);
}

.cycle-instrument {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1;
  justify-self: center;
}

.memory-ring,
.cycle-arc,
.pearl {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.memory-ring {
  inset: 6%;
  border: 1px solid rgba(16, 35, 63, 0.24);
}

.memory-ring-two {
  inset: 15%;
  border-color: rgba(16, 35, 63, 0.16);
}

.memory-ring-three {
  inset: 24%;
  border-color: rgba(16, 35, 63, 0.12);
}

.cycle-arc {
  inset: 1%;
  border: 10px solid transparent;
  transform: rotate(35deg);
}

.cycle-arc-jade {
  border-top-color: var(--jade);
  border-right-color: var(--jade);
}

.cycle-arc-bronze {
  inset: 11%;
  border-width: 6px;
  border-bottom-color: var(--bronze);
  transform: rotate(-27deg);
}

.pearl {
  inset: 34%;
  border: 2px solid var(--bronze);
  background: var(--pearl);
  box-shadow: 0 18px 44px rgba(183, 121, 31, 0.16), inset 13px 14px 0 rgba(255, 253, 248, 0.58);
  animation: pearl-breathe 6s ease-in-out infinite;
}

.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.study-copy > p:not(.eyebrow),
.privacy-copy > p:not(.eyebrow),
.closing-section > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.cycle-terms {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}

.cycle-terms > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cycle-terms dt {
  color: var(--navy);
  font-weight: 800;
}

.cycle-terms dd {
  margin: 0;
  color: var(--muted);
}

.practice-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.55fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 78px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading h2 {
  margin-top: -4px;
}

.section-heading > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.product-views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

.product-view {
  min-width: 0;
}

.product-screen {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 390 / 690;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--porcelain);
  box-shadow: 0 24px 52px rgba(7, 27, 58, 0.09);
}

.product-screen::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 86px;
  content: "";
  background: var(--porcelain);
  opacity: 0.02;
}

.product-screen img {
  width: 100%;
  height: auto;
}

.product-index {
  margin: 24px 0 0;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-view > p:last-child {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
}

.study-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(60px, 10vw, 160px);
  min-height: 850px;
  background: var(--porcelain);
}

.study-copy blockquote {
  max-width: 620px;
  margin: 54px 0 0;
  padding: 22px 0 22px 28px;
  border-left: 2px solid var(--bronze);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
}

.study-copy blockquote p {
  margin: 0;
}

.study-visual {
  width: min(100%, 350px);
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 7px solid var(--navy);
  border-radius: 38px;
  background: var(--paper);
  box-shadow: 0 30px 66px rgba(7, 27, 58, 0.15);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(60px, 10vw, 160px);
  min-height: 760px;
  background: var(--navy);
  color: var(--paper);
}

.privacy-mark {
  width: min(100%, 470px);
  aspect-ratio: 1;
  padding: 16%;
  border: 1px solid rgba(247, 244, 238, 0.23);
  border-radius: 50%;
}

.privacy-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.94;
}

.privacy-copy h2 {
  color: var(--paper);
}

.privacy-copy .eyebrow {
  color: #87c6c0;
}

.privacy-copy > p:not(.eyebrow) {
  color: rgba(247, 244, 238, 0.72);
}

.privacy-copy ul {
  display: grid;
  gap: 13px;
  margin: 36px 0;
  padding: 0;
  list-style: none;
}

.privacy-copy li {
  position: relative;
  padding-left: 28px;
}

.privacy-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--bronze);
  content: "";
}

.text-link {
  color: var(--paper);
  font-weight: 800;
  text-decoration-color: var(--bronze);
}

.closing-section {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: var(--paper);
}

.closing-section h2,
.closing-section > p {
  position: relative;
  z-index: 2;
}

.closing-section > p:not(.eyebrow) {
  max-width: 520px;
}

.closing-section .primary-button {
  position: relative;
  z-index: 2;
  margin-top: 34px;
}

.closing-pearl {
  position: absolute;
  width: min(52vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 50%;
}

.closing-pearl::before,
.closing-pearl::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.closing-pearl::before {
  inset: 17%;
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.closing-pearl::after {
  inset: 35%;
  border: 1px solid var(--bronze);
  background: var(--pearl);
  box-shadow: inset 14px 15px 0 rgba(255, 253, 248, 0.62);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 42px clamp(24px, 5vw, 84px);
  border-top: 1px solid rgba(247, 244, 238, 0.15);
  background: var(--navy);
  color: rgba(247, 244, 238, 0.76);
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  padding: 2px;
  background: var(--paper);
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--paper);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.site-footer a {
  color: var(--paper);
}

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 244, 238, 0.14);
}

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

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

@keyframes settle-device {
  from {
    opacity: 0;
    transform: translateY(34px) rotate(4deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
  }
}

@keyframes pearl-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 940px;
  }

  .hero-copy {
    width: 58vw;
    padding-top: 80px;
  }

  .hero-product {
    right: -90px;
    width: 51vw;
  }

  .hero-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .cycle-section,
  .study-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .cycle-instrument,
  .privacy-mark {
    width: min(72vw, 540px);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p:not(.eyebrow) {
    margin-top: 28px;
  }

  .privacy-copy {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .hero {
    height: 92svh;
    min-height: 760px;
    padding-right: 22px;
    padding-bottom: 52px;
    padding-left: 22px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .site-nav {
    font-size: 13px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 48px;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 45px;
  }

  .hero-statement {
    max-width: 360px;
    font-size: 34px;
  }

  .hero-description {
    max-width: 430px;
  }

  .hero-action {
    gap: 14px;
    margin-top: 26px;
  }

  .hero-product {
    top: auto;
    right: -14px;
    bottom: -112px;
    width: 55vw;
    height: 300px;
  }

  .phone-frame {
    right: 8%;
    width: 190px;
    max-height: 290px;
    border-width: 5px;
    border-radius: 28px;
  }

  .hero-product figcaption {
    display: none;
  }

  .hero-next {
    display: none;
  }

  .section {
    padding: 86px 22px;
  }

  .cycle-section,
  .study-section,
  .privacy-section {
    min-height: 0;
    gap: 58px;
  }

  .cycle-instrument,
  .privacy-mark {
    width: min(100%, 430px);
  }

  .cycle-terms > div {
    grid-template-columns: 82px 1fr;
    gap: 16px;
  }

  .product-views {
    display: flex;
    margin-right: -22px;
    overflow-x: auto;
    gap: 24px;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-views::-webkit-scrollbar {
    display: none;
  }

  .product-view {
    min-width: min(78vw, 320px);
    padding-bottom: 10px;
    scroll-snap-align: start;
  }

  .product-screen {
    width: 100%;
  }

  .study-visual {
    width: min(80vw, 340px);
  }

  .privacy-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .privacy-mark {
    width: min(76vw, 350px);
    justify-self: center;
  }

  .closing-section {
    min-height: 620px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .closing-pearl {
    width: 92vw;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: 700px;
  }

  h1 {
    font-size: 65px;
  }

  .hero-statement {
    font-size: 30px;
  }

  .hero-product {
    bottom: -70px;
    width: 60vw;
    height: 200px;
  }

  .phone-frame {
    max-height: 190px;
  }

  .phone-frame img {
    transform: translateY(-42px);
  }

  .hero-action p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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