/* BeehiveText — one deliberate light theme: warm white ground, charcoal ink, honey accent. */
:root {
  --ink: #1E2329;
  --ink-soft: #3A4149;
  --muted: #6B675E;
  --ground: #FFFDF7;
  --surface: #FFFFFF;
  --alt: #F6F1E4;
  --rule: #E7E1D3;
  --honey: #F2B41B;
  --honey-deep: #C98F05;
  --honey-ink: #7A5800;
  --hive: #5B3F1D;
  --ok: #2E7D4F;
  --bad: #B3261E;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; padding-inline: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.1; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: .9rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem; }
p { margin: 0 0 1rem; }
a { color: var(--honey-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
code { font-family: var(--mono); font-size: .9em; background: var(--alt); padding: .05em .35em; border-radius: 3px; }
pre { font-family: var(--mono); font-size: .85rem; background: var(--alt); padding: .8rem 1rem; overflow-x: auto; border-radius: 4px; }
small { font-size: .85em; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--honey); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

.wrap { max-width: 1100px; margin: 0 auto; padding-inline: 20px; }
.wrap.narrow { max-width: 760px; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--honey-ink); margin-bottom: .7rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.fineprint { font-size: .92rem; color: var(--muted); max-width: 64ch; }
.tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: var(--alt); color: var(--hive); padding: .15rem .5rem; border-radius: 3px; vertical-align: middle; }

/* buttons */
.btn { display: inline-block; background: var(--honey); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1rem; padding: .75rem 1.3rem; border-radius: 6px; text-decoration: none; border: 2px solid var(--honey); cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--honey-deep); border-color: var(--honey-deep); }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ground); }
.btn.small { padding: .45rem .9rem; font-size: .9rem; }
.btn.big { padding: .95rem 1.7rem; font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 1rem; }

/* header / footer */
.topbar { background: var(--ground); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo b { font-weight: 800; color: var(--honey-ink); }
.nav nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav nav a:hover { color: var(--honey-ink); }
.footer { background: var(--ink); color: #D9D4C7; margin-top: 3rem; }
.footer a { color: #F5DFA0; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2rem; padding-block: 2.2rem; font-size: .95rem; }
.foot .logo { color: #fff; }
.foot .logo b { color: var(--honey); }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; gap: 1rem; } }

/* hero */
.hero { padding-block: 3.5rem 3rem; background:
  radial-gradient(1200px 500px at 85% -10%, #FBEBBE 0%, transparent 60%), var(--ground); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } .hero { padding-block: 2.5rem 2rem; } }
.hero .lede { margin-top: 1rem; }
.phone { background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: 1rem 1rem 1.2rem; max-width: 380px; margin-inline: auto; width: 100%; box-shadow: 0 20px 50px -30px rgba(30,35,41,.45); display: flex; flex-direction: column; gap: .55rem; }
.phone-top { font-family: var(--mono); font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: .6rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .5rem; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ok); display: inline-block; }
.bubble { max-width: 88%; padding: .6rem .8rem; border-radius: 16px; font-size: .95rem; line-height: 1.4; }
.bubble.in { background: #EFEBE0; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--honey); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.phone-meta { font-family: var(--mono); font-size: .72rem; color: var(--muted); text-align: right; }

/* sections */
.section { padding-block: 3.2rem; }
.section.alt { background: var(--alt); }
.section-lede { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.6rem; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1.3rem 1.3rem 1.1rem; position: relative; }
.steps .num { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--honey-deep); display: block; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.2rem; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 1.6rem; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--honey); box-shadow: 0 0 0 3px #FBEBBE; }
.plan-tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--honey-ink); margin-bottom: .3rem; }
.plan h3 { font-size: 1.6rem; }
.plan-sub { color: var(--ink-soft); min-height: 4.6em; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.price-list li { padding: .55rem 0; border-top: 1px solid var(--rule); font-size: .98rem; }
.price-list li:last-child { border-bottom: 1px solid var(--rule); }
.price-list b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.plan .btn { align-self: flex-start; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; margin-top: 1.4rem; }
.features p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.compliance { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .compliance { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; }
.checks li { padding: .75rem 1rem .75rem 2.4rem; border-bottom: 1px solid var(--rule); position: relative; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: .6rem; height: .6rem; background: var(--honey); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }

.faq details { border-top: 1px solid var(--rule); padding: .9rem 0; max-width: 760px; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--honey-deep); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--ink-soft); max-width: 68ch; }

.cta-band { background: var(--ink); color: #fff; text-align: left; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D9D4C7; }

/* documents */
.doc { padding-block: 2.6rem 3rem; }
.doc h1 { margin-bottom: .6rem; }
.doc h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.doc ul, .doc ol { padding-left: 1.3rem; max-width: 70ch; }
.doc li { margin-bottom: .5rem; }
.doc li ul { margin-top: .4rem; }
.legal p, .legal li { max-width: 70ch; }
.legal .meta { color: var(--muted); }
.callout { background: var(--surface); border-left: 4px solid var(--honey); padding: .8rem 1rem; margin: 1.2rem 0; max-width: 70ch; }
.callout.warn { border-left-color: var(--bad); }
.callout p:last-child { margin-bottom: 0; }
.tablewrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; background: var(--surface); border: 1px solid var(--rule); font-size: .95rem; }
th, td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--display); font-size: .82rem; letter-spacing: .03em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.next li { margin-bottom: .8rem; }
.ref { font-size: 1.05em; padding: .15em .5em; }

