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

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

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

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

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

:root {
  --ink: #232323;
  --cream: #fcfdf6;
  --cream-accent: #f8faed;
  --paper: #ffffff;
  --green: #50a65c;
  --green-dark: #32723c;
  --green-soft: #e1f1d8;
  --blue: #8cd8f2;
  --blue-deep: #1f3da0;
  --blue-deep-surface: #304b9b;
  --blue-surface: #a9dded;
  --pink: #f29ac2;
  --pink-surface: #eba9d1;
  --lime: #d8fe74;
  --lime-surface: #e0f48f;
  --orange: #ffb86b;
  --orange-surface: #f2c38f;
  --lavender: #d7cbff;
  --lavender-surface: #d9d2f2;
  --muted: #5f635a;
  --muted-on-color: #494e46;
  --line: #dfe1d3;
  --danger: #c54a4a;
  --content: 1180px;
  --measure: 72ch;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-soft: 0 22px 60px rgba(35, 35, 35, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "Nunito", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--ink);
  background: var(--lime);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px clamp(20px, 5vw, 72px) 12px;
}

.header-inner {
  display: flex;
  width: min(100%, var(--content));
  min-height: 58px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 39px;
  height: 39px;
  overflow: visible;
}

.brand-word {
  padding-right: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

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

.site-nav a:not(.nav-pill) {
  position: relative;
}

.site-nav a:not(.nav-pill)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.language-link {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(35, 35, 35, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.site-nav .language-link::after {
  display: none;
}

.site-nav a:not(.nav-pill):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-pill {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  border-radius: 999px;
  color: var(--paper);
  background: #536f5b;
}

.hero {
  display: grid;
  width: min(calc(100% - 40px), var(--content));
  min-height: min(760px, calc(100svh - 92px));
  margin: 12px auto 0;
  padding: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  grid-template-areas:
    "title visual"
    "body visual"
    "actions visual";
  column-gap: clamp(36px, 6vw, 88px);
  align-items: center;
  overflow: visible;
  border-radius: var(--radius-xl);
  color: var(--paper);
  background: var(--blue-deep-surface);
}

.hero-title {
  z-index: 2;
  grid-area: title;
  align-self: end;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--lime);
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.1;
}

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

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

.hero h1 {
  max-width: 8ch;
  margin-bottom: 0;
  color: var(--cream-accent);
  font-family: "Caveat", cursive;
  font-size: clamp(68px, 8.2vw, 112px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 0.83;
}

.ro-home .hero h1 {
  max-width: 11ch;
  font-size: clamp(64px, 7.6vw, 104px);
}

.hero-visual {
  position: relative;
  grid-area: visual;
  min-width: 0;
  align-self: stretch;
}

.garden-board {
  position: absolute;
  inset: 0;
  min-height: 560px;
  overflow: visible;
  border-radius: 44% 38% 36% 42% / 28% 24% 32% 30%;
  color: var(--ink);
  background: #3a55a3;
}

.garden-board::before {
  position: absolute;
  top: 8%;
  right: 0;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 48% 52% 44% 56%;
  background: var(--lavender);
  content: "";
  opacity: 0.4;
  transform: rotate(18deg);
}

.garden-board::after {
  position: absolute;
  bottom: 1%;
  left: 0;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-surface);
  content: "";
  opacity: 0.35;
}

.garden-note {
  position: absolute;
  z-index: 5;
  top: 8%;
  left: 7%;
  padding: 10px 18px 12px;
  border-radius: 54% 46% 50% 45%;
  color: var(--ink);
  background: #f2e3a0;
  font-family: "Caveat", cursive;
  font-size: clamp(24px, 2.8vw, 35px);
  font-weight: 700;
  line-height: 1;
  transform: rotate(-4deg);
}

.garden-note::after {
  position: absolute;
  right: 11%;
  bottom: -9px;
  width: 19px;
  height: 19px;
  background: #f2e3a0;
  content: "";
  clip-path: polygon(0 0, 100% 0, 72% 100%);
}

.garden-streak {
  position: absolute;
  z-index: 4;
  right: clamp(26px, 8%, 54px);
  bottom: clamp(28px, 8%, 52px);
  display: grid;
  min-width: 128px;
  max-width: calc(100% - 52px);
  padding: 12px 17px;
  box-sizing: border-box;
  overflow: visible;
  border-radius: 18px 24px 19px 22px;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(1deg);
  transform-origin: center;
}

.garden-streak strong {
  font-family: "Caveat", cursive;
  font-size: 30px;
  line-height: 1;
}

.garden-streak span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-mascots {
  position: absolute;
  z-index: 3;
  inset: 6% 1% 2%;
  width: 98%;
  height: 92%;
}

.mascot-shadow {
  fill: rgba(35, 35, 35, 0.24);
}

.character {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.sprout-character {
  animation: sprout-breathe 2.8s ease-in-out infinite alternate;
}

.drop-character {
  animation: drop-sway 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.spark-character {
  animation: spark-turn 3.1s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate;
  transform-origin: center center;
}

.limb {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  transform-box: view-box;
}

.sprout-wave {
  transform-origin: 404px 298px;
  animation: sprout-wave 1.25s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.sprout-steady {
  transform-origin: 246px 320px;
  animation: sprout-steady 3.2s ease-in-out infinite alternate;
}

.drop-arm-left {
  transform-origin: 112px 342px;
  animation: drop-arm-left 2.7s ease-in-out 220ms infinite alternate;
}

.drop-arm-right {
  transform-origin: 205px 344px;
  animation: drop-arm-right 3.4s ease-in-out infinite alternate;
}

.spark-arm-left {
  transform-origin: 472px 324px;
  animation: spark-arm-left 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.spark-arm-right {
  transform-origin: 567px 320px;
  animation: spark-arm-right 2.4s cubic-bezier(0.4, 0, 0.2, 1) 180ms infinite alternate;
}

.eye {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
}

.sprout-eyes > .eye,
.sprout-eyes > circle,
.sprout-eyes > ellipse {
  animation: blink-sprout 5.2s ease-in-out infinite;
}

.drop-eyes > .eye,
.drop-eyes > circle,
.drop-eyes > ellipse {
  animation: blink-drop 6.4s ease-in-out 1.1s infinite;
}

.spark-eyes > .eye,
.spark-eyes > circle,
.spark-eyes > ellipse {
  animation: blink-spark 4.7s ease-in-out 540ms infinite;
}

.sprout-eyes > *,
.drop-eyes > *,
.spark-eyes > * {
  transform-box: fill-box;
  transform-origin: center;
}

.thought-bubble {
  transform-box: fill-box;
  transform-origin: center;
}

.thought-one {
  animation: bubble-one 2.9s ease-in-out infinite alternate;
}

.thought-two {
  animation: bubble-two 3.7s ease-in-out 300ms infinite alternate;
}

.thought-three {
  animation: bubble-three 2.5s ease-in-out 700ms infinite alternate;
}

.hero-body {
  z-index: 2;
  max-width: 36rem;
  margin: 22px 0 0;
  grid-area: body;
  align-self: start;
  color: #eef1ff;
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  z-index: 2;
  display: flex;
  margin-top: 26px;
  grid-area: actions;
  align-self: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 25px 2px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--cream-accent);
  background: #624c70;
  font-family: "Caveat", cursive;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  background: #71577f;
  transform: translateY(-2px) rotate(-0.5deg);
}

.button-dark {
  color: var(--paper);
  background: #536f5b;
}

.button-dark:hover {
  background: var(--green-dark);
}

.launch-note {
  max-width: 18ch;
  margin: 0;
  color: #dce3ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.content-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section-intro {
  display: grid;
  padding: clamp(78px, 10vw, 132px) 0 42px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.section-intro h2,
.plan-heading h2,
.closing-copy h2 {
  margin-bottom: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -1px;
  line-height: 0.95;
}

.section-intro > p {
  max-width: 54ch;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 19px;
}

.rhythm-path {
  display: grid;
  gap: 18px;
}

.rhythm-step {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: clamp(26px, 4vw, 46px);
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.rhythm-step:nth-child(1) {
  width: 92%;
  justify-self: start;
  background: var(--green-soft);
}

.rhythm-step:nth-child(2) {
  width: 92%;
  justify-self: end;
  background: var(--pink-surface);
}

.rhythm-step:nth-child(3) {
  width: 96%;
  justify-self: center;
  color: var(--paper);
  background: var(--blue-deep-surface);
}

.step-art {
  position: relative;
  display: grid;
  min-height: 152px;
  place-items: center;
}

.step-art::before,
.step-art::after {
  position: absolute;
  content: "";
}

.preset-art::before {
  width: 134px;
  height: 134px;
  border-radius: 38px;
  background: var(--lime-surface);
  transform: rotate(-7deg);
}

.preset-art::after {
  width: 60px;
  height: 60px;
  margin: 98px 0 0 105px;
  border-radius: 50%;
  background: var(--blue-surface);
}

.preset-list {
  z-index: 1;
  display: grid;
  width: min(100%, 230px);
  gap: 9px;
  transform: rotate(2deg);
}

.preset-chip {
  display: flex;
  min-height: 47px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(35, 35, 35, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.habit-symbol {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.coach-art::before {
  width: 156px;
  height: 128px;
  border-radius: 44% 56% 46% 54%;
  background: var(--lime-surface);
  transform: rotate(4deg);
}

.coach-art::after {
  top: 12px;
  right: 13%;
  width: 42px;
  height: 42px;
  background: var(--paper);
  clip-path: polygon(50% 0, 61% 35%, 100% 24%, 71% 51%, 100% 76%, 62% 67%, 50% 100%, 39% 67%, 0 76%, 29% 51%, 0 24%, 39% 35%);
}

.coach-face {
  z-index: 1;
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 700;
  transform: rotate(-3deg);
}

.pattern-art {
  display: flex;
  min-height: 160px;
  align-items: flex-end;
  justify-content: center;
  gap: 9px;
}

.pattern-bar {
  width: 28px;
  border-radius: 14px 14px 8px 8px;
  background: #6b7eba;
}

.pattern-bar:nth-child(1) { height: 48px; }
.pattern-bar:nth-child(2) { height: 88px; }
.pattern-bar:nth-child(3) { height: 67px; }
.pattern-bar:nth-child(4) { height: 124px; background: var(--lime-surface); }
.pattern-bar:nth-child(5) { height: 105px; }
.pattern-bar:nth-child(6) { height: 142px; background: var(--pink-surface); }

.step-copy {
  position: relative;
  z-index: 2;
  max-width: 56ch;
}

.step-copy h3 {
  margin-bottom: 8px;
  font-family: "Caveat", cursive;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 0.98;
}

.step-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.rhythm-step:nth-child(3) .step-copy p {
  color: #e1e6f8;
}

.rhythm-step:nth-child(2) .step-copy p {
  color: var(--muted-on-color);
}

.plan-section {
  display: grid;
  margin-top: clamp(78px, 11vw, 140px);
  padding: clamp(36px, 6vw, 70px);
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 88px);
  border-radius: var(--radius-xl);
  background: var(--lime-surface);
}

.plan-heading {
  align-self: center;
}

.plan-heading .eyebrow {
  color: var(--green-dark);
}

.plan-heading p:last-child {
  max-width: 40ch;
  margin: 18px 0 0;
  color: var(--muted);
}

.plans {
  display: grid;
  gap: 13px;
}

.plan {
  display: grid;
  min-height: 190px;
  padding: 24px;
  grid-template-columns: 1fr auto;
  gap: 18px;
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.plan-plus {
  color: var(--paper);
  background: var(--blue-deep-surface);
  transform: rotate(0.8deg);
}

.plan h3 {
  margin-bottom: 2px;
  font-family: "Caveat", cursive;
  font-size: 36px;
  line-height: 1;
}

.plan > p {
  margin: 7px 0 0;
  align-self: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.plan-plus > p {
  color: #dce3ff;
}

.plan ul {
  margin: 15px 0 0;
  padding: 0;
  grid-column: 1 / -1;
  list-style: none;
}

.plan li {
  position: relative;
  margin-top: 7px;
  padding-left: 22px;
}

.plan li::before {
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.plan-plus li::before {
  background: var(--lime);
}

.ai-note {
  display: flex;
  width: min(calc(100% - 40px), 820px);
  margin: 38px auto 0;
  padding: 22px 26px;
  align-items: center;
  gap: 18px;
  border-radius: 27px 34px 26px 31px;
  background: var(--pink-surface);
  transform: rotate(-0.5deg);
}

.ai-note-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font-family: "Caveat", cursive;
  font-size: 30px;
  font-weight: 700;
}

.ai-note p {
  margin: 0;
}

.closing {
  display: grid;
  width: min(calc(100% - 40px), var(--content));
  margin: clamp(78px, 10vw, 130px) auto 0;
  padding: clamp(38px, 6vw, 68px);
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--green-soft);
}

.closing-copy p {
  max-width: 48ch;
  margin: 15px 0 23px;
  color: var(--muted);
}

.closing-art {
  position: relative;
  min-height: 230px;
}

.closing-blob {
  position: absolute;
  inset: 8px 0 0;
  display: grid;
  border-radius: 44% 56% 40% 60% / 48% 43% 57% 52%;
  background: var(--blue-surface);
  place-items: center;
  transform: rotate(4deg);
}

.closing-face {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 42% 58% 48% 52%;
  background: var(--lime);
  font-family: "Caveat", cursive;
  font-size: 43px;
  font-weight: 700;
  transform: rotate(-4deg);
}

.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 44px 0 36px;
}

.footer-main {
  display: flex;
  padding: 20px 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-note {
  max-width: 30ch;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  max-width: 520px;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  color: var(--muted);
}

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

/* Legal and support pages */
.legal-page,
.support-page {
  background: var(--cream-accent);
}

.subpage-main {
  width: min(calc(100% - 40px), var(--content));
  margin: 12px auto 0;
}

.subpage-hero {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: clamp(34px, 6vw, 66px);
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.privacy-hero { background: var(--blue-surface); }
.terms-hero { background: var(--lime-surface); }
.support-hero { background: var(--pink-surface); }
.delete-hero { background: var(--lavender-surface); }

.subpage-hero .eyebrow {
  color: var(--green-dark);
}

.privacy-hero .eyebrow {
  color: var(--blue-deep);
}

.subpage-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(52px, 7vw, 86px);
  letter-spacing: -1.5px;
  line-height: 0.9;
}

.subpage-meta {
  margin: 16px 0 0;
  color: var(--muted-on-color);
  font-size: 13px;
  font-weight: 700;
}

.subpage-character {
  position: relative;
  min-height: 215px;
}

.mini-shadow {
  position: absolute;
  z-index: 1;
  right: 12%;
  bottom: 8%;
  width: 70%;
  height: 24px;
  border-radius: 50%;
  background: rgba(35, 35, 35, 0.14);
}

.mini-mascot {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 11%;
  display: block;
  width: 82%;
  height: auto;
  max-height: 190px;
  overflow: visible;
}

/* Animate the support illustration as one stable SVG viewport. Animating the
   inner SVG group with transform-box can disappear in some Safari/WebView
   layouts while its fill-box is being resolved. The shadow intentionally stays
   outside this animation so the character feels grounded. */
.support-mascot {
  max-width: 220px;
  max-height: none;
  aspect-ratio: 22 / 21;
  animation: support-spark-float 3.2s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate;
  transform-origin: 50% 82%;
  will-change: transform;
}

.support-mascot .spark-character {
  animation: none;
  transform: none;
}

.character-note {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  max-width: 94%;
  padding: 8px 14px 10px;
  border-radius: 15px 19px 14px 18px;
  background: var(--paper);
  font-family: "Caveat", cursive;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
  transform: rotate(3deg);
}

.article-layout {
  display: grid;
  padding: clamp(54px, 8vw, 96px) 0;
  grid-template-columns: 230px minmax(0, var(--measure));
  gap: clamp(38px, 7vw, 90px);
  justify-content: center;
  align-items: start;
}

.toc {
  position: sticky;
  top: 28px;
  max-height: calc(100svh - 56px);
  padding: 18px;
  overflow: auto;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.toc-title {
  margin-bottom: 10px;
  font-family: "Caveat", cursive;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.toc ol {
  margin: 0;
  padding-left: 22px;
}

.toc li + li {
  margin-top: 8px;
}

.toc a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-article {
  min-width: 0;
}

.legal-lede {
  margin-bottom: 42px;
  padding: 24px 27px;
  border-radius: var(--radius-lg);
  background: var(--green-soft);
  font-size: 19px;
}

.legal-article section {
  scroll-margin-top: 28px;
}

.legal-article section + section {
  margin-top: 46px;
}

.legal-article h2 {
  margin-bottom: 12px;
  font-family: "Caveat", cursive;
  font-size: clamp(34px, 4vw, 45px);
  line-height: 1;
}

.legal-article h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

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

.legal-article ul,
.legal-article ol {
  padding-left: 1.3em;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-article strong {
  color: var(--ink);
}

.legal-article code {
  padding: 0.08em 0.34em;
  border-radius: 0.42em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88em;
}

.article-highlight {
  margin-inline: -18px;
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: var(--pink-surface);
}

.article-highlight p,
.article-highlight li {
  color: var(--muted-on-color);
}

.article-highlight-blue {
  color: var(--paper);
  background: var(--blue-deep-surface);
}

.article-highlight-blue h2,
.article-highlight-blue strong {
  color: var(--paper);
}

.article-highlight-blue p,
.article-highlight-blue li {
  color: #e1e6f8;
}

.contact-band {
  margin-top: 54px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--lime-surface);
}

.contact-band h2 {
  margin-bottom: 7px;
}

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

.text-link {
  color: var(--green-dark);
  font-weight: 700;
}

/* Support */
.support-layout {
  display: grid;
  padding: clamp(54px, 8vw, 96px) 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 80px);
  align-items: start;
}

.support-contact {
  position: sticky;
  top: 28px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius-xl);
  color: var(--paper);
  background: var(--blue-deep-surface);
}

.support-contact h2,
.faq h2,
.delete-steps h2 {
  margin-bottom: 10px;
  font-family: "Caveat", cursive;
  font-size: clamp(40px, 5vw, 55px);
  line-height: 0.98;
}

.support-contact p {
  color: #e1e6f8;
}

.support-email {
  display: inline-flex;
  min-height: 54px;
  margin-top: 8px;
  padding: 0 21px;
  align-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime-surface);
  font-family: "Caveat", cursive;
  font-size: 21px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.reply-note {
  margin: 16px 0 0;
  font-size: 13px;
}

.faq-list {
  display: grid;
  margin-top: 24px;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius-md);
  background: var(--paper);
}

.faq details:nth-child(2) {
  background: var(--green-soft);
}

.faq details:nth-child(4) {
  background: var(--pink-surface);
}

.faq summary {
  position: relative;
  min-height: 64px;
  padding: 19px 58px 17px 21px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 16px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-accent);
  content: "+";
  font-family: "Caveat", cursive;
  font-size: 26px;
  line-height: 1;
  place-items: center;
}

.faq details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 21px 21px;
  color: var(--muted);
}

.faq details:nth-child(4) .faq-answer {
  color: var(--muted-on-color);
}

.quick-links {
  display: grid;
  margin-top: 28px;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick-link {
  min-height: 120px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--blue-surface);
  font-weight: 700;
  text-decoration: none;
}

.quick-link:nth-child(2) {
  background: var(--orange-surface);
}

.quick-link span {
  display: block;
  margin-top: 22px;
  font-family: "Caveat", cursive;
  font-size: 27px;
  line-height: 1;
}

/* Account deletion */
.delete-layout {
  width: min(100%, 850px);
  padding: clamp(54px, 8vw, 96px) 0;
  margin: 0 auto;
}

.delete-lede {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
}

.delete-steps {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--paper);
}

.steps {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  gap: 18px;
  counter-reset: delete-step;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 56px;
  padding: 5px 0 0 70px;
  counter-increment: delete-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 51px;
  height: 51px;
  border-radius: 18px;
  background: var(--lime-surface);
  content: counter(delete-step);
  font-family: "Caveat", cursive;
  font-size: 29px;
  font-weight: 700;
  place-items: center;
  transform: rotate(-2deg);
}

.delete-facts {
  display: grid;
  margin-top: 18px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.delete-fact {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--green-soft);
}

.delete-fact:nth-child(2) {
  background: var(--orange-surface);
}

.delete-fact h3 {
  margin-bottom: 5px;
  font-family: "Caveat", cursive;
  font-size: 30px;
  line-height: 1;
}

.delete-fact p {
  margin-bottom: 0;
  color: var(--muted-on-color);
}

.delete-warning {
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--paper);
  background: var(--blue-deep-surface);
}

.delete-warning h2 {
  margin-bottom: 8px;
  font-family: "Caveat", cursive;
  font-size: 36px;
  line-height: 1;
}

.delete-warning p:last-child {
  margin-bottom: 0;
  color: #e1e6f8;
}

.not-found {
  display: grid;
  min-height: calc(100svh - 160px);
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: 60px 0;
  place-items: center;
  text-align: center;
}

.not-found-card {
  width: 100%;
  padding: clamp(38px, 7vw, 70px);
  border-radius: var(--radius-xl);
  background: var(--blue-surface);
}

.not-found h1 {
  margin-bottom: 14px;
  font-family: "Caveat", cursive;
  font-size: clamp(64px, 10vw, 100px);
  line-height: 0.9;
}

@keyframes sprout-breathe {
  from { transform: translateY(0) scaleY(1); }
  to { transform: translateY(-6px) scaleY(1.015); }
}

@keyframes drop-sway {
  from { transform: translate(-2px, 2px) rotate(-2deg); }
  to { transform: translate(3px, -4px) rotate(2.5deg); }
}

@keyframes spark-turn {
  from { transform: translateY(1px) rotate(-3deg) skewX(-1deg); }
  to { transform: translateY(-5px) rotate(3deg) skewX(1deg); }
}

@keyframes support-spark-float {
  from { transform: translateY(1px) rotate(-1.5deg); }
  to { transform: translateY(-5px) rotate(1.5deg); }
}

@keyframes sprout-wave {
  from { transform: rotate(-7deg); }
  to { transform: rotate(14deg); }
}

@keyframes sprout-steady {
  from { transform: rotate(1deg); }
  to { transform: rotate(-5deg); }
}

@keyframes drop-arm-left {
  from { transform: rotate(4deg); }
  to { transform: rotate(-10deg); }
}

@keyframes drop-arm-right {
  from { transform: rotate(-2deg); }
  to { transform: rotate(9deg); }
}

@keyframes spark-arm-left {
  from { transform: rotate(-9deg); }
  to { transform: rotate(10deg); }
}

@keyframes spark-arm-right {
  from { transform: rotate(8deg); }
  to { transform: rotate(-7deg); }
}

@keyframes blink-sprout {
  0%, 40%, 43%, 100% { transform: scaleY(1); }
  41.2%, 41.8% { transform: scaleY(0.12); }
}

@keyframes blink-drop {
  0%, 57%, 60%, 100% { transform: scaleY(1); }
  58.2%, 58.8% { transform: scaleY(0.12); }
}

@keyframes blink-spark {
  0%, 30%, 33%, 100% { transform: scaleY(1); }
  31.2%, 31.8% { transform: scaleY(0.12); }
}

@keyframes bubble-one {
  from { transform: translate(0, 1px) scale(0.96); }
  to { transform: translate(-3px, -5px) scale(1.04); }
}

@keyframes bubble-two {
  from { transform: translate(1px, 1px); }
  to { transform: translate(4px, -7px); }
}

@keyframes bubble-three {
  from { transform: translate(0, 0) rotate(-2deg); }
  to { transform: translate(-2px, -4px) rotate(2deg); }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "visual"
      "body"
      "actions";
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-visual {
    min-height: 510px;
    margin-top: 30px;
  }

  .hero-body {
    margin-top: 28px;
  }

  .plan-section {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .toc ol {
    columns: 2;
    column-gap: 28px;
  }
}

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

  .site-header {
    padding: 14px 20px 8px;
  }

  .site-nav a:not(.nav-pill):not(.language-link) {
    display: none;
  }

  .site-nav {
    gap: 9px;
  }

  .nav-pill {
    min-height: 42px;
    padding: 0 15px;
  }

  .hero,
  .content-shell,
  .closing,
  .site-footer,
  .subpage-main {
    width: min(calc(100% - 24px), var(--content));
  }

  .hero {
    margin-top: 8px;
    padding: 31px 22px 24px;
    border-radius: 32px;
  }

  .hero h1 {
    font-size: clamp(64px, 21vw, 88px);
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 24px;
  }

  .garden-board {
    min-height: 390px;
    border-radius: 42% 36% 34% 40% / 22% 20% 24% 25%;
  }

  .garden-note {
    font-size: 24px;
  }

  .garden-streak {
    right: 20px;
    bottom: 24px;
    min-width: 110px;
    max-width: calc(100% - 40px);
    padding: 10px 13px;
  }

  .ro-home .garden-streak {
    min-width: 0;
    max-width: 172px;
  }

  .hero-mascots {
    inset: 5% -5% 0;
    width: 110%;
    height: 95%;
  }

  .hero-body {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .launch-note {
    max-width: none;
    text-align: center;
  }

  .section-intro {
    padding-top: 82px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-intro h2,
  .plan-heading h2,
  .closing-copy h2 {
    font-size: 52px;
  }

  .section-intro > p {
    font-size: 17px;
  }

  .rhythm-step,
  .rhythm-step:nth-child(n) {
    width: 100%;
    padding: 27px 22px;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .step-art {
    min-height: 142px;
  }

  .step-copy h3 {
    font-size: 42px;
  }

  .step-copy p {
    font-size: 16px;
  }

  .plan-section {
    padding: 30px 20px 22px;
    border-radius: 32px;
  }

  .plan {
    min-height: 0;
    padding: 20px;
  }

  .ai-note {
    width: min(calc(100% - 24px), 820px);
    align-items: flex-start;
  }

  .closing {
    padding: 32px 22px;
    grid-template-columns: 1fr;
  }

  .closing-art {
    min-height: 210px;
  }

  .footer-main,
  .footer-small {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .subpage-hero {
    min-height: 0;
    padding: 31px 22px 20px;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 32px;
  }

  .subpage-character {
    min-height: 175px;
  }

  .mini-mascot {
    right: 14%;
    width: 68%;
  }

  .mini-shadow {
    right: 20%;
    width: 58%;
  }

  .character-note {
    right: 4%;
  }

  .article-layout {
    padding-top: 42px;
    gap: 32px;
  }

  .toc ol {
    columns: 1;
  }

  .article-highlight {
    margin-inline: 0;
    padding: 22px;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-contact {
    position: static;
  }

  .quick-links,
  .delete-facts {
    grid-template-columns: 1fr;
  }

  .delete-layout {
    padding-top: 42px;
  }

  .delete-steps {
    padding: 27px 20px;
    border-radius: 30px;
  }
}

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

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