/* Caesar — caesarcampus.com (v2 landing)
   Static, no build step. System fonts only. Mobile-first. No inline styles (CSP style-src 'self'). */

:root {
  --ink: #0A1F2E;
  --ink-2: #122B3B;
  --teal-800: #0E3B52;
  --teal-700: #176080;
  --teal-500: #2A87A8;
  --teal-300: #5FC6DE;
  --teal-100: #DCEEF5;
  --mist: #F7FBFE;
  --line: #DCE7EE;
  --text: #23323C;
  --muted: #576C7A;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1120px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 46, .06), 0 2px 8px rgba(10, 31, 46, .04);
  --shadow-md: 0 10px 30px rgba(10, 31, 46, .10);
  --shadow-lg: 0 24px 70px rgba(10, 31, 46, .18);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

main { flex: 1 0 auto; }

a { color: var(--teal-700); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: .7em 1.1em;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-narrow { max-width: 860px; }

.section { padding: 64px 0; }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.015em;
  margin-right: auto;
}
.brand-mark { flex: none; }

.nav {
  display: none;
  gap: 26px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
}
.nav a:hover { color: var(--teal-700); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.signin {
  color: var(--text);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  display: none;
}
.signin:hover { color: var(--teal-700); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .82em 1.35em;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(23, 96, 128, .3);
}
.btn-primary:hover { background: #12536F; box-shadow: 0 6px 18px rgba(23, 96, 128, .28); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #C7D7E0;
}
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-800); background: rgba(95, 198, 222, .07); }
.btn-sm { padding: .6em 1em; font-size: .92rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- hero (v2) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #F6FBFE 0%, #FFFFFF 70%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* aurora / gradient mesh */
.hero-aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 18%, rgba(95, 198, 222, .38), transparent 70%),
    radial-gradient(35% 45% at 12% 8%, rgba(23, 96, 128, .20), transparent 70%),
    radial-gradient(30% 40% at 55% 70%, rgba(42, 135, 168, .16), transparent 70%);
  filter: blur(8px);
  animation: aurora 18s ease-in-out infinite alternate;
}
/* subtle grid over the mesh */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 59, 82, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 59, 82, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.02); }
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}
.hero-copy { text-align: left; }

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: .38em .85em;
  border: 1px solid #C9DEE8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: var(--teal-800);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.lede {
  margin: 20px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.62;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-note {
  margin: 14px 0 0;
  color: #566B78;
  font-size: .87rem;
}

/* glass card */
.glass {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}

