:root {
  --ink: #1d222a;
  --ink-soft: #4e5662;
  --surface: rgba(250, 251, 252, 0.82);
  --surface-deep: rgba(244, 247, 250, 0.9);
  --line: rgba(28, 35, 45, 0.14);
  --accent: #6d788a;
  --accent-rgb: 109, 120, 138;
  --hero-a: rgba(233, 237, 244, 0.92);
  --hero-b: rgba(214, 220, 230, 0.74);
  --bg-a: #f6f3ee;
  --bg-b: #e8e2d8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% -11%, rgba(255, 255, 255, 0.78), transparent 42%),
    radial-gradient(circle at 14% 78%, rgba(222, 203, 174, 0.14), transparent 54%),
    linear-gradient(162deg, var(--bg-a), var(--bg-b));
}

body.theme-morning {
  --accent: #7b6f5f;
  --accent-rgb: 123, 111, 95;
  --hero-a: rgba(238, 233, 226, 0.9);
  --hero-b: rgba(220, 212, 202, 0.72);
  --bg-a: #f7f3ec;
  --bg-b: #e9e1d5;
}

body.theme-midday {
  --accent: #677f88;
  --accent-rgb: 103, 127, 136;
  --hero-a: rgba(231, 239, 240, 0.9);
  --hero-b: rgba(210, 224, 225, 0.74);
  --bg-a: #f5f2eb;
  --bg-b: #e6e0d8;
}

body.theme-night {
  --accent: #5f6883;
  --accent-rgb: 95, 104, 131;
  --hero-a: rgba(228, 231, 241, 0.9);
  --hero-b: rgba(204, 209, 224, 0.76);
  --bg-a: #f2eee8;
  --bg-b: #e2dbd2;
}

h1,
h2,
h3,
.logo,
.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 233, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: #12161d;
  font-size: 2.16rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.nav-links a {
  text-decoration: none;
  color: #2f3a4a;
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero {
  margin-top: 1.55rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin: 0 0 1.7rem 1.7rem;
  width: min(92%, 520px);
  max-width: 520px;
  padding: 1.35rem 1.35rem 1.18rem;
  border-radius: 22px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background:
    linear-gradient(155deg, rgba(252, 250, 247, 0.88), rgba(244, 238, 231, 0.74));
  backdrop-filter: blur(9px);
  box-shadow: 0 22px 44px rgba(37, 31, 24, 0.16);
  display: grid;
  align-content: start;
  gap: 0.4rem;
  z-index: 2;
}

.kicker {
  margin: 0;
  color: rgba(var(--accent-rgb), 0.96);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
  font-weight: 700;
}

h1 {
  margin: 0.1rem 0 0;
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.axis {
  margin: 0.22rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.64rem, 2vw, 2.08rem);
  color: #2a2f37;
}

.lead {
  margin: 0.06rem 0 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: #3f4752;
  max-width: 36ch;
}

.intro {
  margin: 0.08rem 0 0;
  font-size: 0.93rem;
  line-height: 1.64;
  color: var(--ink-soft);
  max-width: 45ch;
}

.price-line {
  margin: 0.22rem 0 0;
  color: rgba(var(--accent-rgb), 0.98);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.subscription-terms {
  margin: 0.08rem 0 0;
  color: rgba(var(--accent-rgb), 0.9);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
  font-weight: 650;
}

.hero-actions {
  margin-top: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.56rem 0.94rem;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 200ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.buy-btn.primary {
  color: #f8fbff;
  background: rgba(var(--accent-rgb), 0.9);
  box-shadow: 0 10px 20px rgba(31, 39, 51, 0.16);
}

.buy-btn.secondary {
  color: rgba(var(--accent-rgb), 0.98);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(var(--accent-rgb), 0.32);
}

.buy-btn.tertiary {
  color: rgba(var(--accent-rgb), 0.98);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
}

.buy-btn:hover {
  transform: translateY(-1px);
}

.buy-btn.primary:hover,
.buy-btn.primary:focus-visible {
  background: rgba(var(--accent-rgb), 1);
  box-shadow: 0 14px 26px rgba(31, 39, 51, 0.22);
}

.buy-btn.secondary:hover,
.buy-btn.secondary:focus-visible {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.5);
  color: rgba(var(--accent-rgb), 1);
}

.buy-btn.tertiary:hover,
.buy-btn.tertiary:focus-visible {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.46);
  color: rgba(var(--accent-rgb), 1);
}

.buy-btn:active {
  transform: translateY(0) scale(0.97);
}

.buy-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: scale(0.66);
  transition: opacity 200ms ease, transform 260ms ease;
  pointer-events: none;
}

.buy-btn.is-clicked {
  animation: buy-btn-tap 320ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.buy-btn.is-clicked::after,
.buy-btn:active::after {
  opacity: 1;
  transform: scale(1.12);
}

@keyframes buy-btn-tap {
  0% {
    transform: translateY(0) scale(1);
  }
  44% {
    transform: translateY(0) scale(0.965);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.hero-media {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--hero-a), var(--hero-b));
  aspect-ratio: 16 / 9;
  min-height: clamp(500px, 66vh, 760px);
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(22, 30, 41, 0.2);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(13, 19, 28, 0.42) 0%,
    rgba(13, 19, 28, 0.16) 38%,
    rgba(13, 19, 28, 0.02) 72%
  );
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.08));
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.93) contrast(1.03);
  transform: scale(1.02);
}

