/* ==========================================================
   Hskky — site stylesheet
   Polar palette: snow, iceberg, frost, light/sky/ocean/dark blue, abyss
   Designed by 530 Expert · Developed by ESS ENN Associates
   ========================================================== */

:root {
  --snow: #FFFFFF;
  --iceberg: #F3F7FB;
  --frost: #E4ECF2;
  --mist: #D0DCE6;
  --light-blue: #9DB8CE;
  --sky-blue: #6B94B2;
  --ocean: #2E7AB5;
  --deep-ocean: #1D6494;
  --dark-blue: #0F3B5C;
  --abyss: #0A2A42;

  /* Text tokens (all pass WCAG AA on snow and iceberg) */
  --text: #0F3B5C;
  --text-body: #26506F;
  --text-2: #3E6480;
  --line: #E4ECF2;
  --glow: rgba(46, 122, 181, 0.14);

  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 124px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep-ocean); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 2000;
  background: var(--dark-blue); color: #fff; padding: 12px 18px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--dark-blue); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { color: var(--text-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--ocean); color: #fff; }
.btn-primary:hover { background: var(--deep-ocean); color: #fff; box-shadow: 0 6px 20px rgba(46, 122, 181, 0.28); }
.btn-primary:disabled { background: var(--sky-blue); cursor: progress; box-shadow: none; }
.btn-quiet { background: transparent; color: var(--dark-blue); }
.btn-quiet:hover { background: var(--iceberg); color: var(--dark-blue); }
.btn-outline { background: #fff; color: var(--dark-blue); border-color: var(--mist); }
.btn-outline:hover { border-color: var(--ocean); color: var(--ocean); }
.btn-light { background: #fff; color: var(--dark-blue); }
.btn-light:hover { background: var(--iceberg); color: var(--dark-blue); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 24px rgba(15, 59, 92, 0.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 100px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 28px; list-style: none; }
.nav-list a {
  display: inline-block; padding: 6px 0; color: var(--text-2); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-list a:hover { color: var(--dark-blue); }
.nav-list a[aria-current="page"] { color: var(--dark-blue); border-bottom-color: var(--ocean); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--mist); border-radius: 10px; background: #fff; cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 20px; height: 2px; background: var(--dark-blue); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-sm { padding: 88px 0; }
.bg-iceberg { background: var(--iceberg); }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head p { margin-top: 16px; font-size: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-foot { margin-top: 48px; }
.kicker { display: block; font-family: var(--mono); font-size: 0.85rem; color: var(--ocean); margin-bottom: 14px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 104px;
  background: linear-gradient(180deg, #fff 0%, var(--iceberg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; max-width: 13ch; }
.hero .lead { margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin-top: 24px; font-size: 0.92rem; color: var(--text-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; stroke: var(--ocean); fill: none; stroke-width: 2.4; }

.berg { position: relative; }
.berg svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 48px rgba(15, 59, 92, 0.12)); }
.berg .tip-group { animation: rise 1.4s var(--ease) 0.15s both; }
.berg .chip-top { animation: fade-in 0.8s var(--ease) 0.9s both; }
.berg .chip-deep { animation: fade-in 0.8s var(--ease) 1.25s both; }
@keyframes rise { from { transform: translateY(46px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Mask form ---------- */
.mask-form { position: relative; max-width: 580px; }
.mask-label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--dark-blue); margin-bottom: 10px; }
.mask-row {
  display: flex; gap: 6px; padding: 6px;
  background: #fff; border: 2px solid var(--frost); border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mask-row:focus-within { border-color: var(--ocean); box-shadow: 0 0 0 4px var(--glow); }
.mask-row input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--mono); font-size: 1rem; color: var(--dark-blue); padding: 14px 16px;
}
.mask-row input::placeholder { color: #6B8AA3; }
.mask-row .btn { padding: 14px 24px; }
.mask-msg { min-height: 1.5em; margin-top: 12px; font-size: 0.88rem; color: var(--text-2); }
.mask-msg a { font-weight: 600; }
.mask-msg.is-error { color: var(--dark-blue); font-weight: 600; }
.mask-msg.is-error::before { content: '! '; color: var(--ocean); font-weight: 800; }
.mask-form.is-invalid .mask-row { border-color: var(--deep-ocean); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Steps (a true sequence) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--mist); }
.steps li { padding: 36px 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--mist); }
.step-num { display: block; font-family: var(--mono); font-weight: 700; font-size: 0.9rem; color: var(--ocean); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 52px 72px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 20px; align-items: start; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--iceberg); border: 1px solid var(--frost); display: grid; place-items: center; }
.bg-iceberg .feature-icon { background: #fff; }
.feature-icon svg { width: 21px; height: 21px; stroke: var(--ocean); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.tag {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700; line-height: 1.6;
  color: var(--deep-ocean); background: var(--iceberg); border: 1px solid var(--mist);
  padding: 1px 8px; border-radius: 999px;
}

/* ---------- Lifecycle (dark band) ---------- */
.lifecycle { background: var(--abyss); color: var(--light-blue); position: relative; overflow: hidden; }
.lifecycle h2, .lifecycle h3 { color: #fff; }
.lifecycle p { color: var(--light-blue); }
.lifecycle .kicker { color: var(--light-blue); }
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline::before {
  content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--light-blue) 0%, var(--sky-blue) 55%, rgba(157, 184, 206, 0.12) 100%);
}
.timeline li { position: relative; padding: 44px 28px 0 0; }
.timeline li::before {
  content: ''; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--abyss); border: 2px solid var(--light-blue);
}
.timeline li:first-child::before { background: var(--light-blue); }
.timeline li:last-child::before { border-style: dashed; }
.timeline .when { display: block; font-family: var(--mono); font-size: 0.82rem; color: var(--light-blue); margin-bottom: 8px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { font-size: 0.97rem; }
.callout-dark {
  margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(157, 184, 206, 0.2);
  display: grid; grid-template-columns: 46px 1fr; gap: 20px; max-width: 800px;
}
.callout-dark .feature-icon { background: rgba(157, 184, 206, 0.1); border-color: rgba(157, 184, 206, 0.2); }
.callout-dark .feature-icon svg { stroke: var(--light-blue); }
.callout-dark h3 { margin-bottom: 8px; }
.lifecycle a { color: #fff; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 960px; }
.plans.center { margin: 0 auto; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--frost); border-radius: 20px; padding: 40px; }
.plan-featured { border: 2px solid var(--ocean); box-shadow: 0 24px 64px rgba(15, 59, 92, 0.09); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-size: 1.15rem; font-weight: 700; color: var(--dark-blue); }
.plan-badge { font-size: 0.8rem; font-weight: 600; color: var(--ocean); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; }
.price strong { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--dark-blue); }
.price span { color: var(--text-2); font-size: 1rem; }
.plan-desc { margin-bottom: 28px; }
.checklist { list-style: none; display: grid; gap: 13px; margin-bottom: 36px; flex: 1; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-body); font-size: 0.98rem; line-height: 1.5; }
.checklist svg { width: 18px; height: 18px; margin-top: 2px; stroke: var(--ocean); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan-note { margin-top: 14px; font-size: 0.85rem; text-align: center; }
.fine-print { margin-top: 28px; font-size: 0.9rem; max-width: 70ch; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--frost); border-radius: 16px; background: #fff; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
caption { text-align: left; padding: 18px 22px 0; font-weight: 700; color: var(--dark-blue); }
th, td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--frost); }
thead th { background: var(--iceberg); color: var(--dark-blue); font-size: 0.9rem; font-weight: 700; }
tbody th { color: var(--dark-blue); font-weight: 600; width: 26%; }
td { color: var(--text-body); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.col-ours { background: rgba(46, 122, 181, 0.05); }
thead .col-ours { background: #E3EEF7; }

/* ---------- Link rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.link-rows { list-style: none; border-top: 1px solid var(--mist); }
.link-rows a {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--mist); text-decoration: none; color: var(--dark-blue);
}
.lr-title { display: block; font-weight: 700; font-size: 1.12rem; transition: color 0.2s; }
.lr-desc { display: block; margin-top: 4px; font-size: 0.95rem; color: var(--text-2); }
.link-rows svg { width: 20px; height: 20px; stroke: var(--ocean); fill: none; stroke-width: 2; transition: transform 0.25s var(--ease); }
.link-rows a:hover .lr-title { color: var(--ocean); }
.link-rows a:hover svg { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; border-top: 1px solid var(--mist); }
.faq.center { margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 24px 0; font-weight: 600; font-size: 1.07rem; color: var(--dark-blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto; font-weight: 400; font-size: 1.7rem; line-height: 0.8; color: var(--ocean);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ocean); }
.faq .answer { padding: 0 48px 26px 0; }
.faq .answer p { color: var(--text-body); }
.faq .answer p + p { margin-top: 12px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* ---------- Posts ---------- */
.post-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.post-list li { border-top: 2px solid var(--dark-blue); padding-top: 22px; }
.post-meta { font-size: 0.85rem; color: var(--text-2); margin-bottom: 10px; }
.post-list h3 { font-size: 1.25rem; margin-bottom: 10px; }
.post-list h3 a { color: var(--dark-blue); text-decoration: none; }
.post-list h3 a:hover { color: var(--ocean); text-decoration: underline; }
.post-list p { font-size: 0.97rem; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 48px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--iceberg) 100%); border-bottom: 1px solid var(--frost); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); max-width: 22ch; margin-top: 28px; }
.page-hero .lead { margin-top: 20px; }
.page-hero .meta { margin-top: 20px; font-size: 0.9rem; color: var(--text-2); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--text-2); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--sky-blue); }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ocean); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--dark-blue); }

