/* Tokens from the Petal & Keep design system (single light theme). */
:root {
  color-scheme: light;

  --green-900: #1F3B2D;
  --green-700: #2F4A3C;
  --green-600: #3D5A49;
  --sage-100: #E7EEE6;
  --sage-200: #D5E0D6;
  --blush-100: #F6E6E2;
  --blush-300: #F2C9C4;
  --rose-700: #8A4B47;
  --rose-800: #4A3533;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #5C5C5C;
  --hairline: #E5E5E5;
  --white: #FFFFFF;

  --font-display: "Host Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;

  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
  background: var(--surface);
}

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

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--green-900); outline-offset: 3px; border-radius: 4px; }

h1, h2, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(var(--space-4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-4), env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(var(--space-6), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-6), env(safe-area-inset-right, 0px));
  }
}

/* Announcement bar */
.announce {
  background: var(--green-900);
  color: var(--white);
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  padding-block: 10px;
  padding-left: max(var(--space-4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-4), env(safe-area-inset-right, 0px));
}

/* Header */
.header { border-bottom: 1px solid var(--hairline); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--green-900);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -1px;
}
.logo img { width: 36px; height: 36px; }
.logo-reversed { color: var(--white); }

.header-link {
  font-weight: 600;
  color: var(--green-900);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.header-link:hover { text-decoration: underline; }

/* Main */
.main {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-block: var(--space-10);
}

.panel {
  border-radius: var(--radius-lg);
  padding: var(--space-10);
}
.panel-sage { background: var(--sage-100); color: var(--green-700); }
.panel-blush { background: var(--blush-100); color: var(--rose-800); }

.eyebrow {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.panel-sage .eyebrow { color: var(--green-600); }
.panel-blush .eyebrow { color: var(--rose-700); }

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 62px;
  letter-spacing: -2px;
  color: var(--green-900);
  text-wrap: balance;
}

.display-m {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.8px;
  color: var(--green-900);
  text-wrap: balance;
}

.body-l { font-size: 18px; line-height: 27px; max-width: 34em; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-10);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-width: 0;
}
.hero-copy .actions { margin-top: var(--space-2); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 300px; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms;
}
.btn-primary { background: var(--green-900); color: var(--white); }
.btn-primary:hover { background: var(--green-700); }

/* Promises */
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
.promise {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.promise img { width: 32px; height: 32px; margin-bottom: var(--space-2); }
.promise h2 {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--green-900);
}
.promise p { color: var(--muted); }

/* Range */
.range { display: flex; flex-direction: column; gap: var(--space-4); }
.range .display-m { max-width: 22em; }
.range p:last-child { max-width: 38em; }

/* Pattern strip */
.pattern {
  height: 96px;
  background: var(--blush-100) url("assets/pattern-flowers.svg") repeat-x center / 96px 96px;
}

/* Footer */
.footer { background: var(--green-900); color: var(--white); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-10);
}
.footer-meta { font-size: 13px; line-height: 18px; color: var(--sage-200); }
.footer-meta a { color: var(--blush-300); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer a:focus-visible { outline-color: var(--blush-300); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 200px; }
  .promises { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .panel { padding: var(--space-6); }
  h1 { font-size: 44px; line-height: 46px; letter-spacing: -1.2px; }
  .display-m { font-size: 26px; line-height: 30px; }
  .logo { font-size: 22px; }
  .logo img { width: 30px; height: 30px; }
  .btn { width: 100%; }
  .hero-copy .actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
