:root {
  color-scheme: light;
  --paper: #fcf8f4;
  --ink: #38262f;
  --muted: #705d66;
  --wine: #643749;
  --line: #e6d9d7;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .64; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.wrap { width: min(1150px, calc(100% - 60px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 75px; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a, .footer > a:last-child { color: var(--wine); font-size: 14px; font-weight: 700; }
.site-header nav a:hover, .footer > a:last-child:hover { text-decoration: underline; }
.wordmark { display: inline-flex; width: max-content; align-items: center; gap: 10px; font: 37px/1 var(--serif); color: var(--wine); }
.rings { position: relative; width: 22px; height: 17px; }
.rings::before, .rings::after { content: ""; position: absolute; top: 1px; width: 13px; height: 15px; border: 1.5px solid var(--wine); border-radius: 50%; }
.rings::before { left: 0; transform: rotate(-28deg); }
.rings::after { right: 0; transform: rotate(28deg); }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(28px, 6vw, 85px); padding-block: 54px 64px; }
.eyebrow { color: var(--wine); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { font: clamp(55px, 6.7vw, 91px)/.96 var(--serif); letter-spacing: -.024em; margin: 12px 0 19px; }
h1 em { font-weight: 400; color: var(--wine); }
.lede { max-width: 41ch; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid transparent; border-radius: 7px; padding: 9px 16px; font-size: 14px; font-weight: 700; }
.filled { background: var(--wine); color: white; }
.filled:hover { background: #50293b; }
.text-link { color: var(--wine); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero-visual { position: relative; min-width: 0; isolation: isolate; }
.hero-visual img { display: block; width: 100%; height: clamp(330px, 42vw, 505px); object-fit: cover; object-position: 64% center; border-radius: 13px; background: #e8d5c3; }
.photo-card { position: absolute; bottom: 20px; left: -20px; display: grid; padding: 16px 23px 17px; min-width: 210px; border: 1px solid #eadbdf; border-radius: 11px; background: #fffaf8; box-shadow: 0 12px 28px #32152822; }
.photo-card span { font-size: 11px; color: var(--muted); font-weight: 700; }
.photo-card strong { font: 44px/1.03 var(--serif); color: var(--wine); }
.photo-card small { color: var(--muted); font-size: 11px; margin-top: 3px; }
h2 { font: clamp(39px, 5.2vw, 61px)/1 var(--serif); letter-spacing: -.015em; }
#demo, #early-access { scroll-margin-top: 22px; }
.demo-section { background: #f2e8e9; border-block: 1px solid #eadade; padding: 58px 0 48px; }
.section-intro { margin-bottom: 24px; }
.section-intro h2 { margin-block: 6px 10px; }
.section-intro > p:last-child { color: var(--muted); max-width: 59ch; }
.demo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.quote-options { padding: 0; margin: 0; border: 0; min-width: 0; }
.quote-options legend { margin-bottom: 6px; font-weight: 700; font-size: 13px; color: var(--wine); }
.quote { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); background: #fffaf8; border-radius: 11px; margin-bottom: 9px; padding: 13px; cursor: pointer; }
.quote:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.quote input { margin: 7px 3px 0; accent-color: var(--wine); flex: none; }
.quote-content { flex: 1; min-width: 0; }
.quote-heading { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-size: 15px; }
.quote-heading strong:last-child { white-space: nowrap; }
.quote-note { display: block; color: var(--muted); font-size: 13px; }
.result-card { display: grid; align-content: center; color: #fff8f8; background: #563044; padding: 17px 24px; border-radius: 12px; }
.result-tag { font-size: 13px; color: #f4e1e9; }
.result-amount { font: 54px/1.02 var(--serif); margin: 2px 0; }
.result-caption { font-size: 13px; color: #f4e1e9; }
.result-card.over-budget .result-amount { color: #ffd2b7; }
.result-lines { margin: 9px 0 0; font-size: 13px; }
.result-lines div { display: flex; justify-content: space-between; gap: 13px; padding-top: 5px; margin-top: 6px; border-top: 1px solid #805c70; }
.result-lines dd { font-weight: 700; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 27px; }
.features article { border-top: 1px solid #dbc8ce; padding-top: 12px; }
.features h3 { font: 29px/1.08 var(--serif); margin-bottom: 5px; }
.features p { color: var(--muted); font-size: 14px; max-width: 35ch; }
.access { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 26px; padding-block: 58px 41px; }
.access > div p { color: var(--muted); margin-top: 5px; }
.access-form label { font-size: 13px; font-weight: 700; }
.email-row { display: flex; gap: 8px; margin-top: 5px; }
.email-row input { flex: 1; width: 100%; min-width: 0; min-height: 46px; border: 1px solid #cdb9bf; background: white; color: var(--ink); border-radius: 7px; padding: 7px 10px; }
.form-note, .form-status { font-size: 13px; color: var(--muted); margin-top: 5px; }
.form-status { color: #355343; font-weight: 700; }
.form-status.failure { color: #8d313e; }
.trap { position: absolute; left: -10000px; }
.questions { padding-block: 8px 44px; max-width: 790px; }
.questions h2 { font-size: 43px; margin-bottom: 11px; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-size: 15px; font-weight: 700; }
details p { color: var(--muted); max-width: 63ch; padding-top: 6px; margin-left: 16px; font-size: 14px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 21px; border-top: 1px solid var(--line); }
.footer .wordmark { font-size: 29px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 34px); }
  .site-header { min-height: 64px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 27px 32px; }
  h1 { font-size: clamp(54px, 11vw, 74px); max-width: 13ch; }
  .hero-visual img { height: clamp(265px, 60vw, 405px); }
  .photo-card { left: 10px; bottom: 10px; padding: 10px 14px; min-width: 166px; }
  .photo-card strong { font-size: 36px; }
  .demo-section { padding: 34px 0 29px; }
  .demo-grid, .access { grid-template-columns: 1fr; }
  .demo-grid, .access { gap: 12px; }
  .features { grid-template-columns: 1fr; gap: 13px; margin-top: 19px; }
  .features p { max-width: none; }
  .access { padding-block: 35px 26px; }
}
@media (max-width: 410px) {
  .site-header nav a[href="#demo"] { display: none; }
  .email-row { flex-wrap: wrap; }
  .email-row input { flex-basis: 100%; }
  .email-row button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