/* ---------- Prose (articles, legal, guides) ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; gap: 72px; }
.prose { max-width: 720px; color: var(--text-body); }
.prose > * + * { margin-top: 1.15em; }
.prose p, .prose li { color: var(--text-body); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.75em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.55em; }
.prose li::marker { color: var(--ocean); }
.prose strong { color: var(--dark-blue); }
.prose .table-wrap { margin-top: 1.6em; margin-bottom: 0.4em; }
.prose .table-wrap table { min-width: 560px; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--iceberg); border: 1px solid var(--frost); padding: 1px 6px; border-radius: 6px; color: var(--dark-blue); }
.short-answer { font-size: 1.12rem; line-height: 1.6; padding: 22px 26px; background: var(--iceberg); border-radius: 14px; color: var(--dark-blue); }
.short-answer strong { display: block; font-size: 0.9rem; margin-bottom: 6px; color: var(--ocean); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; }
.legal .contents { padding: 24px 28px; border: 1px solid var(--frost); border-radius: 14px; }
.legal .contents h2 { font-size: 1rem; margin: 0 0 10px; }
.legal .contents ol { columns: 2; column-gap: 32px; font-size: 0.95rem; }
.legal .contents li { break-inside: avoid; }
.legal .contents li + li { margin-top: 0.35em; }

.aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 28px; }
.aside-card { padding: 28px; border-radius: 18px; background: var(--abyss); color: var(--light-blue); }
.aside-card h2 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.aside-card p { color: var(--light-blue); font-size: 0.95rem; margin-bottom: 20px; }
.aside-links h2 { font-size: 1rem; margin-bottom: 12px; }
.aside-links ul { list-style: none; display: grid; gap: 10px; }
.aside-links a { font-size: 0.95rem; text-decoration: none; color: var(--text-body); }
.aside-links a:hover { color: var(--ocean); text-decoration: underline; }

/* ---------- Glossary ---------- */
.glossary { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--mist); }
.glossary div { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--mist); }
.glossary dt { font-weight: 700; color: var(--dark-blue); font-size: 1.05rem; }
.glossary dd { color: var(--text-body); }
.glossary dd p + p { margin-top: 10px; }
.glossary dd p { color: var(--text-body); }
.az { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; list-style: none; }
.az a { display: inline-block; padding: 6px 12px; border: 1px solid var(--mist); border-radius: 8px; text-decoration: none; font-size: 0.9rem; color: var(--dark-blue); }
.az a:hover { border-color: var(--ocean); color: var(--ocean); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.contact-form { background: var(--iceberg); border: 1px solid var(--frost); border-radius: 20px; padding: 40px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--dark-blue); margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: #fff; color: var(--dark-blue);
  border: 1.5px solid var(--mist); border-radius: 10px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 4px var(--glow); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin-top: 16px; font-size: 0.92rem; min-height: 1.4em; color: var(--text-2); }
