:root {
  --navy: #12263F;
  --ink: #1d3047;
  --muted: #5B6B7C;
  --teal: #0E9F8E;
  --teal-dark: #0B6E8A;
  --teal-soft: #E3F6F3;
  --cream: #FFFAF3;
  --line: #E8DFD2;
  --white: #FFFFFF;
  --amber: #B86E00;
  --amber-soft: #FFF1DB;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18, 38, 63, .06), 0 8px 28px rgba(18, 38, 63, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.narrow-text { max-width: 680px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .6em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.preview-bar { background: var(--navy); color: #fff; text-align: center; font-size: .85rem; padding: 6px 16px; }

/* Header */
.site-header { background: rgba(255, 250, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.wordmark { font-size: 1.45rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.wordmark span { color: var(--teal); }

.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.menu-button { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; border-radius: 10px; }
.menu-button span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.menu-toggle:focus-visible + .menu-button { outline: 2px solid var(--teal); }
.nav-list { list-style: none; margin: 0; padding: 0; display: none; }
.menu-toggle:checked ~ .nav-list {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
}
.nav-list a { display: block; padding: 10px 8px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.nav-list a[aria-current="page"] { color: var(--teal-dark); }
.nav-list .btn { color: #fff; text-align: center; margin-top: 4px; }

@media (min-width: 860px) {
  .menu-button { display: none; }
  .nav-list, .menu-toggle:checked ~ .nav-list { display: flex; flex-direction: row; align-items: center; gap: 4px; position: static; padding: 0; border: 0; background: none; }
  .nav-list a { padding: 8px 12px; }
  .nav-list .btn { margin: 0 0 0 8px; padding: 9px 16px; }
  .nav-signin { margin-left: 12px; }
}

/* Buttons */
.btn {
  display: inline-block; background: linear-gradient(135deg, #14B8A6, var(--teal-dark)); color: #fff;
  font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 12px; border: 0;
  font-size: 1rem; cursor: pointer; box-shadow: 0 6px 18px rgba(11, 110, 138, .25); font-family: inherit;
}
.btn:hover { color: #fff; filter: brightness(1.06); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { color: var(--navy); box-shadow: inset 0 0 0 2px var(--teal); }
.btn-light { background: #fff; color: var(--teal-dark); box-shadow: none; }
.btn-light:hover { color: var(--teal-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.center-actions { justify-content: center; }

/* Sections */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 88px; } .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.page-head { padding: 48px 0 24px; }
@media (min-width: 900px) { .page-head { padding: 72px 0 32px; } }
.band { padding: 48px 0; }
@media (min-width: 900px) { .band { padding: 72px 0; } }
.band-soft { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-accent { background: linear-gradient(135deg, var(--teal-dark), var(--navy)); color: #fff; }
.band-accent h2, .band-accent .eyebrow { color: #fff; }
.band-accent .eyebrow { opacity: .8; }

.founding { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.founding p { max-width: 620px; margin-bottom: 0; }
@media (min-width: 860px) { .founding { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Hero mock */
.mock { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 18px; border: 1px solid var(--line); }
.mock-head { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #F1EBE1; font-size: .95rem; }
.mock-row b { font-weight: 600; color: var(--navy); }
.mock-row strong { grid-column: 2; grid-row: 1 / span 2; font-variant-numeric: tabular-nums; }
.mock-row em { font-style: normal; justify-self: start; }
.mock-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; font-size: .95rem; }
.pill { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #F1EBE1; color: var(--muted); }
.pill-green { background: var(--teal-soft); color: var(--teal-dark); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }

/* Cards */
.cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-2 { margin-top: 0; }
@media (min-width: 1000px) { .cards-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band-soft .card { background: var(--cream); }
.card p { color: var(--muted); margin: 0; }
.card h2 { font-size: 1.2rem; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--teal); transform: translateY(-2px); color: inherit; }
.card-link .more { margin-top: 14px; color: var(--teal-dark); font-weight: 700; font-size: .95rem; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }
.icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.big { width: 56px; height: 56px; flex: none; }
.icon.big svg { width: 30px; height: 30px; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B6E8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Features */
.feature-list { display: grid; gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { color: var(--muted); }
@media (min-width: 760px) { .feature { flex-direction: row; gap: 28px; padding: 32px; } .feature-list { grid-template-columns: 1fr 1fr; } }

/* Pricing */
.price-grid { display: grid; gap: 20px; max-width: 420px; margin: 0 auto; }
.packages { display: grid; gap: 20px; margin: 28px auto 20px; max-width: 1000px; }
@media (min-width: 700px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .packages { grid-template-columns: repeat(4, 1fr); max-width: 1140px; } }
.packages .price-card h2 { font-size: 1.8rem; }
.packages .ticks { margin-bottom: 18px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; }
.price-card h2 { font-size: 2.6rem; margin-bottom: 0; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.price-note { color: var(--muted); margin-bottom: 20px; }

/* FAQ */
.faq { margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.band-soft .faq details { background: var(--cream); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

/* Prose + articles */
.prose h2, .article h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul, .article ul, .article ol { padding-left: 1.3em; }
.prose li, .article li { margin-bottom: .4em; }
.prose .ticks, .article .ticks { padding-left: 0; }
.article { max-width: 760px; padding-top: 36px; padding-bottom: 64px; }
.article h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.meta { font-size: .9rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--teal-soft); color: var(--navy); }
tr:last-child td { border-bottom: 0; }
.note { margin: 28px 0; padding: 16px 18px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 12px 12px 0; color: var(--muted); font-size: .95rem; }
.cta-box { margin-top: 36px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, var(--teal-dark), var(--navy)); color: #fff; }
.cta-box h2 { color: #fff; margin-top: 0; }
.cta-box .btn { background: #fff; color: var(--teal-dark); box-shadow: none; }

/* Waitlist form */
.waitlist-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); max-width: 560px; }
@media (min-width: 640px) { .waitlist-form { padding: 32px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field.check { display: flex; gap: 12px; align-items: flex-start; }
.field.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--teal-dark); }
.field.check label { font-weight: 400; color: var(--ink); margin: 0; }
.waitlist-form .btn { width: 100%; }
.form-note { font-size: .85rem; margin: 16px 0 0; }
.form-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.form-msg.error { background: #FDEBE8; color: #B3321F; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D4E0; padding: 48px 0 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #5EEAD4; }
.site-footer .muted { color: #9FB0C2; }
.brand-footer .wordmark { color: #fff; }
.brand-footer .wordmark span { color: #5EEAD4; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: .9rem; }

.helpers { max-width: 760px; margin: 0 auto 14px; }
.table-wrap { overflow-x: auto; margin: 24px 0 16px; }
.levels-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-width: 560px; }
.levels-table th, .levels-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: top; }
.levels-table tbody tr:last-child th, .levels-table tbody tr:last-child td { border-bottom: 0; }
.levels-table thead th { background: var(--teal-soft); color: var(--navy); font-size: 1.05rem; }
.levels-table thead small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.levels-table tbody th { text-align: left; color: var(--navy); }
.levels-table .lv-default { font-weight: 700; color: var(--teal-dark); }
.levels-table .lv-none { color: var(--muted); }
.levels-table td strong { display: block; font-size: 1.2rem; color: var(--navy); }
.levels-table td small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.levels-table tbody th { white-space: nowrap; }
.field select { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); }
.field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.price-card .tag { margin-bottom: 14px; }

.teams-strip { margin: 2rem auto 0; max-width: 640px; text-align: center; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.teams-strip a { font-weight: 600; }

.card-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
.card-link:hover { border-color: var(--teal); }
.card-link .tag { margin-top: 14px; display: inline-block; }

.sample-invoice { display: block; max-width: 520px; width: 100%; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(18,38,63,.10); background: #fff; }
.sample-invoice img { display: block; width: 100%; height: auto; }
