/* LifeAtlas / Journey Map. Look follows Codex's prototype and the brand guide:
   cream paper, dark ink, forest green buttons, antique gold accents, Georgia
   headlines, Arial body. No gradients, no color-mix (old Safari). */
:root {
  --paper: #f7f2e9;
  --paper2: #ede5d7;
  --card: #fffcf6;
  --ink: #23302f;
  --ink2: #5a5f57;
  --forest: #123a37;
  --navy: #0e2931;
  --gold: #98753c;
  --gold2: #d7c09b;
  --line: #d7cbbb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.03em; }
h1 { font-size: 44px; line-height: 1.04; margin: 14px 0 16px; }
h2 { font-size: 34px; line-height: 1.12; margin: 12px 0 14px; }
h3 { font-size: 24px; margin: 8px 0; }
h1 em, h2 em, .band em { font-style: italic; color: #7c6a45; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0; }
.eyebrow i { display: inline-block; width: 22px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.fine { font-size: 13px; line-height: 1.55; color: var(--ink2); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

.notice { background: #3d3327; color: #faf7ef; text-align: center; font-size: 13px; line-height: 1.45; padding: 9px 16px; }

.top { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.logo img { width: 176px; height: auto; }
.top nav { display: none; margin-left: auto; gap: 26px; font-size: 14px; color: var(--ink2); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top-cta { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding: 10px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 14px 24px; border: 0; border-radius: 3px; background: var(--forest); color: #fff; font: 700 15px Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: #0c2a28; }
.btn.light { background: var(--card); color: var(--navy); }
.btn.light:hover { background: #fff; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.link { font-size: 14px; text-decoration: none; border-bottom: 1px solid #8a8c82; padding: 8px 0; }

/* Hero */
.hero { max-width: 1240px; margin: 0 auto; padding: 14px 20px 44px; display: grid; gap: 30px; }
.deck { font-family: Georgia, serif; font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
.body { color: var(--ink2); margin-bottom: 14px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li { position: relative; padding: 3px 0 3px 26px; font-size: 15px; }
.ticks li:before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-actions .btn { width: 100%; }
.under { margin: 14px 0 0; font-size: 14px; color: var(--ink2); }
.under b { color: var(--ink); }

/* Carousel */
.carousel { background: var(--paper2); border: 1px solid var(--line); border-radius: 4px; padding: 10px 10px 12px; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 2px; outline-offset: 3px; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.slide img { width: 100%; aspect-ratio: 900 / 1110; object-fit: cover; background: #e7dfd0; }
.car-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px 6px; }
.car-name { margin: 0; font-size: 13px; color: var(--ink2); text-align: center; }
.car-name b { font-family: Georgia, serif; font-weight: 400; font-size: 17px; color: var(--ink); }
.car-arrow { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; }
.car-arrow:hover { border-color: var(--gold); }
.dots { display: flex; justify-content: center; gap: 4px; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button:before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: #c9bda8; }
.dots button[aria-selected="true"]:before { background: var(--forest); width: 10px; height: 10px; }
.caption { margin: 10px 2px 0; font-size: 12px; line-height: 1.5; color: var(--ink2); }

.band { background: var(--forest); color: #f8f6ed; text-align: center; padding: 28px 20px; }
.band p { font-family: Georgia, serif; font-size: 21px; line-height: 1.4; margin: 0; }
.band em { color: var(--gold2); }

.section { max-width: 1240px; margin: 0 auto; padding: 60px 20px; }
.head { max-width: 680px; margin-bottom: 30px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head p:last-child { color: var(--ink2); margin: 0; }

.steps { display: grid; gap: 4px; }
.steps article { border-top: 1px solid #b8b09f; padding: 18px 0 8px; }
.num { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; }
.steps p { color: var(--ink2); max-width: 400px; }

.sample { display: grid; gap: 26px; padding-top: 20px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: Georgia, serif; font-size: 40px; line-height: 1; letter-spacing: -0.04em; }
.facts dd { margin: 6px 0 0; font-size: 13px; color: var(--ink2); line-height: 1.4; }
.chat { background: var(--paper2); padding: 24px 22px; align-self: start; border-radius: 4px; }
.chat p { font-family: Georgia, serif; font-size: 18px; line-height: 1.45; margin: 0 0 16px; }
.chat p.fine { font-family: Arial, sans-serif; font-size: 12px; margin: 0; }
.who { display: block; font: 700 10px Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.who.you { color: #4f6a63; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid button { display: block; padding: 0 0 8px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.grid img { width: 100%; aspect-ratio: 480 / 592; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; background: #e7dfd0; }
.grid button:hover img { border-color: var(--gold); }
.grid b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 17px; margin-top: 8px; }
.grid span { font-size: 13px; color: var(--ink2); }

.offer { background: #eae3d5; padding: 60px 20px; display: grid; gap: 30px; }
.offer > * { max-width: 600px; width: 100%; margin: 0 auto; }
.offer-copy > p { color: var(--ink2); }
.price { display: flex; align-items: center; gap: 18px; margin: 18px 0 10px; }
.price strong { font-family: Georgia, serif; font-size: 58px; font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.price span { font-size: 14px; line-height: 1.5; color: var(--ink2); }
.price b { color: var(--forest); }
.card { background: var(--card); border: 1px solid #cfc1ad; border-radius: 4px; }
.card-head { margin: 0; padding: 18px 22px; background: #efe6d6; border-bottom: 1px solid #d8cbba; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.card ul { list-style: none; margin: 0; padding: 6px 22px; }
.card li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid #e9e1d5; font-size: 15px; line-height: 1.45; }
.card li:last-child { border-bottom: 0; }
.card li:before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 6px; border-left: 2px solid #4f6a63; border-bottom: 2px solid #4f6a63; transform: rotate(-45deg); }
.card-foot { margin: 0; padding: 14px 22px 20px; font-size: 13px; line-height: 1.5; color: var(--ink2); border-top: 1px solid #e9e1d5; }

.reserve { background: var(--navy); color: #f4efe3; padding: 60px 20px; }
.reserve-in { max-width: 640px; margin: 0 auto; }
.reserve .eyebrow { color: var(--gold2); }
.reserve p { color: #d5d9d2; }
.reserve label { display: block; font-size: 13px; font-weight: 700; margin: 22px 0 8px; color: #f4efe3; }
.row { display: grid; gap: 10px; }
.reserve input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid #5d7377; border-radius: 3px; background: #fffcf6; color: var(--ink); font: 17px Arial, Helvetica, sans-serif; }
.reserve input:focus { outline: 2px solid var(--gold2); outline-offset: 2px; }
.reserve .btn { background: #be9450; color: #14201f; width: 100%; }
.reserve .btn:hover { background: #cda562; }
.msg { min-height: 20px; margin: 10px 0 0; font-size: 14px; color: #f3c9a8 !important; }
.reserve .fine { color: #aab6b3; margin-top: 6px; }
.done { margin-top: 22px; padding: 22px; border: 1px solid #5d7377; border-radius: 4px; }
.done h3 { color: #fff; }
.done p { margin: 0; }

.two { display: grid; gap: 40px; }
.two p { color: var(--ink2); }
.two a { text-decoration: underline; text-underline-offset: 3px; }

.privacy { background: var(--forest); color: #f7f3e8; text-align: center; padding: 60px 20px; }
.privacy .eyebrow { color: var(--gold2); }
.privacy h2 em { color: var(--gold2); }
.privacy > p { max-width: 640px; margin: 0 auto 26px; color: #dfe3db; }
.points { max-width: 900px; margin: 0 auto; padding: 16px 0; border-top: 1px solid #55716c; border-bottom: 1px solid #55716c; text-align: left; }
.points p { margin: 0; padding: 7px 4px; font-size: 15px; }
.points span { color: var(--gold2); margin-right: 12px; font-size: 12px; }

.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-top: 1px solid #cfc4b1; padding: 8px 0; }
.faq details:last-child { border-bottom: 1px solid #cfc4b1; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 12px 34px 12px 0; font-family: Georgia, serif; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; position: absolute; right: 6px; top: 10px; color: var(--gold); font-size: 22px; }
.faq details[open] summary:after { content: "\2212"; }
.faq details p { color: var(--ink2); margin: 2px 0 12px; }

.closing { background: #e8ddc8; text-align: center; padding: 64px 20px; }
.closing h2 { font-size: 40px; }
.closing p { color: var(--ink2); margin-bottom: 24px; }
.closing .btn.light { background: var(--forest); color: #fff; }
.closing .btn.light:hover { background: #0c2a28; }

footer { background: #1d2523; color: #b9bfb6; padding: 30px 20px; text-align: center; font-size: 13px; line-height: 1.6; }
footer img { margin: 0 auto 14px; width: 180px; }
footer p { max-width: 560px; margin: 0 auto 8px; }

/* Plain pages (privacy, terms) */
.doc { max-width: 720px; margin: 0 auto; padding: 30px 20px 70px; }
.doc h1 { font-size: 38px; }
.doc h2 { font-size: 24px; margin-top: 34px; }
.doc p, .doc li { color: var(--ink2); }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc form { margin-top: 12px; display: grid; gap: 10px; max-width: 420px; }
.doc input { min-height: 50px; padding: 10px 14px; border: 1px solid #b8b09f; border-radius: 3px; font: 16px Arial, sans-serif; background: #fffcf6; }

@media (min-width: 640px) {
  h1 { font-size: 56px; }
  h2 { font-size: 42px; }
  .hero-actions .btn { width: auto; }
  .row { grid-template-columns: 1fr auto; }
  .reserve .btn { width: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .points { display: flex; justify-content: center; gap: 40px; text-align: center; }
  .band p { font-size: 26px; }
}
@media (min-width: 950px) {
  .top { padding: 16px 40px; }
  .top nav { display: flex; }
  .top-cta { margin-left: 0; }
  .logo img { width: 200px; }
  h1 { font-size: 66px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 26px 40px 70px; }
  .hero-art { max-width: 560px; justify-self: end; width: 100%; }
  .section { padding: 90px 40px; }
  .sample { grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
  .offer { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 90px max(40px, calc((100vw - 1160px) / 2)); }
  .offer > * { margin: 0; }
  .two { grid-template-columns: 1fr 1fr; gap: 70px; }
  .reserve, .privacy, .closing { padding: 90px 40px; }
  .closing h2 { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Hero order. Phone: headline and button, then the maps, then the detail.
   Desktop: text on the left, maps on the right. */
.hero { grid-template-areas: "head" "art" "rest"; gap: 22px; }
.hero-head { grid-area: head; }
.hero-art { grid-area: art; }
.hero-rest { grid-area: rest; }
.hero-head .deck { margin-bottom: 18px; }
@media (max-width: 949px) {
  h1 { margin-top: 10px; }
}
@media (min-width: 950px) {
  .hero { grid-template-areas: "head art" "rest art"; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 26px; align-items: start; }
  .hero-head { align-self: end; padding-top: 30px; }
  .hero-art { align-self: center; }
}

/* From the conversion audit (docs/CRO-AUDIT.md). */
.head .for { margin-top: 10px !important; color: var(--ink) !important; font-family: Georgia, serif; font-size: 17px; line-height: 1.45; }
.offer-copy .btn { margin: 8px 0 14px; width: 100%; }
/* Carousel dots: a full 44px touch target around each small dot. */
.dots { gap: 0; }
.dots button { width: 44px; height: 44px; }
/* Phone-only bar that keeps the one action in reach. */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fffcf6; border-top: 1px solid var(--line); font-size: 14px; }
.sticky[hidden] { display: none; }
.sticky .btn { min-height: 46px; padding: 10px 18px; font-size: 14px; }
@media (min-width: 640px) {
  .offer-copy .btn { width: auto; }
}
@media (min-width: 950px) {
  .sticky { display: none; }
}

/* ---- The conversation page (build.html) ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.b-main { max-width: 1120px; margin: 0 auto; padding: 8px 16px 60px; }
.b-card { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 20px 28px; }
.b-card h1 { font-size: 36px; margin: 10px 0 10px; }
.b-lead { color: var(--ink2); margin-bottom: 18px; }
.b-card label { display: block; font-size: 13px; font-weight: 700; margin: 18px 0 8px; }
.b-card input[type="text"], .b-card input[type="email"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #b8b09f; border-radius: 3px; background: #fff; color: var(--ink); font: 17px Arial, Helvetica, sans-serif; }
.b-card > .btn { width: 100%; margin: 18px 0 14px; }
.b-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-pick { text-align: left; padding: 14px; border: 1px solid #b8b09f; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.b-pick b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 20px; }
.b-pick span { font-size: 13px; color: var(--ink2); }
.b-pick[aria-pressed="true"] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #f1efe4; }

.b-talk { display: grid; gap: 18px; }
.b-talk[hidden], .b-card[hidden] { display: none; }
.b-col { min-width: 0; }
.b-log { background: var(--card); border: 1px solid var(--line); border-radius: 6px 6px 0 0; padding: 16px; min-height: 220px; max-height: 46vh; overflow-y: auto; }
.b-msg { margin-bottom: 16px; }
.b-msg p { margin: 0; font-family: Georgia, serif; font-size: 18px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.b-msg.me p { font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: var(--ink2); }
.b-who { display: block; font: 700 10px Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.b-msg.me .b-who { color: #4f6a63; }
.b-dots { color: var(--gold); letter-spacing: 0.2em; }
.b-say { background: var(--paper2); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; padding: 12px; }
.b-say textarea { width: 100%; padding: 12px 14px; border: 1px solid #b8b09f; border-radius: 3px; background: #fff; color: var(--ink); font: 17px/1.4 Arial, Helvetica, sans-serif; resize: vertical; }
.b-say-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.b-say-row .btn { margin-left: auto; min-height: 48px; padding: 10px 26px; }
.b-mic, .b-skip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 1px solid #b8b09f; border-radius: 3px; background: #fff; color: var(--ink); font: 14px Arial, Helvetica, sans-serif; cursor: pointer; }
.b-mic[hidden] { display: none; }
.b-mic[aria-pressed="true"] { border-color: #9b3d2e; color: #9b3d2e; }
.b-note { min-height: 18px; margin: 8px 0 0; font-size: 13px; color: #8a4a2f; }
.b-aloud { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink2); }
.b-aloud[hidden] { display: none; }
.b-aloud input { width: 18px; height: 18px; }

.b-map { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px; align-self: start; }
.b-map-head h2 { font-size: 24px; margin: 0 0 2px; }
.b-map .btn { width: 100%; margin-top: 16px; }
.b-empty { color: var(--ink2); font-size: 14px; }
.b-group { font: 700 11px Arial, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 16px 0 4px; }
.b-items { list-style: none; margin: 0; padding: 0; }
.b-items li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid #ece4d6; font-size: 16px; overflow-wrap: anywhere; }
.b-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #8a8478; font-size: 20px; line-height: 1; cursor: pointer; }
.b-x:hover { background: #efe6d6; color: var(--ink); }
.b-link { display: block; margin: 12px auto 0; padding: 8px; border: 0; background: none; color: var(--ink2); font: 14px Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.b-h2 { font-size: 24px; margin: 28px 0 10px; }
.b-done-map { border-top: 1px solid var(--line); padding-top: 4px; }
.b-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-style { padding: 0 0 6px; border: 2px solid transparent; border-radius: 4px; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.b-style img { width: 100%; aspect-ratio: 480 / 592; object-fit: cover; border-radius: 2px; }
.b-style b { display: block; font: 400 13px Georgia, serif; margin-top: 4px; }
.b-style[aria-pressed="true"] { border-color: var(--forest); }
.b-reserved { margin-top: 12px; padding: 16px; border: 1px solid #b8c4b0; border-radius: 4px; background: #eef1e6; }
.b-after { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 18px; }
.b-after .b-link { margin: 0; }
.try { display: inline-block; margin-top: 12px; }
@media (min-width: 900px) {
  .b-main { padding: 16px 40px 80px; }
  .b-talk { grid-template-columns: 1.25fr 0.75fr; gap: 26px; }
  .b-log { max-height: 56vh; min-height: 320px; }
  .b-card { padding: 34px 34px 36px; }
}
