/* ==========================================================================
   MonetrixOS — marketing site styles
   Brand: deep forest green + Sheets green on a soft mint/white ground.
   ========================================================================== */

:root {
  /* Brand palette */
  --green-900: #0d3320;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #17924a;
  --green-500: #22a75a;
  --green-400: #4ec37f;
  --green-300: #86dba9;
  --green-100: #d6f2e1;
  --green-50:  #eefaf3;

  --ink:        #0f1f17;
  --ink-2:      #34493e;
  --muted:      #64786e;
  --line:       #dfeae4;
  --surface:    #ffffff;
  --ground:     #f6faf7;
  --ground-2:   #eef7f1;

  --danger:     #c0392b;
  --amber:      #b7791f;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 51, 32, .06), 0 1px 3px rgba(13, 51, 32, .05);
  --shadow:    0 4px 16px rgba(13, 51, 32, .07), 0 1px 3px rgba(13, 51, 32, .05);
  --shadow-lg: 0 18px 48px rgba(13, 51, 32, .12), 0 4px 12px rgba(13, 51, 32, .06);

  --maxw: 1160px;
  --gutter: 20px;
  --nav-h: 68px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .12em .4em;
  color: var(--green-800);
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-700);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- layout -- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--mint { background: var(--ground); }
.section--mint-2 { background: var(--ground-2); }
.section--dark {
  background: linear-gradient(160deg, var(--green-900), var(--green-800) 70%);
  color: #cfe8db;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .6rem;
}

.lead { font-size: 1.12rem; color: var(--ink-2); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* -------------------------------------------------------------- brand --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.03em;
  color: var(--green-900);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__os { color: var(--green-600); }

/* --------------------------------------------------------------- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.nav__links li { margin: 0; }
.nav__links a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink-2);
}
.nav__links a:hover { background: var(--green-50); color: var(--green-800); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }

.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .18s ease, top .18s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* -------------------------------------------------------------- button -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 146, 74, .28);
}
.btn--primary:hover { background: var(--green-700); }

.btn--ghost {
  background: #fff;
  color: var(--green-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--green-300); background: var(--green-50); }

.btn--light { background: #fff; color: var(--green-800); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }

.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -8%, var(--green-100), transparent 62%),
    linear-gradient(180deg, var(--green-50), #fff 72%);
  padding-block: clamp(48px, 7vw, 92px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--green-600); }
.hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 1.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }
.hero__note { font-size: .88rem; color: var(--muted); margin: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.2rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}

/* Mock spreadsheet app preview ------------------------------------------- */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfc;
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #dfe7e3; flex: none; }
.mock__title { font-size: .82rem; font-weight: 600; color: var(--muted); margin-left: 6px; }

.mock__body { padding: 14px; display: grid; gap: 12px; background: var(--ground); }
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.card-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.card-mini__label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.card-mini__value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.card-mini__delta { font-size: .8rem; font-weight: 700; color: var(--green-600); }
.card-mini__delta--down { color: var(--danger); }

.meter {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--green-100);
  overflow: hidden;
  margin-top: 10px;
}
.meter__fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
}

.ledger { display: grid; gap: 0; }
.ledger__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.ledger__item:last-child { border-bottom: 0; }
.ledger__name { font-weight: 600; color: var(--ink); }
.ledger__cat { font-size: .76rem; color: var(--muted); }
.ledger__amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.ledger__amt--in  { color: var(--green-600); }
.ledger__amt--out { color: var(--ink); }

.spark { width: 100%; height: 54px; }

/* -------------------------------------------------------- logos / trust - */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 56px);
  padding-block: 22px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
}
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__item svg { width: 17px; height: 17px; color: var(--green-600); }

/* -------------------------------------------------------------- cards --- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green-300);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: .96rem; }

.icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  margin-bottom: 14px;
}
.icon-badge svg { width: 21px; height: 21px; }

/* step list */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  counter-increment: step;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(23,146,74,.25);
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--muted); margin-bottom: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat__value {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--green-600);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.section--dark .stat__value { color: var(--green-300); }
.stat__label { font-size: .88rem; color: var(--muted); }
.section--dark .stat__label { color: #a9cdba; }

/* ------------------------------------------------------------- pricing -- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plans.plans--single { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

@media (min-width: 681px) {
  .plans.plans--single { max-width: 780px; }
  .plans--single .plan {
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 44px;
  }
  .plans--single .plan__info {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    padding-right: 40px;
  }
  .plans--single .plan__features {
    flex: 1 1 280px;
    margin: 0;
    padding-left: 40px;
    border-left: 1px solid var(--line);
    align-self: stretch;
  }
  .plans--single .plan .btn { margin-bottom: 0; }
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border: 2px solid var(--green-500);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan__tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-600);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan__name { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.plan__desc { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.plan__was { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.plan__was-price { font-size: 1.05rem; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-color: #c33; text-decoration-thickness: 1.5px; }
.plan__save { font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #17924a; background: #e7f5ec; padding: 3px 9px; border-radius: 999px; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.plan__amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1;
}
.plan__per { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan__billed { font-size: .82rem; color: var(--muted); margin-bottom: 20px; min-height: 20px; }
.plan .btn { margin-bottom: 20px; }
.plan__features { list-style: none; padding: 0; margin: 0 0 auto; font-size: .93rem; }
.plan__features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.plan__features svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--green-600); }
.plan__features li.is-off { color: var(--muted); }
.plan__features li.is-off svg { color: #c3d3ca; }

/* comparison table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
}
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .94rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--ground-2);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-800);
  font-weight: 800;
}
tbody tr:last-child td { border-bottom: 0; }
td.center, th.center { text-align: center; }
.tick  { color: var(--green-600); font-weight: 800; }
.cross { color: #c3d3ca; font-weight: 800; }

/* ----------------------------------------------------------------- faq -- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { background: var(--green-50); }
.faq__icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  border-radius: 50%;
  background: var(--green-50);
  border: 1px solid var(--green-100);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--green-700);
  border-radius: 2px;
  left: 50%; top: 50%;
}
.faq__icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); transition: transform .18s ease, opacity .18s ease; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq__a[data-open="true"] { padding: 0 20px 18px; }
.faq__a p:last-child, .faq__a ul:last-child { margin-bottom: 0; }
.faq__a p, .faq__a li { color: var(--muted); font-size: .96rem; }

.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.faq-cat {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.faq-cat[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ---------------------------------------------------------------- docs -- */
.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.docs-nav {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.docs-nav h4 {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin: 20px 0 8px;
}
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; padding: 0; margin: 0 0 6px; }
.docs-nav li { margin: 0; }
.docs-nav a {
  display: block;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: .92rem;
  color: var(--ink-2);
  border-left: 2px solid transparent;
}
.docs-nav a:hover { background: var(--green-50); text-decoration: none; }
.docs-nav a.is-active {
  color: var(--green-700);
  font-weight: 700;
  background: var(--green-50);
  border-left-color: var(--green-600);
}

.docs-body { min-width: 0; max-width: 780px; }
.docs-body h2 { margin-top: 2.4rem; padding-top: .4rem; }
.docs-body h2:first-child { margin-top: 0; }
.docs-body h3 { margin-top: 1.8rem; }
.docs-body p, .docs-body li { color: var(--ink-2); }

.callout {
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 18px;
  margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green-800); }
