/* www.heydo.asia — marketing site. Same warm palette and type as the HeyDo booking page:
   cream ground, warm brown ink, sage green, Fraunces headings, Figtree text (both OFL). */
[hidden] { display: none !important; }
:root {
  --deep: #3c4935;      /* dark sage: bands, footer */
  --deep-2: #48573f;
  --brand: #66795f;     /* sage: primary buttons, accents */
  --brand-ink: #48573f; /* sage text on cream */
  --brand-50: #ecebdd;
  --brand-100: #e0e2cf;
  --ink: #3a2a1f;
  --ink-2: #5b4737;
  --ink-3: #6f5b4a;
  --line: #e6d8c3;
  --line-strong: #d6c4ab;
  --ground: #f6efe3;
  --card: #fffaf2;
  --sand: #f0e6d5;
  --on-deep: #dfe3d3;   /* body text on the dark sage */
  --on-deep-2: #b9c2a8;
  --warm: #b4412f;
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--card); }
.section--deep { background: var(--deep); color: #fff; }
.eyebrow { font: 600 13px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); }
.section--deep .eyebrow { color: var(--on-deep-2); }
.lead { font-size: 20px; color: var(--ink-2); max-width: 640px; }
.section--deep .lead { color: var(--on-deep); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.head h2 { font-size: clamp(30px, 4vw, 44px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 16px/1 var(--font-body); cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-ink); color: #fff; }
.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--deep-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--deep); color: var(--deep); }
.section--deep .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--deep .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246, 239, 227, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head__bar { display: flex; align-items: center; gap: 32px; height: 72px; }
.site-head__logo { color: var(--deep); flex-shrink: 0; }
.site-head__logo svg { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--deep); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--deep); font-weight: 700; }
.site-head__cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--deep); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brand); }
.hero__note { font-size: 14px; color: var(--ink-3); }

