:root {
  --canvas: #eef5fb;
  --surface: #fff;
  --surface-subtle: #f5f8ff;
  --blue-tint: #e7efff;
  --ink: #0c1640;
  --muted: #51617b;
  --line: #dbe5f3;
  --control-line: #879ab9;
  --primary: #284ce0;
  --primary-hover: #1b38b7;
  --navy: #101d51;
  --navy-deep: #081437;
  --on-dark: #d5e3ff;
  --cyan: #48c8f8;
  --price: #bd1d53;
  --price-tint: #fff0f5;
  --success: #08765e;
  --success-tint: #e7f8f1;
  --warning: #845119;
  --warning-tint: #fff4df;
  --radius: 12px;
  --control-radius: 8px;
  --shadow: 0 8px 25px #152e6410;
  --shadow-lift: 0 14px 32px #193a8720;
  --container: 1200px;
  --gutter: clamp(16px, 3.5vw, 48px);
  --section-space: clamp(48px, 6vw, 84px);
  font: 16px/1.6 Manrope, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  scroll-padding-top: 119px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { margin: 0; }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 750; }
h3 { font-size: 1.16rem; font-weight: 750; }
p { color: var(--muted); }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled, input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; opacity: .6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--blue-tint); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.site-footer :focus-visible, .support-inner :focus-visible, .cta-inner :focus-visible,
.table-scroll thead :focus-visible { outline-color: var(--cyan); }

.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-soft { background: #ffffff66; }
.section-heading { max-width: 640px; margin: 0 auto clamp(24px, 4vw, 42px); text-align: center; }
.section-heading p, .split h2 + p, .contact-grid h2 + p { margin-top: 12px; }
.eyebrow { display: none; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 26px; height: 26px; }
.icon-xl { width: 32px; height: 32px; }

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn-primary, .btn-orange { color: #fff; background: var(--primary); }
.btn-primary:hover, .btn-orange:hover { background: var(--primary-hover); }
.btn-dark { color: #fff; background: var(--navy); }
.btn-dark:hover { background: #223577; }
.btn-outline { color: var(--primary); background: var(--surface); border-color: var(--control-line); }
.btn-outline:hover { color: var(--primary-hover); background: var(--blue-tint); border-color: var(--primary); }
.btn-light { color: var(--navy-deep); background: var(--surface); }
.btn-light:hover { background: var(--blue-tint); }
.btn-full { width: 100%; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--primary-hover);
  font-weight: 700;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: translateY(0); }

/* Storefront navigation */
#header { position: sticky; top: 0; z-index: 50; }
.site-header {
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--canvas) 0 33px, var(--surface) 33px);
  box-shadow: 0 4px 18px #152e640a;
}
.header-wrap {
  display: grid;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  grid-template: 33px auto / auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(16px, 3vw, 40px);
  margin-inline: auto;
}
.header-main { display: contents; }
.brand-panel { grid-area: 2 / 1; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.brand strong { font-weight: 850; }
.brand-emblem { width: 34px; height: 34px; fill: none; stroke: currentColor; color: var(--primary); }
.utility { display: flex; grid-area: 1 / 1 / 2 / -1; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .75rem; }
.utility__left, .utility__right { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.utility a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.utility a:hover, .nav-link:hover { color: var(--primary-hover); }
.utility .auth-nav-link { color: var(--primary-hover); font-weight: 700; }
.utility .icon { width: 14px; height: 14px; }
.nav-row { display: flex; grid-area: 2 / 2; min-height: 66px; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 24px); }
.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 23px); }
.nav-link { display: flex; min-height: 44px; align-items: center; gap: 5px; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.nav-link.active { color: var(--primary-hover); }
.nav-link .icon { width: 15px; height: 15px; }
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -10px;
  display: none;
  min-width: 185px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}
.nav-group[open] .dropdown { display: grid; }
@media (hover: hover) { .nav-group:hover .dropdown { display: grid; } }
.dropdown a { padding: 9px 12px; border-radius: var(--control-radius); color: var(--ink); font-size: .85rem; font-weight: 600; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--blue-tint); color: var(--primary-hover); }
.cart-count { display: inline-grid; min-width: 18px; height: 18px; place-items: center; padding-inline: 4px; border-radius: 20px; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 750; }
.mobile-toggle, .mobile-cart { display: none; }

