/* Condo Caddie design system */

:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-2: #f9fbfa;
  --ink: #0f1f1b;
  --ink-2: #3a4844;
  --muted: #6a7773;
  --line: #e3e9e6;
  --line-2: #d3dcd8;

  --brand: #0e6b5a;
  --brand-600: #0b5a4b;
  --brand-700: #094a3e;
  --brand-900: #062f28;
  --brand-50: #ebf5f1;
  --brand-100: #d5ebe3;
  --accent: #f5b841;
  --accent-soft: #fff4dc;

  --good: #15803d;
  --good-soft: #e6f6ec;
  --bad: #c2362b;
  --bad-soft: #fdecea;
  --warn: #9a6200;
  --warn-soft: #fff4dc;
  --info: #0e6b5a;
  --info-soft: #ebf5f1;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 27, 0.05);
  --shadow: 0 1px 2px rgba(15, 31, 27, 0.04), 0 4px 16px rgba(15, 31, 27, 0.05);
  --shadow-lg: 0 12px 40px rgba(15, 31, 27, 0.12);
  --ring: 0 0 0 3px rgba(14, 107, 90, 0.18);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-700); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: 28px; font-weight: 750; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 650; }
p { margin: 0 0 12px; }
::selection { background: var(--brand-100); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 440px; margin: 0 auto; padding: 48px 16px; }
.medium { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }

