:root {
  --ink: #16323a;
  --ink-soft: #4a6168;
  --teal: #008080;
  --teal-dark: #005f5f;
  --mint: #eaf5f3;
  --mist: #f6f8f8;
  --line: #dde7e6;
  --marigold: #f2a93b;
  --marigold-ink: #4d3200;
  --white: #ffffff;
  --radius: 14px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
section[id], header[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.section { padding: 96px 0; }
@media (max-width: 760px) { .section { padding: 64px 0; } }
.section-intro { max-width: 640px; margin-bottom: 48px; }
.section-intro p { margin-top: 16px; color: var(--ink-soft); font-size: 1.1rem; }
.tint { background: var(--mint); }
.mist { background: var(--mist); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1.02rem; text-decoration: none;
  border: 2px solid var(--teal); cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--teal); }
.btn-secondary:hover { background: var(--mint); color: var(--teal-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ticked list */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 32px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.55rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.tm { font-weight: 500; font-size: 0.68em; margin-left: 2px; vertical-align: 0.6em; line-height: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a, .nav-links summary {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 1rem; cursor: pointer;
}
.nav-links a:hover, .nav-links summary:hover { background: var(--mist); color: var(--ink); }
.nav-solutions { position: relative; }
.nav-solutions summary { list-style: none; }
.nav-solutions summary::-webkit-details-marker { display: none; }
.nav-solutions summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-solutions[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-solutions .menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(22, 50, 58, 0.12);
}
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { min-height: 44px; padding: 0 18px; font-size: 0.98rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-panel { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 20px 22px; box-shadow: 0 18px 30px rgba(22, 50, 58, 0.08); }
  .nav-panel.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-links a, .nav-links summary { padding: 12px 8px; }
  .nav-solutions .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-cta { margin-top: 12px; flex-direction: column; }
  .nav-cta .btn { min-height: 50px; }
}
@media (min-width: 1021px) { .nav-panel { display: flex; align-items: center; gap: 20px; margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--white) 0%, var(--mint) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 13.5em; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: 1.2rem; color: var(--ink-soft); }
.hero .btn-row { margin-top: 32px; }
.offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; color: var(--ink-soft); font-size: 0.98rem; }
.offer strong { background: var(--marigold); color: var(--marigold-ink); padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.hero-art img { border-radius: 20px; box-shadow: 0 30px 70px rgba(22, 50, 58, 0.16); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both 0.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- people / features ---------- */
.treasurer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.role-tag { display: block; color: var(--teal); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.treasurer h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.treasurer .ticks { margin-top: 22px; }
.treasurer img { border-radius: 18px; border: 1px solid var(--line); }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 64px; }
.role { border-top: 3px solid var(--teal); padding-top: 22px; }
.role p { margin-top: 10px; color: var(--ink-soft); }
.role .ticks { margin-top: 16px; font-size: 1rem; }
@media (max-width: 900px) {
  .treasurer { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .roles { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
}

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.trust-list h3 { font-size: 1.15rem; }
.trust-list p { margin-top: 6px; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 900px) { .trust-grid, .trust-list { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- setup steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: var(--white); font-weight: 750; font-size: 1.2rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -16px; height: 2px; background: var(--line); }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
.setup-note { margin-top: 44px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 30px 66px; min-height: 76px; }
  .steps li:not(:last-child)::after { top: 54px; bottom: 6px; left: 22px; right: auto; width: 2px; height: auto; }
}

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.price { border-radius: var(--radius); padding: 34px; background: var(--white); border: 1px solid var(--line); }
.price.now { background: var(--teal); color: var(--white); border-color: var(--teal); }
.price h3 { font-size: 1.6rem; }
.price p { margin-top: 12px; font-size: 1.05rem; }
.price.now p { color: rgba(255, 255, 255, 0.9); }
.price:not(.now) p { color: var(--ink-soft); }
.pilot { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
.pilot h3 { font-size: 1.35rem; }
.pilot p { margin-top: 10px; color: var(--ink-soft); }
.pilot .ticks { columns: 2; column-gap: 32px; }
.pilot .ticks li { break-inside: avoid; }
@media (max-width: 760px) {
  .price-grid, .pilot { grid-template-columns: 1fr; }
  .pilot .ticks { columns: 1; }
  .price { padding: 26px; }
}

/* ---------- download ---------- */
.get-app { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--white); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.platform p { color: var(--ink-soft); flex: 1; }
@media (max-width: 760px) { .get-app { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.founder-note p { color: var(--ink-soft); font-size: 1.1rem; }
.founder-note p + p { margin-top: 16px; }
.founder-note .sign { color: var(--ink); font-weight: 650; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- blog ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.posts li { border-top: 1px solid var(--line); padding: 22px 0; }
.posts a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.15rem; line-height: 1.3; }
.posts a:hover { color: var(--teal); text-decoration: underline; }
.posts p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
.all-posts { margin-top: 28px; font-weight: 650; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 650; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-ways { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-ways li + li { margin-top: 14px; }
.contact-ways a { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-ways a:hover { color: var(--teal); }
.contact-ways svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-ways small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
.qr { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.qr img { width: 180px; max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.form-card { background: var(--white); border-radius: 20px; padding: 34px; box-shadow: 0 18px 50px rgba(22, 50, 58, 0.10); }
.form-card h3 { font-size: 1.5rem; }
.form-card > p { margin-top: 8px; color: var(--ink-soft); }
.field { margin-top: 20px; }
.field label { display: block; font-weight: 650; font-size: 0.98rem; margin-bottom: 8px; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 15px 18px;
  border: 2px solid transparent; border-radius: 14px; background: var(--mist);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a9ca0; }
.field input:hover, .field textarea:hover { background: #eef3f3; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { margin-top: 26px; width: 100%; }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.form-progress { display: flex; gap: 6px; margin-top: 22px; }
.form-progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--line); transition: background .25s; }
.form-progress span.on { background: var(--teal); }
.form-step-count { margin-top: 10px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.form-actions { display: flex; gap: 12px; margin-top: 26px; }
.form-card .form-actions .btn { margin-top: 0; flex: 1; width: auto; }
.form-back {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%; background: var(--mint); color: var(--teal); cursor: pointer;
}
.form-back:hover { background: #d8ece9; }
.form-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-error { margin-top: 12px; color: #b3261e; font-size: 0.95rem; }
.form-error:empty { display: none; }
.success { display: none; margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--mint); color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .form-card { padding: 24px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 56px 0 40px; font-size: 0.98rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot-grid h2 { font-size: 1rem; letter-spacing: 0; color: var(--white); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li + li { margin-top: 8px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 750; font-size: 1.45rem; }
.foot-brand img { width: 36px; height: 36px; }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- solution pages ---------- */
.breadcrumbs { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumbs a { color: var(--teal); }
.hero-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--ink-soft); font-size: 0.98rem; }
.hero-points li { position: relative; padding-left: 26px; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 6px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.prose { max-width: 70ch; }
.prose h2 { margin-bottom: 20px; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 650; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.feature { border-top: 3px solid var(--teal); padding-top: 20px; }
.feature h3 { font-size: 1.2rem; }
.feature p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 900px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; gap: 32px; } }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cmp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.cmp-table th, .cmp-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table thead th { background: var(--mint); font-weight: 700; }
.cmp-table td:first-child { font-weight: 650; }
.cmp-table td:nth-child(2) { color: var(--ink-soft); }
.cmp-table td.good { color: var(--teal-dark); font-weight: 650; }
.cta-band { background: var(--teal); color: var(--white); padding: 80px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; max-width: 60ch; }
.cta-band .btn-row { margin-top: 30px; }
.btn-light { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--teal-dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
@media (max-width: 600px) {
  .table-scroll { overflow: visible; }
  .cmp-table { min-width: 0; }
  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .cmp-table tbody tr:last-child { border-bottom: 0; }
  .cmp-table td { padding: 3px 0; border: 0; }
  .cmp-table td:first-child { font-size: 1.05rem; margin-bottom: 4px; }
  .cmp-table td:nth-child(2)::before { content: "Today: "; font-weight: 600; }
  .cmp-table td.good::before { content: "With FlatConnect: "; font-weight: 600; color: var(--ink); }
}

/* ---------- blog ---------- */
.article-head { padding: 56px 0 40px; background: linear-gradient(180deg, var(--white) 0%, var(--mint) 100%); }
.article-head h1 { max-width: 22em; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; color: var(--ink-soft); font-size: 0.98rem; }
.article-meta .cat { color: var(--teal-dark); font-weight: 650; }
.article { max-width: 72ch; padding: 48px 0 80px; font-size: 1.08rem; line-height: 1.75; }
.article > *:first-child { margin-top: 0; }
.article h2 { font-size: 1.75rem; margin: 52px 0 16px; }
.article h3 { font-size: 1.3rem; margin: 36px 0 12px; }
.article h4 { font-size: 1.1rem; margin: 26px 0 8px; letter-spacing: -0.005em; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 1.4em; }
.article li { margin: 6px 0; }
.article li::marker { color: var(--teal); }
.article strong { font-weight: 650; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal); color: var(--ink-soft); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.98rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--mint); }
.article .comparison-table { overflow-x: auto; }
.highlight-box, .feature-box { margin: 28px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--mint); border-left: 4px solid var(--teal); }
.highlight-box h4, .feature-box h4 { margin-top: 0; }
.highlight-box p:last-child, .feature-box p:last-child, .feature-box ul:last-child { margin-bottom: 0; }
.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.pros-cons > div { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.pros-cons .pros { background: var(--mint); border-color: transparent; }
.pros-cons h4 { margin-top: 0; }
.pros-cons ul { margin-bottom: 0; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.post-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.post-list li { border-top: 1px solid var(--line); padding: 28px 0; }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list .article-meta { margin: 0 0 8px; font-size: 0.92rem; }
.post-list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; }
.post-list a:hover { color: var(--teal); text-decoration: underline; }
.post-list p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- policy pages ---------- */
.legal { max-width: 78ch; padding: 48px 0 88px; font-size: 1.02rem; line-height: 1.75; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { font-size: 1.18rem; margin: 30px 0 10px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h4 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 1.4em; }
.legal li { margin: 5px 0; }
.legal li::marker { color: var(--teal); }
.legal strong { font-weight: 650; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.legal .toc { margin: 32px 0 8px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.legal .toc h3 { margin-top: 0; }
.legal .toc ol { margin-bottom: 0; columns: 2; column-gap: 32px; }
.legal .toc li { break-inside: avoid; }
@media (max-width: 700px) { .legal .toc ol { columns: 1; } }
.legal .highlight, .legal .warning, .legal .contact-section { margin: 28px 0; padding: 20px 24px; border-radius: var(--radius); }
.legal .highlight { background: var(--mint); border-left: 4px solid var(--teal); }
.legal .warning { background: #fdf3e2; border-left: 4px solid var(--marigold); }
.legal .contact-section { border: 1px solid var(--line); }
.legal .highlight > :first-child, .legal .warning > :first-child, .legal .contact-section > :first-child { margin-top: 0; }
.legal .highlight > :last-child, .legal .warning > :last-child, .legal .contact-section > :last-child { margin-bottom: 0; }
.legal .table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal tr:last-child td { border-bottom: 0; }
.legal th { background: var(--mint); }
.updated { margin-top: 14px; color: var(--ink-soft); font-size: 0.98rem; }
.legal > :first-child { margin-top: 0; }

/* floating "have a question" button */
.ask-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; align-items: center;
  background: var(--teal); color: var(--white); border-radius: 999px;
  box-shadow: 0 10px 28px rgba(22, 50, 58, 0.28);
  animation: ask-in .35s ease-out both;
}
.ask-fab[hidden] { display: none; }
.ask-fab-link {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 6px 0 18px;
  color: inherit; text-decoration: none; font-weight: 650; font-size: 1rem; line-height: 1.2;
}
.ask-fab-link:hover { color: inherit; }
.ask-fab:hover { background: var(--teal-dark); }
.ask-fab-link svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask-fab-link small { display: block; font-weight: 500; font-size: .8rem; opacity: .85; }
.ask-fab-close {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; margin: 0 10px 0 4px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: inherit;
  font: inherit; font-size: 20px; line-height: 1; cursor: pointer;
}
.ask-fab-close:hover { background: rgba(255, 255, 255, 0.32); }
@keyframes ask-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .ask-fab { right: 12px; bottom: 12px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .ask-fab-link { min-height: 50px; padding-left: 14px; font-size: .95rem; }
  .ask-fab-link small { display: none; }
  /* after scrolling: shrink to a round icon, no × */
  .ask-fab.is-compact .ask-fab-link { width: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .ask-fab.is-compact .ask-fab-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ask-fab.is-compact .ask-fab-link svg { width: 28px; height: 28px; }
  .ask-fab.is-compact .ask-fab-close { display: none; }
}
.site-footer { padding-bottom: 96px; }
@media print { .ask-fab { display: none; } }