/* Value strip */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-ink); display: grid; place-items: center; }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-size: 16px; margin-bottom: 4px; }
.value p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.section--white .card { background: var(--ground); }
.card h3 { font-size: 21px; }
.card p { color: var(--ink-2); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--deep); color: #fff; display: grid; place-items: center; }
.card__icon svg { width: 24px; height: 24px; }
.card__link { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 18px; height: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348573f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--deep .ticks li { color: var(--on-deep); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps--5 .step { padding: 24px 20px; }
.steps--5 .step h3 { font-size: 18px; }
.steps__note { margin: 28px 0 0; color: var(--on-deep); }
.steps__note .link-light { margin-top: 0; }
@media (max-width: 1180px) and (min-width: 1021px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 16px/36px var(--font-display); text-align: center; }
.step h3 { font-size: 20px; }
.step p { color: var(--on-deep); }

/* Feature sections (features page) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.feature + .feature { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.feature__text { display: flex; flex-direction: column; gap: 16px; }
.feature__text h2 { font-size: clamp(28px, 3.4vw, 38px); }
.feature__text p { color: var(--ink-2); font-size: 18px; }
.feature__panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: 14px; font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-weight: 500; font-size: 15px; }
.toc a:hover { border-color: var(--deep); color: var(--deep); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.plan--featured { border: 2px solid var(--brand); }
.plan__tag { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 20px; }
.plan__desc { color: var(--ink-3); font-size: 15px; min-height: 46px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 700 36px/1 var(--font-display); }
.plan__price span { color: var(--ink-3); font-size: 15px; }
.plan__yearly { margin: -10px 0 0; color: var(--ink-3); font-size: 14px; }
.plan .ticks li { font-size: 15px; }
.plan .ticks li.off { color: var(--ink-3); }
.plan .ticks li.off::before { background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394816e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; }
.table-box { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 15px var(--font-display); background: var(--sand); }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-ink); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); color: var(--ink); font: 400 16px var(--font-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__hint { font-size: 14px; color: var(--ink-3); }
.form__hint--ok { color: #3f7a4f; font-weight: 600; }
.form__hint--error { color: var(--warm); }
/* Hidden field only bots fill in. */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.channels { display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); }
a.channel:hover { border-color: var(--deep); color: var(--ink); }
.channel__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand-ink); display: grid; place-items: center; }
.channel__icon svg { width: 24px; height: 24px; }
.channel small { display: block; color: var(--ink-3); font-size: 14px; }
.channel b { font-weight: 600; }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 620px; }
.demo-login { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 15px; color: var(--on-deep); }
.demo-login code { font-family: ui-monospace, Menlo, monospace; color: #fff; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 6px; }

/* Footer */
.site-foot { background: var(--deep); color: var(--on-deep); padding: 56px 0 32px; font-size: 15px; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot__logo { color: #fff; }
.site-foot__logo svg { height: 30px; width: auto; }
.site-foot h4 { color: #fff; font: 600 14px var(--font-body); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--on-deep); }
.site-foot a:hover { color: #fff; }
.site-foot__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-deep-2); }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 24px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 820px; }
.page-hero .lead { margin-top: 18px; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 24px; }
.lost h1 { font-size: clamp(32px, 5vw, 48px); margin: 16px 0 12px; }
.lost p { color: var(--ink-2); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero__grid, .feature, .contact { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav, .site-head__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head.is-open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--ground); border-bottom: 1px solid var(--line); }
  .site-head.is-open .nav a { padding: 14px 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .values, .plans, .form { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
}

/* Screen-reader only; the skip link shows on focus */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr--focusable:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--deep); color: #fff; }

/* Legal pages: Privacy Policy, Terms of Use */
.legal-hero { padding: 56px 0 72px; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 14px; max-width: 760px; color: #fff; }
.legal-hero h1 em { font-style: italic; font-weight: 500; color: var(--on-deep-2); }
.legal-hero .lead { margin-top: 18px; }
.legal-hero__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 36px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.legal-hero__tab { padding: 8px 16px; border-radius: 999px; color: var(--on-deep); font-weight: 600; font-size: 15px; }
.legal-hero__tab:hover { color: #fff; }
.legal-hero__tab[aria-current="page"] { background: var(--card); color: var(--deep); }
.legal-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-hero__meta span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-deep); font-size: 14px; }
.legal-section { padding-top: 64px; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.legal__toc { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.legal__toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal__toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.legal__toc a span { flex-shrink: 0; min-width: 22px; font: 600 13px/1.6 var(--font-display); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legal__toc a:hover { background: var(--brand-50); color: var(--ink); }
.legal__toc a:hover span { color: var(--brand-ink); }
.legal__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.legal-card { padding: 32px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.legal-card__num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--deep); color: #fff; font: 700 15px/40px var(--font-display); text-align: center; }
.legal-card h2 { font-size: 24px; }
.legal-card h3 { font-size: 18px; margin: 22px 0 8px; }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card p { margin: 0 0 12px; }
.legal-card p:last-child, .legal-card ul:last-child { margin-bottom: 0; }
.legal-card ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-card li { position: relative; padding-left: 28px; }
.legal-card li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348573f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.legal-card b { color: var(--ink); }
.legal-card:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .legal-card { padding: 22px; }
  .legal__toc ol { grid-template-columns: 1fr; }
  .legal-hero__tabs { margin-bottom: 28px; }
}


/* Hero mockups (pure HTML/CSS): the booking page on a phone, the day calendar on a tablet */
.devices { position: relative; min-height: 470px; }
.tablet { position: absolute; left: 0; top: 0; width: 88%; aspect-ratio: 4 / 3; background: var(--deep); border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(58,42,31,.45); }
.tablet__screen { height: 100%; border-radius: 16px; overflow: hidden; background: var(--card); display: flex; flex-direction: column; }
.cal__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cal__top b { font: 600 14px var(--font-display); }
.cal__top span { font-size: 10px; color: var(--ink-3); }
.cal__cols { flex: 1; display: grid; grid-template-columns: 34px repeat(3, minmax(0, 1fr)); }
.cal__times { display: flex; flex-direction: column; justify-content: space-around; padding: 30px 0 6px; border-right: 1px solid var(--line); }
.cal__times span { font-size: 9px; color: var(--ink-3); text-align: center; }
.cal__col { position: relative; border-right: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 23px, #efe4d2 23px 24px); background-position: 0 30px; }
.cal__col:last-child { border-right: 0; }
.cal__head { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 10px; font-weight: 600; }
.cal__head i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.cal__appt { position: absolute; left: 5px; right: 5px; border-radius: 7px; padding: 5px 6px; font-size: 9px; line-height: 1.25; border-left: 3px solid; overflow: hidden; }
.cal__appt b { display: block; font-size: 10px; }
.cal__appt--sage { background: #e7e5d4; border-color: #66795f; color: #3c4935; }
.cal__appt--plum { background: #f1e3e6; border-color: #8b4f63; color: #5c3040; }
.cal__appt--sand { background: #f8ead0; border-color: #8a5a0c; color: #6b4609; }
.cal__appt--live { background: var(--brand); border-color: var(--deep); color: #fff; }
.phone { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 9 / 19; background: var(--deep); border-radius: 30px; padding: 10px; box-shadow: 0 30px 60px -25px rgba(58,42,31,.55); }
.phone__screen { height: 100%; border-radius: 22px; overflow: hidden; background: var(--ground); display: flex; flex-direction: column; }
.phone__top { padding: 14px 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.phone__url { font-size: 8px; color: var(--brand-ink); font-weight: 600; }
.phone__name { font: 600 13px var(--font-display); }
.phone__step { font-size: 9px; color: var(--ink-3); }
.phone__card { margin: 0 10px 8px; padding: 8px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); display: flex; gap: 7px; align-items: center; }
.phone__card i { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-100); flex: none; }
.phone__card span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.phone__card span::before, .phone__card span::after { content: ''; height: 5px; border-radius: 3px; background: #e6d8c3; }
.phone__card span::after { width: 60%; }
.phone__card--on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-50); }
.phone__slots { margin: 2px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.phone__slots em { font-style: normal; font-size: 8px; text-align: center; padding: 5px 0; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); }
.phone__slots em.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.phone__cta { margin: auto 10px 10px; height: 28px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; }

/* Business types strip */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.type { padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.section--white .type { background: var(--ground); }
.type h3 { font-size: 20px; }
.type p { color: var(--ink-2); font-size: 15px; }
.type__words { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.type__words span { padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: 13px; font-weight: 600; }
@media (max-width: 1020px) { .devices { min-height: 0; aspect-ratio: 1.25; max-width: 620px; } .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .devices { aspect-ratio: 4 / 3; }
  .tablet { width: 100%; }
  .phone { display: none; }
  .types { grid-template-columns: 1fr; }
}

/* Logo (direction C): calendar page with a tick + lowercase "heydo" in Figtree bold */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 26px/1 var(--font-body); letter-spacing: -0.04em; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__body { fill: var(--brand); }
.logo__ring { fill: var(--ink); }
.logo__tick { stroke: var(--card); }
.site-foot .logo { color: #fff; }
.site-foot .logo__body { fill: var(--card); }
.site-foot .logo__ring { fill: var(--on-deep-2); }
.site-foot .logo__tick { stroke: var(--deep); }
.link-light { margin-top: 0; }
@media (max-width: 1180px) and (min-width: 1021px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 16px/36px var(--font-display); text-align: center; }
.step h3 { font-size: 20px; }
.step p { color: var(--on-deep); }

/* Feature sections (features page) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.feature + .feature { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.feature__text { display: flex; flex-direction: column; gap: 16px; }
.feature__text h2 { font-size: clamp(28px, 3.4vw, 38px); }
.feature__text p { color: var(--ink-2); font-size: 18px; }
.feature__panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: 14px; font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-weight: 500; font-size: 15px; }
.toc a:hover { border-color: var(--deep); color: var(--deep); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.plan--featured { border: 2px solid var(--brand); }
.plan__tag { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 20px; }
.plan__desc { color: var(--ink-3); font-size: 15px; min-height: 46px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 700 36px/1 var(--font-display); }
.plan__price span { color: var(--ink-3); font-size: 15px; }
.plan__yearly { margin: -10px 0 0; color: var(--ink-3); font-size: 14px; }
.plan .ticks li { font-size: 15px; }
.plan .ticks li.off { color: var(--ink-3); }
.plan .ticks li.off::before { background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394816e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; }
.table-box { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 15px var(--font-display); background: var(--sand); }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-ink); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); color: var(--ink); font: 400 16px var(--font-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__hint { font-size: 14px; color: var(--ink-3); }
.form__hint--ok { color: #3f7a4f; font-weight: 600; }
.form__hint--error { color: var(--warm); }
/* Hidden field only bots fill in. */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.channels { display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); }
a.channel:hover { border-color: var(--deep); color: var(--ink); }
.channel__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand-ink); display: grid; place-items: center; }
.channel__icon svg { width: 24px; height: 24px; }
.channel small { display: block; color: var(--ink-3); font-size: 14px; }
.channel b { font-weight: 600; }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 620px; }
.demo-login { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 15px; color: var(--on-deep); }
.demo-login code { font-family: ui-monospace, Menlo, monospace; color: #fff; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 6px; }

/* Footer */
.site-foot { background: var(--deep); color: var(--on-deep); padding: 56px 0 32px; font-size: 15px; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot__logo { color: #fff; }
.site-foot__logo svg { height: 30px; width: auto; }
.site-foot h4 { color: #fff; font: 600 14px var(--font-body); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--on-deep); }
.site-foot a:hover { color: #fff; }
.site-foot__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-deep-2); }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 24px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 820px; }
.page-hero .lead { margin-top: 18px; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 24px; }
.lost h1 { font-size: clamp(32px, 5vw, 48px); margin: 16px 0 12px; }
.lost p { color: var(--ink-2); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero__grid, .feature, .contact { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav, .site-head__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head.is-open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--ground); border-bottom: 1px solid var(--line); }
  .site-head.is-open .nav a { padding: 14px 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .values, .plans, .form { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
}

/* Screen-reader only; the skip link shows on focus */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr--focusable:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--deep); color: #fff; }

/* Legal pages: Privacy Policy, Terms of Use */
.legal-hero { padding: 56px 0 72px; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 14px; max-width: 760px; color: #fff; }
.legal-hero h1 em { font-style: italic; font-weight: 500; color: var(--on-deep-2); }
.legal-hero .lead { margin-top: 18px; }
.legal-hero__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 36px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.legal-hero__tab { padding: 8px 16px; border-radius: 999px; color: var(--on-deep); font-weight: 600; font-size: 15px; }
.legal-hero__tab:hover { color: #fff; }
.legal-hero__tab[aria-current="page"] { background: var(--card); color: var(--deep); }
.legal-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-hero__meta span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-deep); font-size: 14px; }
.legal-section { padding-top: 64px; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.legal__toc { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.legal__toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal__toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.legal__toc a span { flex-shrink: 0; min-width: 22px; font: 600 13px/1.6 var(--font-display); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legal__toc a:hover { background: var(--brand-50); color: var(--ink); }
.legal__toc a:hover span { color: var(--brand-ink); }
.legal__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.legal-card { padding: 32px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.legal-card__num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--deep); color: #fff; font: 700 15px/40px var(--font-display); text-align: center; }
.legal-card h2 { font-size: 24px; }
.legal-card h3 { font-size: 18px; margin: 22px 0 8px; }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card p { margin: 0 0 12px; }
.legal-card p:last-child, .legal-card ul:last-child { margin-bottom: 0; }
.legal-card ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-card li { position: relative; padding-left: 28px; }
.legal-card li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348573f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.legal-card b { color: var(--ink); }
.legal-card:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .legal-card { padding: 22px; }
  .legal__toc ol { grid-template-columns: 1fr; }
  .legal-hero__tabs { margin-bottom: 28px; }
}


/* Hero mockups (pure HTML/CSS): the booking page on a phone, the day calendar on a tablet */
.devices { position: relative; min-height: 470px; }
.tablet { position: absolute; left: 0; top: 0; width: 88%; aspect-ratio: 4 / 3; background: var(--deep); border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(58,42,31,.45); }
.tablet__screen { height: 100%; border-radius: 16px; overflow: hidden; background: var(--card); display: flex; flex-direction: column; }
.cal__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cal__top b { font: 600 14px var(--font-display); }
.cal__top span { font-size: 10px; color: var(--ink-3); }
.cal__cols { flex: 1; display: grid; grid-template-columns: 34px repeat(3, minmax(0, 1fr)); }
.cal__times { display: flex; flex-direction: column; justify-content: space-around; padding: 30px 0 6px; border-right: 1px solid var(--line); }
.cal__times span { font-size: 9px; color: var(--ink-3); text-align: center; }
.cal__col { position: relative; border-right: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 23px, #efe4d2 23px 24px); background-position: 0 30px; }
.cal__col:last-child { border-right: 0; }
.cal__head { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 10px; font-weight: 600; }
.cal__head i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.cal__appt { position: absolute; left: 5px; right: 5px; border-radius: 7px; padding: 5px 6px; font-size: 9px; line-height: 1.25; border-left: 3px solid; overflow: hidden; }
.cal__appt b { display: block; font-size: 10px; }
.cal__appt--sage { background: #e7e5d4; border-color: #66795f; color: #3c4935; }
.cal__appt--plum { background: #f1e3e6; border-color: #8b4f63; color: #5c3040; }
.cal__appt--sand { background: #f8ead0; border-color: #8a5a0c; color: #6b4609; }
.cal__appt--live { background: var(--brand); border-color: var(--deep); color: #fff; }
.phone { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 9 / 19; background: var(--deep); border-radius: 30px; padding: 10px; box-shadow: 0 30px 60px -25px rgba(58,42,31,.55); }
.phone__screen { height: 100%; border-radius: 22px; overflow: hidden; background: var(--ground); display: flex; flex-direction: column; }
.phone__top { padding: 14px 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.phone__url { font-size: 8px; color: var(--brand-ink); font-weight: 600; }
.phone__name { font: 600 13px var(--font-display); }
.phone__step { font-size: 9px; color: var(--ink-3); }
.phone__card { margin: 0 10px 8px; padding: 8px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); display: flex; gap: 7px; align-items: center; }
.phone__card i { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-100); flex: none; }
.phone__card span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.phone__card span::before, .phone__card span::after { content: ''; height: 5px; border-radius: 3px; background: #e6d8c3; }
.phone__card span::after { width: 60%; }
.phone__card--on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-50); }
.phone__slots { margin: 2px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.phone__slots em { font-style: normal; font-size: 8px; text-align: center; padding: 5px 0; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); }
.phone__slots em.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.phone__cta { margin: auto 10px 10px; height: 28px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; }

/* Business types strip */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.type { padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.section--white .type { background: var(--ground); }
.type h3 { font-size: 20px; }
.type p { color: var(--ink-2); font-size: 15px; }
.type__words { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.type__words span { padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: 13px; font-weight: 600; }
@media (max-width: 1020px) { .devices { min-height: 0; aspect-ratio: 1.25; max-width: 620px; } .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .devices { aspect-ratio: 4 / 3; }
  .tablet { width: 100%; }
  .phone { display: none; }
  .types { grid-template-columns: 1fr; }
}

/* Logo: sage "H" mark + Fraunces wordmark */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 24px/1 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.logo i { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 18px/34px var(--font-display); font-style: normal; text-align: center; }
.site-foot .logo { color: #fff; }
.site-foot .logo i { background: var(--card); color: var(--deep); }
.link-light { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; margin-top: 28px; }
.link-light:hover { color: var(--on-deep); }
.link-light svg { width: 18px; height: 18px; }
.plan .btn { white-space: normal; text-align: center; line-height: 1.2; }
