@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0f2a3d;
  --ink-2: #29445a;
  --muted: #5b6b78;
  --line: #e2ddd3;
  --bg: #faf8f4;
  --tint: #f2efe8;
  --card: #ffffff;
  --brand: #0e8a7b;
  --brand-2: #2bb3a0;
  --brand-soft: #e3f3f0;
  --amber: #d9772b;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 61, .05), 0 8px 24px rgba(15, 42, 61, .06);
  --wrap: 1160px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: .7em 1.25em; font: inherit; font-weight: 650; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn .i { transition: transform .15s; }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1rem; }
.btn-accent { background: var(--brand); }
.btn-accent:hover { background: #0b7568; box-shadow: 0 6px 18px rgba(14, 138, 123, .28); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-light { color: #fff; }
.brand-it { color: var(--brand); font-weight: 700; }
.brand-light .brand-it { color: var(--brand-2); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current] { color: var(--ink); border-color: var(--brand-2); }
.lang-switch { display: inline-block; flex: none; width: 32px; height: 22px; border-radius: 3px; overflow: hidden; line-height: 0; box-shadow: 0 0 0 1px rgba(15, 42, 61, .12); transition: transform .15s, box-shadow .15s; }
.lang-switch:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(15, 42, 61, .25), 0 3px 8px -3px rgba(15, 42, 61, .35); }
.lang-switch svg { display: block; }
.brand { white-space: nowrap; }
.site-nav ul a { white-space: nowrap; }
/* The long company name makes the header too tight on mid-size screens: the logo shows "Erecius IT" there. */
@media (min-width: 901px) and (max-width: 1199px) { .site-header .brand-mgmt { display: none; } }
/* (a phone: the name a little smaller, so the language flag fits next to the menu button) */
@media (max-width: 440px) { .site-header .brand { font-size: 1.05rem; gap: 8px; } .site-header .brand img { width: 28px; height: 28px; } }
@media (max-width: 360px) { .site-header .brand { font-size: .92rem; gap: 6px; } .site-header .brand img { width: 24px; height: 24px; } .lang-menu-header { margin-right: 0; } .nav-toggle { padding: 8px; } }
.lang-menu { position: relative; flex: none; }
/* (the copy in the header is for phones only: on a wide screen the flag is in the menu bar) */
.lang-menu-header { display: none; }
.lang-menu > summary { list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 168px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px rgba(15, 42, 61, .14); }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lang-list a:hover { background: rgba(15, 42, 61, .05); color: var(--ink); }
.lang-list a[aria-current] { color: var(--ink); background: rgba(15, 42, 61, .06); }
.site-nav .lang-list { display: block; gap: 0; }
.site-nav .lang-list a { padding: 7px 10px; border-bottom: 0; font-size: .95rem; }
.lang-flag { display: inline-block; width: 28px; height: 19px; border-radius: 3px; overflow: hidden; line-height: 0; flex: none; box-shadow: 0 0 0 1px rgba(15, 42, 61, .12); }
.lang-flag svg { display: block; }
.site-nav .nav-intro { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ''; position: absolute; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav .nav-intro { display: list-item; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; background: var(--bg); padding: 16px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(15, 42, 61, .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a[aria-current] { border-color: var(--line); color: var(--brand); }
  .lang-menu-nav { display: none; }
  .lang-menu-header { display: block; margin-left: auto; margin-right: 6px; }
  .lang-menu-header .lang-list { left: auto; right: 0; }
  .site-nav .lang-list { display: block; }
  .site-nav .lang-list a { padding: 10px 12px; border-bottom: 0; font-size: 1rem; }
  .site-nav .lang-list a[aria-current] { color: var(--ink); border-color: transparent; }
  .site-nav .btn { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background: radial-gradient(900px 400px at 85% 10%, rgba(43, 179, 160, .12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
/* The chart's top lines up with the green note under the eyebrow line. */
.hero-grid > .hero-chart { margin-top: calc(.78rem * 1.6 + 14px); }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 70%, rgba(43, 179, 160, .22) 70%); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 750; color: var(--brand); margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.17rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-chart { --value: #2a78d6; --cost: #eb6834; margin: 0; background: var(--card); border-radius: 20px; padding: 18px 16px 14px; box-shadow: var(--shadow), 0 30px 60px -30px rgba(15, 42, 61, .25); border: 1px solid var(--line); }
.hero-chart > svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-chart .grid line { stroke: #ece8df; stroke-width: 1; }
.hero-chart .axis { stroke: #d4cec2; stroke-width: 1; }
.hero-chart text { font-family: var(--font); font-size: 12px; fill: var(--muted); }
.hero-chart .y-l text { text-anchor: end; }
.hero-chart .x-l text { text-anchor: middle; font-size: 11.5px; }
.hero-chart .x-l .cur { fill: var(--ink); font-weight: 750; }
.hero-chart .pv, .hero-chart .pc { fill: none; stroke-width: 2; stroke-dasharray: 6 4; stroke-linecap: round; }
.hero-chart .pv { stroke: var(--value); }
.hero-chart .pc { stroke: var(--cost); }
.hero-chart .end { font-weight: 650; }
.hero-chart .end-v { fill: var(--value); }
.hero-chart .end-c { fill: var(--cost); }
.hero-chart .av { fill: var(--value); }
.hero-chart .ac { fill: var(--cost); }
.legend { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 6px 28px; font-size: .82rem; color: var(--ink-2); font-weight: 600; padding: 10px 4px 0; }
.legend .k { display: inline-flex; align-items: center; gap: 7px; }
.legend svg { display: block; flex: none; }
.k-pv line, .k-pc line { stroke-width: 2; stroke-dasharray: 4 3; stroke-linecap: round; }
.k-pv line { stroke: #2a78d6; }
.k-pc line { stroke: #eb6834; }
.k-av rect { fill: #2a78d6; }
.k-ac rect { fill: #eb6834; }
@media (prefers-reduced-motion: no-preference) {
  .hero-chart .bars path { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: grow .7s var(--d, .2s) cubic-bezier(.2, .7, .3, 1) forwards; }
  .hero-chart .pv, .hero-chart .pc, .hero-chart .end { opacity: 0; animation: fade .6s .1s forwards; }
  @keyframes grow { to { transform: scaleY(1); } }
  @keyframes fade { to { opacity: 1; } }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.pt0 { padding-top: 8px; }
.tint { background: var(--tint); }
.section-title { margin-bottom: 32px; }
.section-intro { max-width: 640px; margin-bottom: 36px; }
.section-intro .section-title { margin-bottom: 10px; }
.section-intro p { color: var(--ink-2); font-size: 1.07rem; margin: 0; }
.section-intro.row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.course { display: flex; flex-direction: column; scroll-margin-top: 90px; }
.course h3 { font-size: 1.12rem; margin: 0 0 8px; }
.course p { color: var(--ink-2); font-size: .95rem; margin: 0 0 14px; }
.course .course-formats { display: flex; gap: 6px; margin: auto 0 0; }
.course-formats span { font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 10px; }
.course .course-points { margin: auto 0 0; font-size: .9rem; color: var(--ink-2); }
.course .course-points li { margin-bottom: 4px; }
/* Service and course cards: title, description and bullets/formats share
   row tracks across each row of cards, so they line up everywhere. */
.aligned-cards > .course { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.aligned-cards > .course > * { align-self: start; }
.aligned-cards > .course .course-points, .aligned-cards > .course .course-formats { margin: 0; }
.course-cta { text-align: center; margin: 32px 0 0; }
.integration-group h3 { font-size: 1rem; margin: 0 0 10px; }
.integration-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.integration-group li { font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.integration-note { margin: 22px 0 0; color: var(--ink-2); }
.value-note { position: relative; margin: 0 0 22px; max-width: 34em; padding: 12px 16px 12px 18px; background: var(--brand-soft); border: 1px solid #cde8e3; border-left: 4px solid var(--brand); border-radius: 12px; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.value-note strong { display: block; color: var(--brand); font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 2px; }
.ai-band { background: linear-gradient(160deg, var(--ink) 0%, #12384f 100%); color: #fff; }
.ai-band .section-title { color: #fff; }
.ai-band .section-intro p { color: rgba(255, 255, 255, .78); }
.ai-band .section-intro .eyebrow { color: var(--brand-2); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ai-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 22px 20px; }
.ai-card h3 { color: #fff; font-size: 1.08rem; margin: 0 0 8px; }
.ai-card p { color: rgba(255, 255, 255, .76); font-size: .95rem; margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.tint-card { background: var(--brand-soft); border-color: #cde8e3; box-shadow: none; }

.page-head { padding: 64px 0 40px; }
.page-head .lead { margin-top: 8px; }

.pillar { padding: 4px 0; }
.pillar-icon, .product-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; font-size: 1.3rem; }
.product-icon.lg { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 16px; }
.pillar p { color: var(--ink-2); }

.product-card { display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.tagline { font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.product-card > p:not(.tagline) { color: var(--ink-2); }
.card-actions { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
/* Product cards: icon, name, tagline, intro, features and buttons share row
   tracks across each row of cards, so they line up everywhere. */
.aligned-products > .product-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.aligned-products > .product-card > * { align-self: start; }
.aligned-products > .product-card .card-actions { margin-top: 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--brand); margin-top: .3em; }
.ticks.lg li { font-size: 1.1rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-n { display: block; font-weight: 800; color: var(--brand); font-size: .9rem; letter-spacing: .06em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }

.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; position: relative; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card > p:not(.meta):not(.tags) { color: var(--ink-2); font-size: .95rem; }
.meta { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.tags { margin: auto 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: .75rem; font-weight: 700; background: var(--tint); color: var(--ink-2); padding: 3px 9px; border-radius: 999px; }


.feature h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; }
.feature h3 .i { color: var(--brand); margin-top: .15em; }
.feature p { color: var(--ink-2); font-size: .95rem; }

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.post .prose { padding-bottom: 24px; }
.company-card img { display: block; margin-bottom: 16px; border-radius: 14px; }
.company-card h2 { font-size: 1.3rem; }
.company-card p { color: var(--ink-2); }

.cta-band { background: var(--ink); color: #fff; padding: 72px 0; background-image: radial-gradient(700px 300px at 90% 0%, rgba(43, 179, 160, .25), transparent 60%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #c3d0da; max-width: 36em; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pricing ---------- */
.product-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto 34px; padding: 5px; width: fit-content; max-width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.product-tabs[hidden] { display: none; }
.product-tabs button { font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.product-tabs button:hover { color: var(--ink); }
.product-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.plans-panel + .plans-panel { margin-top: 56px; }
.has-product-tabs .plans-panel + .plans-panel { margin-top: 0; }
.plans-product { font-size: 1.5rem; margin: 0 0 22px; }
.plans-product a { color: inherit; text-decoration: none; }
.has-product-tabs .plans-product { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.plan-popular { border: 2px solid var(--brand); box-shadow: var(--shadow), 0 24px 48px -28px rgba(14, 138, 123, .45); }
.plan-badge { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan-name { font-size: 1.35rem; margin-bottom: 6px; }
.plan-tagline { color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.plan-price { margin: 8px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan-price .amount-text { font-size: 1.9rem; }
.plan-price .unit { color: var(--muted); font-weight: 650; }
.plan-note { color: var(--muted); font-size: .85rem; min-height: 2.6em; margin-bottom: 16px; }
.plan .btn { justify-content: center; }
.plan-secondary { justify-content: center; margin-top: 10px; font-size: .92rem; }
.plan-includes { font-weight: 700; font-size: .88rem; margin: 22px 0 10px; }
.plan > .ticks { margin-top: 22px; font-size: .94rem; }
.plan-includes + .ticks { margin-top: 0; }
.plans-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }
.form-hint { margin: -8px 0 0; font-size: .9rem; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan-tagline, .plan-note { min-height: 0; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.form { display: grid; gap: 20px; }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: .92rem; }
.opt { color: var(--muted); font-weight: 500; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d4cec2; border-radius: 10px; padding: .7em .85em; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #b8b1a3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(43, 179, 160, .18); }
textarea { resize: vertical; min-height: 120px; }
input, select, textarea, .chips { scroll-margin-top: 100px; }
.invalid input, .invalid select, .invalid textarea, input.invalid { border-color: var(--danger); }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .5em 1em; border: 1.5px solid #d4cec2; border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; transition: .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: .2em 0 0; accent-color: var(--brand); flex: none; padding: 0; }
.check.invalid span { color: var(--danger); }
.check.small { font-size: .8rem; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--brand); background: var(--brand-soft); padding: 14px 16px; border-radius: 10px; }
.form-status.err { color: var(--danger); }
.form.done > :not(.form-status) { display: none; }
.form.done .form-status { font-size: 1.1rem; padding: 24px; }
.aside h2 { font-size: 1.2rem; }

.newsletter { display: grid; gap: 10px; position: relative; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { min-width: 0; }
.newsletter.done .nl-row, .newsletter.done .check { display: none; }
.newsletter-card { text-align: left; }
.center .newsletter { max-width: 460px; margin: 20px auto 0; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2030; color: #b9c6d0; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #dfe7ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 40px; }
.footer-brand p { margin-top: 14px; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer input[type=email] { background: #12304a; border-color: #24465f; color: #fff; }
.site-footer input::placeholder { color: #8ea2b1; }
.site-footer .btn { background: var(--brand); }
.site-footer .check { color: #9fb1bf; }
.site-footer .form-status.ok { background: rgba(43, 179, 160, .15); color: #7fe0d0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #1c3a50; margin-top: 48px; padding-top: 24px; font-size: .85rem; }

/* ---------- ATLAS page story ---------- */
.why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.why-text { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.loop li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 64px; box-shadow: var(--shadow); }
.loop li::before { content: ''; position: absolute; left: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand); }
.loop li:not(:last-child)::after { content: ''; position: absolute; left: 32px; top: calc(50% + 15px); height: calc(100% - 16px); border-left: 2px dashed var(--brand-2); z-index: 1; }
.loop strong { display: block; font-size: 1.05rem; }
.loop span { color: var(--ink-2); font-size: .95rem; }

.model-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.tracks { display: grid; gap: 18px; }
.track { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.track-v { --c: #2a78d6; }
.track-c { --c: #eb6834; }
.track-k { font-weight: 750; font-size: 1.15rem; margin: 0 0 4px; }
.track-k span { font-weight: 600; font-size: .9rem; color: var(--muted); }
.track-test { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--c); margin: 0 0 6px; }
.track p:last-child { color: var(--ink-2); font-size: .95rem; margin: 0; }
.rules { margin-bottom: 36px; }
.ledger { background: var(--ink); color: #fff; border-radius: 18px; padding: 24px 26px; }
.ledger-title { font-weight: 700; margin: 0 0 14px; color: rgba(255, 255, 255, .85); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ledger li { display: grid; gap: 4px; }
.ledger code { font-family: var(--font); font-weight: 800; font-size: 1.3rem; color: var(--brand-2); letter-spacing: -.01em; }
.ledger span { color: rgba(255, 255, 255, .75); font-size: .92rem; }

.hub { position: relative; display: grid; grid-template-columns: 1fr minmax(180px, 220px) 1fr; grid-template-areas: "s0 core s3" "s1 core s4" "s2 core s5" "ring ring ring"; gap: 18px 56px; align-items: center; border: 2px dashed var(--brand-2); border-radius: 36px; padding: 32px 32px 20px; }
.hub-core { grid-area: core; aspect-ratio: 1; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-content: center; text-align: center; padding: 18px; box-shadow: 0 18px 40px -18px rgba(14, 138, 123, .7); }
.hub-core strong { font-size: 1.45rem; letter-spacing: -.02em; }
.hub-core span { font-size: .85rem; opacity: .9; }
.hub-sat { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); display: grid; }
.hub-sat strong { font-size: 1.02rem; }
.hub-sat span { color: var(--muted); font-size: .9rem; }
.hub-sat::after { content: ''; position: absolute; top: 50%; width: 56px; border-top: 2px solid var(--line); }
.hub-s0, .hub-s1, .hub-s2 { text-align: right; }
.hub-s0::after, .hub-s1::after, .hub-s2::after { left: 100%; }
.hub-s3::after, .hub-s4::after, .hub-s5::after { right: 100%; }
.hub-s0 { grid-area: s0; } .hub-s1 { grid-area: s1; } .hub-s2 { grid-area: s2; }
.hub-s3 { grid-area: s3; } .hub-s4 { grid-area: s4; } .hub-s5 { grid-area: s5; }
.hub-s0 { border-color: #f2c9a4; background: #fff8f1; }
.hub-ring { grid-area: ring; text-align: center; color: var(--brand); font-weight: 700; font-size: .95rem; margin: 6px 0 0; }

.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.role { padding: 24px 22px; }
.role h3 { font-size: 1.05rem; }
.role .ticks { font-size: .93rem; color: var(--ink-2); }
.role .ticks .i { color: var(--brand); margin-top: .2em; }

@media (max-width: 860px) {
  .why-grid, .model-grid { grid-template-columns: 1fr; gap: 28px; }
  .ledger ul { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr 1fr; grid-template-areas: "core core" "s0 s3" "s1 s4" "s2 s5" "ring ring"; gap: 14px; padding: 22px 16px 16px; border-radius: 24px; }
  .hub-core { width: 168px; justify-self: center; }
  .hub-sat { text-align: left; }
  .hub-sat::after { display: none; }
}

/* ---------- Introduction page ---------- */
.read-intro { margin: 18px 0 0; }
.read-intro .link { font-size: .98rem; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; box-shadow: var(--shadow); }
.toc-title { font-weight: 750; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }
.intro h2 { scroll-margin-top: 90px; padding-top: .4em; border-top: 1px solid var(--line); }
.intro h3 { font-size: 1.12rem; margin: 1.6em 0 .5em; }
.intro ol { padding-left: 1.4em; }
.intro li em { color: var(--muted); }
.shot { margin: 28px 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.table-scroll { overflow-x: auto; margin: 0 0 1em; -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.table-scroll th, .table-scroll td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table-scroll th { color: var(--ink); background: var(--tint); }
.table-scroll td { color: var(--ink-2); }
dl.terms { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 1.2em; }
dl.terms dt { font-weight: 750; color: var(--ink); }
dl.terms dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) {
  .toc ol { columns: 1; }
  dl.terms { grid-template-columns: 1fr; gap: 2px; }
  dl.terms dd { margin-bottom: 10px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .form-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  /* On narrow screens the chart sits right below the headline. */
  .hero-grid { gap: 0; }
  .hero-text { display: contents; }
  .hero-grid > .hero-chart { margin: 4px 0 24px; order: 1; }
  .hero-text > .lead { order: 2; }
  .hero-text > .hero-actions { order: 3; }
  .hero { padding-top: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .card { padding: 22px; }
  .grid-4, .steps, .grid-fields, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .nl-row { flex-direction: column; }
  .form .btn { justify-self: stretch; justify-content: center; }
}
