@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f6f5f1;
  --ink: #1f2126;
  --muted: #555961;
  --violet: #5a47a5;
  --violet-tint: #ece8f8;
  --green: #256540;
  --green-tint: #e0f0e6;
  --blue: #1f6488;
  --blue-tint: #dfedf6;
  --line: #cdc9c0;
  --radius: 24px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jakarta", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #dcd4f2;
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
  border-radius: 4px;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}

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

.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
}

.brand-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c9bef2, #7663c6);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav [aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 64px 96px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

h1 {
  font-size: clamp(44px, 5.4vw, 66px);
  margin-block: 24px;
}

.accent {
  color: var(--violet);
}

.hero-description {
  max-width: 450px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 120ms ease,
    transform 120ms ease;
}

.button:hover {
  background: #373940;
}

.button:active {
  transform: scale(0.98);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  font-size: 14px;
}

.small-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.glow-scene {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.scene-halo {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, #e4dff2 0%, #ece8f880 45%, #ece8f800 70%);
}

.glow-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #dcd4f2;
  box-shadow: inset 0 1px 2px #ffffff80;
}

.glow-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 32% 24%, #f1eefb 0%, #e7dff7 25%, #b7a7de 82%);
  animation: breathe 8s ease-in-out infinite alternate;
}

.orb-glyph {
  position: relative;
  width: 68px;
  height: 68px;
  color: var(--violet);
  stroke-width: 1;
}

.care-pebble {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.care-pebble.sleep {
  top: 6%;
  right: 9%;
  background: var(--violet-tint);
  color: var(--violet);
}

.care-pebble.feed {
  left: 0;
  top: 49%;
  background: var(--green-tint);
  color: var(--green);
}

.care-pebble.diaper {
  bottom: 10%;
  right: 1%;
  background: var(--blue-tint);
  color: var(--blue);
}

.scene-caption {
  position: absolute;
  bottom: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: start;
  gap: 96px;
  padding-block: 32px 72px;
}

h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  margin-bottom: 24px;
}

.intro-copy {
  color: var(--muted);
  max-width: 500px;
}

.feature-list {
  display: grid;
  gap: 28px;
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--violet-tint);
  color: var(--violet);
}

.feature:nth-child(2) .feature-icon {
  background: var(--green-tint);
  color: var(--green);
}

.feature:nth-child(3) .feature-icon {
  background: var(--blue-tint);
  color: var(--blue);
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.night-note {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 48px;
  margin-bottom: 88px;
  border-radius: var(--radius);
  background: #29263d;
  color: #ede8dd;
}

.night-note h2 {
  margin-bottom: 12px;
  max-width: 620px;
}

.night-note p {
  color: #c9c3d3;
  margin-bottom: 0;
  max-width: 540px;
  font-size: 15px;
}

.night-note > svg {
  color: #b8acea;
  width: 64px;
  height: 64px;
  stroke-width: 1;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.document {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 56px 80px;
}

.document h1 {
  font-size: clamp(40px, 5vw, 56px);
}

.document .lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.document h2 {
  margin-top: 40px;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.document h3 {
  margin-top: 24px;
}

.document p,
.document li {
  color: var(--muted);
}

.document li {
  padding-left: 4px;
  margin-bottom: 12px;
}

.document ul,
.document ol {
  padding-left: 24px;
}

.document strong {
  font-weight: 600;
  color: var(--ink);
}

.notice {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--violet-tint);
  margin-block: 32px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.contact-address {
  overflow-wrap: anywhere;
}

.faq {
  margin-top: 32px;
}

.faq details {
  padding-block: 8px 16px;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  min-height: 52px;
  display: list-item;
  align-content: center;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.faq details p {
  padding-top: 8px;
  margin-bottom: 0;
}

@keyframes breathe {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .site-header {
    min-height: 88px;
    gap: 12px;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 32px 64px;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(40px, 8vw, 58px);
  }

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

  .glow-scene {
    width: min(100%, 420px);
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 0 48px;
  }

  .feature-list {
    gap: 24px;
  }

  .night-note {
    grid-template-columns: 1fr;
    padding: 28px;
    margin-bottom: 56px;
  }

  .night-note > svg {
    display: none;
  }

  .document {
    padding-block: 32px 56px;
  }

  .document .lead {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .wordmark {
    font-size: 26px;
    gap: 8px;
  }

  .brand-dot {
    width: 12px;
    height: 12px;
  }

  .care-pebble {
    padding-inline: 16px;
    gap: 8px;
  }

  .night-note {
    grid-template-columns: 1fr;
  }

  .night-note > svg {
    display: none;
  }
}

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

  .glow-orb::before {
    animation: none;
    opacity: 1;
  }

  .button {
    transition: background 120ms ease;
  }

  .button:active {
    transform: none;
  }
}