/* ---------- logo ---------- */

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.logo img { width: 32px; height: 32px; display: block; }
.logo b { font-weight: 800; }
.logo span { font-weight: 500; color: var(--brand); margin-left: -5px; }
.logo:hover { color: var(--ink); }
.logo.light { color: #fff; }
.logo.light span { color: #9fe0cc; }

/* ---------- public site header ---------- */

.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.site-head nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-head nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.site-head nav a:not(.btn):hover { background: var(--brand-50); color: var(--brand-700); }

/* ---------- app shell (dashboard) ---------- */

.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--brand-900); background-image: linear-gradient(180deg, #08392f 0%, #062a23 100%); color: #cfe3dc; display: flex; flex-direction: column; padding: 20px 14px; }
.sidebar .logo { padding: 2px 8px 18px; }
.sidebar select { width: 100%; background: rgba(255, 255, 255, 0.07); color: #fff; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; margin-bottom: 14px; }
.sidebar select option { color: var(--ink); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button, .nav a { display: flex; align-items: center; gap: 11px; width: 100%; background: none; border: 0; color: #b9d2ca; font: inherit; font-size: 14px; font-weight: 500; padding: 9px 10px; border-radius: 9px; cursor: pointer; text-align: left; text-decoration: none; white-space: nowrap; }
.nav button:hover, .nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav button.active { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 2px 0 0 var(--accent); }
.nav svg { width: 18px; height: 18px; flex: none; opacity: 0.9; }
.nav .count { margin-left: auto; background: var(--accent); color: #3b2a00; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.sidebar-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sidebar-foot .who { font-size: 13px; color: #8fb3a8; padding: 6px 10px 2px; overflow: hidden; text-overflow: ellipsis; }
.main { min-width: 0; padding: 28px 36px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0; }
.page-head .eyebrow { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.chip svg { width: 14px; height: 14px; color: var(--brand); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 620px; }

/* ---------- cards and layout ---------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card.flat { box-shadow: none; }
.card.tight { padding: 16px 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; min-width: 160px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.right { text-align: right; }
.hidden { display: none !important; }
.pre { white-space: pre-wrap; word-wrap: break-word; }
.nowrap { white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- forms ---------- */

label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
.field { margin-bottom: 16px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 400; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7773' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #9aa6a2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); width: 16px; height: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; cursor: pointer; margin-bottom: 8px; }
.check input { margin-top: 3px; flex: none; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.money input { padding-left: 24px; font-variant-numeric: tabular-nums; }
.code-input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 26px !important; letter-spacing: 10px; text-align: center; padding: 14px !important; }
.input-suffix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.input-suffix:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.input-suffix input { border: 0 !important; box-shadow: none !important; border-radius: 0; min-width: 0; }
.input-suffix span { display: flex; align-items: center; padding: 0 12px; background: var(--surface-2); color: var(--muted); border-left: 1px solid var(--line); font-size: 14px; white-space: nowrap; }

/* option cards (plan picker) */
.options { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.option { position: relative; display: block; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 16px; cursor: pointer; font-weight: 400; margin: 0; transition: border-color 0.15s, background 0.15s; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.option .muted { font-size: 13px; }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: var(--ring); }
.option .tag { position: absolute; top: 12px; right: 12px; }

/* ---------- buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; border-radius: 10px; padding: 10px 16px; border: 1px solid transparent; background: var(--brand); color: #fff; cursor: pointer; text-decoration: none; transition: background 0.15s, box-shadow 0.15s, transform 0.05s; box-shadow: 0 1px 2px rgba(6, 47, 40, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); white-space: nowrap; }
.btn:hover { background: var(--brand-600); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn svg { width: 16px; height: 16px; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: var(--surface-2); border-color: #c3cec9; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--brand); box-shadow: none; }
.btn.ghost:hover { background: var(--brand-50); }
.btn.danger { background: #fff; color: var(--bad); border-color: #f0c4bf; box-shadow: none; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.accent { background: var(--accent); color: #3b2a00; }
.btn.accent:hover { background: #eeaa2a; color: #3b2a00; }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.large { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
button.link:disabled { color: var(--line-2); cursor: default; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- alerts ---------- */

.alert { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.alert.error { background: var(--bad-soft); color: #8f241c; border-color: #f6d0cb; }
.alert.ok { background: var(--good-soft); color: #13652f; border-color: #c9ebd5; }
.alert.warn { background: var(--warn-soft); color: #7a4e00; border-color: #f6e1b0; }
.alert.info { background: var(--info-soft); color: var(--brand-700); border-color: var(--brand-100); }
.alert.between { justify-content: space-between; align-items: center; }

/* ---------- badges ---------- */

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; background: var(--brand-50); color: var(--brand-700); white-space: nowrap; line-height: 1.4; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.badge.plain::before { display: none; }
.badge.late { background: var(--bad-soft); color: var(--bad); }
.badge.good { background: var(--good-soft); color: var(--good); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.gray { background: #eef1f0; color: var(--muted); }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
table.list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.list td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr { transition: background 0.1s; }
table.list tbody tr:hover { background: var(--surface-2); }
table.list td:first-child, table.list th:first-child { padding-left: 4px; }
table.list td:last-child, table.list th:last-child { padding-right: 4px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- stats ---------- */

.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow); }
.stat .label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .label svg { width: 16px; height: 16px; color: var(--brand); }
.stat .value { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.value.good { color: var(--good); }
.value.bad { color: var(--bad); }

.calc { width: 100%; border-collapse: collapse; }
.calc td { padding: 9px 0; font-variant-numeric: tabular-nums; border-bottom: 1px dashed var(--line); }
.calc tr:last-child td { border-bottom: 0; }
.calc tr.total td { border-top: 1px solid var(--line-2); border-bottom: 0; font-weight: 700; padding-top: 12px; }
.meter { height: 10px; border-radius: 999px; background: #eef1f0; overflow: hidden; display: flex; }
.meter i { display: block; height: 100%; }

/* ---------- list items ---------- */

.item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.item .icon svg { width: 18px; height: 18px; }
.item .body { flex: 1; min-width: 0; }
.item .title { font-weight: 600; }
.item .meta { font-size: 13px; color: var(--muted); }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* ---------- dialog ---------- */

dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog[open] { animation: pop 0.16s ease-out; }
dialog::backdrop { background: rgba(6, 30, 25, 0.45); backdrop-filter: blur(2px); }
dialog .dialog-body { padding: 24px; overflow-y: auto; max-height: calc(100vh - 130px); }
dialog .dialog-body h2 { font-size: 20px; margin-bottom: 16px; }
dialog .dialog-foot { padding: 14px 24px; border-top: 1px solid var(--line); background: var(--surface-2); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- empty / loading ---------- */

.empty { color: var(--muted); padding: 28px 12px; text-align: center; font-size: 14px; }
.empty svg { display: block; width: 36px; height: 36px; margin: 0 auto 10px; color: var(--line-2); }
.spinner { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); padding: 48px 0; }
.spinner::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

details.card summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after { content: "+"; color: var(--muted); font-size: 18px; }
details.card[open] summary::after { content: "–"; }

/* ---------- auth pages ---------- */

.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; background: radial-gradient(1200px 500px at 50% -10%, #d8eee6 0%, rgba(216, 238, 230, 0) 70%), var(--bg); }
.auth .logo { margin-bottom: 24px; font-size: 20px; }
.auth .logo img { width: 38px; height: 38px; }
.auth .card { width: 100%; max-width: 420px; padding: 30px; }
.auth h1 { font-size: 24px; }
.auth .foot { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- landing ---------- */

.hero { position: relative; overflow: hidden; padding: 80px 0 72px; background:
  radial-gradient(900px 420px at 85% 10%, rgba(245, 184, 65, 0.16), transparent 60%),
  radial-gradient(900px 520px at 10% 0%, rgba(20, 135, 111, 0.16), transparent 60%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.eyebrow-pill b { background: var(--brand); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 19px; color: var(--ink-2); max-width: 540px; margin-bottom: 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px rgba(6, 47, 40, 0.18); padding: 18px 18px 46px; transform: rotate(-1deg); }
.mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e9e7; }
.mock .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock .stats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock .stats small { display: block; font-size: 11px; color: var(--muted); }
.mock .stats strong { font-size: 18px; letter-spacing: -0.02em; }
.mock .rowi { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mock .rowi:last-child { border-bottom: 0; }
.mock .float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 10px; transform: rotate(1deg); }
.mock .float .dot { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.mock .float .dot svg { width: 16px; height: 16px; }

.band { padding: 80px 0; }
.band.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.band-head h2 { font-size: 34px; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 10px; }
.band-head p { color: var(--ink-2); font-size: 17px; }
.features { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: transform 0.15s, box-shadow 0.15s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature .ficon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ficon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }
.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { padding: 4px 0; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); }
.pricing { max-width: 460px; margin: 0 auto; background: var(--brand-900); background-image: linear-gradient(160deg, #0b4f43, #062a23); color: #d5ebe3; border-radius: 24px; padding: 36px; box-shadow: 0 30px 80px rgba(6, 47, 40, 0.25); }
.pricing h3 { color: #fff; font-size: 18px; }
.pricing .price { font-size: 52px; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 4px; }
.pricing .price small { font-size: 17px; font-weight: 500; color: #9fc9bc; letter-spacing: 0; }
.pricing ul { list-style: none; padding: 0; margin: 22px 0 26px; }
.pricing li { display: flex; gap: 10px; padding: 6px 0; }
.pricing li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.site-foot { padding: 36px 0; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); background: #fff; }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot .logo { font-size: 15px; }
.site-foot .logo img { width: 24px; height: 24px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .app { display: block; }
  .sidebar { position: sticky; top: 0; z-index: 30; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 16px; overflow: visible; }
  .sidebar .logo { padding: 0; font-size: 16px; }
  .sidebar .logo img { width: 28px; height: 28px; }
  .sidebar select { width: auto; max-width: 46vw; margin: 0 0 0 auto; padding: 7px 30px 7px 10px; }
  .nav { order: 3; flex-direction: row; width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav button { width: auto; padding: 8px 10px; }
  .nav button.active { box-shadow: inset 0 -2px 0 var(--accent); }
  .sidebar-foot { display: none; }
  .main { padding: 22px 16px 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: 23px; }
  .card { padding: 18px 16px; border-radius: 14px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 17px; }
  .features, .steps { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .band-head h2 { font-size: 27px; }
  .mock .stats strong { font-size: 15px; }
  .site-head nav a.hide-sm { display: none; }
  .site-head .wrap { gap: 10px; }
  .site-head nav { gap: 2px; }
  .mock .float { left: 12px; bottom: -16px; }
  dialog .dialog-body { padding: 20px 18px; }
}

.ficon-lg { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ficon-lg svg { width: 24px; height: 24px; }