.hero-card {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}
.hero-laurel {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  opacity: .32;
  pointer-events: none;
}
.ring {
  position: relative;
  margin: 0 auto;
  transform: rotate(-90deg);
}
.ring circle { fill: none; stroke-width: 9; }
.ring-track { stroke: var(--teal-100); }
.ring-fill {
  stroke: var(--teal-700);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1);
}
.ring-label {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.ring-value {
  color: var(--ink);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ring-unit { font-size: 1.1rem; color: var(--muted); }
.ring-of { margin-top: 6px; color: var(--muted); font-size: .8rem; }

.hero-stats {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
}
.hero-stats li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.hero-stats strong { color: var(--ink); }
.hero-card-cap { margin: 12px 0 0; font-size: .78rem; color: #566B78; }

/* video slot — mechanism unchanged (config.js VIDEO_SRC) */
.video-frame {
  margin: 40px auto 0;
  max-width: 940px;
  padding: 0;
}
.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid #CFE0E9;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  cursor: default;
}
.video-caption {
  margin-top: 12px;
  color: #566B78;
  font-size: .86rem;
  text-align: center;
}

/* ---------- product tour ---------- */

.tour { display: grid; gap: 22px; }
.tour-stage { display: grid; gap: 48px; }

.tour-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 5px;
  margin: 0 0 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
}
.tour-tabs[hidden] { display: none; }
.tour-tabs::-webkit-scrollbar { display: none; }
.tour-tabs button {
  flex: none;
  padding: .6em 1.05em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tour-tabs button:hover { background: var(--teal-100); }
.tour-tabs button[aria-selected="true"] { background: var(--teal-700); color: var(--white); }

.tour-panel { display: grid; gap: 18px; }
.tour-text h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tour-text p { color: var(--muted); }

/* JS on: panels stack in one grid cell and crossfade */
.js .tour-stage { gap: 0; }
.js .tour-stage > .tour-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.js .tour-stage > .tour-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s;
}

/* stylized browser frame */
.browser {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #CFE0E9;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.browser:hover { transform: translateY(-3px); box-shadow: 0 30px 80px rgba(10, 31, 46, .22); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #F3F8FB, #E8F1F6);
  border-bottom: 1px solid var(--line);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C9D9E2;
}
.browser-bar i:nth-child(1) { background: #F28B82; }
.browser-bar i:nth-child(2) { background: #F6C561; }
.browser-bar i:nth-child(3) { background: #7FD08F; }
.browser-url {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; }

.tour-foot {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- why + comparison (dark band) ---------- */

.band-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(95, 198, 222, .18), transparent 65%),
    radial-gradient(700px 360px at 0% 100%, rgba(42, 135, 168, .16), transparent 65%),
    linear-gradient(180deg, var(--ink) 0%, #0E2E42 100%);
  color: #C9DCE6;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .section-sub { color: #A9C4D2; }

.swap-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.band-dark .glass {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.swap-old {
  margin: 0 0 10px;
  color: #B4CDD9;
  font-size: .9rem;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(242, 139, 130, .75);
}
.band-dark .card p { color: #B9D0DC; }
.why-also { margin: 28px 0 0; max-width: 72ch; color: #B9D0DC; }
.why-proven {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--teal-300);
  color: var(--white);
  font-weight: 600;
}

.compare {
  margin-top: 44px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.band-dark .compare-title { color: var(--ink); padding: 22px 20px 14px; font-size: 1.2rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare-table thead { display: none; }
.compare-table tr { display: block; padding: 14px 20px; border-top: 1px solid var(--line); }
.compare-table th[scope="row"] {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}
.compare-table td { display: block; padding: 3px 0; color: var(--muted); }
.compare-table td::before {
  content: attr(data-label) ": ";
  font-weight: 600;
  color: var(--text);
}
.compare-table td.col-us {
  margin-top: 4px;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(95, 198, 222, .2), rgba(95, 198, 222, .06));
  color: var(--teal-800);
  font-weight: 600;
}
.compare-table td.col-us::before { color: var(--teal-700); }

/* ---------- cards (tilt / glow) ---------- */

.card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 198, 222, .22), transparent 60%);
  transition: opacity .25s ease;
}
.card:hover { border-color: #B5D4E2; box-shadow: var(--shadow-md); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

.custom-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

/* steps */
.steps-title { margin: 56px 0 22px; font-size: 1.3rem; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 20px 20px 20px 66px;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-700);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
}
.step h4 { margin: 0 0 6px; color: var(--ink); font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- pricing ---------- */

.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

.price-wrap { display: grid; gap: 20px; }
.price-card {
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(95, 198, 222, .18), transparent 65%),
    var(--white);
  border: 2px solid var(--teal-500);
  box-shadow: var(--shadow-lg);
}
.price-laurel {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  opacity: .12;
  pointer-events: none;
}
.price-label {
  margin: 0 0 6px;
  color: var(--teal-700);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.price { margin: 0; color: var(--ink); line-height: 1; }
.price-from { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-amount { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; }
.price-per { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.price-sub { margin: 14px 0 18px; color: var(--muted); }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.price-list li { position: relative; padding-left: 28px; font-size: .96rem; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-100);
}
.price-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .52em;
  width: 6px;
  height: 9px;
  border-right: 2px solid var(--teal-700);
  border-bottom: 2px solid var(--teal-700);
  transform: rotate(45deg);
}
.price-terms { margin: 14px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
.price-aside {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.price-aside h3 { font-size: 1.1rem; margin-bottom: 10px; }
.price-aside p { color: var(--muted); font-size: .95rem; }
.price-aside-note { color: var(--teal-800) !important; font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
details {
  border: 1px solid #D3E1E9;
  border-radius: 12px;
  background: var(--white);
  padding: 0 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
details[open] { border-color: #BFD6E2; box-shadow: var(--shadow-sm); }
summary {
  cursor: pointer;
  padding: 17px 30px 17px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--teal-700);
  border-bottom: 2px solid var(--teal-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--muted); font-size: .96rem; max-width: 68ch; }

/* closing CTA */
.cta-card {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: #DCEAF1;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(95, 198, 222, .3), transparent 68%),
    linear-gradient(160deg, #12536F 0%, var(--ink) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-laurel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  opacity: .14;
  transform: scale(1.8);
  pointer-events: none;
}
.cta-title { position: relative; color: var(--white); font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
.cta-sub { position: relative; margin: 12px auto 24px; max-width: 50ch; color: #C6DDE8; }
.btn-light { position: relative; background: var(--white); color: var(--teal-800); }
.btn-light:hover { background: #EAF6FA; box-shadow: 0 8px 26px rgba(0, 0, 0, .22); }

/* ---------- lightbox ---------- */

.lightbox {
  width: min(96vw, 1400px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(6, 18, 27, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .25s ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-img { width: 100%; height: auto; max-height: 94vh; object-fit: contain; }
.lightbox-close-form { position: absolute; top: 10px; right: 10px; margin: 0; z-index: 1; }
.lightbox-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 31, 46, .78);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- scroll reveal (only when JS is running) ---------- */

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .6s ease, translate .6s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #9FB6C4;
  padding: 34px 0;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.footer-nav a, .footer-copy a { color: #C2D5E0; text-decoration: none; }
.footer-nav a:hover, .footer-copy a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { margin: 0; color: #7E97A6; }

/* ---------- simple pages (404, privacy) ---------- */

.page { padding: 72px 0 96px; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 18px; }
.page .lede { margin-left: 0; margin-bottom: 28px; text-align: left; }
.page h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.page p, .page li { color: var(--muted); font-size: .98rem; }
.page ul { padding-left: 1.2em; }
.page ul li { margin-bottom: .5em; }
.page .btn { margin-top: 10px; }
.page-note { margin-top: 26px; }


/* ---------- breakpoints ---------- */

@media (min-width: 620px) {
  .section { padding: 80px 0; }
  .swap-grid { grid-template-columns: repeat(3, 1fr); }
  .custom-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-copy { order: 3; }
  .tour-tabs { justify-self: start; }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .signin { display: inline; }
  .signin[hidden] { display: none; }
  .header-inner { height: 68px; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .price-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 26px; align-items: start; }
  .price-card { padding: 36px 32px; }

  .band-dark .compare-title { padding: 24px 22px 16px; }
  .compare-table { display: table; }
  .compare-table thead { display: table-header-group; }
  .compare-table tr { display: table-row; padding: 0; }
  .compare-table { table-layout: fixed; }
  .compare-table th, .compare-table td,
  .compare-table th[scope="row"], .compare-table td.col-us {
    display: table-cell;
    padding: 15px 22px;
    border-top: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
  }
  .compare-table thead th {
    background: var(--mist);
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #44596A;
  }
  .compare-table thead th.col-us { color: var(--white); background: var(--teal-700); }
  .compare-table thead th:first-child { width: 22%; }
  .compare-table th[scope="row"] { margin: 0; }
  .compare-table td::before { display: none; }
  .compare-table td.col-us {
    margin: 0;
    border-radius: 0;
    background: rgba(95, 198, 222, .13);
    box-shadow: inset 3px 0 0 var(--teal-500);
  }
}

@media (min-width: 980px) {
  .tour-panel { grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: 40px; align-items: center; }
  .custom-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: 52px;
    align-items: start;
  }
  .faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-aurora { animation: none; }
  .js .reveal { opacity: 1; translate: none; }
  .card, .browser:hover { transform: none !important; }
}

@media print {
  .site-header, .video-frame, .cta-card, .site-footer, .tour-tabs, .lightbox { display: none; }
  .js .reveal { opacity: 1; translate: none; }
  .js .tour-stage > .tour-panel { opacity: 1; visibility: visible; grid-area: auto; }
  body { color: #000; }
}

/* typographic polish */
h1, h2, h3, .cta-title { text-wrap: balance; }
.lede, .section-sub, .card p, .compare-table td, .hero-note, .price-terms { text-wrap: pretty; }
