:root {
  --bg: #f3f6fb;
  --bg-white: #ffffff;
  --bg-tint: #f7f9fd;
  --ink: #031b4e;
  --ink-soft: #46597a;
  --ink-mute: #6a7b98;
  --line: #d9e1ec;
  --line-soft: #e7ecf3;
  --line-strong: #b9c7da;
  --brand: #0069ff;
  --brand-dark: #0052cc;
  --brand-bright: #4d94ff;
  --brand-soft: #e8f1ff;
  --navy-950: #040f27;
  --navy-900: #061633;
  --navy-800: #0a2148;
  --on-dark: #e9f0ff;
  --on-dark-soft: #aebfdd;
  --on-dark-mute: #8195ba;
  --ok: #0c9b6b;
  --ok-ink: #087553;
  --ok-soft: #e3f6ee;
  --warn: #b5810a;
  --danger: #d14343;
  --shadow-sm: 0 1px 2px rgba(3, 27, 78, 0.06);
  --shadow: 0 1px 2px rgba(3, 27, 78, 0.05), 0 14px 34px -16px rgba(3, 27, 78, 0.18);
  --shadow-lg: 0 2px 6px rgba(3, 13, 34, 0.06), 0 34px 70px -30px rgba(3, 13, 34, 0.38);
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 68px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
code, .ui-mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header — navy chrome shared by every page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 22, 51, 0.94);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
}
.header-row {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text span { color: var(--brand); }
.site-header .logo-text,
.site-footer .logo-text { color: #fff; }
.site-header .logo-text span,
.site-footer .logo-text span { color: var(--brand-bright); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  font-size: 0.94rem;
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-actions {
  gap: 0.6rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-links a,
.nav-actions > a:not(.btn) {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--on-dark-soft);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover,
.nav-actions > a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.menu-btn {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  border-radius: 9px;
  padding: 0.45rem 0.85rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.78rem 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; border-radius: 8px; }
.btn-lg { padding: 0.95rem 1.45rem; font-size: 1.02rem; border-radius: 11px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -8px rgba(0, 105, 255, 0.6);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary {
  background: var(--bg-white);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.42); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #e9f1ff; }
.btn-block { width: 100%; }

/* Home hero — one dark composition: brand, headline, CTA, console */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(980px 560px at 80% 10%, rgba(0, 105, 255, 0.3), transparent 62%),
    radial-gradient(720px 420px at -8% 105%, rgba(0, 105, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, #071c40 62%, #08214b 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 68% 28%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 78% at 68% 28%, #000 18%, transparent 74%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 8.25rem;
}
.hero-copy { animation: rise 0.7s ease both; }
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.hero-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 28px -10px rgba(0, 105, 255, 0.75);
}
.hero-brand b { color: var(--brand-bright); font-weight: 800; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.6vw, 3.95rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #fff;
}
.hero-accent { display: block; color: var(--brand-bright); }
/* Plus Jakarta's wide punctuation sidebearings read as a gap at display sizes. */
.hero-punct { margin-left: -0.06em; }
.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}
.hero .hero-lead {
  margin-top: 1.4rem;
  max-width: 31rem;
  color: var(--on-dark-soft);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero .hero-actions { margin-top: 2rem; }
.hero-visual {
  position: relative;
  margin: 0;
  animation: rise 0.85s ease 0.12s both;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% -6% 10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 105, 255, 0.32), transparent);
  filter: blur(26px);
}
.hero-visual figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--on-dark-mute);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(160%); }
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Product UI previews (sample data, mirrors the real /client console) */
.ui-window {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.82rem;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 70px -22px rgba(0, 6, 22, 0.7), 0 12px 26px -14px rgba(0, 6, 22, 0.45);
}
.ui-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: #eef2f8;
  border-bottom: 1px solid #dde4ef;
}
.ui-chrome::after { content: ""; width: 42px; flex: none; }
.ui-dots { display: inline-flex; gap: 6px; flex: none; width: 42px; }
.ui-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cdd6e4; }
.ui-url {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  max-width: 300px;
  margin: 0 auto;
  padding: 0.3rem 0.7rem;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #dde4ef;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
}
.ui-url .icon { width: 0.8rem; height: 0.8rem; color: var(--ok); }
.ui-app {
  padding: 1.15rem 1.2rem 1.3rem;
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 45%);
}
.ui-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ui-appbar-title { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.ui-appbar-title strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ui-appbar-title span { color: var(--ink-mute); font-size: 0.78rem; }
.ui-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.76rem;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(0, 105, 255, 0.8);
}
.ui-list {
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  overflow: hidden;
}
.ui-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.45fr) 6.6rem;
  gap: 0.85rem;
  align-items: center;
  padding: 0.72rem 0.9rem;
  border-top: 1px solid #edf1f7;
}
.ui-row:first-child { border-top: 0; }
.ui-row--head {
  padding-block: 0.55rem;
  background: #f7f9fc;
  color: var(--ink-mute);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ui-row--head > :last-child { text-align: right; }
.ui-cell { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.ui-cell strong { font-weight: 600; font-size: 0.84rem; color: var(--ink); }
.ui-cell strong.ui-mono { font-weight: 500; font-size: 0.8rem; }
.ui-cell small {
  color: var(--ink-mute);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-cell small.ui-mono { font-size: 0.68rem; }
.ui-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.ui-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.ui-status--live { background: var(--ok-soft); color: var(--ok-ink); }
.ui-status--busy { background: var(--brand-soft); color: var(--brand-dark); }
.ui-status--busy::before { animation: pulse 1.6s ease-in-out infinite; }
.ui-progress {
  position: relative;
  display: block;
  width: min(140px, 100%);
  height: 6px;
  margin: 0.35rem 0 0.25rem;
  border-radius: 6px;
  background: #e6edf7;
  overflow: hidden;
}
.ui-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  border-radius: inherit;
  background: var(--brand);
  overflow: hidden;
}
.ui-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: sweep 1.8s ease-in-out infinite;
}

/* Trust bar — overlaps the hero edge */
.trust {
  position: relative;
  z-index: 2;
  margin-top: -4.5rem;
}
.trust-bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trust-bar li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-left: 1px solid var(--line-soft);
}
.trust-bar li:first-child { border-left: 0; }
.trust-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.trust-text { display: block; min-width: 0; }
.trust-text strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.trust-text > span { display: block; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.45; }
.trust-text a { color: var(--brand-dark); font-weight: 600; overflow-wrap: anywhere; }
.trust-text a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Sections */
.section { padding: 5rem 0; }
.section--white { background: var(--bg-white); border-block: 1px solid var(--line-soft); }
.section--looks { padding-top: 5.5rem; }
.section--cta { padding-top: 4.5rem; }
.section-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}
.section-head p {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.section-head p.section-kicker,
.section-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.section-head--split > div:first-child { max-width: 44rem; }

/* How it looks */
.looks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.look-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.look-stage {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 2.25rem 2.25rem 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #e6f0ff 0%, rgba(230, 240, 255, 0) 70%),
    linear-gradient(180deg, #f4f8fe 0%, #eef3fa 100%);
  border-bottom: 1px solid var(--line);
}
.look-stage .ui-window {
  width: 100%;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px #dbe3ee, 0 24px 44px -26px rgba(3, 27, 78, 0.45);
}
.look-card figcaption { padding: 1.4rem 1.6rem 1.6rem; }
.look-step {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.look-card h3 {
  margin: 0.3rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.look-card figcaption p { margin: 0; color: var(--ink-soft); }
.ui-panel { padding: 1.2rem 1.3rem 1.35rem; }
.ui-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.ui-panel-head > div { min-width: 0; }
.ui-panel-head strong {
  display: block;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui-panel-head strong.ui-mono { font-size: 0.86rem; font-weight: 600; }
.ui-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ui-meta {
  margin: 0.6rem 0 0;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #edf1f7;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.ui-timeline {
  list-style: none;
  margin: 1.05rem 0 0;
  padding: 0;
}
.ui-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 1rem;
}
.ui-timeline li:last-child { padding-bottom: 0; }
.ui-timeline li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: #cfe0ff;
}
.ui-timeline li:last-child::before { display: none; }
.ui-tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
}
.ui-tick .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.ui-timeline li.is-live .ui-tick { background: var(--ok); box-shadow: 0 0 0 4px rgba(12, 155, 107, 0.16); }
.ui-step { min-width: 0; }
.ui-step strong { display: block; font-size: 0.84rem; line-height: 1.35; }
.ui-step small { display: block; color: var(--ink-mute); font-size: 0.74rem; }
.ui-timeline time { font-size: 0.72rem; color: var(--ink-mute); padding-top: 0.1rem; }
.ui-creds {
  margin: 1rem 0 0;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  overflow: hidden;
}
.ui-creds > div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.62rem 0.9rem;
  border-top: 1px solid #edf1f7;
}
.ui-creds > div:first-child { border-top: 0; }
.ui-creds dt { color: var(--ink-mute); font-size: 0.74rem; font-weight: 600; }
.ui-creds dd {
  margin: 0;
  min-width: 0;
  font-weight: 600;
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui-creds dd.ui-mono { font-weight: 500; }
.ui-terminal {
  margin-top: 0.95rem;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  background: #0a1730;
  color: #d6e4ff;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
}
.ui-prompt { color: #5ea2ff; margin-right: 0.6rem; }
.ui-caret {
  display: inline-block;
  width: 0.5rem;
  height: 1em;
  margin-left: 0.2rem;
  vertical-align: -2px;
  background: #5ea2ff;
  animation: blink 1.1s steps(1) infinite;
}

/* Pricing */
.tier-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.tier-switch > * {
  padding: 0.5rem 0.95rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.tier-switch .is-active { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.tier-switch a:hover { color: var(--brand); }
.pricing-wrap {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  padding: 1.05rem 1.35rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.price-table th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-mute);
  background: var(--bg-tint);
}
.price-table td {
  color: var(--ink-soft);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td { background: #f5f9ff; }
.price-row {
  position: relative;
  cursor: pointer;
}
.price-row:has(.badge-pop) td { background: #f7faff; }
.price-row:has(.badge-pop) td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.price-row-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.price-row .btn-price {
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.price-row:hover .btn-price {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
.price-row:focus-within td {
  background: #f5f9ff;
}
.plan-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.plan-name small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-mute);
  font-weight: 500;
  font-family: var(--font);
  font-size: 0.84rem;
  letter-spacing: 0;
}
.price-main {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}
.price-main span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font);
}
.btn-price {
  min-width: 6.25rem;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.btn-price::after {
  content: "→";
  display: inline-block;
  margin-left: 0.1rem;
  opacity: 0.85;
  transition: transform 0.15s ease;
}
.price-row:hover .btn-price::after { transform: translateX(3px); }
.price-table td:last-child {
  white-space: nowrap;
  text-align: right;
}
.price-table th:last-child { text-align: right; }
.badge-pop {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.5rem;
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-tint);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.pricing-foot strong { color: var(--ink); font-weight: 600; }
.pricing-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-foot li,
.footer-promise li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pricing-foot li::before,
.footer-promise li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230069ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover { border-color: #c4d4ec; box-shadow: var(--shadow); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--display);
}
.feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Regions */
.region-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.region-cards li {
  padding: 1.3rem 1.35rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.region-icon { display: inline-flex; margin-bottom: 0.8rem; color: var(--brand); }
.region-cards strong { display: block; font-family: var(--display); font-size: 1.02rem; }
.region-cards li > span:last-child { color: var(--ink-soft); font-size: 0.9rem; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem;
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.faq-intro .section-head { margin-bottom: 1.5rem; }
.support-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.support-card strong { display: block; font-family: var(--display); }
.support-card p { margin: 0.25rem 0 0; color: var(--ink-soft); font-size: 0.93rem; }
.support-card a { color: var(--brand-dark); font-weight: 600; }
.support-card a:hover { text-decoration: underline; text-underline-offset: 2px; }
.faq details {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details[open] { border-color: #c4d4ec; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 0.2rem;
  border-right: 2px solid var(--ink-mute);
  border-bottom: 2px solid var(--ink-mute);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* CTA panel */
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 300px at 92% 0%, rgba(0, 105, 255, 0.5), transparent 62%),
    linear-gradient(135deg, var(--navy-900) 0%, #0a2550 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.cta-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}
.cta-panel p { margin: 0.45rem 0 0; color: var(--on-dark-soft); max-width: 38rem; }
.cta-panel .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}
.cta-panel .btn-primary:hover { background: #e9f1ff; }
.cta-panel--home { padding: 2.75rem; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.cta-panel .cta-support { margin: 0; font-size: 0.88rem; color: var(--on-dark-mute); }
.cta-support a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }

/* App pages */
.app-shell { padding: 2rem 0 4rem; }
.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}
.lead { color: var(--ink-soft); margin: 0.5rem 0 0; max-width: 40rem; }
.form {
  margin-top: 1.4rem;
  max-width: 420px;
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
input, select {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.18);
}
.alert {
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.alert-error { background: #fdeeee; border: 1px solid #f3c1c1; color: #8f1f1f; }
.alert-ok { background: var(--ok-soft); border: 1px solid #b6e6d3; color: #0b6b4a; }
.flash-row { padding-top: 1rem; }
.note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--bg-white);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  max-width: 40rem;
}
.note a { color: var(--brand); font-weight: 600; }
.muted { color: var(--ink-soft); }
.panel-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: auto;
}
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-soft); }
.table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); background: var(--bg-tint); }
.table tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eef3f9;
  color: var(--ink-soft);
}
.badge-paid, .badge-paid_review { background: var(--ok-soft); color: var(--ok); }
.badge-pending { background: var(--brand-soft); color: var(--brand-dark); }
.badge-failed { background: #fdeeee; color: var(--danger); }

/* Order / billing page — two-column desktop checkout */
.page-order .app-shell {
  padding-top: 1.5rem;
}
.order-page {
  position: relative;
}
.order-page::before {
  content: "";
  position: absolute;
  inset: -1.5rem -1rem auto;
  height: 14rem;
  background:
    radial-gradient(ellipse 70% 90% at 85% 0%, rgba(0, 105, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 20%, rgba(3, 27, 78, 0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.order-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}
.order-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.order-main .page-title { margin-bottom: 0; }
.order-main .lead { margin-bottom: 0.25rem; max-width: none; }
.form--order {
  max-width: none;
  width: 100%;
  margin-top: 1.25rem;
}
.form--order .optional {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.85em;
}
.password-field .password-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.password-field .password-wrap input {
  flex: 1;
  min-width: 0;
}
.password-toggle {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0.9rem;
  border: 1px solid var(--line, #d7e0ec);
  border-radius: 8px;
  background: #fff;
  color: var(--brand, #0069ff);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.password-toggle:hover {
  background: #f7faff;
}
.password-toggle[aria-pressed="true"] {
  background: #eef4ff;
  border-color: #b6cdf5;
}
.saved-billing {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}
.saved-billing > div {
  display: grid;
  gap: 0.15rem;
}
.saved-billing .muted { font-size: 0.78rem; font-weight: 600; }
.order-edit {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}
.order-edit a {
  color: var(--brand);
  font-weight: 600;
}
.order-legal {
  max-width: none;
}
.order-legal a {
  color: var(--brand);
  font-weight: 600;
}
.order-aside {
  position: sticky;
  top: 5.25rem;
}
.order-summary {
  background:
    linear-gradient(165deg, #0a1f45 0%, #0d2a5c 42%, #113a7a 100%);
  color: #e8f0ff;
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.order-summary::after {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -4rem;
  top: -5rem;
  background: radial-gradient(circle, rgba(0, 105, 255, 0.35), transparent 68%);
  pointer-events: none;
}
.order-summary-top,
.order-spec-list,
.order-summary-price,
.order-trust,
.order-support,
.order-change-plan {
  position: relative;
  z-index: 1;
}
.order-summary-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: #cfe0ff;
}
.order-summary h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.order-summary-top p {
  margin: 0.4rem 0 0;
  color: #9fb4d6;
  font-size: 0.92rem;
}
.order-spec-list {
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.order-spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.order-spec-list dt {
  margin: 0;
  color: #8aa0c4;
  font-size: 0.8rem;
  font-weight: 600;
}
.order-spec-list dd {
  margin: 0;
  font-weight: 700;
  color: #fff;
  text-align: right;
  font-size: 0.92rem;
}
.order-summary-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
}
.order-summary-price > span {
  color: #9fb4d6;
  font-size: 0.88rem;
  font-weight: 600;
}
.order-summary-price strong {
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 800;
}
.order-summary-price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: #9fb4d6;
  margin-left: 0.15rem;
}
.order-trust {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.order-trust li {
  position: relative;
  padding-left: 1.4rem;
  color: #c9d8ef;
  font-size: 0.88rem;
}
.order-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.26rem;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.order-support {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb4d6;
  font-size: 0.84rem;
}
.order-support a { color: #fff; font-weight: 600; }
.order-support a:hover { text-decoration: underline; text-underline-offset: 2px; }
.order-change-plan {
  display: inline-block;
  margin-top: 1.15rem;
  color: #9ec2ff;
  font-size: 0.88rem;
  font-weight: 600;
}
.order-change-plan:hover { color: #fff; }

.checkout-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.summary-card, .pay-shell {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.summary-card h2, .pay-shell h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 1.05rem;
}
.summary-card dl { margin: 0; display: grid; gap: 0.7rem; }
.summary-card dt { color: var(--ink-soft); font-size: 0.78rem; }
.summary-card dd { margin: 0; font-weight: 700; }
.pay-frame {
  width: 100%;
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.pay-note { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.88rem; }
.pay-support a { color: var(--brand); font-weight: 600; }

/* Seamless checkout — PayTR sits flush in light shell */
.checkout-grid--seamless { align-items: start; }
.pay-shell--seamless {
  padding: 0;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--line);
}
.pay-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}
.pay-shell-head h2 { margin: 0; font-size: 1.05rem; }
.pay-secure-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pay-frame-wrap {
  background: #fff;
  min-height: 640px;
}
.pay-frame--seamless {
  display: block;
  width: 100%;
  min-height: 680px;
}
.pay-frame--bridge {
  min-height: 720px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.pay-frame-wrap--bridge {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #050a14;
}
.pay-shell--seamless .pay-frame-wrap--bridge {
  /* Bridge page is dark; keep shell flush */
  background: #050a14;
}
.pay-shell--seamless .alert { margin: 1rem 1.2rem; }
.pay-shell--seamless > .pay-note { padding: 0 1.2rem 1.2rem; }
.pay-wait {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid #cfe0ff;
  text-align: center;
}
.pay-wait p { margin: 0.35rem 0 0; }
.pay-wait-spin {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.55rem;
  border: 3px solid #cfe0ff;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: payspin 0.8s linear infinite;
}
@keyframes payspin { to { transform: rotate(360deg); } }

/* SEO landings */
.seo-hero {
  padding: 2.75rem 0 1.75rem;
  background:
    radial-gradient(ellipse 80% 70% at 10% 0%, rgba(0, 105, 255, 0.11), transparent 58%),
    radial-gradient(ellipse 50% 60% at 95% 10%, rgba(0, 105, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.seo-hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  max-width: 18ch;
}
.seo-hero .hero-lead { max-width: 42rem; color: var(--ink-soft); font-size: 1.08rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--brand); font-weight: 600; }
.seo-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.seo-prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.seo-prose h2:first-child { margin-top: 0; }
.seo-prose p, .seo-prose li { color: var(--ink-soft); }
.seo-prose ul { padding-left: 1.15rem; }
.seo-prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.seo-aside { display: grid; gap: 1rem; position: sticky; top: 88px; }
.aside-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}
.aside-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
}
.aside-card p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.92rem; }
.aside-card.muted-card a {
  display: block;
  margin: 0.4rem 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.step-card h3 {
  margin: 0.7rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.02rem;
}
.step-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Refund policy summary */
.policy-facts {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.policy-facts li {
  padding: 1rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.policy-facts strong { display: block; margin-bottom: 0.2rem; font-family: var(--display); font-size: 1rem; }
.policy-facts span { color: var(--ink-soft); font-size: 0.88rem; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0.85rem 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-strip span::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230069ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ops-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.ops-stats > div {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.ops-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.ops-stats span { color: var(--ink-soft); font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 0.9fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-brand > p {
  max-width: 25rem;
  margin: 1rem 0 0;
  color: var(--on-dark-mute);
  font-size: 0.92rem;
}
.footer-support {
  max-width: 25rem;
  margin-top: 1.4rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-support-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.footer-support-label .icon { width: 1rem; height: 1rem; color: var(--brand-bright); }
.footer-support-mail {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}
.footer-support-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-support p { margin: 0.35rem 0 0; font-size: 0.86rem; color: var(--on-dark-soft); }
.site-footer h4 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer h4.footer-subhead { margin-top: 1.75rem; }
.footer-links a {
  display: block;
  margin: 0.45rem 0;
  color: var(--on-dark-soft);
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; }
.footer-promise {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
}
.footer-promise li { align-items: flex-start; }
.footer-promise li::before {
  margin-top: 0.2rem;
  filter: brightness(1.6);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark-mute);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .hero-grid, .feature-grid, .checkout-grid,
  .seo-grid, .step-grid, .ops-stats, .order-layout {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 2.5rem; padding: 3.25rem 0 7.25rem; }
  .hero-visual { max-width: 640px; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-bar li:nth-child(3) { border-left: 0; }
  .trust-bar li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .looks-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: 1fr; gap: 0.5rem; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .policy-facts { grid-template-columns: 1fr; }
  .seo-aside { position: static; }
  .order-aside { position: static; }
  .order-layout { gap: 1.25rem; }
  .order-summary { margin-top: 0; }
  /* Summary first on mobile so buyers see what they selected */
  .order-aside { order: -1; }

  /* Pricing: stack as cards — no horizontal slide */
  .pricing-wrap {
    overflow: visible !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    max-width: 100%;
  }
  .price-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    overflow: visible !important;
  }
  .price-table thead {
    display: none !important;
  }
  .price-table tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
  }
  .price-table tr {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1rem 1.05rem;
    box-shadow: var(--shadow);
    position: relative;
  }
  .price-table tbody tr:hover td,
  .price-row:has(.badge-pop) td,
  .price-row:focus-within td { background: transparent; }
  .price-row:has(.badge-pop) { border-color: #9cc0fb; box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.1), var(--shadow); }
  .price-row:has(.badge-pop) td:first-child { box-shadow: none; }
  .price-row-hit {
    border-radius: 14px;
  }
  .price-table th,
  .price-table td {
    display: flex !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    border: 0;
    padding: 0.4rem 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
    font-weight: 600;
  }
  .price-table td:first-child {
    display: block !important;
    text-align: left;
    padding: 0 0 0.75rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
  }
  .price-table td:not(:first-child)::before {
    color: var(--ink-mute);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
  }
  .price-table td:nth-child(2)::before { content: "vCPU"; }
  .price-table td:nth-child(3)::before { content: "Transfer"; }
  .price-table td:nth-child(4)::before { content: "NVMe SSD"; }
  .price-table td:nth-child(5)::before { content: "Monthly"; }
  .price-table--net td:nth-child(3)::before { content: "Network"; }
  .price-table--net td:nth-child(4)::before { content: "Transfer"; }
  .price-table--net td:nth-child(5)::before { content: "NVMe SSD"; }
  .price-table--net td:nth-child(6)::before { content: "Monthly"; }
  .price-table td:last-child {
    padding-top: 0.85rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--line);
    white-space: normal;
  }
  .price-table td:last-child .btn-price {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .pricing-foot {
    margin-top: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-white);
  }
  .plan-name { font-size: 1.15rem; }
  .section .shell { max-width: 100%; overflow-x: clip; }

  /* Bridge PayTR: maximize width + scale iframe so card fields aren't clipped */
  body.page-checkout--bridge .app-shell {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  body.page-checkout--bridge .shell.app-shell {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .page-checkout--bridge .checkout-page {
    padding: 0;
    max-width: 100%;
  }
  .page-checkout--bridge .page-title,
  .page-checkout--bridge .lead,
  .page-checkout--bridge .trust-strip {
    display: none;
  }
  .page-checkout--bridge .checkout-grid--seamless {
    margin: 0;
    gap: 0;
  }
  .page-checkout--bridge .summary-card {
    display: none;
  }
  .page-checkout--bridge .pay-shell--seamless {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }
  .page-checkout--bridge .pay-shell-head {
    display: none;
  }
  .page-checkout--bridge .pay-frame-wrap--bridge {
    min-height: 70vh;
  }
  body.page-checkout--bridge .site-footer {
    display: none;
  }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .header-row { position: relative; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--header-h) - 6px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #0a1f47;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
  .site-nav.is-open { display: flex; }
  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }
  .nav-actions {
    padding: 0.6rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links a,
  .nav-actions > a:not(.btn) { padding: 0.7rem 0.75rem; }
  .nav-actions .btn { margin-top: 0.35rem; padding-block: 0.7rem; }
}
@media (max-width: 640px) {
  .section { padding: 3.75rem 0; }
  .section--looks { padding-top: 4rem; }
  .hero-grid { padding: 2.25rem 0 6.5rem; }
  /* The header logo sits directly above on phones; a second lockup reads as a duplicate. */
  .hero-brand { display: none; }
  .hero .hero-lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust { margin-top: -4rem; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar li { border-left: 0; border-top: 1px solid var(--line-soft); padding: 1.1rem 1.15rem; }
  .trust-bar li:first-child { border-top: 0; }
  .ui-app { padding: 0.95rem 0.9rem 1rem; }
  .ui-appbar-title span { display: none; }
  .ui-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 0.75rem; padding: 0.7rem 0.8rem; }
  .ui-row > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .ui-row > :nth-child(3) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .ui-row--head { display: none; }
  .ui-list > .ui-row:nth-child(2) { border-top: 0; }
  .ui-cell small.ui-mono { display: none; }
  .look-stage { padding: 1.25rem 1.1rem 0; }
  .look-card figcaption { padding: 1.15rem 1.2rem 1.3rem; }
  .ui-panel { padding: 1rem 1rem 1.1rem; }
  .ui-creds > div { grid-template-columns: 5rem minmax(0, 1fr); }
  .feature-grid, .region-cards { grid-template-columns: 1fr; }
  .price-table tbody { grid-template-columns: 1fr; }
  .price-table tr {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.75rem;
  }
  .price-table--net tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-table td:first-child,
  .price-table td:last-child { grid-column: 1 / -1; }
  .price-table td:not(:first-child):not(:last-child) {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.1rem;
    padding: 0.3rem 0 0.2rem;
    text-align: left;
  }
  .cta-panel, .cta-panel--home { padding: 1.6rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; padding-top: 2.75rem; }
}

/* SEO compare + related guides */
.seo-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.seo-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.94rem;
}
.seo-compare th,
.seo-compare td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}
.seo-compare th {
  background: var(--bg-tint);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
}
.seo-compare th:nth-child(2) { background: var(--navy-900); color: #fff; }
.seo-compare td:nth-child(2) { background: #f5f9ff; color: var(--ink); font-weight: 600; }
.seo-compare td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.seo-compare tr:last-child td { border-bottom: 0; }
.seo-related {
  margin-top: 2.5rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 70%);
}
.seo-related h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.seo-related > p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.seo-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem 1rem;
}
.seo-related-list a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.seo-related-list a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .seo-compare td:first-child { white-space: normal; }
}

@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;
  }
}