.form-status.is-success { color: var(--deep-ocean); font-weight: 600; }
.form-status.is-error { color: var(--dark-blue); font-weight: 600; }
.contact-list { list-style: none; display: grid; gap: 24px; margin-top: 36px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; }
.contact-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-list p { font-size: 0.97rem; }

/* ---------- CTA band (the waterline) ---------- */
.cta-band { background: var(--dark-blue); padding: 104px 0 40px; color: var(--light-blue); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--light-blue); margin-top: 16px; font-size: 1.1rem; }
.cta-band .mask-label { color: #fff; }
.cta-band .mask-row { border-color: transparent; }
.cta-band .mask-msg { color: var(--light-blue); }
.cta-band .mask-msg.is-error { color: #fff; }
.cta-band .mask-msg a { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: var(--light-blue); background: linear-gradient(180deg, var(--dark-blue) 0, var(--abyss) 300px); overflow: hidden; }
.site-footer.no-cta { background: linear-gradient(180deg, #fff 0, #fff 40px, var(--dark-blue) 41px, var(--abyss) 340px); }
.footer-scene { display: block; width: 100%; height: auto; }
.footer-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.footer-particles span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(157, 184, 206, 0.22); animation: drift 16s linear infinite; }
.footer-particles span:nth-child(1) { left: 12%; top: 34%; animation-delay: 0s; }
.footer-particles span:nth-child(2) { left: 31%; top: 52%; animation-delay: 3s; animation-duration: 19s; }
.footer-particles span:nth-child(3) { left: 57%; top: 28%; animation-delay: 6s; }
.footer-particles span:nth-child(4) { left: 74%; top: 46%; animation-delay: 1.5s; animation-duration: 21s; }
.footer-particles span:nth-child(5) { left: 89%; top: 38%; animation-delay: 4.5s; }
@keyframes drift {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 1; } 88% { opacity: 1; }
  100% { transform: translate(18px, -70px); opacity: 0; }
}
.footer-main { position: relative; z-index: 1; padding: 40px 0 48px; }
.footer-top { display: grid; grid-template-columns: minmax(300px, 1.2fr) 3fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(157, 184, 206, 0.18); }
.footer-brand img { height: 110px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.footer-brand p { margin: 22px 0 26px; max-width: 30ch; color: var(--light-blue); font-size: 0.98rem; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.footer-col h2 { font-size: 0.98rem; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--light-blue); font-size: 0.93rem; text-decoration: none; line-height: 1.45; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; padding-top: 28px; font-size: 0.87rem; color: var(--light-blue); }
.footer-bottom p { color: var(--light-blue); }
.footer-credits { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { margin: 0 auto 20px; max-width: 16ch; }
.notfound p { margin: 0 auto 36px; max-width: 48ch; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .with-aside { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; max-width: 720px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero h1 { max-width: 16ch; }
  .berg { max-width: 520px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 64px; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px 24px 28px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(15, 59, 92, 0.12);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { color: var(--ocean); border-bottom-color: var(--line); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
  .nav-actions .btn { padding: 15px; }
  .nav-actions .btn-quiet { border: 1.5px solid var(--mist); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .post-list { grid-template-columns: 1fr 1fr; }
  .feature-list { gap: 44px 48px; }
}
@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .section-sm { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 48px 0 80px; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps li, .steps li + li { padding: 28px 0; border-left: 0; border-top: 1px solid var(--mist); }
  .feature-list { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr; row-gap: 36px; }
  .post-list { grid-template-columns: 1fr; gap: 36px; }
  .mask-row { flex-direction: column; }
  .mask-row .btn { width: 100%; padding: 16px; }
  .plan { padding: 30px 24px; }
  .glossary div { grid-template-columns: 1fr; gap: 8px; }
  .legal .contents ol { columns: 1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .faq .answer { padding-right: 0; }
  .cta-band { padding-top: 80px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  .container { padding: 0 20px; }
  .footer-actions .btn { flex: 1 1 100%; }
}

/* Button on dark backgrounds */
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(157, 184, 206, 0.45); }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: #fff; }

/* Vertical lifecycle line on phones */
@media (max-width: 720px) {
  .timeline::before { display: block; top: 10px; bottom: 10px; left: 7px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--sky-blue) 60%, rgba(157, 184, 206, 0.12) 100%); }
  .timeline li { padding: 0 0 0 40px; }
}

/* Logo scaling on small screens, so the navbar logo never collides with the menu button */
@media (max-width: 720px) {
  :root { --header-h: 88px; }
  .brand img { height: 64px; }
}
