/* SmartC site styles: Ledger look. Colours are tokens; dark mode redefines them. */
/* The fonts are served from this site (website/fonts), not from Google, so a visit sends nothing to another company. Latin only.
   Space Grotesk (c) 2020 The Space Grotesk Project Authors and JetBrains Mono (c) 2020 The JetBrains Mono Project Authors, SIL Open Font License 1.1 (scripts.sil.org/OFL). */
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  --bg: #f5f4ef;
  --card: #ffffff;
  --ink: #0e1b14;
  --mute: #5c665f;
  --line: #dde1dc;
  --line-soft: #eef0ec;
  --green: #0e6d4f;
  --yellow: #f2b705;
  --on-green: #ffffff;
  --green-soft: #d9f0e2;
  --amber: #fde4d4;
  --amber-ink: #8a3a10;
  --bad: #a31b1b;
  --bar-fill: #0e6d4f;
  --accent-band: #0e6d4f;
  --band-ink: #ffffff;
  --band-mute: #d7ecdf;
  --band-btn: #ffffff;
  --band-btn-ink: #0e6d4f;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1210; --card: #151b17; --ink: #eef2ef; --mute: #9aa59d; --line: #26302a; --line-soft: #1c241f;
    --green: #4bd584; --on-green: #05210f; --green-soft: #123221; --amber: #3a2414; --amber-ink: #f3b58a; --bad: #ff9b9b;
    --bar-fill: #4bd584; --accent-band: #0f4a27; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1210; --card: #151b17; --ink: #eef2ef; --mute: #9aa59d; --line: #26302a; --line-soft: #1c241f;
  --green: #4bd584; --on-green: #05210f; --green-soft: #123221; --amber: #3a2414; --amber-ink: #f3b58a; --bad: #ff9b9b;
  --bar-fill: #4bd584; --accent-band: #0f4a27; color-scheme: dark;
}
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
:focus-visible { outline: 3px solid #5aa9ff; outline-offset: 2px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { text-wrap: balance; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.site { overflow-x: clip; }
.grid { display: grid; gap: 20px; }

/* header */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav ul a:hover { color: var(--green); }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 34px; height: 34px; display: block; }
.logo .wm { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.logo .wm em { font-style: normal; color: var(--green); }
.btn { display: inline-block; text-decoration: none; font: inherit; font-weight: 700; padding: 13px 22px; border-radius: 10px; border: 0; cursor: pointer; background: var(--green); color: var(--on-green); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:disabled { opacity: .6; cursor: default; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.lede { color: var(--mute); font-size: 19px; max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
h1 { font-size: clamp(44px, 8vw, 96px); line-height: .96; letter-spacing: -.045em; }
h1 em { font-style: normal; color: var(--green); display: block; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; line-height: 1.08; max-width: 22ch; }
h3 { font-size: 20px; }

/* hero */
.hero { grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 48px 72px; }
.hero h1 { margin-top: 14px; }
.hero .lede { margin-top: 22px; }
.hero .cta { margin-top: 28px; }

/* example dashboard */
.dash { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; }
.dash header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dash header span { color: var(--mute); font-family: var(--mono); font-size: 12px; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 480px; }
th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 12px 20px; border-bottom: 1px solid var(--line); }
td { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
td.num, th.num { text-align: right; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.pill.wait { background: var(--amber); color: var(--amber-ink); }
.dash footer { padding: 12px 20px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); background: var(--bg); }

/* sections */
.sec { padding-block: 72px; border-top: 1px solid var(--line); }
.sec h2 { margin-top: 10px; }
.sec .lede { margin-top: 16px; }

/* why owners choose it: each problem is drawn next to its answer */
.pairs { display: grid; gap: 56px; margin-top: 44px; }
.pair-title { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px; text-wrap: balance; }
.pair-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side { border-radius: 16px; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.side.pain { background: var(--card); border: 1px solid var(--line); --surf: var(--bg); }
.side.fix { background: var(--green-soft); border: 1px solid transparent; --surf: var(--card); }
.side .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.side.pain .tag { color: var(--amber-ink); }
.side.fix .tag { color: var(--green); }
.side p { font-size: 17px; line-height: 1.4; }
.side.pain p { color: var(--mute); }
.arrow { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; z-index: 1; border-radius: 50%; box-shadow: 0 0 0 5px var(--bg); }
.ill { display: block; width: 100%; height: auto; }
.ill text { font-family: var(--sans); }
.ill .b { font-weight: 700; }
.ill .dash { stroke-dasharray: 5 5; }
.ill .gear { stroke-width: 10; stroke-dasharray: 7.6 7.6; }
.f-surf { fill: var(--surf); } .f-line { fill: var(--line); } .f-amber { fill: var(--amber); } .f-green { fill: var(--green); }
.f-ink { fill: var(--ink); } .f-mute { fill: var(--mute); } .f-none { fill: none; }
.s-ink { stroke: var(--ink); stroke-width: 2; } .s-line { stroke: var(--line); stroke-width: 2; } .s-mute { stroke: var(--mute); stroke-width: 2; }
.s-amber { stroke: var(--amber-ink); stroke-width: 2; } .s-green { stroke: var(--green); stroke-width: 2.5; }
.s-on { stroke: var(--on-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.s-line.dash, .s-green, .s-mute { stroke-linecap: round; }
.ill .s-on { stroke-width: 5; }
.arrow .s-on { stroke-width: 2.2; }
.t { fill: var(--ink); } .t-mute { fill: var(--mute); } .t-amber { fill: var(--amber-ink); } .t-green { fill: var(--green); } .t-on { fill: var(--on-green); }

/* phone screens */
.phones { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 44px; }
.shot figcaption { margin-top: 16px; text-align: center; max-width: 290px; margin-inline: auto; }
.shot figcaption b { display: block; font-size: 17px; }
.shot figcaption span { color: var(--mute); font-size: 15px; }
.phone { position: relative; width: 100%; max-width: 290px; height: 430px; margin-inline: auto; background: var(--bg); border: 7px solid var(--ink); border-radius: 34px; overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 70px; height: 6px; margin-left: -35px; border-radius: 3px; background: var(--ink); opacity: .85; z-index: 2; }
.phone .app-bar { display: flex; justify-content: space-between; align-items: center; padding: 26px 14px 8px; font-size: 12px; font-weight: 700; }
.phone .app-bar span { color: var(--mute); font-weight: 500; }
.phone .app-h { padding: 0 14px 10px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.phone .rc { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 14px 8px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.phone .rc small { display: block; color: var(--mute); font-size: 11px; }
.phone .rc b { white-space: nowrap; }
.phone .p-btn { margin: 12px 14px 0; background: var(--green); color: var(--on-green); border-radius: 10px; padding: 11px; text-align: center; font-weight: 700; font-size: 14px; }
.phone .big { padding: 6px 14px 0; font-size: 40px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.phone .big small { font-size: 12px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.phone .chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 0; }
.phone .chips span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-variant-numeric: tabular-nums; background: var(--card); }
.phone .chips span.on { background: var(--green); border-color: var(--green); color: var(--on-green); }
.phone .note { padding: 10px 14px 0; font-size: 12px; color: var(--mute); }
.phone .mini { padding: 4px 14px 0; }
.chart { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; }
.chart .y { display: flex; flex-direction: column-reverse; justify-content: space-between; height: 160px; font-family: var(--mono); font-size: 10px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.chart .plot { height: 160px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; background: repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px 40px); border-bottom: 1px solid var(--line); }
.chart .plot i { display: block; background: var(--bar-fill); border-radius: 3px 3px 0 0; min-height: 2px; }
.chart .plot i:nth-child(1) { height: 22.5%; } .chart .plot i:nth-child(2) { height: 26.25%; } .chart .plot i:nth-child(3) { height: 30%; }
.chart .plot i:nth-child(4) { height: 40%; } .chart .plot i:nth-child(5) { height: 76.25%; } .chart .plot i:nth-child(6) { height: 97.5%; } .chart .plot i:nth-child(7) { height: 67.5%; }
.chart .x { grid-column: 2; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: var(--mute); text-align: center; }
.tog { flex: none; width: 36px; height: 21px; border-radius: 999px; background: var(--line); position: relative; }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; }
.tog.on { background: var(--green); }
.tog.on::after { left: 17px; }

/* contact section: the green band at the bottom of the page */
.band { background: var(--accent-band); color: var(--band-ink); padding-block: 72px; }
.band h2, .band h3 { max-width: none; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.pitch .eyebrow { color: var(--band-mute); }
.pitch h1, .pitch h2 { margin-top: 12px; color: #fff; }
.pitch h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; line-height: 1.08; max-width: none; }
.pitch .lede { margin-top: 18px; color: var(--band-mute); }
.aside-block { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.aside-block h3 { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--band-mute); }
.aside-block ul { margin-top: 14px; display: grid; gap: 12px; }
.aside-block li { display: flex; gap: 12px; }
.aside-block li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: #fff; }
.aside-block .wa-text { margin-top: 12px; color: var(--band-mute); }
.btn.wa { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; background: var(--band-btn); color: var(--band-btn-ink); }
.btn.wa[aria-disabled="true"] { background: rgba(255,255,255,.18); color: var(--band-mute); cursor: not-allowed; }
.wa-missing { margin-top: 8px; font-size: 13px; color: var(--band-mute); }
.wa-missing:empty { display: none; }
.formcard { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.formcard h3 { font-size: 22px; letter-spacing: -.01em; }
.req-note { margin-top: 6px; font-size: 14px; color: var(--mute); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 22px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--mute); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: .7; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #5aa9ff; outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.send-error { margin-top: 16px; font-size: 14px; color: var(--bad); }
.send-error:empty { display: none; }
.err { margin-top: 4px; font-size: 13px; color: var(--bad); }
.err:empty { display: none; }
.formcard .btn { background: var(--green); color: var(--on-green); }
.formcard .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.submit-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.submit-row p { font-size: 13px; color: var(--mute); max-width: 40ch; }
.done h3 { font-size: 30px; }
.done h3:focus { outline: none; }
.done p { margin-top: 12px; color: var(--mute); }
.done .preview { margin-top: 16px; font-family: var(--mono); font-size: 12px; background: var(--amber); color: var(--amber-ink); display: inline-block; padding: 4px 10px; border-radius: 6px; }
.done .btn { margin-top: 24px; }
.foot { padding-block: 28px; font-size: 14px; color: var(--mute); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.foot ul.guides { flex-basis: 100%; }

/* Phone and email in the contact band: plain tappable links, no bullet dots. */
.aside-block .direct li::before { display: none; }
.aside-block .direct a { color: #fff; font-size: 18px; text-underline-offset: 3px; }

/* Guide pages: one readable column of plain text. */
.guide { padding-block: 56px 72px; }
.guide .crumbs { font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.guide .crumbs a { color: var(--green); text-underline-offset: 3px; }
.guide h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1; max-width: 18ch; }
.guide .answer { margin-top: 24px; font-size: 20px; line-height: 1.5; max-width: 62ch; }
.guide .body { margin-top: 40px; max-width: 70ch; }
.guide h2 { margin-top: 44px; font-size: clamp(24px, 3vw, 32px); max-width: none; }
.guide .body p, .guide .body ul, .guide .body ol { margin-top: 14px; }
.guide .body ul, .guide .body ol { padding-left: 1.2em; }
.guide .body ul { list-style: disc; }
.guide .body ol { list-style: decimal; }
.guide .body li { margin-top: 8px; }
.guide .body a { color: var(--green); text-underline-offset: 3px; }
.guide .faqs h3 { margin-top: 28px; font-size: 19px; }
.guide .faqs p { margin-top: 8px; }
.guide .more { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.guide .more ul { margin-top: 12px; display: grid; gap: 8px; }
.guide .more a { color: var(--green); text-underline-offset: 3px; }
.guide .cta { margin-top: 36px; }

@media (max-width: 960px) {
  .phones { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .nav ul { order: 3; width: 100%; gap: 6px 18px; }
  .phones { grid-template-columns: 1fr; }
  .pair-grid { grid-template-columns: 1fr; }
  .arrow { display: none; }
  .fields { grid-template-columns: 1fr; }
  .formcard { padding: 20px; }
}
