:root {
  color-scheme: light dark;
  --canvas: #fffbf5;
  --surface: #fffefb;
  --ink: #1e2c25;
  --muted: #4f5953;
  --sage: #46765b;
  --sage-soft: #f0f5f0;
  --terracotta: #a85132;
  --line: #e6e0d7;
  --mist: #eef7f8;
  --rose: #f8eef1;
  --shadow: 0 20px 50px rgb(30 44 37 / 9%);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

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

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

.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--sage);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 36px;
  aspect-ratio: 1;
  display: inline-block;
  border-radius: 50%;
  background: var(--sage);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand-mark::before {
  width: 66%;
  height: 66%;
  background: var(--canvas);
}

.brand-mark::after {
  width: 26%;
  height: 26%;
  background: var(--terracotta);
}

.brand-name {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.055em;
}

.brand-i { position: relative; }

.brand-i::after {
  position: absolute;
  top: 0.16em;
  left: 50%;
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
  transform: translateX(-50%);
}

nav,
.footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a,
.footer a:not(.brand) {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

nav a {
  padding: 9px 13px;
  border-radius: 999px;
}

nav a:hover,
nav a[aria-current="page"] {
  background: var(--sage-soft);
  color: var(--sage);
}

.footer a:hover,
.text-link:hover,
.legal-content a:hover { color: var(--terracotta); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-block: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

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

h1,
h2 {
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

h1 {
  max-width: 620px;
  margin: 22px 0 20px;
  font-size: clamp(46px, 6vw, 72px);
}

h1 em,
h2 em {
  color: var(--sage);
  font-style: normal;
}

.lead {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 19px;
  border: 1px solid var(--sage);
  border-radius: 16px;
  background: var(--sage);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #365f49;
  transform: translateY(-1px);
}

.micro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.journal-art {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 48px;
  background: var(--sage-soft);
}

.sun {
  position: absolute;
  top: 48px;
  right: 58px;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d8bb87;
  opacity: 0.72;
}

.orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--sage) 24%, transparent);
  border-radius: 50%;
}

.orbit-one { width: 350px; height: 220px; transform: rotate(-24deg); }
.orbit-two { width: 420px; height: 286px; transform: rotate(38deg); }

.note-card {
  z-index: 1;
  width: min(320px, 74%);
  padding: 27px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.note-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.note-date { color: var(--terracotta); }
.note-rule { height: 1px; margin-top: 13px; background: var(--line); }

.note-card > p {
  margin: 26px 0 19px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.4;
}

.note-lines { display: grid; gap: 11px; }
.note-lines i { height: 1px; background: var(--line); }
.note-lines i:nth-child(2) { width: 86%; }
.note-lines i:nth-child(3) { width: 65%; }

.mood {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  color: var(--muted);
  font-size: 11px;
}

.mood b { color: var(--sage); font-weight: 700; }
.mood b span { margin-left: 5px; color: var(--terracotta); }

.art-leaf {
  position: absolute;
  z-index: 2;
  color: var(--sage);
  font-size: 34px;
}

.leaf-one { top: 94px; left: 68px; }
.leaf-two { right: 64px; bottom: 74px; color: var(--terracotta); }

.art-caption {
  position: absolute;
  bottom: 14px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
}

.intro {
  padding: 104px 0 58px;
  text-align: center;
}

.intro .eyebrow,
.closing .eyebrow { justify-content: center; }

.intro h2,
.closing h2 {
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 56px);
}

.section-copy {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 108px;
}

.feature {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.feature-sage { background: var(--sage-soft); }
.feature-rose { background: var(--rose); }
.feature-blue { background: var(--mist); }

.feature-icon {
  color: var(--sage);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature h3 {
  max-width: 270px;
  margin: 30px 0 11px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.feature p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-ornament {
  position: absolute;
  top: 6px;
  right: 18px;
  color: color-mix(in srgb, var(--sage) 25%, transparent);
  font-size: 78px;
  line-height: 1;
}

.promise {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--sage-soft);
}

.promise-mark {
  width: 70px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--sage) 50%, var(--line));
  border-radius: 50%;
  color: var(--terracotta);
  font-size: 28px;
}

.promise h2 { margin: 8px 0 13px; font-size: 34px; }

.promise p:not(.eyebrow) {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.text-link {
  max-width: 190px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.closing { padding: 108px 0; text-align: center; }
.closing > p:last-child { color: var(--muted); font-size: 14px; }

.footer {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer > div { gap: 18px; }

.legal {
  max-width: 900px;
  padding: 48px 0 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 28px;
  padding: 8px 13px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.legal h1 { margin: 12px 0 16px; font-size: clamp(42px, 6vw, 62px); }
.legal-lead { max-width: 650px; color: var(--muted); font-size: 16px; }
.updated { color: var(--muted); font-size: 12px; }

.legal-content {
  margin-top: 34px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.legal-content ul { padding-left: 22px; }
.legal-content li { padding: 4px 0; }
.legal-content a { color: var(--sage); text-underline-offset: 3px; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 540px); }
  .topbar { min-height: 72px; gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; }
  .brand-name { font-size: 17px; }
  nav { gap: 2px; }
  nav a { padding: 8px 9px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .lead { margin-inline: auto; }
  .journal-art { min-height: 370px; border-radius: 32px; }
  .sun { top: 34px; right: 34px; width: 68px; }
  .orbit-one { width: 290px; height: 190px; }
  .orbit-two { width: 350px; height: 248px; }
  .leaf-one { top: 74px; left: 38px; }
  .leaf-two { right: 38px; bottom: 64px; }
  .intro { padding: 74px 0 42px; }
  .features { grid-template-columns: 1fr; padding-bottom: 68px; }
  .feature { min-height: 230px; }
  .promise { grid-template-columns: 54px 1fr; gap: 16px; padding: 24px 20px; border-radius: 22px; }
  .promise-mark { width: 48px; font-size: 21px; }
  .promise h2 { font-size: 27px; }
  .text-link { grid-column: 2; max-width: none; }
  .closing { padding: 78px 0; }
  .footer { flex-wrap: wrap; padding-block: 18px; }
  .footer > span { display: none; }
  .footer > div { gap: 12px; }
  .legal { padding-top: 30px; }
  .legal-content { border-radius: 22px; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .topbar { gap: 6px; }
  .brand { gap: 6px; }
  .brand-mark { width: 26px; }
  .brand-name { font-size: 15px; letter-spacing: -0.06em; }
  nav { gap: 0; }
  nav a { padding: 7px 6px; font-size: 10px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #111713;
    --surface: #1d251f;
    --ink: #e9f1ea;
    --muted: #c0cbc2;
    --sage: #9bcda7;
    --sage-soft: #26342b;
    --terracotta: #e09a7c;
    --line: #39463d;
    --mist: #203139;
    --rose: #382830;
    --shadow: 0 20px 50px rgb(0 0 0 / 25%);
  }

  .button { color: #111713; }
  .button:hover { background: #b8ddbf; }
  .sun { background: #876b42; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
