:root {
  --cream: #fcfaf4;
  --surface: #fffefa;
  --ink: #1d3329;
  --muted: #526258;
  --forest: #254b38;
  --green: #285e40;
  --sage: #e5f0e6;
  --line: #d8e0d7;
  --sand: #f2ede1;
  --gold: #f1be74;
  --radius: 24px;
  color-scheme: light;
  font-family: ui-rounded, "Avenir Next", Avenir, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
body, button, input, select { font-size: 1rem; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #497d59; outline-offset: 4px; }
p { line-height: 1.6; margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 3rem); }
h3 { font-size: 1.2rem; }
button, input, select { font-family: inherit; }
button, summary { cursor: pointer; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; z-index: 4; background: white; padding: 1rem; }
.skip:focus { top: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .site-nav, .actions, .site-footer .shell { display: flex; align-items: center; gap: 1rem; }
.header-row { justify-content: space-between; min-height: 76px; }
.site-nav { gap: clamp(.75rem, 3vw, 2rem); font-size: .94rem; }
.site-nav a, .wordmark, .button { text-decoration: none; }
.wordmark { font-size: 2rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.wordmark span { color: #67823f; }
.button, .text-button, .app-nav button { min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: .65rem 1rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.primary { background: var(--green); color: white; }
.primary:hover { background: var(--forest); }
.outline { color: var(--forest); background: transparent; border-color: #bbcabc; }
.outline:hover, .app-nav button:hover { background: var(--sage); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 9vw, 7rem); }
.hero h1 { font-size: clamp(3.1rem, 7.2vw, 6.4rem); font-weight: 750; letter-spacing: -.085em; margin-bottom: .24em; }
.hero h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.09em; }
.lede { color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.2rem); max-width: 36ch; }
.actions { margin-top: 1.75rem; flex-wrap: wrap; }
.hero-art { position: relative; min-height: 365px; isolation: isolate; overflow: hidden; background: #dbe9d5; display: grid; place-items: center; border-radius: 36px; }
.orbit { position: absolute; z-index: -1; border-radius: 50%; width: 290px; aspect-ratio: 1; }
.orbit-one { left: -78px; top: -78px; background: #b8d4a8; }
.orbit-two { right: -80px; bottom: -116px; background: #f5d399; }
.art-spark { position: absolute; right: 12%; top: 13%; color: var(--forest); font-size: 2.5rem; }
.sample { position: relative; width: min(72%, 264px); text-align: center; background: var(--surface); border-radius: var(--radius); box-shadow: 0 12px 40px #24473520; padding: 1.4rem .7rem 1.1rem; }
.sample h2 { font-size: 1.6rem; margin-bottom: .2em; }
.sample p { margin-block: .35rem; color: var(--muted); font-size: .9rem; }
.sample .sample-status { color: var(--green); font-weight: 700; }
.sample-avatars { display: flex; justify-content: center; margin-bottom: .75rem; }
.sample-avatars span, .avatar { display: inline-grid; place-items: center; background: var(--sage); color: var(--forest); width: 46px; height: 46px; border-radius: 50%; font-weight: 800; flex: none; }
.sample-avatars span { border: 3px solid var(--surface); width: 64px; height: 64px; font-size: 1.4rem; }
.sample-avatars span + span { margin-left: -12px; background: var(--gold); }
.how { background: var(--sand); padding-block: clamp(2.5rem, 6vw, 5rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.steps article { padding: 1.5rem; background: var(--surface); border-radius: var(--radius); }
.steps article p { margin-bottom: 0; color: var(--muted); }
.step-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--sage); border-radius: 12px; margin-bottom: .9rem; }
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.4rem; }
.site-footer .shell { justify-content: space-between; flex-wrap: wrap; }
.site-footer p { margin: 0; color: var(--muted); }
.account-bar { background: var(--sand); border-bottom: 1px solid var(--line); }
.account-bar:not(:has(button:not([hidden]))) { display: none; }
.account-bar-row { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; }
.text-button { background: transparent; text-decoration: underline; color: var(--forest); }
.app-shell { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 4rem); padding-block: 2rem 4rem; min-height: 65vh; }
.app-sidebar label { font-weight: 750; display: block; margin-bottom: .45rem; }
select, input:not([type="checkbox"]) { background: var(--surface); border: 1px solid #9baea0; color: var(--ink); min-height: 44px; border-radius: 10px; padding: .5rem .65rem; width: 100%; }
.app-nav { display: grid; gap: .35rem; margin-top: 1rem; }
.app-nav button { justify-content: start; background: transparent; color: var(--forest); }
.app-nav button[aria-current="page"] { background: var(--sage); }
.app-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: .3em; }
.app-content h2 { font-size: 1.35rem; margin: 1.4rem 0 .6rem; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .75rem; }
.section-heading p, .empty, .detail { color: var(--muted); }
.panel { border: 1px solid var(--line); border-radius: 18px; padding: 1rem; background: var(--surface); margin-bottom: .65rem; }
.panel p:last-child { margin-bottom: 0; }
.panel-row { display: flex; gap: .75rem; align-items: center; }
.panel-row strong { display: block; }
.panel-row p { color: var(--muted); font-size: .9rem; margin: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: .65rem; }
.feedback:not(:empty) { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: 12px; background: var(--sage); }
.feedback.error:not(:empty) { background: #ffe7df; color: #7b3026; }
.field { display: grid; gap: .35rem; margin-bottom: .75rem; font-weight: 700; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
fieldset { padding: 0; border: 0; margin: 0 0 1rem; min-width: 0; }
.time-presets { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 .75rem; }
legend { font-weight: 750; margin-bottom: .5rem; }
.check { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line); margin: 0 .35rem .35rem 0; padding: .4rem .75rem; border-radius: 12px; gap: .5rem; }
.check:has(:checked) { background: var(--sage); border-color: #91ac97; }
input[type="checkbox"] { accent-color: var(--green); width: 17px; height: 17px; }
summary { font-weight: 700; padding-block: .85rem; }
.form-note { color: var(--muted); font-size: .9rem; margin: .75rem 0; }
.match-card { border-left: 4px solid var(--green); }
.match-card .actions, .signal-card .actions { margin-top: .75rem; }
@media (max-width: 760px) {
  .hero, .privacy, .app-shell { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .hero-art { min-height: 265px; }
  .steps { grid-template-columns: 1fr; }
  .app-nav { display: grid; grid-template-columns: repeat(4, 1fr); }
  .app-nav button { justify-content: center; padding-inline: .25rem; }
  .app-shell { gap: 1.25rem; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .site-nav a:not(.button) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