/* forms */
.apply fieldset { border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); padding: 1.1rem 1.3rem 1.2rem; margin: 0 0 1.4rem; }
.apply legend { font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 0 .4rem; }
.apply label { display: block; font-weight: 600; font-size: .95rem; margin: .8rem 0 0; }
.apply label small { font-weight: 400; }
.apply input[type=text], .apply input[type=url], .apply input[type=email], .apply input[type=tel], .apply input[type=password], .apply input:not([type]), .apply select, .apply textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .6rem .7rem; font: inherit; font-weight: 400; color: var(--ink); background: var(--ground); border: 1px solid #CFC8B8; border-radius: 6px; }
.apply textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.help { color: var(--muted); font-size: .93rem; margin: .6rem 0 0; }
.err { display: block; color: var(--bad); font-size: .88rem; font-weight: 600; margin-top: .3rem; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .8rem; }
@media (max-width: 640px) { .radios { grid-template-columns: 1fr; } }
.radio-card { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--rule); border-radius: 8px; padding: .8rem .9rem; margin: 0; font-weight: 400; cursor: pointer; background: var(--ground); }
.radio-card:has(input:checked) { border-color: var(--honey); box-shadow: 0 0 0 3px #FBEBBE; }
.radio-card input { margin-top: .3rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; line-height: 1.45; }
.check input { margin-top: .3rem; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.byo[hidden], .creds[hidden] { display: none; }
.creds { border-top: 1px dashed var(--rule); margin-top: 1rem; padding-top: .2rem; }
.apply.compact fieldset { padding: .8rem 1rem; }
.apply .btn { margin-top: 1.2rem; }

/* admin */
.filters { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .95rem; }
.filters a { text-decoration: none; color: var(--ink-soft); padding: .2rem .5rem; border-radius: 4px; }
.filters a.on { background: var(--alt); color: var(--ink); font-weight: 600; }
.filters .count { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.pill { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; padding: .18rem .5rem; border-radius: 99px; background: var(--alt); color: var(--ink-soft); vertical-align: middle; white-space: nowrap; }
.pill.s-new { background: #FBEBBE; color: var(--honey-ink); }
.pill.s-live { background: #DCEFE3; color: var(--ok); }
.pill.s-declined { background: #F6DDDB; color: var(--bad); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1rem; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.admin-grid h2 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; padding-top: .8rem; border-top: 1px solid var(--rule); }
dl { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem 1rem; margin: 0; font-size: .95rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
dd.pre { white-space: pre-wrap; }
table.admin td { font-size: .92rem; }

/* plans: availability */
.badge { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 3px; margin-right: .4rem; vertical-align: middle; }
.badge.live { background: #DCEFE3; color: var(--ok); }
.badge.soon { background: var(--alt); color: var(--muted); border: 1px solid var(--rule); }
.plan.unavailable { background: var(--alt); border-style: dashed; }
.plan.unavailable h3, .plan.unavailable .price-list b { color: var(--muted); }
.plan.unavailable .plan-tag { color: var(--muted); }
.btn.disabled { background: var(--rule); border-color: var(--rule); color: var(--muted); cursor: not-allowed; }
.radio-card.off { opacity: .6; cursor: not-allowed; background: var(--alt); }
.mono { font-family: var(--mono); font-size: .9em; }

/* client page */
.client h1 { margin-bottom: .8rem; }
.callout.ok { border-left-color: var(--ok); background: #F1F8F3; }
.callout.msg { border-left-color: var(--honey); background: #FFF8E3; }
.callout .pre { white-space: pre-wrap; }
.status-box { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.status-box p { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.timeline li { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; background: var(--alt); color: var(--muted); }
.timeline li.done { background: #DCEFE3; color: var(--ok); }
.timeline li.current { background: var(--honey); color: var(--ink); font-weight: 500; }
.progress { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.progress.compact { grid-template-columns: repeat(8, 1fr); margin: 1rem 0; }
.progress li { border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .6rem; font-size: .85rem; background: var(--surface); position: relative; padding-left: 1.7rem; }
.progress li::before { content: ""; position: absolute; left: .6rem; top: .75rem; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--rule-strong, #B9B3A5); }
.progress li.done::before { background: var(--ok); border-color: var(--ok); }
.progress li a { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .progress { grid-template-columns: 1fr 1fr; } .progress.compact { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 1.3rem 1.4rem 1.4rem; margin: 1.4rem 0; scroll-margin-top: 4.5rem; }
.card h2 { border-top: 0; padding-top: 0; margin: 0 0 .5rem; font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.done-pill { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: #DCEFE3; color: var(--ok); padding: .2rem .55rem; border-radius: 99px; }
.done-pill.pending { background: #FBEBBE; color: var(--honey-ink); }
.card .apply fieldset { border: 0; padding: 0; margin: .6rem 0 0; background: transparent; }
.card .apply fieldset[disabled] { opacity: .55; }
.card .apply legend { display: none; }
.guide-fold { border: 1px solid var(--rule); border-radius: 8px; padding: .6rem 1rem; margin: .6rem 0 1rem; background: var(--ground); }
.guide-fold summary { cursor: pointer; font-weight: 600; font-family: var(--display); }
.guide-fold[open] summary { margin-bottom: .6rem; border-bottom: 1px solid var(--rule); padding-bottom: .6rem; }
.guide h3 { margin-top: 1.4rem; font-size: 1.05rem; }
.guide .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .guide .two-col { grid-template-columns: 1fr; } }
.guide .option { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: .8rem 1rem; }
.guide .option p { margin-bottom: .4rem; }
.guide ol, .guide ul { padding-left: 1.2rem; }
.guide li { margin-bottom: .45rem; }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card.submit .btn.big[disabled] { background: var(--rule); border-color: var(--rule); color: var(--muted); cursor: not-allowed; }
.hosted-box { background: var(--alt); border-radius: 8px; padding: .8rem 1rem; margin: .6rem 0 1rem; }
.hosted-box p { margin: .2rem 0; }
.card h3 { margin: 1rem 0 .2rem; font-size: 1rem; }
.apply input[type=file] { display: block; margin-top: .3rem; font-weight: 400; }
.thumb { display: block; margin-top: .5rem; }
.thumb img { max-height: 70px; max-width: 240px; display: block; border: 1px solid var(--rule); border-radius: 4px; padding: .3rem; background: #fff; }
.thumb .check { margin-top: .3rem; font-size: .88rem; }
.card .btn.ghost { margin-left: .5rem; }
