:root {
  --navy: #090f1c;
  --navy-alt: #101a2e;
  --surface-high: #1c2740;
  --dark-border: #26314a;
  --white: #f2f6fc;
  --soft-white: #c3cee0;
  --muted: #9daec0;
  --green: #2ed47a;
  --blue: #4ca6f5;
  --amber: #f7a531;
  --paper: #f5f7fa;
  --ink: #101828;
  --gray: #33404f;
  --light-border: #dce3ed;
  --green-on-paper: #15803d;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 100%;
  color: var(--white);
  background: var(--navy);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.55;
}

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

figure, h1, h2, h3, p, ul {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 0.75rem;
  left: var(--gutter);
  padding: 0.6rem 0.9rem;
  transform: translateY(-200%);
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  border-bottom: 1px solid var(--dark-border);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 4.75rem;
  padding-block: 0.45rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  flex: none;
  border-radius: 26%;
}

.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1.65rem;
}

.site-header nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--soft-white);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.site-header nav a:hover, .site-footer nav a:hover,
.site-header nav [aria-current="page"] {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.75rem, 5vw, 5rem);
}

.platform {
  color: var(--soft-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.05rem;
}

h1, h2, h3 {
  line-height: 1.1;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(4rem, 7.75vw, 7rem);
  font-weight: 790;
  letter-spacing: -0.072em;
  line-height: 0.95;
}

.hero h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 31rem;
  margin-block: 1.55rem 1.65rem;
  color: var(--soft-white);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-weight: 690;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: #04120a;
}

.button-primary:hover {
  background: #62e49b;
}

.button-outline {
  border-color: var(--dark-border);
  background: var(--navy-alt);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--green);
}

.phases {
  display: grid;
  grid-template-columns: 1fr 1.58fr 0.9fr;
  gap: 0.45rem;
  max-width: 23rem;
  margin-top: clamp(2rem, 4.3vw, 3.75rem);
  padding: 0;
  list-style: none;
  color: var(--soft-white);
  font-size: 0.875rem;
}

.phases li::before {
  display: block;
  height: 0.36rem;
  margin-bottom: 0.46rem;
  border-radius: 1rem;
  background: var(--phase-color);
  content: "";
}

.phase-prepare { --phase-color: var(--amber); }
.phase-exercise { --phase-color: var(--green); }
.phase-rest { --phase-color: var(--blue); }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 0.5rem 0;
  overflow: hidden;
}

.hero-visual::before, .hero-visual::after {
  position: absolute;
  z-index: -1;
  width: min(98%, 31rem);
  aspect-ratio: 1;
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  width: min(78%, 24rem);
  border-color: #254137;
}

.phone {
  width: min(100%, 18.75rem);
  padding: 0.45rem;
  border: 1px solid #3a4b5d;
  border-radius: 1.7rem;
  background: var(--navy-alt);
}

.phone img {
  width: 100%;
  border-radius: 1.25rem;
}

.features, .policy-body {
  background: var(--paper);
  color: var(--ink);
}

.features-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3.3rem, 7vw, 6.5rem);
}

.features h2, .support h2 {
  font-size: clamp(2.05rem, 4.6vw, 3.8rem);
  font-weight: 760;
  letter-spacing: -0.058em;
}

.feature-list {
  display: grid;
  list-style: none;
  padding: 0;
  margin-top: 1.7rem;
}

.feature-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.15rem;
  border-top: 1px solid var(--light-border);
}

.feature-list li::before {
  position: absolute;
  top: 1.55rem;
  left: 0;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--green-on-paper);
  content: "";
}

.feature-list li:nth-child(2)::before { background: #1d4ed8; }
.feature-list li:nth-child(3)::before { background: #b45309; }

.feature-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  text-wrap: wrap;
}

.feature-list p {
  color: var(--gray);
}

.routine-visual {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--light-border);
  border-radius: 1.25rem;
  background: #edf1f6;
}

.routine-visual .phone {
  width: min(100%, 15.75rem);
}

.support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-block: clamp(2.6rem, 6.5vw, 5rem);
}

.support h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.support p {
  color: var(--soft-white);
}

.support .button {
  flex: none;
}

.site-footer {
  border-top: 1px solid var(--dark-border);
}

.footer-inner {
  min-height: 5rem;
}

.footer-inner .brand {
  font-size: 1rem;
}

.policy-intro {
  padding-block: clamp(2.45rem, 6.7vw, 5rem);
}

.policy-intro h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.5rem);
  letter-spacing: -0.065em;
  font-weight: 780;
}

.policy-intro h1::after {
  display: block;
  width: 3.4rem;
  height: 0.28rem;
  margin-top: 1.05rem;
  border-radius: 1rem;
  background: var(--green);
  content: "";
}

.policy-intro p {
  margin-top: 1.05rem;
  max-width: 38rem;
  color: var(--soft-white);
  font-size: 1.14rem;
}

.policy-intro .policy-date {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.4rem, 5.8vw, 4rem);
}

.policy-nav {
  position: sticky;
  top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--green-on-paper);
}

.policy-nav p {
  font-weight: 680;
}

.policy-nav ul {
  display: grid;
  gap: 0.16rem;
  list-style: none;
  margin-top: 0.55rem;
  padding: 0;
  color: var(--gray);
}

.policy-nav a {
  display: inline-block;
  min-height: 1.9rem;
  padding-block: 0.15rem;
  font-size: 0.95rem;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--green-on-paper);
  text-decoration: underline;
}

.policy-article {
  max-width: 46rem;
}

.policy-article section {
  scroll-margin-top: 1.5rem;
}

.policy-article section + section {
  margin-top: 1.7rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--light-border);
}

.policy-article h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  font-weight: 740;
  letter-spacing: -0.032em;
  text-wrap: wrap;
}

.policy-article p, .policy-article li {
  color: var(--gray);
  line-height: 1.7;
}

.policy-article p + p, .policy-article ul {
  margin-top: 0.65rem;
}

.policy-article ul {
  padding-left: 1.3rem;
}

.policy-article li + li {
  margin-top: 0.35rem;
}

.policy-article a {
  color: var(--green-on-paper);
  font-weight: 650;
  overflow-wrap: anywhere;
}

@media (max-width: 52rem) {
  .hero h1 { font-size: clamp(3.7rem, 10vw, 5.1rem); }
  .features-inner { gap: 1.85rem; }
  .routine-visual { padding-inline: 1rem; }
}

@media (max-width: 40rem) {
  .header-inner { min-height: 4.25rem; }
  .site-header nav, .site-footer nav { gap: 0 0.95rem; }
  .site-header nav a, .site-footer nav a { font-size: 0.875rem; }
  .hero, .features-inner, .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(3.7rem, 13vw, 5rem); }
  .hero-visual { width: min(100%, 26rem); margin-inline: auto; }
  .hero-visual .phone { width: min(80%, 16rem); }
  .features-inner { gap: 1.4rem; }
  .routine-visual { width: min(100%, 24rem); margin-inline: auto; }
  .support { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; }
  .policy-layout { gap: 1.8rem; }
  .policy-nav { position: static; }
}

@media (max-width: 23rem) {
  .header-inner .brand { gap: 0.35rem; font-size: 1.06rem; }
  .header-inner .brand img { width: 2.15rem; }
  .site-header nav { gap: 0 0.72rem; }
  .phases { column-gap: 0.25rem; }
}