.section {
  margin-top: 1.35rem;
  padding-top: 1.28rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.84rem, 2.25vw, 2.38rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
}

.section p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 68ch;
}

.scientific-positioning {
  margin-top: 1.7rem;
  padding-top: 1.5rem;
}

.sp-kicker {
  margin: 0;
  color: #7b8391;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.58rem;
  font-weight: 700;
}

.scientific-positioning h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.54rem, 2.05vw, 2rem);
  line-height: 1.06;
}

.scientific-positioning p {
  max-width: 72ch;
}

.sp-philosophy {
  margin-top: 1.05rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.18);
  max-width: 56ch;
}

.sp-philosophy-title {
  margin: 0;
  color: rgba(var(--accent-rgb), 0.95);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6rem;
  font-weight: 700;
}

.sp-philosophy-list {
  margin: 0.62rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.34rem;
}

.sp-philosophy-list li {
  color: #4b5461;
  line-height: 1.5;
  font-size: 0.92rem;
}

.sp-statement {
  margin-top: 1.05rem;
  max-width: 58ch;
  color: #3a424d;
  font-size: 0.9rem;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.panel {
  margin: 0;
  padding: 1.28rem 1.22rem;
  border-radius: 20px;
  background: var(--surface-deep);
  box-shadow: 0 10px 24px rgba(37, 44, 54, 0.06);
}

.panel h2 {
  font-size: clamp(1.66rem, 2.05vw, 2.08rem);
}

.panel p {
  margin-top: 0.64rem;
}

.clean-list {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
}

.clean-list li {
  position: relative;
  padding-left: 0.94rem;
  color: #515864;
  line-height: 1.56;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.66);
}

.statement-lines {
  margin-top: 0.74rem;
  color: #4f5661;
  line-height: 1.76;
}

.statement-lines.positive {
  margin-top: 0.62rem;
  color: #2f3640;
}

.micro-copy {
  margin-top: 0.72rem;
  color: rgba(var(--accent-rgb), 0.94);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
}

.close {
  text-align: left;
  padding-bottom: 0.2rem;
}

.close-product {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.06rem, 2.52vw, 2.62rem);
  color: #232932;
}

.close-line {
  margin: 0.16rem 0 0;
  color: #505762;
  font-size: 1rem;
}

.disclaimer p {
  margin: 0;
  font-size: 0.74rem;
  color: #616977;
  max-width: 90ch;
}

.footer {
  margin: 1.4rem 0 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-size: 1.52rem;
  color: #1e242d;
}

.footer-link {
  text-decoration: none;
  color: rgba(var(--accent-rgb), 0.96);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero {
    margin-top: 1.1rem;
  }

  .hero-copy {
    margin: 0 0 1.05rem 1.05rem;
    width: min(88%, 440px);
  }

  .hero-media {
    min-height: clamp(420px, 58vh, 620px);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 1rem));
  }

  .header {
    position: static;
  }

  .nav {
    min-height: 62px;
    flex-wrap: wrap;
    padding: 0.4rem 0;
  }

  .logo {
    font-size: 1.75rem;
  }

  .nav-links {
    width: 100%;
    gap: 0.78rem;
  }

  .nav-links a {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
  }

  .hero-copy {
    margin: 0;
    width: 100%;
    max-width: none;
    align-self: auto;
    justify-self: auto;
    padding: 1.2rem 1rem 1.12rem;
    border-radius: 18px;
    backdrop-filter: none;
    box-shadow: 0 12px 26px rgba(27, 34, 44, 0.12);
  }

  .hero-media {
    aspect-ratio: 3 / 2;
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(27, 34, 44, 0.16);
  }

  .hero-media::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.04));
  }

  .hero-media img {
    object-position: center center;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .axis {
    font-size: clamp(1.25rem, 5.8vw, 1.62rem);
  }

  .lead,
  .intro {
    font-size: 0.9rem;
  }

  .price-line {
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  .hero-actions {
    gap: 0.44rem;
  }

  .buy-btn {
    font-size: 0.62rem;
    padding: 0.5rem 0.82rem;
  }

  .section {
    margin-top: 1rem;
    padding-top: 0.95rem;
  }

  .scientific-positioning {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
  }

  .sp-kicker {
    letter-spacing: 0.16em;
  }

  .scientific-positioning h2 {
    font-size: clamp(1.36rem, 6.8vw, 1.7rem);
  }

  .sp-philosophy-list li,
  .sp-statement {
    font-size: 0.86rem;
  }

  .panel {
    padding: 1.02rem 0.95rem;
    border-radius: 16px;
  }

  .panel h2,
  .section h2 {
    font-size: clamp(1.45rem, 7vw, 1.86rem);
  }

  .micro-copy,
  .footer-link {
    font-size: 0.62rem;
  }

  .footer {
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.58rem;
  }
}
