/* Editorial pages */
.hero.articles-hero { padding-bottom: 2rem; display: block; }
.grid.article-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.article-grid .article-card { padding: 0; overflow: hidden; }
.article-card-copy { padding: 1.5rem; }
.article-card h2, .article-card h3 { font-size: 1.4rem; line-height: 1.35; }
.latest-articles { background: #f6f7f8; }
.latest-articles .article-card { background: #fff; }
.latest-articles .article-card-copy { display: flex; flex-direction: column; flex: 1; }
.latest-articles .article-meta { margin-top: auto; padding-top: 1rem; }
.latest-articles .article-card { display: flex; flex-direction: column; }
.latest-articles .section-head .btn { flex-shrink: 0; margin-top: 1rem; }
.latest-articles .article-read { color: var(--accent); }
.article-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.article-placeholder { display: flex; align-items: center; justify-content: center; background: #edf1f6; color: #172c4b; font-size: 2rem; font-weight: 700; }
.article-placeholder span { color: #0796c7; }
.article-meta { color: #637184; font-size: .88rem; }
.article-read { display: inline-block; margin-top: .7rem; font-weight: 600; color: #007ba8; }
.article-empty { max-width: 700px; padding: 2rem; background: #f4f7fa; border: 1px solid #e4eaf0; border-radius: 16px; }
.wrap.article-page { max-width: 820px; padding-top: 2.5rem; padding-bottom: 3rem; }
.article-heading h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; overflow-wrap: anywhere; }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; margin: 1.5rem 0; }
.article-prose { margin-top: 2.5rem; font-size: 1.08rem; line-height: 1.85; overflow-wrap: anywhere; }
.article-prose h2, .article-prose h3 { margin-top: 2rem; line-height: 1.3; }
.article-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.article-prose pre { padding: 1rem; background: #f2f5f8; overflow: auto; }
.article-prose blockquote { margin: 1.5rem 0; padding: .5rem 1.5rem; border-left: 3px solid #0796c7; background: #f4f8fa; }
.article-prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.article-prose th, .article-prose td { padding: .5rem; border: 1px solid #dbe2e8; }
.article-share { margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid #dbe2e8; }
.article-back { display: inline-block; margin: 1rem; }
:root {
  --ink: #0d1117;
  --muted: #5b6470;
  --line: #e7e9ec;
  --soft: #f6f7f8;
  --accent: #e4002b;
  --accent-soft: #fff1f4;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(13, 17, 23, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 233, 236, 0.8);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.site-nav a:not(.btn) { color: #333b45; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--ink); }

/* Native details keep navigation usable with keyboard, touch and without JS. */
.nav-dropdown { position: relative; }
.nav-dropdown summary { cursor: pointer; list-style: none; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown[open] > summary { color: var(--accent); }
.nav-dropdown[open] > .nav-panel { display: block; }
.nav-dropdown summary:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.nav-dropdown .nav-panel { margin-top: 20px; max-height: calc(100dvh - 110px); overflow-y: auto; width: 350px; }
.solutions-dropdown { position: static; }
.nav-dropdown .solutions-panel { width: min(850px, calc(100vw - 48px)); left: 50%; transform: translateX(-50%); margin-top: 0; }
.nav-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.panel-overview { border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.login-dropdown .nav-panel { left: auto; right: 0; width: 230px; min-width: 230px; }
html { scroll-padding-top: 110px; }
.card[id] { scroll-margin-top: 20px; }
.card-more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--accent); text-decoration: none; }
.benefit-section .grid, .benefits .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-section .card, .benefits .card { background: var(--soft); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-topic { color: #333b45; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-topic:hover { color: var(--ink); }
.nav-topic[aria-current="page"] { color: var(--accent); font-weight: 600; }
.caret { font-size: 10px; }
.nav-panel {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 300px; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.nav-item:hover .nav-panel, .nav-item:focus-within .nav-panel { display: block; }
.panel-link { display: block; padding: 10px 12px; border-radius: 10px; color: inherit; text-decoration: none; }
.panel-link:hover { background: var(--soft); }
.panel-title { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.panel-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.panel-link[aria-current="page"] .panel-title { color: var(--accent); }
.panel-sub {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); padding: 10px 12px 2px;
}
.nav-solutions { display: none; color: #333b45; text-decoration: none; }
.nav-solutions:hover { color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c40025; }
.btn-light { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { background: #eceef0; }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; color: var(--muted); padding-top: 22px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.crumb-sep { margin: 0 6px; }

/* Hero */
.hero { padding: 56px 24px 40px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding: 34px 24px; }
h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 18px; }
h3 { font-size: 16px; margin: 0 0 8px; }
.definition { font-size: 16px; color: #333b45; max-width: 860px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: none;
}
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.card:hover { box-shadow: var(--shadow); }

.step { position: relative; padding-top: 26px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  margin-bottom: 12px;
}

a.link-card { text-decoration: none; color: inherit; display: block; }
a.link-card h3 { color: var(--ink); }

/* Research box */
.research-box {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
}
.research-box p { color: #333b45; margin: 0; max-width: 860px; }

/* FAQ */
details.faq {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
  background: #fff;
}
details.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details.faq p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }

/* CTA box */
.cta-box {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: #c7ccd4; max-width: 560px; margin: 0 auto 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 44px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr .7fr; gap: 32px; }
.footer-note { color: var(--muted); font-size: 13px; margin-top: 10px; }
.footer-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.footer-grid a { display: block; color: #333b45; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { color: var(--muted); font-size: 13px; margin-top: 30px; }

/* Responsive */
@media (max-width: 1180px) {
  .site-nav { gap: 16px; font-size: 13px; }
  .site-nav .btn { padding: 10px 14px; }
}
@media (max-width: 900px) {
  .site-nav { gap: 14px; }
  .benefit-section .grid, .benefits .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-nav { gap: 14px; font-size: 13px; width: 100%; flex-wrap: wrap; }
  .header-inner { height: auto; padding: 12px 18px; flex-wrap: wrap; gap: 10px; }
  .site-nav .nav-demo { position: absolute; right: 18px; top: 9px; }
  .site-nav .nav-dropdown { position: static; }
  .site-nav .nav-dropdown .nav-panel { position: absolute; top: 100%; left: 12px; right: 12px; width: auto; min-width: 0; margin-top: 0; max-height: calc(100dvh - 125px); transform: none; }
  .nav-groups { grid-template-columns: 1fr; }
  .nav-panel .panel-desc { display: none; }
  .nav-panel .panel-link { padding: 12px; }
  .site-nav .btn { padding: 9px 14px; }
  .grid { grid-template-columns: 1fr; }
  .benefit-section .grid, .benefits .grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .nav-solutions { display: none; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 20px; }
}

/* Static homepage */
.home .section.customer-feature { padding-bottom: 0; }
.home .case-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; padding: 48px; background: var(--soft); border: 1px solid var(--line); border-radius: 24px; }
.home .case-feature h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.035em; margin: 18px 0; }
.home .case-customer { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.home .case-description { color: var(--muted); margin: 0 0 24px; }
.home .case-feature .btn { white-space: normal; }
.home .case-facts { margin: 0; align-self: center; }
.home .case-facts > div { padding: 22px 0; border-top: 1px solid var(--line); }
.home .case-facts dt { font-size: 18px; font-weight: 700; }
.home .case-facts dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.home .case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.home .case-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.home .case-card h3 { font-size: 24px; line-height: 1.2; margin: 0 0 16px; }
.home .case-links { display: grid; gap: 10px; margin-top: auto; font-size: 14px; font-weight: 700; }
@media (max-width: 760px) {
  .home .case-feature { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .home .case-grid { grid-template-columns: 1fr; }
  .home .case-card { padding: 26px; }
}
.topic-group { margin-bottom: 28px; }
.contact-box {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; max-width: 720px;
}
.contact-intro { color: var(--muted); margin: 0 0 20px; }
#contact-form .field { margin-bottom: 12px; }
#contact-form input, #contact-form select, #contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; color: var(--ink);
}
#contact-form button { margin-top: 6px; }
.contact-status { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.contact-status.ok { color: #1a7f37; }
.contact-status.error { color: var(--accent); }

/* ── Static homepage (ported from HomeView.vue, scoped under .home) ── */
.home { line-height: 1.5; }
.home a { color: inherit; text-decoration: none; }
.home .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  border: 1px solid var(--ink); transition: 0.2s ease;
}
.home .btn-dark { background: var(--ink); color: #fff; }
.home .btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.home .btn-light { background: #fff; color: var(--ink); }
.home .btn-light:hover { background: var(--soft); }
.home .btn-text { border: 0; padding-left: 0; padding-right: 0; text-decoration: underline; text-underline-offset: 5px; }
.home .accent-text { color: var(--accent); }
.home .ecosystem-note { color: var(--muted); max-width: 850px; margin: 30px 0; }
.home .platform-cta { margin-top: 28px; }

.home .hero { padding: 76px 0 64px; overflow: hidden; }
.home .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.home .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: block; background: none; padding: 0; }
.home h1 { font-size: 70px; line-height: 0.98; letter-spacing: -0.055em; margin: 0 0 26px; max-width: 850px; font-weight: 700; }
.home .lead { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 760px; margin: 0 0 34px; }
.home .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.home .proof { display: flex; gap: 24px; flex-wrap: wrap; color: #3f4852; font-size: 13px; font-weight: 650; }
.home .proof span { display: flex; align-items: center; gap: 8px; }
.home .proof i { width: 7px; height: 7px; border-radius: 50%; background: #18a957; display: inline-block; }
.home .hero-visual { position: relative; display: grid; gap: 24px; width: 100%; max-width: 460px; min-width: 0; margin-inline: auto; isolation: isolate; }
.home .orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.home .orb.a { width: 350px; height: 350px; background: linear-gradient(145deg,#fff0f3,#f8f9fb); right: 25px; top: 0; border: 1px solid #f0dfe3; }
.home .orb.b { width: 260px; height: 260px; background: linear-gradient(145deg,#f5f6f8,#fff); left: 0; bottom: 15px; border: 1px solid var(--line); }
.home .stack-card { position: relative; width: min(100%, 360px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; }
.home .stack-card h3 { font-size: 16px; margin: 6px 0 8px; }
.home .stack-card p { font-size: 13px; color: var(--muted); margin: 0; }
.home .stack-card.one, .home .stack-card.three { justify-self: end; }
.home .stack-card.two { justify-self: start; }
.home .mini-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 900; }

.home .section { padding: 92px 0; border-top: 1px solid var(--line); }
.home .section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 40px; }
.home .section-head h2 { font-size: 46px; line-height: 1.05; letter-spacing: -0.045em; margin: 0; max-width: 760px; }
.home .section-head p { max-width: 420px; color: var(--muted); margin: 0; font-size: 16px; }
.home .solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home .solution { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; min-height: 455px; display: flex; flex-direction: column; transition: 0.2s ease; }
.home .solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home .solution .tag { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 800; padding: 7px 10px; border-radius: 999px; background: var(--soft); margin-bottom: 22px; }
.home .solution h3 { font-size: 28px; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 14px; }
.home .solution p { color: var(--muted); margin: 0 0 20px; }
.home .solution ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.home .solution li { display: flex; gap: 10px; align-items: flex-start; }
.home .solution li:before { content: "✓"; font-weight: 800; color: var(--accent); }
.home .solution .more { margin-top: auto; padding-top: 24px; font-weight: 800; font-size: 14px; }
.home .solution .more-secondary { margin-top: 0; padding-top: 10px; font-weight: 600; }

.home .topic-group h3, .home .tools-row h3 { font-size: 20px; margin: 0 0 14px; }
.home .tools-row { margin-top: 28px; }

.home .platform { background: var(--ink); color: #fff; }
.home .platform .section-head p { color: #aab3bd; }
.home .platform .section-head h2 { color: #fff; }
.home .platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home .platform-card { border: 1px solid #2a313a; background: #131820; border-radius: 18px; padding: 24px; min-height: 145px; }
.home .platform-card h4 { font-size: 16px; margin: 0 0 8px; }
.home .platform-card p { color: #9ea8b3; font-size: 14px; margin: 0; }
.home .platform-card h3 { font-size: 17px; margin: 0 0 10px; color: #fff; }
.home .platform-card .card-more { color: #fff; }
.home .platform-card:hover { border-color: #929eae; }
.home .topic-group > h3 { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.home .topic-group .card h3 { font-size: 21px; line-height: 1.25; text-transform: none; letter-spacing: -.02em; }

.home .journey { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.home .journey h2 { font-size: 48px; letter-spacing: -0.045em; line-height: 1.07; margin: 0 0 18px; }
.home .journey p { font-size: 18px; color: var(--muted); }
.home .steps { display: grid; gap: 12px; }
.home .step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.home .num { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 900; }
.home .step h4 { margin: 0 0 4px; font-size: 16px; }
.home .step p { margin: 0; color: var(--muted); font-size: 14px; }

.home .why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.home .why-card { border-top: 2px solid var(--ink); padding-top: 20px; }
.home .why-card h4 { font-size: 18px; margin: 0 0 8px; }
.home .why-card p { margin: 0; color: var(--muted); font-size: 14px; }

.home .cta { padding: 82px 0; }
.home .cta-box { background: var(--accent); color: #fff; border-radius: 30px; padding: 58px; text-align: left; }
.home .cta-box h2 { font-size: 44px; line-height: 1.05; letter-spacing: -0.045em; margin: 0 0 12px; color: #fff; }
.home .cta-lead { margin: 0 0 36px; max-width: 650px; color: #ffe6eb; }
.home .contact-grid { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 36px; align-items: start; }
.home .contact-info h3 { font-size: 22px; margin: 0 0 10px; color: #fff; }
.home .contact-info p { color: #ffe6eb; font-size: 15px; margin: 0 0 18px; }
.home .contact-email { font-size: 14px; font-weight: 700; color: #fff; }
.home .contact-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.home .contact-form h3 { margin: 0 0 18px; font-size: 20px; color: var(--ink); }
.home .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home .field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.home .field > label { font-size: 13px; font-weight: 600; }
.home .field input, .home .field textarea, .home .field select { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-family: inherit; background: var(--soft); color: var(--ink); }
.home .field input:focus, .home .field textarea:focus, .home .field select:focus { outline: 2px solid var(--ink); background: #fff; }
.home .field textarea { min-height: 110px; resize: vertical; }
.home .form-btn { width: 100%; background: var(--ink); color: #fff; border-color: var(--ink); cursor: pointer; font-family: inherit; }
.home .form-btn:disabled { opacity: 0.6; cursor: default; }
.home .form-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.home .contact-success { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: #16a34a; text-align: center; }
.home .contact-error { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--accent); text-align: center; }

@media (max-width: 900px) {
  .home .hero { padding-top: 70px; }
  .home .hero-grid, .home .journey { grid-template-columns: 1fr; }
  .home h1 { font-size: 54px; }
  .home .solutions, .home .platform-grid { grid-template-columns: 1fr; }
  .home .why { grid-template-columns: 1fr 1fr; }
  .home .section-head { display: block; }
  .home .section-head p { margin-top: 16px; }
  .home .cta-box { display: block; }
  .home .contact-grid, .home .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .home .wrap { padding: 0 18px; }
  .home h1 { font-size: 43px; }
  .home .lead { font-size: 18px; }
  .home .stack-card { width: 100%; }
  .home .section { padding: 68px 0; }
  .home .section-head h2, .home .journey h2 { font-size: 36px; }
  .home .why { grid-template-columns: 1fr; }
  .home .cta-box { padding: 36px 28px; }
  .home .cta-box h2 { font-size: 34px; }
}

/* Contact section on all static pages (the .home class on the section scopes
   the ported form styles; .cta has no other users on landing pages) */
.cta { padding: 82px 0; }
.home .interests {
  display: block;
  border: 0; border-radius: 12px; padding: 0;
  margin: 0 0 14px; background: #fff; text-align: left;
}
.home .interests legend { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 6px; }
.home .interests > legend { font-size: 14px; padding: 0; margin-bottom: 12px; color: var(--ink); }
.home .interest-group { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0 0 12px; min-width: 0; }
.home .interest-options { display: grid; grid-template-columns: 1fr; gap: 10px; }
.home .interests .interest {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  column-gap: 8px; font-size: 14px; color: var(--ink);
  font-weight: 500;
}
#contact-form .interests input[type="checkbox"] {
  width: 16px; height: 16px; margin: 3px 0 0; padding: 0; accent-color: var(--accent); flex: none;
}
@media (max-width: 600px) {
  .home .interests { grid-template-columns: 1fr; }
}
.home .interests .interest-text { min-width: 0; }
