/* Serif/stone layer. Loaded after Betong so the published pages use the same system as the homepage.
   Marist and Diatype are not on the site; Newsreader and Inter stand in. */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/editorial/newsreader.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/editorial/newsreader-italic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/editorial/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #06141b;
  --paper: #11212d;
  --fog: #253745;
  --stone: #253745;
  --line: #4a5c6a;
  --rule: 1px solid #4a5c6a;
  --ink: #ccd0cf;
  --muted: #9ba8ab;
  --spruce: #9ba8ab;
  --spruce-deep: #4a5c6a;
  --mint: #ccd0cf;
  --light: #ccd0cf;
  --serif: "Marist", "Tiempos Headline", "Newsreader", "GT Sectra", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Diatype", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --focus: #ccd0cf;
}

html { color-scheme: dark; }

body {
  background: #06141b;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis: none;
}

.syne, .page-hero h1, .page-hero h1.syne, .sec-head h2, .choice-body h2, .offer-card h3, .step h3, .stack-block h2, .stack-block h3,
.prose h1, .prose h2, .site-name, .oa-terms-group h3, .oa-flow h3, .bransch-body h3, .team-card h3, .final-panel h2, .work h2,
.about-facts h2, .oa-gains-row h3, .amt-line, .offer-card .amt, .oa-facts dd, .price-box .amt, .brand span, h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: normal;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.page-hero h1, .page-hero h1.syne {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  max-width: 16ch;
}
.sec-head h2, .work h2, .final-panel h2, .prose h1, .prose h2 {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.offer-card h3, .step h3, .oa-gains-row h3, .steps-3 h3, .promise-grid h3, .trust-grid h3, .faq-grid h3 {
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.lead, .offer-card .for, .step p, .faq-acc p, .prose p, .choice-body p, .oa-gains-row p { font-weight: 400; color: var(--muted); }
strong, b { font-weight: 500; }

.eyebrow, .offer-card .tag, .price-box .tag, .choice-kicker, .site-eyebrow, .bk-step-label, .oa-facts dt, .oa-terms-group dt, .bransch-kicker,
.team-card .role, .ps-compare-head, .oa-label, .logo-row .lbl, .about-facts dt, .t-num, .status-row, footer .legal, .bk-day .d, .site-frame em,
.e-mono {
  font-family: var(--sans);
  letter-spacing: -0.011em;
  text-transform: none;
  font-weight: 500;
  font-size: 0.78rem;
  color: #9ba8ab;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  display: flex;
  align-items: center;
  background: #06141b;
  border-bottom: 1px solid transparent;
  padding-inline: 24px;
}
.nav-bar.is-scrolled { border-bottom-color: #4a5c6a; }
.nav-bar .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-bar .brand svg, footer .brand svg { width: 28px; height: 28px; }
.brand span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-transform: none;
}
.nav-bar .nav-desk { align-items: center; gap: 28px; margin-left: auto; }
.nav-bar .nav-desk a {
  color: #9ba8ab;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
}
.nav-bar .nav-desk a:hover { color: var(--ink); }
.nav-bar .nav-cta, .nav-bar .nav-desk a.nav-cta, .nav-desk a.nav-cta {
  background: #ccd0cf;
  color: #06141b;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
}
.nav-bar .nav-cta:hover, .nav-bar .nav-desk a.nav-cta:hover { background: #9ba8ab; color: #06141b; }
.nav-bar .burger { margin-left: auto; background: none; border: 0; color: var(--ink); }

.drawer { background: #11212d; color: var(--ink); }
.drawer nav a { border-bottom: 1px solid #4a5c6a; color: var(--ink); font-family: var(--sans); }
.drawer nav a:hover { color: #ccd0cf; }
.progress { background: #ccd0cf; height: 2px; }

.btn, .btn-ink, .btn-line, .site-cta, .btn-ghost-light, .bk-back, .bransch-cta {
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.011em;
}
.btn-ink { background: #ccd0cf; color: #06141b; border: 0; }
.btn-ink:hover { background: #9ba8ab; color: #06141b; }
.btn { background: #ccd0cf; color: #06141b; border: 0; }
.btn:hover { background: #9ba8ab; color: #06141b; }
.btn-line { border: 1px solid #4a5c6a; background: transparent; color: #ccd0cf; }
.btn-line:hover { background: #253745; color: #ccd0cf; border-color: #9ba8ab; }
.offer-card.featured .btn-line { background: transparent; color: #ccd0cf; border-color: #9ba8ab; }
.more { color: var(--ink); text-decoration-thickness: 1px; }

.page-hero { background: #06141b; border-bottom: 1px solid #4a5c6a; }
.oa-facts > div, .offer-card, .oa-gains, .oa-terms-group, .oa-flow > div, .bransch-card, .site, .choice, .team-card, .about-facts, .bk-form-wrap,
.ps-compare, .bransch-next, .track, .case-card, .price-box, .chat {
  border: 1px solid #4a5c6a;
  border-radius: 12px;
  box-shadow: none;
  background: #11212d;
}
.offer-card.featured { background: #253745; color: #ccd0cf; border-color: #4a5c6a; }
.offer-card .amt { font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em; }
.offer-card .amt small, .oa-facts dd small { font-family: var(--sans); font-weight: 400; color: var(--muted); }
.offer-card ul li::before, .check-list li::before { content: ""; }
.oa-facts dd { font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em; }
.site-img img, .choice-img img, .t-img img, .e-demo img { filter: none; }
.site:hover .site-img img, .choice:hover .choice-img img, .track:hover .t-img img { filter: none; transform: none; }
.team-card img { border-radius: 12px; border: 1px solid #4a5c6a; }

.faq-acc details, .step, .ps-compare-row, .oa-gains-row + .oa-gains-row { border-color: #4a5c6a; border-width: 1px; }
.faq-acc { border-top: 1px solid #4a5c6a; }
.faq-acc summary { font-family: var(--sans); font-weight: 500; }
.steps-3 > div, .promise-grid { border-color: #4a5c6a; }
.final-panel { background: #06141b; color: #ccd0cf; border: 1px solid #4a5c6a; border-radius: 12px; }
.final-panel p { color: #9ba8ab; }
.final-panel .btn, .final-panel .btn-ink { background: #ccd0cf; color: #06141b; }
footer { border-top: 1px solid #4a5c6a; background: #06141b; color: #ccd0cf; }
footer .legal { border-top: 1px solid #4a5c6a; color: #9ba8ab; }
.work, .section + .section { border-color: #4a5c6a; }

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select {
  border: 1px solid #4a5c6a;
  border-radius: 10px;
  background: #06141b;
  color: #ccd0cf;
  font-family: var(--sans);
}
input:not([type="checkbox"]):not([type="radio"]):focus, textarea:focus, select:focus {
  border-color: #ccd0cf;
  box-shadow: 0 0 0 3px rgba(204, 208, 207, 0.2);
  outline: none;
}
label { font-family: var(--sans); letter-spacing: -0.011em; text-transform: none; color: #9ba8ab; }
.bk-day, .bk-slot { border: 1px solid #4a5c6a; border-radius: 999px; background: #11212d; color: #ccd0cf; font-family: var(--sans); font-weight: 500; }
.bk-day.is-on { background: #ccd0cf; color: #06141b; border-color: #ccd0cf; }
.bk-day.is-on .d { color: #253745; }
.bk-slot:hover, .bk-slot.is-on { background: #ccd0cf; color: #06141b; border-color: #ccd0cf; }

:focus-visible { outline: 2px solid #ccd0cf; outline-offset: 3px; }

.prose h1, .prose h2 { font-weight: 400; }
.prose a { text-decoration-thickness: 1px; }

@media (max-width: 979px) {
  .nav-bar { height: 64px; }
  .nav-bar .burger { margin-left: auto; }
}

/* Palette passes that have to beat Betong's hardcoded ink and later page styles. */

.offer-card ul,
.offer-card .amt small,
.check-list li,
.bk-note,
.oa-facts dd small,
.oa-terms-group dd,
.oa-numbered li,
.e-faq p,
.rb-note,
.rb-cmp caption,
.rb-cmp td,
.ps-hero-price,
.ps-hero-ex,
.bransch-tagnote,
.bransch-note,
.site-desc,
.promise-grid p,
.trust-grid p {
  color: #9ba8ab;
}
.rb-cmp td:first-child { color: #ccd0cf; }
.offer-card.featured,
.offer-card.featured .for,
.offer-card.featured ul,
.offer-card.featured .amt,
.offer-card.featured .amt small,
.offer-card.featured .tag {
  color: #ccd0cf;
  opacity: 1;
}
.rb-cmp tbody tr:last-child,
.rb-cmp tbody tr:last-child td { background: #253745; color: #ccd0cf; }
.section, .work, footer, .page-hero, main { color: #ccd0cf; }
a { color: inherit; }

.section .panel,
.prose .panel,
.guide-link,
.guide-tile,
.about-facts,
.chip,
.faq details,
.demo-chat,
.demo-chat #demo-chips,
.demo-chat .row,
.demo-bubble.bot {
  background: #11212d !important;
  color: #ccd0cf;
  border-color: #4a5c6a;
}
.step-num,
.demo-chat .head,
.demo-bubble.user,
.chip-ink,
.bk-done .mark {
  background: #ccd0cf !important;
  color: #06141b !important;
  border-color: #ccd0cf;
}
.chip-btn { background: #253745 !important; color: #ccd0cf !important; }
.prose code { background: #253745; color: #ccd0cf; }
.ink-form label { color: #9ba8ab !important; }
.ink-form input,
.ink-form textarea {
  background: #06141b !important;
  border-color: #4a5c6a !important;
  color: #ccd0cf !important;
}

#oa-cookie,
.oa-cookie-fixed {
  background: #11212d !important;
  color: #ccd0cf !important;
  border-color: #4a5c6a !important;
}
#oa-cookie a,
.oa-cookie-fixed a { color: #ccd0cf !important; }
#oa-cookie {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  z-index: 1 !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
}
#oa-cookie .ok,
#oa-cookie button,
.oa-cookie-fixed .ok,
.oa-cookie-fixed button {
  background: #ccd0cf !important;
  color: #06141b !important;
}
#oa-cookie .no,
.oa-cookie-fixed .no {
  background: transparent !important;
  color: #9ba8ab !important;
  border: 1px solid #4a5c6a !important;
}

/* The monthly-fee note is locked markup: background:var(--ink) with light text.
   --ink is now the type colour, so the block is painted back to the darkest ground. */
.offer-note[style*="background:var(--ink)"] {
  background: #06141b !important;
  color: #ccd0cf !important;
  border: 1px solid #4a5c6a !important;
}
.offer-note[style*="background:var(--ink)"] p,
.offer-note[style*="background:var(--ink)"] strong { color: #ccd0cf !important; }
.offer-note[style*="background:var(--ink)"] > p:first-child { color: #9ba8ab !important; }
.offer-note { color: #ccd0cf; }

a.btn,
a.btn-ink,
a.nav-cta,
.about-facts a.btn,
.about-facts a.btn-ink,
.final-panel a.btn,
.final-panel a.btn-ink {
  color: #06141b;
}
a.btn[style*="background:transparent"],
a.btn[style*="background: transparent"] {
  color: #ccd0cf;
  border-color: #4a5c6a;
}
a.btn-line,
.about-facts a.btn-line,
.final-panel a.btn-line {
  color: #ccd0cf;
}
a.btn:hover,
a.btn-ink:hover,
a.nav-cta:hover {
  color: #06141b;
}
.site-img, .choice-img, .t-img, .bransch-collage, .bransch-collage img { background: #253745; }
