/* Bellivor public site. All styles and icons are served locally. */
:root {
  color-scheme: light;
  --ink: #172d28;
  --body: #344e46;
  --muted: #4c665c;
  --green: #125c47;
  --deep: #113c30;
  --paper: #f6faf7;
  --line: #dbe7df;
  --mint: #e2f2e8;
  --white: #fff;
  --frame: min(100% - 3rem, 72rem);
  font: 100%/1.62 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--body); background: var(--white); }
a { color: var(--green); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--deep); }
a:focus-visible { outline: 3px solid #0c7c5d; outline-offset: 4px; }
p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 680; line-height: 1.14; letter-spacing: -.035em; }
h1 { max-width: 14ch; font-size: clamp(2.7rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.25rem; }
.wrap { width: var(--frame); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset: .75rem auto auto .75rem; transform: translateY(-190%); background: white; padding: .6rem 1rem; }
.skip:focus { transform: none; }
.preview-notice { margin: 0; padding: .52rem 1rem; background: #fff0d9; color: #613811; text-align: center; font-weight: 620; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead .wrap, .footer-head { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.masthead .wrap { min-height: 5rem; }
.brand { display: inline-flex; gap: .62rem; align-items: center; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.24rem; letter-spacing: -.05em; white-space: nowrap; }
.brand img { width: 1.9rem; height: 1.9rem; }
.brand small { font-size: .83rem; font-weight: 650; letter-spacing: 0; color: var(--muted); }
.nav { display: flex; gap: clamp(.9rem, 2.4vw, 1.7rem); align-items: center; flex-wrap: wrap; }
.nav a { font-size: .95rem; color: var(--body); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--green); text-decoration: underline; }
.nav .nav-login { padding: .42rem .85rem; border: 1px solid #bdcec4; border-radius: .55rem; }
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(0, 1.04fr); gap: clamp(2rem, 5vw, 5.4rem); padding-block: clamp(3.25rem, 7vw, 6rem); align-items: center; }
.hero p, .intro p { font-size: clamp(1.02rem, 2vw, 1.2rem); margin-top: 1.22rem; max-width: 52ch; }
.eyebrow { display: block; color: var(--green); font-size: .88rem; font-weight: 720; letter-spacing: .045em; margin-bottom: .9rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .55rem 1.1rem; border: 1px solid var(--green); border-radius: .55rem; background: var(--green); color: var(--white); text-decoration: none; font-weight: 660; }
.button:hover { background: var(--deep); color: var(--white); }
.button.subtle { background: white; color: var(--green); border-color: #bdcec4; }
.button.subtle:hover { background: var(--mint); }
.dashboard { position: relative; isolation: isolate; border-radius: 1.1rem; background: #deebe4; padding: clamp(.55rem, 2vw, 1rem); box-shadow: 0 1.2rem 3.5rem #25453817; }
.panel { overflow: hidden; border: 1px solid #d2e1d6; border-radius: .78rem; background: white; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .88rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; font-weight: 660; }
.panel-head span { font-size: .82rem; font-weight: 500; color: var(--muted); }
.panel-body { padding: 1rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.metrics div { padding: .58rem .62rem; border-radius: .48rem; background: var(--paper); border: 1px solid var(--line); }
.metrics dt { font-size: .82rem; line-height: 1.2; }
.metrics dd { margin-top: .22rem; color: var(--ink); font-size: clamp(1.13rem, 2.55vw, 1.65rem); font-weight: 720; letter-spacing: -.05em; white-space: nowrap; }
.panel table { border-collapse: collapse; width: 100%; text-align: left; margin-top: .85rem; color: var(--body); font-size: .86rem; }
.panel th, .panel td { border-bottom: 1px solid var(--line); padding: .6rem .25rem; }
.panel th:last-child, .panel td:last-child { text-align: right; }
.panel td:first-child { font-weight: 620; }
.level { display: inline-block; padding: .14rem .48rem; border-radius: .32rem; background: var(--mint); color: var(--deep); font-size: .78rem; white-space: nowrap; }
.level.warn { background: #fff0d9; color: #713f11; }
.dashboard figcaption { margin: .5rem .3rem 0; font-size: .84rem; color: #385e4e; }
.section { padding-block: clamp(3.3rem, 7vw, 6rem); }
.section-lead { max-width: 65ch; margin-top: .8rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; margin-top: 1.55rem; }
.feature { padding: clamp(1.1rem, 2.7vw, 1.9rem); background: white; }
.feature p { margin-top: .55rem; }
.feature .feature-tag { font-size: .86rem; color: var(--green); font-weight: 680; margin-bottom: .58rem; }
.workflow { background: var(--paper); border-block: 1px solid var(--line); }
.workflow-list { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; list-style: none; padding: 0; }
.workflow-list li { padding-block: .8rem; border-top: 2px solid #6aa78a; }
.workflow-list p { margin-top: .47rem; }
.contact-block { padding: clamp(1.15rem, 4vw, 3rem); border-radius: 1rem; background: var(--deep); color: #effaf3; }
.contact-block h2, .contact-block a { color: #fff; }
.contact-block p { margin-top: .63rem; }
.contact-block .button { background: #d9f0e2; color: var(--deep); border-color: #d9f0e2; }
.contact-block .button:hover { background: #fff; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: 2.05rem; }
.site-footer .legal { margin-top: 1rem; font-size: .91rem; color: var(--muted); }
.intro { padding-block: clamp(2.5rem, 7vw, 5rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.intro h1 { font-size: clamp(2.45rem, 6vw, 4.25rem); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.25rem); }
.plan { border-radius: .85rem; border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem); background: var(--paper); }
.plan h2 { font-size: 1.11rem; letter-spacing: -.012em; }
.plan-price { margin-top: .65rem; color: var(--green); font-weight: 720; font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.3; letter-spacing: -.04em; }
.plan-unit { display: block; color: var(--muted); font-size: .95rem; font-weight: 550; letter-spacing: normal; }
.pricing-terms { margin-top: 1.4rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .85rem; }
.pricing-terms h2 { font-size: 1.3rem; }
.pricing-terms p { margin-top: .5rem; max-width: 68ch; }
.pricing-contact { margin-top: clamp(2.4rem, 5vw, 4rem); }
.prose { max-width: 51rem; }
.prose p, .prose ul { margin-top: .75rem; }
.prose h2 { margin-top: 2.1rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-block: .3rem; }
.prose .policy-meta { margin-top: 0; color: var(--muted); }
.prose a[href^="mailto:"], .contact-block a[href^="mailto:"] { overflow-wrap: anywhere; }

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .dashboard { max-width: 38rem; }
}
@media (max-width: 37rem) {
  :root { --frame: min(100% - 1.75rem, 72rem); }
  .masthead .wrap, .footer-head { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .masthead .wrap { padding-block: .9rem; }
  .nav { column-gap: .95rem; row-gap: .5rem; }
  .feature-grid, .workflow-list, .pricing-grid { grid-template-columns: 1fr; }
  .panel-body { padding: .62rem; }
  .panel-head { padding: .65rem; }
  .metrics { gap: .34rem; }
  .metrics div { padding: .43rem; }
  .panel th, .panel td { padding-inline: .14rem; }
}
