/* ==========================================================================
   IDZIO — site stylesheet
   Brand: Midnight #111827 · Electric Blue #246BCE · Teal #18B6A4 · Off-white #F5F7FA
   Type:  Sora (headings) · Inter (body, UI)
   ========================================================================== */

:root {
  --midnight: #111827;
  --night: #0B1220;          /* deepest background (hero, footer) */
  --night-2: #131D30;        /* raised surface on dark */
  --line-dark: #22304A;
  --blue: #246BCE;
  --blue-600: #1D59AD;
  --blue-50: #EAF1FB;
  --teal: #18B6A4;
  --teal-ink: #0B7A6E;       /* teal dark enough for text on white */
  --off: #F5F7FA;
  --white: #FFFFFF;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #5B6575;
  --muted-dark: #A3B1C6;     /* body text on dark */
  --line: #E3E7EE;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px -12px rgba(17,24,39,.12);
  --shadow-lg: 0 2px 4px rgba(17,24,39,.04), 0 24px 48px -20px rgba(17,24,39,.22);
  --max: 1200px;
  --head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink-2); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 600; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.container { width: min(var(--max), 100% - 2 * clamp(20px, 5vw, 48px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--off { background: var(--off); }
.section--dark { background: var(--night); color: var(--muted-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead { color: var(--muted-dark); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .9rem/1 var(--body); color: var(--blue); margin-bottom: 18px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.section--dark .kicker, .hero .kicker { color: #7FB0F0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--teal); }
.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; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-dark { border-color: #33435F; color: var(--white); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue); }
.text-link .ic { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,18,32,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(11,18,32,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 112px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: #C9D3E2; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 8px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: 76px 0 auto 0; background: var(--night); border-bottom: 1px solid var(--line-dark); padding: 12px clamp(20px, 5vw, 48px) 28px; display: none; }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { min-height: 54px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); padding: 0 4px; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--teal); }
  .nav-cta { margin: 20px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--muted-dark); overflow: hidden; margin-top: -76px; padding-top: 76px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-dark), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 120px); }
.hero h1 { color: var(--white); }
.hero h1 .dot { color: var(--teal); }
.hero .lead { color: var(--muted-dark); margin-top: 26px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding: 0; list-style: none; font-size: .95rem; color: #8FA0B8; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { width: 18px; height: 18px; color: var(--teal); }
.orbit { width: 100%; aspect-ratio: 1; max-width: 560px; margin-inline: auto; }
.orbit text { font-family: var(--body); }
.orbit .spin { transform-origin: 280px 280px; animation: spin 60s linear infinite; }
.orbit .spin-rev { transform-origin: 280px 280px; animation: spin 90s linear infinite reverse; }
.orbit .pulse { animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .9; transform: scale(1.6); } }
/* Desktop: lift the services wheel so it sits across from the headline */
@media (min-width: 901px) {
  .hero-grid > .orbit { align-self: start; margin-top: -28px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { max-width: 440px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--night); color: var(--muted-dark); margin-top: -76px; padding: calc(76px + clamp(56px, 8vw, 104px)) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); max-width: 15em; font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.page-hero .lead { color: var(--muted-dark); margin-top: 24px; }
.page-hero .rings { position: absolute; right: -180px; top: 50%; width: 620px; transform: translateY(-46%); opacity: .9; pointer-events: none; }
@media (max-width: 760px) { .page-hero .rings { right: -320px; opacity: .5; } }

/* ---------- Advantage / benefits ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.split .lead + .lead { margin-top: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.benefit .icon-tile { margin-bottom: 20px; }
.benefit p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1120px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s; }
.card:hover { border-color: #BFD3F1; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card h3 { margin-top: 22px; font-size: 1.12rem; }
.card p { margin-top: 10px; color: var(--muted); font-size: .94rem; line-height: 1.55; flex: 1; }
.card .text-link { margin-top: 22px; font-size: .95rem; }
.card .tag { position: absolute; top: 24px; right: 22px; font: 600 .75rem/1 var(--body); color: var(--teal-ink); background: #E3F6F3; padding: 6px 9px; border-radius: 999px; }
.card .icon-tile { transition: background-color .25s, color .25s; }
.card:hover .icon-tile { background: var(--blue); color: var(--white); }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.step { position: relative; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px 28px; }
.step-num { display: flex; align-items: center; gap: 12px; font: 600 .9rem/1 var(--body); color: var(--teal); margin-bottom: 26px; }
.step-num span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--teal); color: var(--white); font-family: var(--head); }
.step-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-dark), transparent); }
.step h3 { font-size: 1.5rem; }
.step p { margin-top: 12px; color: var(--muted-dark); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Comparison ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font: 600 .95rem/1.3 var(--body); color: var(--ink); background: var(--off); }
.compare thead th.is-idzio { background: var(--midnight); color: var(--white); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td.is-idzio { background: #F3F8FF; color: var(--ink); font-weight: 500; }
.compare .mark { display: inline-flex; align-items: flex-start; gap: 8px; }
.compare .mark .ic { width: 18px; height: 18px; margin-top: 3px; }
.compare .yes .ic { color: var(--teal-ink); }
.compare .no .ic { color: #9AA3B2; }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare tbody th { padding: 14px 18px 6px; border: 0; }
  .compare td { border: 0; padding: 6px 18px; }
  .compare td::before { content: attr(data-l); display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
  .compare td.is-idzio { margin: 4px 10px 10px; width: auto; border-radius: 10px; padding: 12px 10px; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--night); border-radius: 24px; padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 80px); color: var(--muted-dark); }
.cta-band h2 { color: var(--white); max-width: 14em; }
.cta-band p { margin-top: 18px; max-width: 34em; font-size: 1.12rem; }
.cta-band .hero-actions { margin-top: 34px; }
.cta-band .rings { position: absolute; right: -140px; top: 50%; width: 520px; transform: translateY(-50%); pointer-events: none; }
@media (max-width: 760px) { .cta-band .rings { right: -300px; opacity: .5; } }

/* ---------- About ---------- */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.prose-grid p + p { margin-top: 18px; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: minmax(0, 1fr); } }
.belief-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; margin: 0; padding: 0; }
.belief-list li { padding: 28px 0; border-top: 1px solid var(--line); }
.belief-list h3 { display: flex; gap: 12px; align-items: baseline; }
.belief-list h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-3px); }
.belief-list p { margin-top: 8px; color: var(--muted); padding-left: 20px; }
@media (max-width: 760px) { .belief-list { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 500; color: var(--ink); font-size: .96rem; }
.section--dark .chips li { background: var(--night-2); border-color: var(--line-dark); color: var(--white); }
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.model h3 { font-size: 1.08rem; margin-top: 18px; }
.model p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) { .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .model-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 14px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; }
.svc-nav a:hover { color: var(--ink); }
.svc-nav a.is-active { color: var(--ink); border-bottom-color: var(--teal); }
.svc { padding-block: clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.svc:nth-of-type(even) { background: var(--off); }
.svc-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.svc-top .icon-tile { width: 56px; height: 56px; margin-bottom: 24px; }
.svc-top .lead { margin-top: 18px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; color: var(--ink); font-size: .97rem; line-height: 1.4; }
.svc-list .ic { width: 18px; height: 18px; color: var(--teal-ink); margin-top: 1px; }
.svc-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.svc-box { border-radius: var(--radius); padding: 26px 28px; background: var(--white); border: 1px solid var(--line); }
.svc-box h3 { font-size: 1rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 10px; }
.svc-box h3 .ic { width: 20px; height: 20px; color: var(--blue); }
.svc-box ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); }
.svc-box li + li { margin-top: 6px; }
.svc-box li::marker { color: var(--teal); }
@media (max-width: 900px) { .svc-top, .svc-detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: .95rem; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 16px/1.5 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid #D3D9E3; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #AEB8C7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,107,206,.15); }
.field [aria-invalid="true"] { border-color: #C2362B; }
.field .err { color: #B42318; font-size: .88rem; font-weight: 500; min-height: 0; }
.field .err:empty { display: none; }
fieldset.field { border: 0; margin: 0 0 20px; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
@media (max-width: 600px) { .check-grid { grid-template-columns: minmax(0, 1fr); } }
.check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1.5px solid #D3D9E3; border-radius: var(--radius-sm); cursor: pointer; font-size: .95rem; color: var(--ink); transition: border-color .2s, background-color .2s; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #AEB8C7; display: grid; place-items: center; flex: none; transition: all .15s; }
.check .box .ic { width: 14px; height: 14px; stroke-width: 3; color: var(--white); opacity: 0; }
.check:hover { border-color: #AEB8C7; }
.check:has(input:checked) { border-color: var(--blue); background: #F3F8FF; }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box .ic { opacity: 1; }
.check:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .88rem; max-width: 30em; }
.btn[disabled] { opacity: .7; cursor: progress; }
.alert { display: flex; gap: 12px; border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-size: .97rem; }
.alert .ic { width: 20px; height: 20px; margin-top: 2px; }
.alert--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.alert[hidden] { display: none; }
.success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.success .icon-tile { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px; background: #E3F6F3; color: var(--teal-ink); }
.success .icon-tile .ic { width: 30px; height: 30px; }
.success h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.success p { margin: 14px auto 0; color: var(--muted); max-width: 30em; }
.aside-card { border-radius: 20px; background: var(--night); color: var(--muted-dark); padding: clamp(26px, 4vw, 40px); }
.aside-card h2 { color: var(--white); font-size: 1.5rem; }
.aside-card ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; counter-reset: n; }
.aside-card li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; counter-increment: n; }
.aside-card li::before { content: counter(n); width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--white); display: grid; place-items: center; font: 600 .9rem/1 var(--head); }
.aside-card li strong { display: block; color: var(--white); font-weight: 600; }
.aside-card .mail { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--white); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.aside-card .mail .ic { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #8FA0B8; padding: clamp(56px, 8vw, 88px) 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .8fr); gap: 40px; }
.footer-grid img { width: 120px; }
.footer-grid .tagline { margin-top: 18px; font: 600 1.08rem/1.35 var(--head); letter-spacing: -0.01em; color: var(--white); }
.footer-grid .tagline span { color: var(--teal); }
.footer-grid .about { margin-top: 12px; max-width: 26em; }
.site-footer h2 { font: 600 .9rem/1 var(--body); letter-spacing: 0; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: #C9D3E2; text-decoration: none; display: inline-flex; min-height: 34px; align-items: center; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
