/* Frame landing site, version 2. One stylesheet, no framework. */

:root {
  --blue: #2440d8;
  --blue-dark: #1a2fae;
  --sky: #1b75bc;
  --navy: #0d1640;
  --navy-2: #16215c;
  --ink: #101633;
  --text: #414a68;
  --muted: #6c7593;
  --line: #e3e7f3;
  --tint: #f3f6ff;
  --tint-2: #e8edff;
  --white: #fff;
  --green: #0f9d67;
  --amber: #f4a321;
  --red: #c8372d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 22, 51, .06), 0 2px 8px rgba(16, 22, 51, .04);
  --shadow: 0 10px 30px rgba(22, 33, 92, .10), 0 2px 6px rgba(22, 33, 92, .05);
  --shadow-lg: 0 30px 70px rgba(22, 33, 92, .18), 0 6px 18px rgba(22, 33, 92, .08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(36, 64, 216, .45); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--tint); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.icon { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  padding: 13px 22px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(36, 64, 216, .28); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 12px 26px rgba(36, 64, 216, .34); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { background: transparent; color: var(--ink); padding-inline: 14px; }
.btn--ghost:hover { color: var(--blue); }
.btn--light { background: #fff; color: var(--blue-dark); }
.btn--light:hover { background: var(--tint-2); }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--line-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--lg { padding: 16px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16, 22, 51, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-header__logo img { width: 118px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; margin-left: 28px; }
.site-nav__links { display: flex; gap: 4px; }
.site-nav__links a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.site-nav__links a:hover { color: var(--ink); background: var(--tint); text-decoration: none; }
.site-nav__links a[aria-current="page"] { color: var(--blue); }
.site-nav__actions { display: flex; align-items: center; gap: 6px; }
.site-nav__actions .btn { padding-block: 11px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(16, 22, 51, .12);
    padding: 12px 20px 24px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .site-nav__actions .btn--ghost { border-color: var(--line); }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--tint-2); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--plain { text-transform: none; letter-spacing: 0; font-size: .88rem; }
.eyebrow--dark { color: #cfd8ff; background: rgba(255, 255, 255, .1); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-head--left { margin-inline: 0; text-align: left; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.text-link .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.text-link:hover { text-decoration: none; }
.text-link:hover .icon { transform: translateX(4px); }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 20px; height: 20px; color: var(--green); margin-top: 3px; stroke-width: 2.6; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--tint-2); color: var(--blue); margin-bottom: 18px; flex: none;
}
.icon-badge .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(36, 64, 216, .10), transparent 70%),
    radial-gradient(45% 45% at 5% 0%, rgba(27, 117, 188, .10), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--muted); font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; }
.hero__login { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero__art { position: relative; }
.hero__art img { width: 100%; max-width: 620px; margin-inline: auto; mix-blend-mode: multiply; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin-inline: auto; }
  .hero__actions .btn { flex: 1 1 220px; }
}

/* ---------- Clients band ---------- */
.clients { background: var(--navy); color: #fff; padding-block: 34px; }
.clients__inner { display: flex; align-items: center; gap: 28px 48px; flex-wrap: wrap; justify-content: center; }
.clients__label { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fb0ee; margin: 0; }
.clients__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.clients__logos img { height: 38px; width: auto; opacity: .92; }
@media (max-width: 560px) { .clients__logos { gap: 14px 26px; } .clients__logos img { height: 30px; } }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd7f3; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }

/* ---------- Product showcase (tabs) ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.showcase__tabs { display: grid; gap: 12px; }
.showcase__tab {
  display: flex; gap: 16px; text-align: left; width: 100%; font: inherit; color: inherit;
  background: transparent; border: 1.5px solid transparent; border-radius: var(--radius); padding: 18px 20px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.showcase__tab:hover { background: #fff; }
.showcase__tab[aria-selected="true"] { background: #fff; border-color: var(--blue); box-shadow: var(--shadow); }
.showcase__num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-weight: 800; font-size: .9rem; color: var(--blue); background: var(--tint-2);
}
.showcase__tab[aria-selected="true"] .showcase__num { background: var(--blue); color: #fff; }
.showcase__tab strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.showcase__tab span.desc { display: block; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.showcase__stage { background: #fff; border-radius: 24px; padding: clamp(14px, 3vw, 32px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.showcase__panel[hidden] { display: none; }
.showcase__panel img { width: 100%; border-radius: 8px; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } .showcase__stage { order: -1; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; }
.split__media--framed { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; overflow: hidden; }
.split__media--framed img { border-radius: 12px; }
.feature-list { display: grid; gap: 22px; margin-top: 26px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list .icon-badge { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.feature-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ---------- Audience chips ---------- */
.audience { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.audience li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.audience .icon { color: var(--blue); width: 20px; height: 20px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: var(--blue); color: #fff; font-weight: 800;
}
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow-sm); }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan__flag { position: absolute; top: -14px; left: 28px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan__name { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.plan__note { color: var(--muted); font-size: .95rem; min-height: 3.1em; margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.plan__price strong { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.plan__price span { color: var(--muted); font-weight: 600; font-size: .95rem; }
.plan__limits { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.plan__limits span { background: var(--tint); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.plan .checks { margin-bottom: 26px; font-size: .96rem; }
.plan .btn { margin-top: auto; }
.plan__more { text-align: center; margin: 12px 0 0; font-size: .9rem; }
.plans-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan__note { min-height: 0; } }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--tint); color: var(--ink); font-size: 1rem; }
.compare tbody th { color: var(--ink); font-weight: 700; width: 22%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; display: inline-block; vertical-align: -3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #cfd7f3; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); flex: none; margin-right: 4px; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 20px; color: var(--text); }

/* ---------- Call to action band ---------- */
.cta { padding-block: clamp(40px, 6vw, 80px); }
.cta__box {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff; text-align: center;
  padding: clamp(40px, 7vw, 76px) clamp(22px, 5vw, 60px);
  background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 45%, #2b3990 100%);
}
.cta__box::before, .cta__box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta__box::before { width: 360px; height: 360px; right: -120px; top: -160px; }
.cta__box::after { width: 260px; height: 260px; left: -90px; bottom: -130px; }
.cta__box > * { position: relative; z-index: 1; }
.cta__box h2 { color: #fff; max-width: 680px; margin-inline: auto; }
.cta__box p { color: rgba(255, 255, 255, .86); font-size: 1.08rem; max-width: 560px; margin: 0 auto 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; text-align: center; padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 60px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(36, 64, 216, .10), transparent 70%), var(--tint);
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 800px; margin-inline: auto; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; color: var(--text); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: 7px; }
.field .hint { font-weight: 500; color: var(--muted); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 64, 216, .14); }
.field input[type="file"] { width: 100%; font: inherit; padding: 16px; border: 1.5px dashed #c4cdea; border-radius: 12px; background: var(--tint); cursor: pointer; }
.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha img { height: 46px; width: auto; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.captcha input { flex: 1 1 160px; }
.captcha button { font: inherit; font-weight: 700; font-size: .9rem; color: var(--blue); background: none; border: 0; cursor: pointer; padding: 6px; }
.form__status { border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: .96rem; }
.form__status:empty { display: none; }
.form__status.is-success { background: #e6f6ef; color: #0a6b46; border: 1px solid #b9e5d3; }
.form__status.is-error { background: #fdecea; color: #9a251d; border: 1px solid #f5c6c1; }
.form__foot { color: var(--muted); font-size: .9rem; margin: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.office { display: grid; gap: 14px; }
.office + .office { margin-top: 18px; }
.office h3 { margin: 0; }
.office ul { display: grid; gap: 10px; color: var(--text); }
.office li { display: flex; gap: 12px; align-items: flex-start; }
.office .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.office a { color: var(--text); font-weight: 600; }

/* ---------- Plan detail ---------- */
.plan-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .plan-detail { grid-template-columns: 1fr; } }
.plan-detail__aside { position: sticky; top: 96px; }
@media (max-width: 900px) { .plan-detail__aside { position: static; } }
.numbered { counter-reset: n; display: grid; gap: 14px; }
.numbered li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; }
.numbered li::before { content: counter(n); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2); color: var(--blue); font-weight: 800; font-size: .88rem; }
.mini-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .mini-plans { grid-template-columns: 1fr; } }
.mini-plan { display: block; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--text); }
.mini-plan:hover { border-color: var(--blue); text-decoration: none; }
.mini-plan.is-current { border-color: var(--blue); background: var(--tint); }
.mini-plan strong { display: block; color: var(--ink); font-size: 1.05rem; }
.mini-plan b { color: var(--blue); }
.note { background: var(--tint); border-radius: 12px; padding: 14px 16px; font-size: .93rem; color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.legal__nav { position: sticky; top: 96px; }
.legal__nav h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal__nav ul { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal__nav a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); font-size: .93rem; font-weight: 600; }
.legal__nav a:hover { color: var(--blue); border-left-color: var(--blue); text-decoration: none; }
.legal__body { max-width: 740px; }
.legal__body section { padding-block: 28px; border-top: 1px solid var(--line); }
.legal__body section:first-of-type { border-top: 0; padding-top: 0; }
.legal__body .num { display: block; font-weight: 800; color: var(--blue); font-size: .85rem; margin-bottom: 6px; }
.legal__body h3 { font-size: 1.35rem; margin-bottom: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; display: grid; gap: 6px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__nav { position: static; background: var(--tint); border-radius: 14px; padding: 18px; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.notfound__code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--sky), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b7c0e4; padding-block: clamp(48px, 6vw, 72px) 28px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #b7c0e4; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer__brand p { margin: 18px 0 0; max-width: 300px; }
.site-footer__brand .site-footer__motto { color: #fff; font-weight: 700; font-style: italic; margin-top: 10px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .15s ease; }
.site-footer__social a:hover { background: var(--blue); }
.site-footer__social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #8e99c6; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
