/* Golden Porch — single stylesheet. No external requests. */

:root {
  --ink: #0e1526;
  --navy: #131d33;
  --navy-2: #1b2740;
  --text: #4a5365;
  --muted: #78808f;
  --line: #e4e7ec;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --warm: #fdfaf4;
  --gold: #b0791b;
  --gold-bright: #e0a83c;
  --gold-soft: #fbf0d9;
  --teal: #256b62;
  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px rgba(14, 21, 38, .05), 0 4px 12px rgba(14, 21, 38, .05);
  --shadow: 0 2px 4px rgba(14, 21, 38, .04), 0 12px 32px rgba(14, 21, 38, .09);
  --shadow-lg: 0 4px 8px rgba(14, 21, 38, .05), 0 24px 64px rgba(14, 21, 38, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 660; letter-spacing: -.022em; }
h1 { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); letter-spacing: -.028em; }
h3 { font-size: 1.15rem; }
h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 650; }
p { margin: 0 0 1.1em; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 620; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1.1rem; }
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 730px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ================= header + mega menu ================= */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; height: 70px; }

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 680; color: var(--ink); font-size: 1.06rem; letter-spacing: -.03em;
  text-decoration: none; flex: none;
}
.brand:hover { text-decoration: none; }

.site-nav { display: flex; align-items: center; gap: .3rem; margin-left: 1.6rem; }

.navitem { position: relative; }
.navitem > a, .navitem > span {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--text); font-size: .94rem; font-weight: 530;
  padding: .55rem .7rem; border-radius: 8px; cursor: pointer;
}
.navitem > a:hover, .navitem:hover > span { color: var(--ink); background: var(--surface); text-decoration: none; }
.navitem > a.is-active, .navitem > span.is-active { color: var(--gold); }
.caret { width: 8px; height: 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .55; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 480px; padding: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: none; grid-template-columns: 1fr 1fr; gap: .2rem;
}
.navitem:hover .dropdown, .navitem:focus-within .dropdown { display: grid; }
.dropdown a {
  display: block; padding: .7rem .8rem; border-radius: 9px; color: var(--ink);
  font-size: .92rem; font-weight: 570;
}
.dropdown a:hover { background: var(--surface); text-decoration: none; }
.dropdown a small { display: block; color: var(--muted); font-weight: 400; font-size: .83rem; margin-top: .12rem; line-height: 1.45; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: .6rem; flex: none; }
.navtoggle, .navbtn { display: none; }