/* Hero, trust points and editorial sections */
.hero {
  padding-block: clamp(38px, 6vw, 76px) clamp(30px, 4vw, 58px);
  background: radial-gradient(ellipse at 82% 38%, #cfe9fe 0, transparent 42%), var(--canvas);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 58px); }
.hero-copy h1 { max-width: 16ch; }
.hero-copy h1 span { display: block; }
.hero-copy p, .page-hero p { max-width: 56ch; margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.125rem); }
.hero-actions, .center-action, .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin-top: 24px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 22px; color: var(--muted); font-size: .8125rem; font-weight: 650; }
.hero-proof span { display: inline-flex; align-items: center; gap: 5px; }
.hero-proof .icon, .check-list .icon { width: 17px; height: 17px; color: var(--success); }
.hero-visual { display: grid; place-items: center; background: radial-gradient(circle, #7694d552 1px, transparent 1.4px) 50% 50% / 19px 19px; border-radius: 30px; }
.hero-visual img { width: 100%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 16px 20px #133c7824); }
.trust-strip { padding-bottom: 6px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
}
.trust-item .icon { width: 23px; height: 23px; color: var(--primary); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 5.5vw, 78px); }
.split p + p { margin-top: 12px; }
.split .btn { margin-top: 22px; }
.split-image { display: grid; place-items: center; }
.split-image img { width: 100%; max-height: 375px; object-fit: contain; }
.split-image.frame { padding: clamp(12px, 3vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(ellipse at 50% 38%, #e1efff, var(--surface) 72%); }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 7px; font-size: .9rem; font-weight: 650; }
.check-list .icon { margin-top: 3px; }

/* Catalogue and interactive cards */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.pricing-section .filters { justify-content: center; }
.segmented, .tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.filter-btn, .tab {
  min-height: 44px;
  padding: 9px 13px;
  border: 0;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
}
.filter-btn:hover, .tab:hover { background: var(--blue-tint); }
.filter-btn.active, .tab.active { background: var(--primary); color: #fff; }
.sort-select, .search-input, .field {
  min-height: 46px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--control-line);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  caret-color: var(--primary);
  font-size: 1rem;
}
.search-input { flex: 1 1 195px; }
.sort-select { flex: 0 1 auto; }
.field::placeholder, .search-input::placeholder { color: var(--muted); }
.plan-grid {
  --plan-columns: 4;
  --plan-gap: 16px;
  display: grid;
  grid-template-columns: repeat(var(--plan-columns), minmax(0, 1fr));
  gap: var(--plan-gap);
}
body[data-page="home"] .pricing-section:has([data-filter="nvme"][aria-pressed="true"]) .plan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
body[data-page="home"] .pricing-section:has([data-filter="nvme"][aria-pressed="true"]) .plan-card {
  flex: 0 0 calc((100% - (var(--plan-columns) - 1) * var(--plan-gap)) / var(--plan-columns));
}
.plan-card, .feature-card, .use-card, .detail-item, .step, .form-card, .summary-card, .contact-method, .empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(16px, 1.7vw, 24px);
  transition: border-color .18s, box-shadow .18s;
}
.plan-card:hover { border-color: #acbde9; box-shadow: var(--shadow-lift); }
.plan-card.featured { border-color: #8297f3; box-shadow: var(--shadow-lift); }
.ribbon { position: absolute; top: 17px; right: 14px; padding: 4px 8px; border-radius: 5px; background: var(--price-tint); color: var(--price); font-size: .7rem; font-weight: 750; }
.plan-icon, .feature-icon, .step-num {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--primary-hover);
}
.plan-card h3 { margin-top: 13px; }
.plan-description { flex: 1 0 auto; margin-top: 7px; font-size: .875rem; }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin-top: 16px; color: var(--price); font-variant-numeric: tabular-nums; }
.plan-price .currency { font-size: 1.13rem; font-weight: 750; }
.plan-price strong { font-size: clamp(1.7rem, 2.4vw, 2.15rem); line-height: 1.05; letter-spacing: -.045em; }
.plan-price small, .was-price { color: var(--muted); font-size: .8125rem; }
.was-price { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 7px; }
.save { padding: 2px 7px; border-radius: 5px; background: var(--price-tint); color: var(--price); font-size: .72rem; font-weight: 750; }
.plan-specs { margin: 16px 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.plan-specs li { display: flex; justify-content: space-between; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.plan-specs strong { text-align: right; }
.spec-label { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.spec-label .icon { width: 14px; height: 14px; color: var(--primary); }
.plan-card .btn-dark { border-color: var(--control-line); background: var(--surface); color: var(--primary-hover); }
.plan-card .btn-dark:hover { border-color: var(--primary); background: var(--blue-tint); }
.plan-detail-link { color: var(--primary-hover); font-size: .875rem; font-weight: 700; text-underline-offset: 3px; }
.plan-detail-link:hover { text-decoration: underline; }
.plan-card .plan-detail-link { align-self: center; margin-top: 11px; text-align: center; }
.pricing-note { margin-top: 16px; font-size: .875rem; }
.pricing-section .pricing-note { text-align: center; }
.center-action { justify-content: center; margin-top: 24px; }
.empty-state { grid-column: 1 / -1; padding: 28px; text-align: center; }
.empty-state p { margin-top: 8px; }
.features-grid, .use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card, .use-card { padding: clamp(18px, 2.5vw, 28px); }
.feature-card h3, .use-card h3 { margin: 13px 0 7px; }
.feature-card p, .use-card p { font-size: .925rem; }
.use-card .icon-xl { color: var(--primary); }
.tabs { width: fit-content; max-width: 100%; margin: 0 auto 26px; overflow: auto; }
.tab { flex: 1 0 auto; }
.tab-detail, .step-grid { display: grid; gap: 10px; margin-top: 18px; }
.detail-item, .step { padding: 13px 15px; box-shadow: none; }
.detail-item { border-left: 3px solid var(--primary); }
.detail-item h3, .step h3 { font-size: 1rem; }
.detail-item p, .step p { margin-top: 5px; font-size: .875rem; }
.step { display: flex; align-items: flex-start; gap: 11px; }
.step-num { width: 38px; height: 38px; font-size: .85rem; font-weight: 750; }

/* Plan comparison, support and conversion */
.table-scroll, .data-table-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scrollbar-color: #9aaddc var(--blue-tint);
  scrollbar-width: thin;
}
.table-scroll { box-shadow: var(--shadow); }
.table-scroll table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.table-scroll th, .table-scroll td { padding: 10px 12px; border-inline-end: 1px solid var(--line); border-block-end: 1px solid var(--line); text-align: center; }
.table-scroll th:last-child, .table-scroll td:last-child { border-inline-end: 0; }
.table-scroll tbody tr:last-child td { border-block-end: 0; }
.table-scroll th:first-child, .table-scroll td:first-child { position: sticky; left: 0; z-index: 1; min-width: 155px; text-align: left; }
.table-scroll thead th { min-width: 120px; padding-block: 15px; border-color: #ffffff24; background: var(--navy); color: #fff; }
.table-scroll .plan-name, .table-scroll thead th strong { display: block; }
.table-scroll thead th strong { margin: 2px 0 8px; color: #b5f0ff; font-size: 1.16rem; }
.table-scroll thead .recommended-col { background: #253a99; }
.table-scroll .btn { min-height: 38px; padding: 6px 10px; font-size: .75rem; white-space: nowrap; }
.table-scroll .btn-dark { border-color: #8ba5f8; background: transparent; }
.table-scroll .btn-dark:hover { background: #304781; }
.table-scroll tbody td { background: var(--surface); }
.table-scroll tbody tr:nth-child(even) td { background: var(--surface-subtle); }
.table-scroll tbody td.recommended-col { background: #eaf0ff; }
.table-scroll tbody .table-group td { background: var(--blue-tint); color: var(--navy-deep); font-weight: 750; }
.table-check { display: inline-flex; align-items: center; color: var(--success); }
.table-check .icon { width: 18px; height: 18px; stroke-width: 2.5; }

.support-inner, .cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 50px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 18px;
  background: linear-gradient(115deg, var(--navy-deep) 10%, #172d91 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.support-band { padding-block: clamp(28px, 4vw, 56px); }
.support-inner p, .cta-inner p { margin-top: 10px; color: var(--on-dark); }
.support-inner > div > .btn { margin-top: 18px; }
.support-options { display: grid; gap: 10px; }
.support-card { display: block; padding: 13px 15px; border: 1px solid #a8bafc66; border-radius: var(--radius); background: #ffffff0e; }
.support-card:hover { background: #ffffff21; }
.support-card .icon { color: #9fe6ff; }
.support-card h3 { margin-top: 4px; font-size: 1rem; }
.support-card p { margin-top: 5px; font-size: .875rem; }
.cta { padding-block: clamp(26px, 4vw, 54px) clamp(40px, 6vw, 76px); }
.cta-inner { grid-template-columns: minmax(0, 1fr) auto; }
.cta-actions { justify-content: flex-end; }
.cta .btn-dark { border-color: #9eb2f8; background: transparent; color: #fff; }
.cta .btn-dark:hover { background: #ffffff21; }
.faq-wrap { max-width: 880px; margin: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(14px, 3vw, 23px);
  cursor: pointer;
  list-style: none;
  font-weight: 650;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  color: var(--primary-hover);
  font-size: 1rem;
  line-height: 1;
  content: "+";
}
.faq-item summary:hover, .faq-item[open] summary { background: var(--blue-tint); color: var(--primary-hover); }
.faq-item:first-child summary { border-radius: 11px 11px 0 0; }
.faq-item:last-child:not([open]) summary { border-radius: 0 0 11px 11px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 12px clamp(14px, 3vw, 23px) 18px; }

/* Interior pages and storefront footer */
.page-hero { padding-block: clamp(24px, 4.5vw, 54px) clamp(34px, 5vw, 68px); background: radial-gradient(ellipse at 85% 35%, #d8e9ff, transparent 56%), var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.12rem, 4vw, 3.35rem); }
.breadcrumb { margin-bottom: 17px; color: var(--muted); font-size: .8125rem; }
.breadcrumb a { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.page-section { padding-block: clamp(34px, 5vw, 64px); }
.page-narrow { max-width: 760px; }
.clerk-page { max-width: 620px; text-align: center; }
.clerk-page .clerk-actions { justify-content: center; }
#clerk-auth-form, #clerk-user-profile { display: grid; justify-items: center; min-width: 0; }
.clerk-profile-page { overflow-x: auto; }
.page-narrow h2 { margin-top: 26px; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.page-narrow h2:first-child { margin-top: 0; }
.page-narrow p, .page-narrow ul { margin-block: 10px; color: var(--muted); }
.notice, .form-feedback {
  margin-bottom: 18px;
  padding: 12px 15px;
  border: 1px solid #bad0f5;
  border-radius: var(--control-radius);
  background: var(--blue-tint);
  color: var(--navy);
  font-size: .875rem;
}
.form-feedback { margin: 14px 0 0; }
.contact-grid, .checkout-grid, .plan-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(18px, 4vw, 44px); }
.checkout-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.plan-detail-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.form-card, .summary-card { padding: clamp(17px, 3vw, 28px); }
.form-card h2, .summary-card h2 { margin-bottom: 16px; font-size: 1.45rem; }
.form-card > p:not(.notice, .form-feedback) + p { margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-group { display: grid; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .875rem; font-weight: 650; }
.form-group .field { width: 100%; }
.form-group textarea, textarea.field { min-height: 112px; resize: vertical; }
.cart-item, .summary-row { display: flex; justify-content: space-between; gap: 10px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.cart-item p, .summary-row { color: var(--muted); font-size: .875rem; }
.cart-price { flex: none; text-align: right; }
.cart-remove { display: block; min-height: 30px; margin-left: auto; padding: 3px 0; border: 0; background: transparent; color: var(--price); font-size: .8125rem; text-decoration: underline; }
.summary-row strong, .summary-row.total { color: var(--ink); }
.summary-row.total { margin-bottom: 10px; font-size: 1rem; font-weight: 750; }
.detail-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.spec-box { display: grid; gap: 3px; padding: 13px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--surface); }
.spec-box span { color: var(--muted); font-size: .8rem; }
.contact-methods { display: grid; gap: 12px; margin-top: 20px; }
.contact-method { display: flex; gap: 12px; align-items: flex-start; padding: 14px; }
.contact-method p { margin-top: 4px; font-size: .875rem; }
.toast, .dashboard-toast {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  max-width: min(430px, calc(100% - 32px));
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-radius: var(--radius);
  background: var(--navy-deep);
  box-shadow: var(--shadow-lift);
  color: #fff;
  font-size: .875rem;
}
.toast .icon { color: #a6efff; }
.site-footer { padding: clamp(32px, 5vw, 60px) 0 max(19px, env(safe-area-inset-bottom)); background: var(--navy-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)); gap: 22px; }
.footer-brand .brand-emblem { color: #85dcff; }
.footer-brand p { max-width: 30ch; margin-top: 12px; }
.footer-brand p, .footer-col a, .footer-status, .footer-bottom { color: var(--on-dark); font-size: .875rem; }
.footer-col h3 { margin-bottom: 9px; font-size: 1rem; }
.footer-col ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; }
.footer-status::before { width: 7px; height: 7px; border-radius: 50%; background: #70e4c1; content: ""; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 25px; padding-top: 16px; border-top: 1px solid #7e97cf58; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }

@media (max-width: 1024px) {
  .mobile-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--control-radius);
    background: var(--surface);
    color: var(--primary-hover);
  }
  .site-nav {
    position: absolute;
    inset: 100% var(--gutter) auto;
    display: none;
    max-height: calc(100dvh - 115px);
    overflow: auto;
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lift);
  }
  .site-nav.open { display: grid; gap: 3px; }
  .site-nav .nav-link { padding-inline: 12px; border-radius: var(--control-radius); }
  .site-nav .nav-link.active, .site-nav .nav-link:hover { background: var(--blue-tint); }
  .site-nav .mobile-cart { display: flex; }
  .site-nav .dropdown { position: static; margin-left: 10px; border: 0; box-shadow: none; }
  .site-nav .nav-group:not([open]) .dropdown { display: none; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { --plan-columns: 2; }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 102px; }
  .utility__left span, .utility__right a[href="contact.html"] { display: none; }
  .nav-row { min-height: 58px; }
  .hero-inner, .split, .contact-grid, .checkout-grid, .plan-detail-layout, .support-inner, .cta-inner { grid-template-columns: 1fr; }
  .hero-visual img { max-height: 305px; }
  .split-image img { max-height: 295px; }
  .features-grid, .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { align-items: stretch; }
  .filters .segmented { flex: 1 1 100%; justify-content: stretch; }
  .filter-btn { flex: 1 1 0; padding-inline: 6px; }
  .sort-select { flex: 1 1 130px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .utility__left { display: none; }
  .utility__right { width: 100%; justify-content: space-between; }
  .header-wrap { column-gap: 6px; }
  .brand { gap: 4px; font-size: 1.02rem; }
  .brand-emblem { width: 29px; height: 29px; }
  .nav-row { gap: 7px; }
  .nav-row > .btn { padding-inline: 7px; font-size: .75rem; }
  .plan-grid { --plan-columns: 1; }
  .features-grid, .use-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust-grid { gap: 8px; }
  .trust-item { padding: 8px; gap: 6px; font-size: .75rem; }
  .trust-item .icon { width: 19px; height: 19px; }
  .footer-grid { gap: 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .table-scroll table { min-width: 760px; }
  .table-scroll th:first-child, .table-scroll td:first-child { min-width: 120px; }
  .table-scroll th, .table-scroll td { padding-inline: 8px; }
}

@media (pointer: coarse) {
  .table-scroll .btn, .cart-remove { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
