:root {
  color-scheme: dark;
  --bg: #06111c;
  --bg-deep: #030a12;
  --surface: rgba(13, 32, 47, 0.78);
  --surface-solid: #0d2030;
  --surface-raised: #10283a;
  --line: rgba(146, 190, 211, 0.17);
  --line-strong: rgba(92, 225, 184, 0.38);
  --text: #f3f8fb;
  --muted: #9cb0bf;
  --accent: #5ce1b8;
  --accent-bright: #84f3cf;
  --blue: #57a8ff;
  --danger: #ff8f9e;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 9%, rgba(23, 117, 119, 0.2), transparent 28rem),
    radial-gradient(circle at 6% 64%, rgba(36, 103, 170, .12), transparent 30rem),
    linear-gradient(180deg, #071522 0%, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--accent); color: #04110e; padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; }
.ambient-one { width: 30rem; height: 30rem; background: #20c99f; top: 22rem; left: -16rem; }
.ambient-two { width: 28rem; height: 28rem; background: #2467aa; right: -17rem; top: 70rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.is-scrolled { background: rgba(6, 17, 28, .88); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand img { flex: 0 0 auto; }
.desktop-nav { display: flex; gap: clamp(18px, 2.4vw, 32px); color: #bfd0da; font-size: .9rem; }
.desktop-nav a, .portal-link { transition: color .2s; }
.desktop-nav a:hover, .portal-link:hover { color: var(--accent); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.portal-link { color: #bfd0da; font-size: .88rem; }
.menu-toggle, .mobile-nav { display: none; }

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 720;
  font-size: .9rem;
  transition: transform .2s, border-color .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.button-primary { background: var(--accent); color: #03110d; border-color: var(--accent); box-shadow: 0 16px 42px rgba(42, 211, 163, .16); }
.button-primary:hover { background: var(--accent-bright); }
.button-secondary { background: rgba(13, 32, 47, .6); color: var(--text); }
.button-secondary:hover { border-color: rgba(92, 225, 184, .55); }
.button-small { min-height: 40px; padding: 0 16px; font-size: .82rem; }

.hero {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 790px;
  margin: 0 auto;
  padding: 166px 0 90px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 58px;
  align-items: center;
}
.eyebrow { margin: 0 0 21px; display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .72rem; font-weight: 780; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow span { width: 22px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.5rem, 6.3vw, 6.25rem); line-height: .92; letter-spacing: -.064em; font-weight: 670; }
h1 em { color: var(--accent); font-style: normal; font-weight: 500; }
h2 { margin-bottom: 20px; font-size: clamp(2.35rem, 4.4vw, 4.3rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 630; }
.hero-lead { max-width: 660px; margin-bottom: 34px; color: #b4c5cf; font-size: clamp(1.05rem, 1.4vw, 1.24rem); line-height: 1.67; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 23px; color: #8299a8; font-size: .76rem; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--accent); }

.hero-media { position: relative; min-height: 520px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface-solid); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3, 10, 18, .82)); pointer-events: none; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-media-caption { position: absolute; z-index: 2; inset: auto 24px 24px; min-height: 82px; padding: 13px 16px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(146, 190, 211, .24); background: rgba(5, 17, 28, .82); backdrop-filter: blur(14px); }
.hero-media-caption img { width: 54px; height: 54px; }
.hero-media-caption span, .hero-media-caption strong { display: block; }
.hero-media-caption span { margin-bottom: 5px; color: var(--accent); font-size: .66rem; font-weight: 760; text-transform: uppercase; letter-spacing: .12em; }
.hero-media-caption strong { font-size: .9rem; font-weight: 620; }

.signal-strip { min-height: 78px; padding: 0 3rem; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 62px); border-block: 1px solid var(--line); color: #8fa5b3; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; white-space: nowrap; overflow: hidden; }
.signal-strip i { width: 4px; height: 4px; background: var(--accent); transform: rotate(45deg); }
.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 120px 0; scroll-margin-top: 90px; }
.section-heading { max-width: 710px; margin-bottom: 54px; }
.section-heading > p:last-child, .comparison-intro > p:last-child { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.solution-card { position: relative; min-height: 600px; padding: clamp(28px, 4vw, 52px); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.solution-card::after { content: ""; position: absolute; right: -25%; bottom: -36%; width: 26rem; height: 26rem; border-radius: 50%; filter: blur(80px); opacity: .15; pointer-events: none; }
.cloud-card::after { background: var(--accent); }
.onprem-card::after { background: var(--blue); }
.card-topline { display: flex; justify-content: space-between; color: #758d9d; font-family: "Cascadia Mono", monospace; font-size: .66rem; text-transform: uppercase; letter-spacing: .11em; }
.availability { color: var(--accent); }
.solution-icon { width: 72px; height: 72px; margin: 56px 0 29px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent); font-size: 1.9rem; }
.solution-label { color: var(--accent); font-size: .73rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.solution-card h3 { max-width: 520px; margin-bottom: 20px; font-size: clamp(1.8rem, 2.8vw, 2.85rem); line-height: 1.1; letter-spacing: -.04em; }
.solution-description { max-width: 570px; color: #afc0ca; line-height: 1.68; }
.solution-card ul, .plan-card ul { margin: 30px 0 42px; padding: 0; display: grid; gap: 13px; list-style: none; color: #c8d5dc; font-size: .91rem; }
.solution-card li::before, .plan-card li::before { content: "↳"; margin-right: 10px; color: var(--accent); }
.text-link { position: absolute; left: clamp(28px, 4vw, 52px); bottom: 42px; color: var(--accent); font-weight: 740; }
.text-link span { display: inline-block; margin-left: 10px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.plans { padding-top: 70px; }
.plans-heading, .security-intro, .contact-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(36px, 8vw, 110px); align-items: end; }
.plans-heading h2, .security-intro h2, .contact-heading h2 { margin-bottom: 0; }
.plans-heading > p, .security-intro > p, .contact-heading > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.cloud-story { position: relative; height: 390px; margin: 0 0 22px; overflow: hidden; border: 1px solid var(--line); }
.cloud-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 10, 18, .1), rgba(3, 10, 18, .76)); }
.cloud-story > img { width: 100%; height: 100%; object-fit: cover; }
.cloud-story-copy { position: absolute; z-index: 1; right: clamp(24px, 5vw, 64px); top: 50%; width: min(420px, 42%); transform: translateY(-50%); }
.cloud-story-copy span, .cloud-story-copy strong { display: block; }
.cloud-story-copy span { margin-bottom: 13px; color: var(--accent); font-size: .68rem; text-transform: uppercase; letter-spacing: .17em; }
.cloud-story-copy strong { font-size: clamp(1.6rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -.035em; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.plan-card { position: relative; min-height: 590px; padding: 34px 27px 28px; display: flex; flex-direction: column; background: #071522; }
.plan-card.plan-featured { background: linear-gradient(180deg, rgba(24, 68, 72, .85), #0b2030 70%); }
.plan-card.plan-custom { background: linear-gradient(180deg, rgba(24, 49, 71, .9), #0a1827 72%); }
.plan-badge { position: absolute; right: 18px; top: 21px; padding: 6px 9px; background: var(--accent); color: #04110e; font-size: .61rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.plan-kicker { margin-bottom: 12px; color: var(--accent); font-size: .7rem; font-weight: 790; text-transform: uppercase; letter-spacing: .14em; }
.plan-card h3 { min-height: 77px; margin-bottom: 18px; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.13; letter-spacing: -.035em; }
.plan-card > p:not(.plan-kicker):not(.plan-price):not(.plan-price-note):not(.plan-total) { color: var(--muted); font-size: .88rem; line-height: 1.62; }
.plan-price { margin: 2px 0 4px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.plan-amount { color: var(--text, #eaf1f4); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 680; letter-spacing: -.04em; line-height: 1; }
.plan-interval { color: var(--muted); font-size: .82rem; }
.plan-price-note { margin: 0 0 16px; color: #6f8797; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.plan-card ul { margin: 18px 0 22px; font-size: .8rem; }
.plan-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.plan-qty-control { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong, #26414f); border-radius: 8px; overflow: hidden; }
.plan-qty-btn { width: 34px; border: 0; background: rgba(255, 255, 255, .04); color: var(--text, #eaf1f4); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.plan-qty-btn:hover { background: rgba(255, 255, 255, .1); }
.plan-qty input { width: 54px; border: 0; border-left: 1px solid var(--line-strong, #26414f); border-right: 1px solid var(--line-strong, #26414f); background: transparent; color: var(--text, #eaf1f4); text-align: center; font-size: .95rem; -moz-appearance: textfield; }
.plan-qty input::-webkit-outer-spin-button, .plan-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.plan-total { margin: 0 0 18px; color: var(--accent); font-weight: 700; font-size: .95rem; }
.plan-card .button { width: 100%; margin-top: auto; padding-inline: 12px; }
.plan-actions { margin-top: auto; display: grid; gap: 8px; }
.plan-actions .button { margin-top: 0; }
.trial-banner, .onprem-request { margin-top: 22px; padding: clamp(28px, 4vw, 46px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; border: 1px solid var(--line); }
.trial-banner { background: linear-gradient(100deg, rgba(31, 91, 88, .52), rgba(9, 26, 39, .9)); border-color: var(--line-strong); }
.trial-banner span { display: block; margin-bottom: 9px; color: var(--accent); font-size: .67rem; font-weight: 760; text-transform: uppercase; letter-spacing: .15em; }
.trial-banner strong { display: block; font-size: 1.45rem; }
.trial-banner p, .onprem-request p { margin: 9px 0 0; color: var(--muted); line-height: 1.55; }
.onprem-request { margin-top: 56px; background: rgba(10, 26, 40, .62); }
.onprem-request > div { max-width: 760px; }
.onprem-request h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.onprem-request .eyebrow { margin-bottom: 14px; }

.comparison { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.comparison-intro { position: sticky; top: 120px; }
.comparison-table { border-top: 1px solid var(--line-strong); }
.comparison-row { min-height: 86px; display: grid; grid-template-columns: 1.05fr 1fr 1fr; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.comparison-row span { color: #8fa4b1; font-size: .83rem; }
.comparison-row b, .comparison-row strong { font-size: .88rem; font-weight: 620; }
.comparison-head { min-height: 62px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.comparison-head strong { font-size: .67rem; }

.security { padding-top: 70px; }
.security-image { position: relative; height: 430px; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); }
.security-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(2, 8, 14, .86)); }
.security-image > img { width: 100%; height: 100%; object-fit: cover; }
.security-image figcaption { position: absolute; z-index: 1; left: clamp(22px, 4vw, 52px); bottom: 34px; }
.security-image figcaption span, .security-image figcaption strong { display: block; }
.security-image figcaption span { margin-bottom: 8px; color: var(--accent); font-size: .67rem; text-transform: uppercase; letter-spacing: .15em; }
.security-image figcaption strong { font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 620; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-top: 0; background: var(--line); }
.security-grid article { min-height: 280px; padding: 32px; display: block; background: #071522; }
.security-grid article > span { color: var(--accent); font: .68rem "Cascadia Mono", monospace; }
.security-grid strong { display: block; margin-bottom: 14px; font-size: 1.02rem; line-height: 1.35; }
.security-grid p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.66; }

.workflow { padding-top: 70px; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); }
.steps li { min-height: 250px; padding: 34px; background: var(--bg); }
.steps li > span { display: block; margin-bottom: 61px; color: var(--accent); font: .7rem "Cascadia Mono", monospace; }
.steps strong { display: block; margin-bottom: 12px; font-size: 1.08rem; }
.steps p { color: var(--muted); line-height: 1.6; font-size: .87rem; }

.contact { padding-bottom: 140px; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; border: 1px solid var(--line-strong); background: var(--surface-solid); }
.contact-aside { padding: clamp(30px, 5vw, 58px); background: radial-gradient(circle at 10% 90%, rgba(92, 225, 184, .13), transparent 48%), #091a28; border-right: 1px solid var(--line); }
.contact-index { display: block; margin-bottom: 64px; color: var(--accent); font: .67rem "Cascadia Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.contact-aside h3 { margin-bottom: 38px; font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1.14; letter-spacing: -.04em; }
.contact-option { padding: 18px 0; display: grid; gap: 5px; border-top: 1px solid var(--line); }
.contact-option strong { font-size: .9rem; }
.contact-option span, .contact-note { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.contact-note { margin: 34px 0 0; }
.contact-form { padding: clamp(30px, 5vw, 58px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.field { display: grid; gap: 9px; }
.field[hidden] { display: none; }
.field > span { color: #c9d6dd; font-size: .75rem; font-weight: 680; }
.field small { color: #718998; font-size: .68rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(146, 190, 211, .23);
  border-radius: 0;
  background: rgba(4, 14, 23, .68);
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(146, 190, 211, .4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(5, 18, 28, .92); outline: none; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field-wide { grid-column: 1 / -1; }
.field-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consent-field { margin-top: 22px; display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.consent-field input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--accent); }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 20px; }
.form-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: var(--danger); }

footer { min-height: 150px; padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #788e9c; font-size: .75rem; }
.footer-brand { color: var(--text); }
footer > p { margin: 0; }
footer > div:last-child { justify-self: end; display: flex; gap: 20px; }
footer a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .desktop-nav, .header-actions { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { justify-self: end; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); background: rgba(13, 32, 47, .85); }
  .menu-toggle span { width: 20px; height: 1px; background: var(--text); }
  .mobile-nav { position: absolute; top: 70px; left: 0; right: 0; padding: 16px; display: none; flex-direction: column; border: 1px solid var(--line); background: rgba(6, 17, 28, .97); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 13px; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; padding-top: 140px; grid-template-columns: 1fr; }
  .hero-media { min-height: 560px; }
  .plans-heading, .security-intro, .contact-heading { grid-template-columns: 1fr; gap: 22px; }
  .comparison { grid-template-columns: 1fr; gap: 40px; }
  .comparison-intro { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 1rem); min-height: 62px; margin-top: 8px; padding: 0 12px; }
  .brand img { width: 38px; height: 38px; }
  .hero, .section { width: min(calc(100% - 2rem), var(--max)); }
  .hero { padding-top: 118px; gap: 42px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .trust-row { display: grid; gap: 12px; }
  .hero-media { min-height: 460px; }
  .hero-media-caption { inset: auto 14px 14px; }
  .signal-strip { justify-content: flex-start; overflow-x: auto; }
  .section { padding: 90px 0; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 640px; }
  .cloud-story { height: 510px; }
  .cloud-story::after { background: linear-gradient(180deg, transparent 25%, rgba(3, 10, 18, .9)); }
  .cloud-story-copy { inset: auto 24px 30px; width: auto; transform: none; }
  .plan-grid, .security-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 520px; }
  .trial-banner, .onprem-request { grid-template-columns: 1fr; gap: 24px; }
  .trial-banner .button, .onprem-request .button { width: 100%; }
  .comparison-row { grid-template-columns: .8fr 1fr 1fr; gap: 12px; }
  .comparison-row span, .comparison-row b { font-size: .72rem; }
  .security-image { height: 500px; }
  .security-image > img { object-position: 53% center; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 210px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  footer { padding: 38px 1rem; grid-template-columns: 1fr; text-align: center; }
  .footer-brand, footer > div:last-child { justify-self: center; }
}

@media (max-width: 480px) {
  .hero-media { min-height: 430px; }
  .hero-media-caption img { width: 42px; height: 42px; }
  .comparison-table { overflow-x: auto; }
  .comparison-row { min-width: 560px; }
  .contact-form, .contact-aside { padding: 26px 20px; }
  footer > div:last-child { flex-wrap: wrap; justify-content: center; }
}

/* Checkout modal */
.checkout-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 10, 18, .72); backdrop-filter: blur(4px); }
.checkout-overlay[hidden] { display: none; }
.checkout-dialog { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-strong, #26414f); border-radius: 18px; background: #0a1826; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.checkout-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #e7eef2; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.checkout-close:hover { background: rgba(255, 255, 255, .12); }
.checkout-dialog h2 { margin: 0 0 14px; font-size: 1.5rem; letter-spacing: -.02em; }
.checkout-summary { margin-bottom: 20px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line, #1c2f3c); }
.checkout-summary strong { color: #eaf1f4; }
.checkout-summary .checkout-total { display: block; margin-top: 8px; color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-grid label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; color: var(--muted, #93a4b0); }
.checkout-grid label.checkout-full { grid-column: 1 / -1; }
.checkout-grid input { padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-strong, #26414f); background: rgba(0, 0, 0, .2); color: #eaf1f4; font-size: .95rem; }
.checkout-optional { color: #6f8797; font-weight: 400; }
.checkout-error { margin: 14px 0 0; color: #ff8a8a; font-size: .88rem; }
.checkout-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.checkout-actions .button { flex: 1; min-width: 160px; }
.checkout-hint { margin: 14px 0 0; color: #6f8797; font-size: .78rem; }
.checkout-info-text { color: #cdd9e0; line-height: 1.6; }
.checkout-info-sub { color: var(--muted, #93a4b0); margin-top: 6px; }
@media (max-width: 520px) { .checkout-grid { grid-template-columns: 1fr; } }
