:root {
  color-scheme: light;
  --ink: #34284a;
  --muted: #71677d;
  --paper: #fffaf5;
  --white: #fffefa;
  --lavender: #eee8ff;
  --purple: #76549b;
  --pink: #e985aa;
  --line: #e9e0ed;
  --display: "Trebuchet MS", system-ui, sans-serif;
  --body: "Trebuchet MS", system-ui, sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  font-size: 15px;
}

a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.hero {
  background: linear-gradient(120deg, #fff4ed, #f1ebff);
}

.site-nav, .hero-content, .section, .site-footer {
  width: min(1040px, calc(100% - 48px));
  margin: auto;
}

.site-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(68, 49, 87, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}
.brand-flower { color: var(--pink); font-size: 22px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a, .nav-cta { font-size: 13px; font-weight: 700; text-decoration: none; }
.nav-cta { padding: 9px 14px; border: 1px solid #d8cde4; border-radius: 8px; background: var(--white); }

.hero-content {
  display: grid;
  min-height: 490px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0;
  color: #876b9c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); }
h1 {
  margin: 16px 0;
  font-size: clamp(44px, 6vw, 68px);
  letter-spacing: -.05em;
  line-height: 1;
}
h1 span { color: var(--purple); }
.pitch { max-width: 450px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { background: var(--purple); color: white; }
.button-light { background: var(--white); color: var(--ink); }
.text-link { font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.text-link span, .button span { color: #edb5cf; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 25px 0 0; padding: 0; color: var(--muted); font-size: 11px; list-style: none; }
.hero-promises span { color: var(--pink); }

.hero-art {
  display: grid;
  min-height: 350px;
  place-items: center;
  border-radius: 50%;
  background: #e5dcf8;
}
.hero-ghost { display: block; width: min(300px, 82%); height: auto; }

.section { padding-top: 76px; padding-bottom: 76px; }
.section-heading { max-width: 580px; margin: 0 auto 34px; text-align: center; }
.section-heading h2, .mood-copy h2, .local-copy h2, .final-callout h2 {
  margin: 11px 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.1;
}
.section-heading > p:last-child, .mood-copy > p:last-child {
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.friend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.friend-card {
  min-height: 165px;
  padding: 19px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--friend-color);
  border-radius: 10px;
  background: var(--friend-bg);
}
.friend-pink { --friend-bg: #fff1f5; --friend-color: #e98bad; }
.friend-violet { --friend-bg: #f2efff; --friend-color: #a28bd2; }
.friend-orange { --friend-bg: #fff4e8; --friend-color: #e9a057; }
.friend-blue { --friend-bg: #eff5ff; --friend-color: #81a2d0; }
.friend-green { --friend-bg: #eef6f0; --friend-color: #82ad91; }
.friend-berry { --friend-bg: #f8eff7; --friend-color: #b37da8; }
.friend-portrait {
  display: block;
  width: 112px;
  height: 96px;
  margin-bottom: 10px;
  object-fit: contain;
}
.friend-card h3 { margin: 0 0 4px; font-size: 16px; }
.friend-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.section-footnote { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.mood-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 38px;
  padding: 54px max(24px, calc((100% - 992px) / 2));
  background: #f0eaff;
}
.mood-copy h2 { font-size: clamp(28px, 3.5vw, 38px); }
.mood-list { display: flex; flex-wrap: wrap; gap: 9px; }
.mood-list span { padding: 9px 12px; border: 1px solid #ded5eb; border-radius: 7px; background: #fffaf5; color: #594b69; font-size: 12px; font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.feature-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; font-size: 21px; }
.icon-lilac { background: #eee8ff; color: #76549b; }
.icon-pink { background: #ffedf3; color: #cb638f; }
.icon-gold { background: #fff4d9; color: #a67b27; }
.feature-card h3 { margin: 14px 0 6px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.shortcut-note { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding: 16px 18px; border: 1px solid #e5dceb; border-radius: 9px; background: #f8f3ff; }
.shortcut-note p { margin: 7px 0 0; color: #65566e; font-size: 12px; line-height: 1.8; }
kbd { padding: 2px 5px; border: 1px solid #ded2e4; border-radius: 4px; background: var(--white); color: #523c69; font: 700 10px/1.3 var(--body); white-space: nowrap; }
.shortcut-divider { padding: 0 4px; color: #bf81a0; }
.shortcut-candle { font-size: 27px; }

.local-section {
  max-width: 1040px;
  margin: 0 auto 76px;
  padding: 42px;
  border: 1px solid #e7deee;
  border-radius: 12px;
  background: #f2edfa;
}
.local-copy { max-width: 720px; margin: auto; }
.local-copy h2 { font-size: clamp(30px, 4vw, 40px); }
.local-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.7; }
.privacy-list { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.privacy-list li { display: flex; gap: 9px; color: #554b60; font-size: 12px; line-height: 1.5; }
.privacy-list span { color: #8467a1; font-weight: 900; }
.local-copy .text-link { font-size: 12px; }

.setup-section { padding-top: 10px; text-align: center; }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; text-align: left; list-style: none; }
.setup-steps li { min-height: 165px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.step-number { color: #bc6e96; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.setup-steps h3 { margin: 11px 0 6px; font-size: 16px; }
.setup-steps p { margin: 0 0 9px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.setup-steps a, .setup-detail a { color: #76549b; font-weight: 700; }
.setup-steps code, .faq-list code { display: inline-block; padding: 7px 9px; border: 1px solid #e4d8ee; border-radius: 6px; background: #f5effa; color: #533c6c; font-size: 11px; }
.setup-button { margin-top: 24px; }
.setup-detail { margin: 12px 0 0; color: var(--muted); font-size: 11px; }

.faq-section { padding: 65px 24px; background: #f7f2fa; }
.faq-section .section-heading { margin-bottom: 24px; }
.faq-list { width: min(680px, 100%); margin: auto; }
.faq-list details { border-bottom: 1px solid #e5dbe9; }
.faq-list summary { padding: 16px 28px 16px 2px; color: #453456; cursor: pointer; font-family: var(--display); font-size: 13px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { float: right; color: #a25e8a; content: "+"; font-size: 18px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 24px 16px 2px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.faq-list code { padding: 2px 5px; font-size: 10px; }

.final-callout { padding: 52px 20px 56px; background: #59416f; color: #fffaf4; text-align: center; }
.final-callout .eyebrow { color: #ead4e4; }
.final-callout h2 { margin: 10px 0; color: #fffaf4; font-size: clamp(30px, 4vw, 42px); }
.final-callout > p:not(.eyebrow) { margin: 0; color: #e7dce9; font-size: 13px; }
.button-light { margin-top: 20px; }

.site-footer { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer .brand { font-size: 16px; }
.site-footer .brand-flower { font-size: 19px; }
.site-footer > p { margin: 0; color: #817588; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #665a70; font-size: 11px; font-weight: 700; text-decoration: none; }

@media (max-width: 760px) {
  .site-nav, .hero-content, .section, .site-footer { width: calc(100% - 40px); }
  .hero-content { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-art { min-height: 290px; }
  .mood-band { grid-template-columns: 1fr; gap: 20px; padding: 42px 24px; }
  .local-section { margin-right: 20px; margin-left: 20px; padding: 30px; }
  .site-footer { flex-wrap: wrap; padding: 18px 0; }
}

@media (max-width: 560px) {
  .site-nav { min-height: 64px; }
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1fr; padding-top: 42px; }
  .hero-copy { text-align: center; }
  .pitch { margin: auto; }
  .hero-actions, .hero-promises { justify-content: center; }
  .hero-art { width: min(100%, 340px); min-height: 300px; margin: 15px auto 0; }
  .hero-ghost { width: 245px; }
  .friend-grid, .feature-grid, .setup-steps { grid-template-columns: repeat(2, 1fr); }
  .friend-card { min-height: 155px; padding: 15px; }
  .feature-card { min-height: 185px; padding: 16px; }
  .shortcut-note { align-items: flex-start; }
  .shortcut-note p { font-size: 10px; }
}

@media (max-width: 390px) {
  .friend-grid, .feature-grid, .setup-steps { grid-template-columns: 1fr; }
  .friend-card { min-height: 0; }
  .feature-card { min-height: 0; }
  .setup-steps li { min-height: 0; }
  .shortcut-candle { display: none; }
  .local-section { padding: 24px 20px; }
  .footer-links { gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
