:root {
  --cream: #FBF6EE;
  --cream-deep: #F3EADB;
  --ink: #1D2A2E;
  --ink-soft: #4A5A5F;
  --green: #0E5A4C;
  --green-deep: #0A4339;
  --green-tint: #E3EFEA;
  --honey: #D99A3A;
  --honey-soft: #F6E3C2;
  --white: #FFFFFF;
  --line: rgba(29, 42, 46, 0.12);
  --shadow: 0 18px 50px rgba(14, 58, 50, 0.14);
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 1.45rem;
  color: var(--ink); text-decoration: none;
}
.logo svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 8px 24px rgba(14, 90, 76, 0.28);
}
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 14px 34px rgba(14, 90, 76, 0.34); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-honey { background: var(--honey); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn svg { width: 20px; height: 20px; }
.nav .btn { padding: 10px 20px; font-size: 0.92rem; }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); margin: 22px 0 32px; max-width: 34em; }
.hero h1 em { font-style: italic; color: var(--green); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.launch-note { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); }

/* Chat mock */
.phone {
  position: relative;
  background: #E9E1D3;
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
  max-width: 380px; margin-left: auto;
}
.phone::after {
  content: "Example conversation";
  position: absolute; top: -14px; right: 22px;
  background: var(--ink); color: var(--cream);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--white);
  border-radius: 22px 22px 8px 8px;
  padding: 12px 16px;
}
.chat-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
}
.chat-head .avatar svg { width: 24px; height: 24px; }
.chat-head strong { display: block; font-size: 0.98rem; }
.chat-head span { font-size: 0.76rem; opacity: 0.8; }
.chat-body { padding: 14px 4px 6px; display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.9rem; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.bubble.me { align-self: flex-end; background: #D9F5D0; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.bubble .stars { color: var(--honey); letter-spacing: 1px; }
.bubble .small { font-size: 0.76rem; color: var(--ink-soft); display: block; margin-top: 4px; }
.chips { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; width: 86%; }
.chip {
  background: var(--white); color: #0B7B66;
  text-align: center; font-weight: 600; font-size: 0.86rem;
  padding: 8px; border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}

/* Strip */
.strip { background: var(--green); color: var(--cream); padding: 22px 0; }
.strip .wrap {
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center;
  font-weight: 600; font-size: 1.02rem;
}
.strip span { display: inline-flex; align-items: center; gap: 10px; }
.strip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }

/* Sections */
section.block { padding: 96px 0; }
section.alt { background: var(--cream-deep); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.card .num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--honey-soft); color: var(--ink);
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.15rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checklist li::before {
  content: "";
  width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); }

.promise {
  background: var(--ink); color: var(--cream);
  border-radius: 28px; padding: 44px;
}
.promise h3 { font-size: 1.6rem; margin-bottom: 18px; }
.promise p { color: rgba(251, 246, 238, 0.78); margin-bottom: 14px; }
.promise .tag {
  display: inline-block; margin-top: 8px;
  border: 1px solid rgba(251, 246, 238, 0.4);
  border-radius: 6px; padding: 2px 8px; font-size: 0.8rem; font-weight: 700;
}

.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.area {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px; text-align: center;
}
.area strong { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; display: block; }
.area span { font-size: 0.85rem; color: var(--ink-soft); }
.areas-note { margin-top: 22px; color: var(--ink-soft); }

.coming { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.coming span {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 16px; font-size: 0.92rem; font-weight: 500;
}
.coming span.now { background: var(--green); color: var(--white); border-color: var(--green); }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin-top: 10px; }

.cta-final {
  background: var(--green); color: var(--cream);
  border-radius: 32px; padding: 64px 48px; text-align: center;
}
.cta-final p { color: rgba(251, 246, 238, 0.82); margin: 16px auto 30px; max-width: 34em; font-size: 1.1rem; }
.cta-final .cta-row { justify-content: center; }
.cta-final .btn-ghost { border-color: var(--cream); color: var(--cream); }
.cta-final .btn-ghost:hover { background: var(--cream); color: var(--green); }

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.foot-links a:hover { color: var(--ink); }
.legal { margin-top: 28px; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; }

/* Legal pages */
.doc { padding: 64px 0 24px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.doc .updated { color: var(--ink-soft); margin-bottom: 40px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc .box {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; margin: 18px 0;
}

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 44px; }
  .phone { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 64px; }
  section.block { padding: 68px 0; }
  .promise, .cta-final { padding: 36px 24px; }
  .areas { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
}

.optin-note { margin-top: 10px; font-size: 0.8rem; color: var(--ink-soft); max-width: 36em; line-height: 1.5; }
.nav-links a.btn-primary { color: var(--white); }
.logo-word { display: inline-flex; align-items: baseline; }
.logo-word small {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.5em; font-weight: 600; letter-spacing: 0.02em;
  color: var(--green); margin-right: 2px;
  position: relative; top: -0.55em;
}

/* Join early form */
.join-form {
  background: var(--cream); color: var(--ink);
  border-radius: 24px; padding: 32px;
  max-width: 640px; margin: 0 auto; text-align: left;
  display: grid; gap: 18px;
}
.join-form[hidden] { display: none; }
#join { scroll-margin-top: 84px; }
.join-form fieldset { border: 0; min-width: 0; }
.join-form legend, .join-form .field > label { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; display: block; padding: 0; }
.join-form .opt { font-weight: 400; color: var(--ink-soft); }
.join-form input[type="text"], .join-form input[type="email"], .join-form input[type="tel"],
.join-form select, .join-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid rgba(29, 42, 46, 0.3);
  border-radius: 12px; padding: 12px 14px;
}
.join-form textarea { resize: vertical; min-height: 84px; }
.join-form input:focus-visible, .join-form select:focus-visible, .join-form textarea:focus-visible,
.role-pick input:focus-visible + span, .consent input:focus-visible {
  outline: 3px solid var(--honey); outline-offset: 2px;
}
.join-form .hint { font-size: 0.85rem; color: var(--ink-soft); margin: 6px 0 0; }
.role-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.role-pick legend { width: 100%; }
.role-pick label { position: relative; flex: 1 1 140px; }
.role-pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.role-pick span {
  display: block; text-align: center; font-weight: 700;
  border: 2px solid var(--ink); border-radius: 100px; padding: 12px 20px;
}
.role-pick input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.vendor-only { border: 1.5px dashed var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 14px; }
.vendor-only[hidden], #jf-town-other-field[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.92rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); }
.consent a { color: var(--green); }
.join-form .btn { justify-content: center; width: 100%; font-family: inherit; cursor: pointer; }
.join-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-status { font-weight: 600; min-height: 1.4em; margin: 0; color: var(--ink); }
.form-status.error { color: #9B2C1F; }
.join-done { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 32px; max-width: 640px; margin: 0 auto; }
.join-done[hidden] { display: none; }
.join-done p { color: var(--ink-soft); margin: 10px 0 0; }
.cta-final .join-form { margin-top: 8px; }
@media (max-width: 560px) {
  .join-form, .join-done { padding: 24px 18px; }
}
.thanks { text-align: center; padding: 96px 0 40px; }
.thanks .wrap { max-width: 640px; }
.thanks p { color: var(--ink-soft); margin: 16px 0 28px; font-size: 1.1rem; }