/* ================= buttons ================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: .78rem 1.45rem; border-radius: 9px;
  font-size: .95rem; font-weight: 580; line-height: 1;
  transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; opacity: .9; transform: translateY(-1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); box-shadow: 0 2px 10px rgba(176,121,27,.28); }
.btn-gold:hover { box-shadow: 0 4px 16px rgba(176,121,27,.34); opacity: 1; }
.btn-sm { padding: .58rem 1.05rem; font-size: .89rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); opacity: 1; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-link { background: none; border: 0; color: var(--gold); padding: 0; font-weight: 570; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; align-items: center; }
.btn-note { font-size: .86rem; color: var(--muted); }

/* ================= sections ================= */

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-warm { background: var(--warm); border-block: 1px solid var(--gold-soft); }
.section-dark { background: var(--navy); color: #b9c2d4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-bright); }

.eyebrow { display: block; font-size: .77rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.lede { font-size: 1.15rem; line-height: 1.62; max-width: 62ch; }
.section-head { max-width: 680px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ================= hero ================= */

.hero {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(900px 460px at 88% -8%, var(--gold-soft), transparent 60%),
    radial-gradient(700px 380px at 5% 105%, #eef2f9, transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 3.5rem; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: 1.18rem; }

.page-hero {
  padding: 4.2rem 0 3.4rem;
  background: linear-gradient(180deg, var(--surface), #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 20ch; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }

/* ================= dashboard mock ================= */

.dash {
  display: grid; grid-template-columns: 116px 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: .78rem;
}
.dash-side { background: var(--navy); padding: .9rem .7rem; }
.dash-logo { display: flex; align-items: center; gap: .35rem; margin-bottom: 1rem; }
.dash-logo i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); display: block; }
.dash-logo span { color: #fff; font-size: .72rem; font-weight: 650; }
.dash-side a { display: block; color: #93a0bb; padding: .34rem .45rem; border-radius: 6px; font-size: .72rem; }
.dash-side a.on { background: rgba(255,255,255,.1); color: #fff; }
.dash-main { padding: 1rem 1.1rem 1.2rem; background: var(--surface); }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.dash-top b { color: var(--ink); font-size: .92rem; font-weight: 650; }
.dash-search { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .22rem .6rem; color: var(--muted); font-size: .7rem; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: .9rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .65rem; }
.kpi b { display: block; color: var(--ink); font-size: 1.02rem; font-weight: 680; letter-spacing: -.02em; }
.kpi span { color: var(--muted); font-size: .66rem; }
.kpi i { font-style: normal; color: var(--teal); font-size: .64rem; font-weight: 620; }

.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.kan-col { background: #eef1f6; border-radius: 8px; padding: .45rem; }
.kan-col h5 { margin: 0 0 .4rem; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.kan-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .42rem .5rem; margin-bottom: .34rem; }
.kan-card b { display: block; color: var(--ink); font-size: .69rem; font-weight: 600; }
.kan-card span { color: var(--muted); font-size: .63rem; }
.kan-card.flag { border-left: 2px solid var(--gold-bright); }

.chart { display: flex; align-items: flex-end; gap: .3rem; height: 54px; margin-top: .8rem; }
.chart i { flex: 1; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-radius: 3px 3px 0 0; display: block; }
.chart i.pale { background: #d8dee8; }

/* small inline mocks used on inner pages */
.mock { font-size: .82rem; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mock-bar { display: flex; gap: .4rem; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-title { font-size: .78rem; font-weight: 620; color: var(--muted); }
.mock-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: .65rem .85rem; margin-bottom: .5rem;
}
.mock-row b { color: var(--ink); font-weight: 580; }
.mock-tag { font-size: .72rem; font-weight: 620; padding: .17rem .55rem; border-radius: 99px; background: var(--gold-soft); color: var(--gold); white-space: nowrap; }
.mock-tag.grey { background: var(--line-soft); color: var(--muted); }
.mock-tag.teal { background: #e4f0ee; color: var(--teal); }
.mock-foot { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* ================= industries strip ================= */

.strip { padding: 2.4rem 0; border-bottom: 1px solid var(--line); background: #fff; }
.strip p { text-align: center; color: var(--muted); font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 620; margin-bottom: 1.1rem; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.strip-items span {
  border: 1px solid var(--line); border-radius: 99px; padding: .45rem 1.1rem;
  font-size: .9rem; color: var(--text); font-weight: 540; background: #fff;
}

/* ================= grids & cards ================= */

.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.card-link:hover { text-decoration: none; border-color: var(--gold-bright); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card-link h3 { color: var(--ink); }
.card-more { color: var(--gold); font-weight: 580; font-size: .92rem; }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }

.icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-soft), #fff);
  border: 1px solid var(--gold-soft);
  color: var(--gold); display: grid; place-items: center; margin-bottom: 1.1rem;
  font-size: 1.05rem; font-weight: 700;
}
.section-dark .icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--gold-bright); }

/* ================= split rows ================= */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split + .split { margin-top: 5rem; }
.split.flip .split-media { order: -1; }
.split-media { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.section-alt .split-media { background: #fff; }

/* ================= checklist ================= */

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .65rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  font-size: .7rem; font-weight: 800; display: grid; place-items: center;
}
.section-dark .checklist li::before { background: rgba(224,168,60,.16); color: var(--gold-bright); }

/* ================= quotes ================= */

.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote blockquote::before { content: "“"; color: var(--gold-bright); font-size: 2.4rem; line-height: 0; vertical-align: -.35em; margin-right: .1em; }
.quote-by { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); flex: none; }
.quote-by b { display: block; color: var(--ink); font-size: .9rem; font-weight: 620; }
.quote-by span { color: var(--muted); font-size: .84rem; }

/* ================= pricing ================= */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.plan-featured { border-color: var(--gold-bright); border-width: 2px; box-shadow: var(--shadow); position: relative; }
.plan-flag { position: absolute; top: -12px; left: 2rem; background: var(--gold); color: #fff; font-size: .69rem; font-weight: 680; letter-spacing: .07em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 99px; }
.plan h3 { font-size: 1.05rem; }
.price { font-size: 2.6rem; font-weight: 700; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; margin: .4rem 0 .2rem; }
.price span { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-desc { color: var(--muted); font-size: .92rem; min-height: 2.9em; }
.plan .btn { width: 100%; margin: 1.3rem 0; }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; font-size: .82rem; }

.compare { margin-top: 3.5rem; }
.compare table { min-width: 640px; }
.compare th:first-child, .compare td:first-child { text-align: left; width: 40%; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare thead th { font-size: .95rem; color: var(--ink); font-weight: 660; padding-bottom: 1rem; }
.compare tbody th { font-weight: 500; color: var(--text); font-size: .93rem; }
.compare .yes { color: var(--gold); font-weight: 800; }
.compare .no { color: #ccd2dc; }
.compare .grouprow th { background: var(--surface); font-weight: 660; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }

/* ================= tables ================= */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
th { color: var(--ink); font-weight: 620; font-size: .85rem; }
tbody tr:last-child td { border-bottom: 0; }

/* ================= faq / accordion ================= */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2rem 1.25rem 0;
  color: var(--ink); font-weight: 600; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 1.1rem;
  color: var(--gold); font-size: 1.3rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 2rem 1.3rem 0; margin: 0; }

/* ================= cta ================= */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 55%, #241a08 140%);
  color: #b9c2d4; padding: 5rem 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band .btn-note { color: #8d97ab; }

/* ================= misc ================= */

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat b { display: block; font-size: 2.1rem; color: var(--ink); letter-spacing: -.035em; line-height: 1.2; }
.section-dark .stat b { color: #fff; }
.stat span { font-size: .92rem; color: var(--muted); }

.breadcrumb { font-size: .87rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

.pill-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { border: 1px solid var(--line); border-radius: 99px; padding: .42rem .95rem; font-size: .88rem; color: var(--text); background: #fff; }

.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 1.9rem; }
.prose > :first-child { margin-top: 0; }

.note { background: var(--surface); border-left: 3px solid var(--gold-bright); padding: 1.15rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.7rem 0; }
.note p:last-child { margin-bottom: 0; }

/* ================= forms ================= */

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: .7rem .85rem; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(224,168,60,.18);
}
.field input::placeholder, .field textarea::placeholder { color: #a8afbc; }
.field .err { font-size: .82rem; color: #b4362f; margin-top: .35rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d4756d; }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 3px rgba(180,54,47,.14); }
.field.invalid .err { display: block; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }

.form-foot { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.form-foot .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-legal { font-size: .84rem; color: var(--muted); margin: 0; }

/* ================= modal ================= */

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(14, 21, 38, .55);
}
.modal[open], .modal.is-open { display: flex; }
.modal-card {
  background: #fff; border-radius: 18px; padding: 2.4rem 2.2rem;
  max-width: 460px; width: 100%; text-align: center;
  box-shadow: 0 24px 80px rgba(14,21,38,.35);
}
.modal-icon {
  width: 58px; height: 58px; margin: 0 auto 1.3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #fff; display: grid; place-items: center; font-size: 1.7rem; font-weight: 700;
}
.modal-card h2 { font-size: 1.45rem; margin-bottom: .6rem; }
.modal-card p { color: var(--text); }
.modal-card .btn { margin-top: .9rem; }
.modal-mail { font-size: .88rem; color: var(--muted); margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

/* ================= footer ================= */

.site-footer { background: var(--navy); color: #97a1b6; padding: 4.2rem 0 2rem; font-size: .92rem; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: #8d97ab; max-width: 32ch; margin-top: .9rem; }
.footer-mail a { color: var(--gold-bright); }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: .78rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li a { color: #97a1b6; }
.site-footer li a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.2rem; padding-top: 1.6rem;
  color: #78829a; font-size: .86rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: #78829a; }

/* ================= responsive ================= */

@media (max-width: 1050px) {
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero h1 { max-width: 22ch; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.flip .split-media { order: 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 92px 1fr; }
}

@media (max-width: 760px) {
  .navbtn {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    margin-left: auto; width: 40px; height: 40px; padding: 0 9px; cursor: pointer;
    border: 1px solid var(--line); border-radius: 9px; flex: none;
  }
  .navbtn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

  .site-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.2rem; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .navtoggle:checked ~ .site-nav { display: flex; }
  .navitem > a, .navitem > span { padding: .8rem 0; width: 100%; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .navitem > a:hover, .navitem:hover > span { background: none; }
  .caret { display: none; }
  /* Mega menus flatten into the stack on mobile. */
  .dropdown {
    display: grid; position: static; min-width: 0; grid-template-columns: 1fr;
    border: 0; box-shadow: none; padding: .2rem 0 .6rem .8rem; border-radius: 0;
  }
  .dropdown a { padding: .5rem 0; font-weight: 500; font-size: .9rem; }
  .dropdown a small { display: none; }

  .section { padding: 3.8rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash { font-size: .7rem; }
  .kanban { grid-template-columns: 1fr; }
  .kan-col:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