.callout--warn { border-left-color: var(--amber); background: #fdf7ec; }
.callout--warn strong { color: var(--amber); }

pre {
  background: var(--green-900);
  color: #d7f0e2;
  padding: 16px 18px;
  border-radius: var(--r);
  overflow-x: auto;
  font-size: .86rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
pre code { background: transparent; border: 0; color: inherit; padding: 0; font-size: inherit; }

.kbd {
  font-family: var(--mono);
  font-size: .8em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: .1em .45em;
  background: #fff;
  color: var(--ink);
}

/* ------------------------------------------------------------- contact -- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field .hint { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-500);
  outline: 2px solid var(--green-100);
  outline-offset: 0;
}
.field__error { display: none; color: var(--danger); font-size: .84rem; margin-top: 5px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox input { width: auto; margin-top: 3px; flex: none; }

.form-note { font-size: .84rem; color: var(--muted); }

.form-success {
  display: none;
  background: var(--green-50);
  border: 1px solid var(--green-300);
  border-radius: var(--r);
  padding: 18px 20px;
  color: var(--green-800);
  margin-bottom: 20px;
}
.form-success[data-show="true"] { display: block; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 19px; height: 19px; color: var(--green-600); flex: none; margin-top: 3px; }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list span { font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------- about ---- */
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.value-list li:last-child { margin-bottom: 0; }
.value-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.value-list p { margin: 0; color: var(--muted); font-size: .95rem; }

.timeline { border-left: 2px solid var(--green-100); padding-left: 26px; margin-left: 8px; }
.timeline__item { position: relative; padding-bottom: 28px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green-500);
}
.timeline__year { font-size: .8rem; font-weight: 800; color: var(--green-600); letter-spacing: .06em; }
.timeline h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }

.person { text-align: center; }
.person__avatar {
  width: 82px; height: 82px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(150deg, var(--green-400), var(--green-700));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  box-shadow: var(--shadow);
}
.person strong { display: block; color: var(--ink); }
.person span { font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------------- cta ---- */
.cta-band {
  background: linear-gradient(140deg, var(--green-800), var(--green-600));
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  color: #d9f0e4;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 54ch; margin-inline: auto; margin-bottom: 1.6rem; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------- footer -- */
.footer {
  background: var(--green-900);
  color: #a9cdba;
  padding-block: 56px 28px;
  font-size: .92rem;
}
.footer a { color: #cfe8db; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.footer .brand { color: #fff; }
.footer .brand__os { color: var(--green-400); }
.footer__about { max-width: 34ch; margin-top: 12px; color: #8fb9a4; }

/* Social row: 44px targets so they are comfortably tappable on a phone. */
.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.social li { margin: 0; }
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #cfe8db;
  transition: background .16s ease, color .16s ease, transform .12s ease;
}
.social a:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #fff;
  transform: translateY(-2px);
}
.social svg { width: 18px; height: 18px; }
.footer h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
  color: #8fb9a4;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------------------------------------- page header -- */
.page-head {
  background:
    radial-gradient(760px 340px at 88% -20%, var(--green-100), transparent 62%),
    linear-gradient(180deg, var(--green-50), #fff);
  padding-block: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-head p { max-width: 62ch; margin-inline: auto; color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* ------------------------------------------------------------ utilities - */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav {
    position: static;
    max-height: none;
    border-right: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    background: #fff;
  }
}

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  /* Drops below the bar, spanning .nav__inner (the positioning context).
     margin-left must be reset: the desktop rule sets it to auto, which would
     otherwise override the right offset and stretch the panel past the screen. */
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 0 18px;
    display: none;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1rem; }
  .nav__links .btn { margin-top: 8px; width: 100%; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .mock__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .section { padding-block: 48px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .card, .plan { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .nav, .footer, .cta-band, .btn { display: none !important; }
  body { color: #000; }
}