:root {
  --bg: #F0F4F8;
  --bg-2: #E6EEF5;
  --paper: #ffffff;
  --sky: #E8EEF8;
  --primary: #00AFB9;
  --primary-2: #0099a3;
  --navy: #002D72;
  --indigo: #3B6EA5;
  --violet: #2F6F8F;
  --rose: #C45C6A;
  --amber: #C48A2A;
  --mint: #1F8A70;
  --text: #1c2b4a;
  --muted: #5b6b86;
  --line: #d7e2ec;
  --ok: #059669;
  --radius: 16px;
  --shadow: 0 22px 56px rgba(0, 45, 114, 0.10);
  --shadow-strong: 0 28px 64px rgba(0, 45, 114, 0.14);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;

  /* Official brand atmosphere (scroll-driven on home) */
  --atm: #EEF3F8;
  --tint-metrics: transparent;
  --tint-video: transparent;
  --tint-features: transparent;
  --tint-how: transparent;
  --tint-control: transparent;
  --tint-access: transparent;
  --tint-pricing: transparent;
  --tint-request: transparent;
  --tint-about: transparent;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); scroll-padding-top: 88px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  background: var(--bg);
}
body:not(.admin-body):not(.admin-login) {
  background: var(--bg);
}

/* Home: fixed atmosphere layer — scroll morphs this (not each section paint) */
html:has(body.scroll-atmosphere) {
  background: transparent;
}
body.scroll-atmosphere {
  --atm-r: 200;
  --atm-g: 236;
  --atm-b: 230;
  background: transparent !important;
}
.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: rgb(var(--atm-r), var(--atm-g), var(--atm-b));
  transition: background-color .1s linear;
}
.page-atmosphere::before,
.page-atmosphere::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: .82;
  will-change: transform, background;
  transition: transform .18s linear, background .12s linear, opacity .18s ease;
}
.page-atmosphere::before {
  width: min(78vw, 720px);
  height: min(78vw, 720px);
  top: -14%;
  right: -16%;
  background: radial-gradient(circle, rgba(31, 138, 112, .42) 0%, rgba(31, 138, 112, 0) 70%);
  transform: translate3d(calc(var(--atm-shift-x, 0) * 1px), calc(var(--atm-shift-y, 0) * 1px), 0);
}
.page-atmosphere::after {
  width: min(86vw, 800px);
  height: min(86vw, 800px);
  bottom: -24%;
  left: -22%;
  background: radial-gradient(circle, rgba(196, 138, 42, .22) 0%, rgba(196, 138, 42, 0) 72%);
  transform: translate3d(calc(var(--atm-shift-x, 0) * -0.65px), calc(var(--atm-shift-y, 0) * -0.45px), 0);
}
body.scroll-atmosphere.atm-teal .page-atmosphere::before {
  background: radial-gradient(circle, rgba(0, 175, 185, .5) 0%, rgba(0, 175, 185, 0) 70%);
}
body.scroll-atmosphere.atm-mint .page-atmosphere::before {
  background: radial-gradient(circle, rgba(31, 138, 112, .48) 0%, rgba(31, 138, 112, 0) 70%);
}
body.scroll-atmosphere.atm-warm .page-atmosphere::before {
  background: radial-gradient(circle, rgba(196, 138, 42, .4) 0%, rgba(196, 138, 42, 0) 70%);
}
body.scroll-atmosphere.atm-blush .page-atmosphere::before {
  background: radial-gradient(circle, rgba(196, 92, 106, .36) 0%, rgba(196, 92, 106, 0) 70%);
}
body.scroll-atmosphere.atm-lilac .page-atmosphere::before {
  background: radial-gradient(circle, rgba(120, 100, 180, .34) 0%, rgba(120, 100, 180, 0) 70%);
}
body.scroll-atmosphere.atm-navy .page-atmosphere::before,
body.scroll-atmosphere.atm-cool .page-atmosphere::before {
  background: radial-gradient(circle, rgba(0, 175, 185, .4) 0%, rgba(0, 175, 185, 0) 70%);
}
body.scroll-atmosphere.atm-warm .page-atmosphere::after {
  background: radial-gradient(circle, rgba(180, 120, 60, .28) 0%, rgba(180, 120, 60, 0) 72%);
}
body.scroll-atmosphere.atm-blush .page-atmosphere::after {
  background: radial-gradient(circle, rgba(180, 90, 110, .24) 0%, rgba(180, 90, 110, 0) 72%);
}
body.scroll-atmosphere.atm-lilac .page-atmosphere::after {
  background: radial-gradient(circle, rgba(100, 80, 160, .22) 0%, rgba(100, 80, 160, 0) 72%);
}
body.scroll-atmosphere.atm-mint .page-atmosphere::after {
  background: radial-gradient(circle, rgba(20, 120, 100, .26) 0%, rgba(20, 120, 100, 0) 72%);
}

a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s ease, background .35s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(0, 45, 114, 0.06);
}

/* Home: navbar transparent so hero video shows behind */
body.has-hero .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.has-hero .site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 45, 114, 0.06);
}
body.has-hero .site-header:not(.is-scrolled) .btn-ghost {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .55);
}
body.has-hero .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, .75);
}
.site-header .wrap {
  width: 100%;
  max-width: none;
  padding: 0 22px;
  margin: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; padding-left: 4px; }
.brand-mark { width: 38px; height: 42px; flex-shrink: 0; display: block; object-fit: contain; }
.brand-x { color: #00AFB9; }
.brand > span { display: flex; flex-direction: column; gap: 1px; }
.brand-title { font-family: var(--display); display: block; font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600;
  position: relative; padding: 8px 10px 10px;
  border-radius: 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover { color: var(--primary); background: transparent; }
.nav-links a.is-active { color: var(--primary); }
.nav-links a.is-active::after,
.nav-links a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0; cursor: pointer; font-weight: 700;
  font-size: 14px; border-radius: 8px; padding: 12px 22px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn-ghost { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 10px 22px rgba(0,175,185,.28); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,175,185,.35); }
body:not(.admin-body) .btn-primary {
  background: linear-gradient(120deg, var(--primary) 0%, var(--navy) 100%);
  box-shadow: 0 12px 28px rgba(0, 175, 185, .28);
}
body:not(.admin-body) .btn-primary:hover {
  background: linear-gradient(120deg, var(--primary-2) 0%, #001f52 100%);
  box-shadow: 0 16px 32px rgba(0, 45, 114, .28);
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-light { color: var(--primary); background: #fff; }
.btn-light:hover { transform: translateY(-2px); }

.level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 45, 114, .08);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 45, 114, .05);
}
#video .level,
#features .level,
#how .level,
#control .level,
#access .level,
#pricing .level,
#request .level,
#about .level {
  color: var(--navy);
  background: rgba(255,255,255,.82);
  border-color: rgba(0, 45, 114, .12);
}

h1, h2, h3 { font-family: var(--display); color: var(--navy); letter-spacing: -0.03em; }
.hero {
  padding: 88px 0 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  height: 100svh;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(243, 245, 251, .88) 0%, rgba(243, 245, 251, .55) 48%, rgba(243, 245, 251, .28) 100%),
    linear-gradient(180deg, rgba(243, 245, 251, .12) 0%, rgba(243, 245, 251, .35) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100% - 8px);
  padding-left: 28px;
  padding-right: 12px;
  box-sizing: border-box;
}
.hero .wrap {
  width: min(1180px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
}
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.12; margin: 0 0 18px; max-width: 14em; min-height: 2.4em; }
.hero-title { display: block; }
.ai-line {
  display: inline;
}
.ai-line [data-ai-text] {
  color: var(--navy);
}
.ai-line [data-ai-text] .ai-word {
  font-weight: 800;
}
.ai-line [data-ai-text]::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: .82em;
  margin-left: 4px;
  background: var(--primary);
  vertical-align: -4px;
  border-radius: 1px;
  animation: caretBlink .75s steps(1) infinite;
}
@keyframes caretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.hero .lead { color: var(--muted); font-size: 18px; max-width: 36em; margin: 0 0 8px; line-height: 1.55; }
.hero .copy { max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.hero-visual {
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}
.orbit-stage {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
}
.orbit-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(0,175,185,.35);
  animation: orbitSpin 22s linear infinite;
}
.orbit-ring.r1 { inset: 6%; border-style: solid; border-color: rgba(0,45,114,.10); animation-duration: 36s; }
.orbit-ring.r2 { inset: 18%; border-color: rgba(0,175,185,.28); animation-duration: 22s; animation-direction: reverse; }
.orbit-ring.r3 { inset: 32%; border-style: solid; border-color: rgba(0,45,114,.12); animation-duration: 14s; }
.orbit-dots {
  position: absolute;
  inset: 18%;
  animation: orbitSpin 18s linear infinite;
}
.orbit-dots.d1 { inset: 6%; animation-duration: 28s; }
.orbit-dots.d2 { inset: 18%; animation-duration: 16s; animation-direction: reverse; }
.orbit-dots i {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,175,185,.12);
}
.orbit-dots.d1 i:nth-child(1) { top: -4px; left: 50%; margin-left: -4px; }
.orbit-dots.d1 i:nth-child(2) { bottom: -4px; left: 50%; margin-left: -4px; }
.orbit-dots.d1 i:nth-child(3) { left: -4px; top: 50%; margin-top: -4px; background: var(--violet); }
.orbit-dots.d1 i:nth-child(4) { right: -4px; top: 50%; margin-top: -4px; background: var(--amber); }
.orbit-dots.d2 i:nth-child(1) { top: 12%; right: 10%; background: var(--indigo); }
.orbit-dots.d2 i:nth-child(2) { bottom: 8%; left: 18%; background: var(--rose); }
.orbit-dots.d2 i:nth-child(3) { top: 46%; left: -4px; }
.orbit-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,45,114,.10);
  display: grid;
  place-items: center;
  z-index: 3;
  animation: orbitPulse 3.2s ease-in-out infinite;
}
.orbit-core img { width: 58%; height: 58%; object-fit: contain; }
.sat {
  position: absolute;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 10px 24px rgba(0,45,114,.08);
  min-width: 92px;
}
.sat b { display: block; font-size: 12px; color: var(--navy); font-family: var(--display); }
.sat span { font-size: 11px; color: var(--muted); }
.sat.s1 { top: 10%; right: -4%; animation: satFloat 4s ease-in-out infinite; }
.sat.s4 { top: 10%; left: -4%; animation: satFloat 4.2s ease-in-out infinite .2s; }
.sat.s2 { bottom: 12%; left: -4%; animation: satFloat 4.8s ease-in-out infinite .4s; }
.sat.s3 { bottom: 12%; right: -4%; animation: satFloat 3.6s ease-in-out infinite .8s; }
.sat.s1 b { color: var(--primary); }
.sat.s4 b { color: var(--mint); }
.sat.s2 b { color: var(--violet); }
.sat.s3 b { color: var(--amber); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 18px 40px rgba(0,45,114,.10); }
  50% { transform: scale(1.04); box-shadow: 0 22px 48px rgba(0,175,185,.18); }
}
@keyframes satFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.feat-no {
  font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .08em;
  color: var(--primary); margin-bottom: 8px;
}
.photo-fit { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.band-photo:hover .photo-fit,
.how-card:hover .photo-fit,
.feature:hover .photo-fit,
.request-photo:hover .photo-fit,
.about-photo:hover .photo-fit { transform: scale(1.06); }
.hero-photo {
  width: 100%;
  height: 460px;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 0; background: var(--sky);
}

.metrics {
  padding: 28px 0 36px;
}
.trust-label {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.metrics-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 175, 185, .18);
  border-radius: 16px;
  padding: 8px 0;
  box-shadow: var(--shadow);
}
.metric { padding: 18px 12px; text-align: center; border-radius: 0; }
.metric + .metric { border-left: 1px solid rgba(0, 45, 114, .08); }
.metric:hover { background: rgba(255, 255, 255, .7); transform: none; }
.metric b { display: block; font-family: var(--display); font-size: 28px; color: var(--navy); }
.metric span { color: var(--muted); font-size: 13px; }
.metric:nth-child(1) b { color: var(--primary); }
.metric:nth-child(2) b { color: var(--mint); }
.metric:nth-child(3) b { color: var(--indigo); }
.metric:nth-child(4) b { color: var(--amber); }

.section { padding: 56px 0; background: transparent; }
.section.alt {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}
.section h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; margin: 0 0 12px; max-width: 18em; }
.section .intro { color: var(--muted); font-size: 17px; max-width: 42em; margin: 0 0 20px; }
.section-lead { margin: 0 0 36px; }
.section-lead .intro,
.section-lead .copy { max-width: none; }
.copy { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 12px; max-width: 46em; }

.video-section { padding: 56px 0; background: transparent; }
.video-section h2 { margin-bottom: 8px; }

/* Sections share one scroll-driven atmosphere — no mixed section paints */
.section-tint {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}
.section-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(rgba(255,255,255,.75) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 78%);
}
.section-tint::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(0, 175, 185, .45), rgba(0, 45, 114, .35), transparent);
}
.tint-metrics,
.tint-video,
.tint-features,
.tint-how,
.tint-control,
.tint-access,
.tint-pricing,
.tint-request,
.tint-about {
  background: transparent;
}
.tint-metrics::after,
.tint-video::after,
.tint-features::after,
.tint-how::after,
.tint-control::after,
.tint-access::after,
.tint-pricing::after,
.tint-request::after,
.tint-about::after {
  background: linear-gradient(90deg, transparent, rgba(0, 175, 185, .45), rgba(0, 45, 114, .35), transparent);
}

/* Glass cards on colored sections */
.section-tint .feature,
.section-tint .price,
.section-tint .form-card,
.section-tint .how-card,
.section-tint .insight-card,
.section-tint .stat,
.section-tint .metrics-row {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, .65);
  box-shadow: var(--shadow);
}
.section-tint .price:hover,
.section-tint .feature:hover,
.section-tint .how-card:hover {
  box-shadow: var(--shadow-strong);
}
.section-tint .band-photo,
.section-tint .video-stage,
.section-tint .request-photo,
.section-tint .about-photo {
  box-shadow: var(--shadow-strong);
  outline: 1px solid rgba(255, 255, 255, .55);
}
.video-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.video-copy,
.media-copy {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.video-copy .intro,
.video-copy .copy,
.media-copy .intro,
.media-copy .copy { max-width: none; }
.video-copy .copy:last-child,
.media-copy .copy:last-child { margin-bottom: 0; }
.video-stage {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  align-self: start;
  margin: 0;
  background: #0c2d52;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 0;
}
.video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0c2d52;
  overflow: hidden;
}
.video-frame video, .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0c2d52; border: 0;
}

.band {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px; align-items: start;
}
.band.reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.band-photo {
  width: 100%;
  height: 320px;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 0; background: var(--sky);
}

.steps-graph {
  display: flex;
  align-items: stretch;
  margin: 6px 0 28px;
  padding: 28px 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.sg-step {
  flex: 1;
  text-align: center;
  padding: 6px 8px;
}
.sg-num {
  width: 48px; height: 48px; border-radius: 50%;
  margin: 0 auto 10px;
  background: linear-gradient(145deg, var(--primary), #008a93); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 18px;
  box-shadow: 0 10px 22px rgba(0,175,185,.3);
}
.sg-step:nth-child(3) .sg-num { background: linear-gradient(145deg, #c48a2a, #a87418); box-shadow: 0 10px 22px rgba(196,138,42,.28); }
.sg-step:nth-child(5) .sg-num { background: linear-gradient(145deg, #1f8a70, #16755e); box-shadow: 0 10px 22px rgba(31,138,112,.28); }
.sg-step.is-last .sg-num {
  background: linear-gradient(145deg, var(--navy), #001f52);
  box-shadow: 0 10px 22px rgba(0,45,114,.3);
}
.sg-step strong { display: block; color: var(--navy); font-size: 16px; }
.sg-step span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.4; }
.sg-arrow {
  width: 36px;
  flex: 0 0 36px;
  position: relative;
  align-self: center;
}
.sg-arrow::before {
  content: "";
  position: absolute;
  left: 2px; right: 10px; top: 50%;
  height: 2px; background: var(--primary);
  transform: translateY(-50%);
}
.sg-arrow::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--primary);
  border-top: 2px solid var(--primary);
  transform: translateY(-50%) rotate(45deg);
}

.how-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  margin-bottom: 28px;
}
.how-flow::before { display: none; }
.how-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  z-index: 1;
  padding-top: 0;
}
.how-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary); }
.how-node {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 13px;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 6px #fff, 0 8px 18px rgba(0,175,185,.28);
  position: relative; z-index: 2;
}
.how-card-media { height: 148px; overflow: hidden; background: var(--sky); }
.how-card-body { padding: 16px 16px 18px; }
.how-card-body h3 { margin: 0 0 6px; font-size: 17px; }
.how-card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 8px 0 36px;
  background: #fff;
  border: 1px solid var(--line);
}
.pipeline-step {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.pipeline-step.is-end { border-color: #9ee0c8; background: #f3fbf7; }
.pipeline-step b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
}
.pipeline-step strong { display: block; font-size: 14px; color: var(--navy); }
.pipeline-step span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.pipeline-join {
  width: 36px;
  flex: 0 0 36px;
  position: relative;
  align-self: center;
}
.pipeline-join::before,
.pipeline-join::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  background: var(--primary);
}
.pipeline-join::before {
  width: 22px; height: 2px;
  transform: translateY(-50%);
}
.pipeline-join::after {
  width: 8px; height: 8px;
  border-right: 2px solid var(--primary);
  border-top: 2px solid var(--primary);
  background: transparent;
  left: 18px;
  transform: translateY(-50%) rotate(45deg);
}

.insight-head { margin: 0 0 16px; }
.insight-head h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
}
.insight-head p { margin: 0; color: var(--muted); max-width: 46em; }
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.insight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 12px;
  box-shadow: 0 8px 24px rgba(0, 45, 114, 0.05);
  border-top: 3px solid var(--primary);
}
.insight-grid .insight-card:nth-child(2) { border-top-color: var(--violet); }
.insight-grid .insight-card:nth-child(3) { border-top-color: var(--amber); }
.insight-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.insight-card header span { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 15px; }
.insight-card header em { font-style: normal; font-size: 12px; color: var(--muted); }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-grow {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.chart-grow.vbar {
  transform-origin: center bottom;
  transform: scaleY(0);
}
.insight-card.is-in .chart-grow { transform: scaleX(1); }
.insight-card.is-in .chart-grow.vbar { transform: scaleY(1); }
.chart-legend {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--muted); margin: 0 0 10px;
}
.chart-legend i { width: 18px; height: 8px; border-radius: 99px; display: inline-block; }
.lg-act { background: var(--primary); }
.lg-std { background: #d7ecee; }
.chart-bars { display: grid; gap: 14px; padding: 8px 0 10px; }
.chart-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.chart-track {
  height: 10px;
  border-radius: 99px;
  background: #eef6ff;
  overflow: hidden;
  position: relative;
}
.chart-track.dual-track {
  height: 16px;
  overflow: hidden;
}
.dual-track i,
.dual-track b {
  position: absolute;
  left: 0;
  border-radius: 99px;
  width: 0;
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
}
.dual-track i { top: 0; height: 100%; background: #d7ecee; }
.dual-track b { top: 3px; height: 10px; background: var(--primary); }
.chart-track b {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--primary);
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
}
.insight-card.is-in .chart-track b,
.insight-card.is-in .dual-track i { width: var(--w); }
.chart-row em { font-style: normal; font-weight: 700; color: var(--navy); text-align: right; }

.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.step-num { color: var(--primary); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.step h3, .feature h3, .price h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature, .price, .form-card, .auth-card, .stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.feature { padding: 0; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.feature-grid .feature:nth-child(1) { border-top: 3px solid var(--primary); }
.feature-grid .feature:nth-child(2) { border-top: 3px solid var(--mint); }
.feature-grid .feature:nth-child(3) { border-top: 3px solid var(--amber); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card-media { height: 170px; overflow: hidden; background: var(--sky); }
.photo-card-body, .feature-body { padding: 20px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--sky); color: var(--primary); margin-bottom: 12px; font-weight: 800;
}

.cta-band {
  background: linear-gradient(135deg, #ffffff 0%, #e7f7f8 45%, #dceaf8 100%);
  color: var(--text);
  border-radius: 24px;
  padding: 40px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(0, 175, 185, .28);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,175,185,.18), transparent 70%);
  pointer-events: none;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--primary);
}
.cta-band h2 { margin: 0 0 8px; color: var(--navy); }
.cta-band p { margin: 0 0 18px; color: var(--muted); max-width: 38em; }
.access-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.access-points {
  margin: 0;
  padding: 8px 0 8px 8px;
  list-style: none;
}
.access-points li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--muted);
  font-size: 14.5px;
}
.access-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-top: 3px solid transparent;
}
.price:nth-child(1),
.price.price-demo-card { border-top-color: var(--primary); }
.price:nth-child(2) { border-top-color: var(--mint); }
.price:nth-child(3),
.price.featured { border-top-color: var(--navy); }
.price:nth-child(4) { border-top-color: var(--amber); }
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.price.featured {
  border-color: rgba(0, 45, 114, .18);
  box-shadow: 0 22px 48px rgba(0, 45, 114, .14);
  transform: translateY(-8px);
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0fafb 100%);
}
.price.featured::before {
  display: none;
}
.price:nth-child(1) .amt,
.price.price-demo-card .amt { color: var(--primary); }
.price:nth-child(2) .amt { color: var(--mint); }
.price.featured .amt { color: var(--navy); }
.price:nth-child(4) .amt { color: var(--amber); }
.price.featured:hover { transform: translateY(-12px); }
.price .amt { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--navy); margin: 6px 0 0; letter-spacing: -.03em; line-height: 1.1; }
.price .amt span { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.price-note { margin: 8px 0 16px; font-size: 13px; color: var(--muted); }
.price ul { margin: 0 0 20px; padding: 0; list-style: none; flex: 1; }
.price li { padding: 6px 0 6px 22px; position: relative; font-size: 14.5px; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.price .btn { align-self: stretch; }
.price-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 175, 185, 0.12);
}
.price-badge.is-featured {
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--navy));
}
.price-pay-hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.checkout-card .checkout-plan-line {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--navy);
}
.checkout-icon {
  color: var(--navy);
  background: linear-gradient(145deg, rgba(0, 45, 114, 0.1), rgba(0, 175, 185, 0.12));
}
.checkout-fake-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}
.checkout-fake-row span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
}
.auth-modal-actions .btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.request-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; }
.request-photo {
  height: auto;
  min-height: 280px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 0;
  box-shadow: var(--shadow);
  background: var(--sky);
}
#request .form-card {
  padding: 18px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#request .field { margin-bottom: 10px; }
#request .field:last-child { margin-bottom: 0; }
#request .grid-2 { gap: 10px; }
#request .input { padding: 9px 12px; font-size: 14px; }
#request .form-card .btn { margin-top: 4px; align-self: flex-start; }
.form-card, .auth-card { padding: 28px; transition: box-shadow .35s ease; }
.form-card:focus-within { box-shadow: var(--shadow); }
label { display: block; font-size: 13px; color: var(--navy); margin-bottom: 6px; font-weight: 650; }
.field { margin-bottom: 14px; }
.input, textarea, select {
  width: 100%; background: #fff; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 11px 13px; outline: none; font-size: 15px;
}
.input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,175,185,.16); }
textarea { min-height: 110px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 14.5px; }
.alert-ok { background: #d1fae5; color: #065f46; }
.alert-err { background: #fee2e2; color: #991b1b; }
.alert-info { background: var(--sky); color: #1e3a8a; }

.about-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 28px; align-items: start; }
.about-photo { height: 260px; width: 100%; border-radius: 16px; overflow: hidden; border: 0; box-shadow: var(--shadow); margin-bottom: 14px; background: var(--sky); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.stat { padding: 16px; }
.stat b { display: block; font-family: var(--display); font-size: 26px; color: var(--primary); }
.stat-row .stat:nth-child(1) b { color: var(--primary); }
.stat-row .stat:nth-child(2) b { color: var(--violet); }
.stat-row .stat:nth-child(3) b { color: var(--amber); }
.stat span { color: var(--muted); font-size: 13px; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .68);
  padding: 0 0 14px;
  border-top: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--primary), var(--navy));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin: 0 0 8px;
}
.footer-brand .brand-mark { width: 28px; height: 32px; }
.footer-brand h4 { margin: 0; }
.site-footer h4 {
  color: #fff;
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}
.site-footer p { margin: 0; max-width: 28em; line-height: 1.5; font-size: 13px; }
.site-footer a {
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  display: block;
  margin: 4px 0;
  font-size: 14px;
}
.site-footer a:hover { color: var(--primary); }
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: inherit;
}
.site-footer .footer-brand:hover { color: inherit; }
.site-footer .footer-brand h4 { color: #fff; margin: 0; }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

.auth-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual {
  padding: 56px; display: flex; flex-direction: column; justify-content: center;
  background: #fff; border-right: 1px solid var(--line);
}
.auth-visual h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.25; margin: 0 0 12px; max-width: 14em; }
.auth-visual p { color: var(--muted); max-width: 28em; margin: 0; }
.auth-form-wrap { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card h2 { margin: 0 0 6px; font-size: 26px; }
.auth-card .sub { color: var(--muted); margin: 0 0 20px; }

.auth-page .auth-shell-video { min-height: calc(100vh - 72px); }
.auth-shell-video .auth-visual {
  position: relative;
  overflow: hidden;
  border-right: 0;
  background: #001a44;
  padding: 48px 44px;
  color: #fff;
}
.auth-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.auth-visual-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(0, 45, 114, .42) 0%, rgba(0, 20, 55, .82) 100%);
}
.auth-visual-copy { position: relative; z-index: 2; max-width: 28em; }
.auth-shell-video .auth-visual h1 { color: #fff; }
.auth-shell-video .auth-visual p { color: rgba(255, 255, 255, .86); }
.auth-shell-video .kicker { color: #8ceef3; }
.auth-shell-video .kicker::before { background: #00AFB9; box-shadow: 0 0 0 4px rgba(0, 175, 185, .25); }
.auth-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.auth-points li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 14.5px;
  font-weight: 500;
}
.auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00AFB9;
}
.auth-shell-video .auth-form-wrap {
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}
.auth-shell-video .auth-card {
  box-shadow: 0 22px 50px rgba(0, 45, 114, .12);
  padding: 32px 28px;
}
.auth-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.auth-card-brand img { width: 32px; height: 36px; display: block; }
.auth-card-brand span {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.muted-link { color: var(--muted); font-size: 14px; }
.muted-link a { color: var(--primary); font-weight: 700; text-decoration: none; }
.kicker {
  color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}

.admin-body { background: #eaf4ff; color: var(--text); font-family: var(--font); --primary: #1577ff; --primary-2: #0d62e0; --navy: #0c2d52; }
.admin-body .reveal { opacity: 1 !important; transform: none !important; }
.admin-shell {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  min-height: 100vh;
  align-items: stretch;
}
.admin-side {
  background: #1577ff;
  color: #fff;
  padding: 24px 14px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
}
.admin-side .brand-title { color: #fff; font-size: 16px; line-height: 1.3; }
.admin-side .brand-sub { color: #dbeafe; font-size: 12px; }
.admin-side a {
  display: block;
  color: #dbeafe;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 4px;
  font-weight: 600;
}
.admin-side a.active, .admin-side a:hover { background: rgba(255,255,255,.16); color: #fff; }
.admin-main { padding: 28px; min-width: 0; background: #eaf4ff; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-top h2 { margin: 0; font-family: var(--display); font-size: 24px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.table th { color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.admin-card { background: #fff; border-radius: 16px; padding: 22px; border: 1px solid var(--line); }
.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.kpi b { font-size: 28px; display: block; font-family: var(--display); color: var(--navy); }
.kpi span { color: var(--muted); font-size: 13px; }
.admin-login { min-height: 100vh; display: grid; place-items: center; }
.badge { display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.admin-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-img-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.admin-img-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; background: #d7ecff; }
.admin-img-card h3 { margin: 10px 0 8px; font-size: 16px; }

@media (max-width: 1100px) and (min-width: 981px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-flow { grid-template-columns: 1fr 1fr; }
  .how-flow::before { display: none; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-grid, .metrics-row, .band, .band.reverse, .how-flow, .how-grid, .feature-grid, .price-grid, .request-grid, .about-grid, .video-split, .auth-shell, .stat-row, .footer-grid, .insight-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .how-flow::before { display: none; }
  .pipeline { flex-direction: column; gap: 8px; }
  .pipeline-join { width: auto; height: 22px; flex-basis: 22px; }
  .pipeline-join::before { width: 2px; height: 14px; left: 50%; top: 4px; transform: translateX(-50%); }
  .pipeline-join::after { left: 50%; top: 12px; transform: translate(-50%, 0) rotate(135deg); }
  .steps-graph { flex-direction: column; gap: 0; }
  .sg-arrow { width: auto; height: 28px; flex-basis: 28px; }
  .sg-arrow::before { left: 50%; right: auto; top: 4px; width: 2px; height: 16px; transform: none; }
  .sg-arrow::after { left: 50%; right: auto; top: 16px; transform: translateX(-50%) rotate(135deg); }
  .price.featured { transform: none; }
  .hero-photo { height: 280px; }
  .hero-visual { min-height: 320px; }
  .sat.s1 { top: 6%; right: 0; }
  .sat.s4 { top: 6%; left: 0; }
  .sat.s2 { bottom: 8%; left: 0; }
  .sat.s3 { bottom: 8%; right: 0; }
  .band-photo { height: 240px; }
  .request-photo { min-height: 200px; height: 200px; }
  .about-photo { height: 220px; }
  .how-card-media, .photo-card-media { height: 150px; }
  .video-copy, .media-copy { height: auto; min-height: 0; overflow: visible; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 0 0 16px 16px; padding: 14px; gap: 12px; box-shadow: var(--shadow);
  }
  .site-nav.is-open .nav-links, .site-nav.is-open .header-actions { display: flex; flex-direction: column; align-items: stretch; }
  body { background-attachment: scroll; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .auth-visual { display: none; }
  .auth-shell-video .auth-visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 240px;
    padding: 24px 20px;
  }
  .auth-shell-video .auth-points { display: none; }
  .auth-shell-video .auth-visual h1 { font-size: 24px; margin-bottom: 6px; }
  .auth-shell-video .auth-visual p { font-size: 14px; }
  .hero {
    padding: 84px 0 24px;
    min-height: 100svh;
    height: auto;
  }
  .hero-grid { min-height: 0; gap: 24px; }
  .section { padding: 28px 0; }
  .how-card:hover, .feature:hover, .price:hover, .price.featured:hover { transform: none; }
}

#video, #features, #how, #pricing, #request, #about {
  scroll-margin-top: 88px;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,175,185,.16);
  animation: pulseGold 2.4s ease-in-out infinite;
}
@keyframes pulseGold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: .75; }
}
.video-stage { transition: box-shadow .4s ease, transform .4s ease; }
.video-stage:hover { box-shadow: 0 22px 50px rgba(0,45,114,.12); transform: translateY(-4px); }
.brand-mark { transition: transform .4s ease; }
.brand:hover .brand-mark { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-atmosphere,
  .page-atmosphere::before,
  .page-atmosphere::after {
    transition: none !important;
  }
  .reveal, .btn, .how-card, .feature, .price, .photo-fit, .cta-band, .kicker::before, .video-stage, .brand-mark, .chart-grow, .chart-track b, .orbit-ring, .orbit-dots, .orbit-core, .sat,
  .la-mesh, .la-blob, .la-ring, .la-spark {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .la-ring { transform: translate(-50%, -50%) !important; }
  .chart-track b, .dual-track i { width: var(--w) !important; }
  .type-wrap [data-typewriter]::after,
  .ai-line [data-ai-text]::after { animation: none !important; opacity: 1 !important; }
}

.auth-page { background: var(--bg); }
.auth-page .site-header { display: block; }
.auth-page .site-footer { display: none; }

.login-stage {
  min-height: calc(100dvh - 64px);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  padding: 16px 16px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 50% 40% at 12% 18%, rgba(0, 175, 185, .16), transparent 70%),
    radial-gradient(ellipse 45% 38% at 88% 12%, rgba(0, 45, 114, .10), transparent 68%),
    radial-gradient(ellipse 40% 36% at 78% 92%, rgba(196, 138, 42, .10), transparent 70%),
    var(--bg);
  position: relative;
}
.login-card {
  width: min(820px, 100%);
  height: auto;
  max-height: none;
  min-height: min(520px, calc(100dvh - 120px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 37, 87, .12);
  border: 1px solid var(--line);
  position: relative;
}
.login-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--primary), #3b6ea5, var(--mint), var(--amber));
}
.login-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  color: #fff;
  overflow: hidden;
  background: #001433;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}
.login-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, #001a44 0%, #003066 42%, #004d5c 100%);
}
.la-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 175, 185, .55), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(196, 138, 42, .35), transparent 40%),
    radial-gradient(circle at 70% 75%, rgba(31, 138, 112, .40), transparent 45%),
    radial-gradient(circle at 25% 80%, rgba(196, 92, 106, .28), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(59, 110, 165, .30), transparent 48%);
  animation: laMeshShift 14s ease-in-out infinite alternate;
  filter: saturate(1.15);
}
.la-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: .85;
  will-change: transform;
}
.la-b1 {
  width: 220px; height: 220px;
  left: -60px; top: -40px;
  background: radial-gradient(circle, rgba(0, 175, 185, .95), rgba(0, 175, 185, 0));
  animation: laFloat1 9s ease-in-out infinite;
}
.la-b2 {
  width: 190px; height: 190px;
  right: -50px; top: 18%;
  background: radial-gradient(circle, rgba(196, 138, 42, .88), rgba(196, 138, 42, 0));
  animation: laFloat2 11s ease-in-out infinite;
}
.la-b3 {
  width: 240px; height: 240px;
  left: 10%; bottom: -80px;
  background: radial-gradient(circle, rgba(31, 138, 112, .9), rgba(31, 138, 112, 0));
  animation: laFloat3 10s ease-in-out infinite;
}
.la-b4 {
  width: 160px; height: 160px;
  right: 8%; bottom: 12%;
  background: radial-gradient(circle, rgba(196, 92, 106, .75), rgba(196, 92, 106, 0));
  animation: laFloat1 12s ease-in-out infinite reverse;
}
.la-b5 {
  width: 140px; height: 140px;
  left: 42%; top: 38%;
  background: radial-gradient(circle, rgba(90, 140, 200, .7), rgba(90, 140, 200, 0));
  animation: laFloat2 8s ease-in-out infinite reverse;
}
.la-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .18);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.la-r1 {
  width: 220px; height: 220px;
  animation: laSpin 22s linear infinite;
  border-style: dashed;
  border-color: rgba(0, 175, 185, .35);
}
.la-r2 {
  width: 320px; height: 320px;
  animation: laSpin 34s linear infinite reverse;
  border-color: rgba(255, 255, 255, .12);
}
.la-spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, .85);
  opacity: .55;
  animation: laTwinkle 3.6s ease-in-out infinite;
}
.la-s1 { left: 18%; top: 22%; background: #7fe8ef; animation-delay: 0s; }
.la-s2 { left: 72%; top: 28%; background: #f0c56a; animation-delay: .5s; }
.la-s3 { left: 58%; top: 68%; background: #7ed9b5; animation-delay: 1s; }
.la-s4 { left: 28%; top: 72%; background: #f0a0aa; animation-delay: 1.4s; }
.la-s5 { left: 46%; top: 16%; background: #fff; animation-delay: 1.8s; width: 4px; height: 4px; }
.la-s6 { left: 82%; top: 58%; background: #9ec0ef; animation-delay: 2.2s; }

@keyframes laMeshShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-4%, 3%, 0) scale(1.08); }
}
@keyframes laFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, 34px) scale(1.12); }
}
@keyframes laFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-32px, 22px) scale(1.15); }
}
@keyframes laFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -30px) scale(1.1); }
}
@keyframes laSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes laTwinkle {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: .95; transform: scale(1.35); }
}

.login-video { display: none; }
.login-visual-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(0, 20, 51, .18) 0%, rgba(0, 26, 68, .42) 55%, rgba(0, 40, 60, .52) 100%);
}
.login-visual-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px 16px 14px;
  max-width: 20em;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.login-orbit-wrap {
  width: min(168px, 72%);
  margin: 0 auto 10px;
}
.login-orbit-wrap.is-compact {
  width: min(148px, 64%);
  margin-bottom: 8px;
}
.login-visual .login-orbit {
  width: 100%;
  margin: 0 auto;
}
.login-visual .orbit-ring.r1 {
  border-color: rgba(255, 255, 255, .28);
  border-style: dashed;
}
.login-visual .orbit-ring.r2 {
  border-color: rgba(0, 175, 185, .6);
}
.login-visual .orbit-ring.r3 {
  border-color: rgba(255, 255, 255, .18);
  border-style: solid;
}
.login-visual .orbit-dots i {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .14);
}
.login-visual .orbit-core {
  background: #fff;
  border: 0;
  inset: 30%;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, .14),
    0 14px 28px rgba(0, 0, 0, .3);
}
.login-visual .sat { display: none !important; }
.login-lock { display: none; }
.login-lock svg { display: none; }
.login-visual-copy h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}
.login-visual-copy p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.9);
  font-size: 12.5px;
  line-height: 1.45;
}
.login-visual .login-points {
  display: none;
}
.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 28px 18px;
  background: #fff;
  min-height: 0;
  overflow: visible;
}
.login-card:not(.login-card-signup) .login-panel {
  justify-content: center;
}
.login-brand-title {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--primary) 0%, #3b6ea5 55%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex: 0 0 auto;
}
.login-brand-title span { color: inherit; }
.login-lead {
  margin: 2px 0 12px;
  color: #9aa6b8;
  font-size: 13.5px;
  flex: 0 0 auto;
}
.float-field { position: relative; margin-bottom: 12px; }
.float-input {
  width: 100%;
  border: 1.5px solid #d7dee8;
  border-radius: 10px;
  padding: 13px 12px 11px;
  font-size: 14.5px;
  background: #fff;
  outline: none;
  color: var(--text);
}
.float-field.has-toggle .float-input { padding-right: 42px; }
.float-input:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .18);
}
.float-field label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 6px;
  background: #fff;
  color: #9aa6b8;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  transition: top .16s ease, font-size .16s ease, color .16s ease;
}
.float-input:focus + label,
.float-input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 12px;
  color: #22d3ee;
  font-weight: 600;
}
.float-field.float-select label {
  top: 0;
  font-size: 12px;
  color: #22d3ee;
  font-weight: 600;
}
.float-field.float-select .float-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9aa6b8 50%), linear-gradient(135deg, #9aa6b8 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
  cursor: pointer;
}
.float-field.float-select .float-input:valid,
.float-field.float-select .float-input:focus {
  color: var(--text);
}
.pwd-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #9aa6b8;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.pwd-toggle svg { width: 18px; height: 18px; }
.pwd-toggle:hover, .pwd-toggle.is-on { color: #7c3aed; }
.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa6b8;
  font-size: 13px;
  margin: 0;
  cursor: pointer;
}
.login-remember input { accent-color: var(--primary); }
.login-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(120deg, var(--primary) 0%, var(--navy) 100%);
  box-shadow: 0 10px 22px rgba(0, 175, 185, .24);
}
.login-submit:hover { filter: brightness(1.06); }
.login-chips { display: none; }
.login-copy {
  margin: 6px 0 0;
  font-size: 11px;
  color: #aab4c3;
  text-align: center;
}
.login-alt {
  margin: 12px 0 0;
  text-align: center;
  color: #9aa6b8;
  font-size: 13px;
}
.login-alt a { color: var(--indigo); font-weight: 700; text-decoration: none; }
.pwd-toggle:hover, .pwd-toggle.is-on { color: var(--primary); }
.login-points {
  display: none;
}
.login-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.login-alt {
  margin: 8px 0 0;
  text-align: center;
  color: #9aa6b8;
  font-size: 12.5px;
}
.login-alt a { color: var(--navy); font-weight: 700; text-decoration: none; }
.float-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.login-row-between .login-remember { margin: 0; }
.login-forgot {
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.login-forgot:hover { text-decoration: underline; }
.login-link-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
}
.login-link-btn:hover { text-decoration: underline; }
.login-link-btn:disabled,
.otp-resend-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  text-decoration: none;
}
.otp-email { color: var(--navy); font-weight: 700; word-break: break-all; }
.otp-hint {
  margin: -6px 0 14px;
  font-size: 12.5px;
  color: var(--muted, #5b6b86);
  line-height: 1.4;
}
.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 18px;
}
.otp-digit {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 52px;
  border: 1.5px solid #c9d5e8;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.otp-digit:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 175, 185, .18);
}
.otp-resend-form { margin: 0; }
.login-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.login-card-compact {
  min-height: min(460px, calc(100dvh - 120px));
  height: auto;
  max-height: none;
}
.login-card-compact .login-panel { padding: 18px 24px 16px; }
.login-card-compact .login-visual-copy h1 { font-size: 20px; }
.login-card-signup {
  width: min(860px, 100%);
  grid-template-columns: .85fr 1.15fr;
  height: auto;
  max-height: none;
  min-height: 0;
}
.login-card-signup .login-panel { padding: 16px 22px 18px; }
.login-card-signup .float-field { margin-bottom: 8px; }
.login-card-signup .float-input { padding: 10px 12px 9px; font-size: 13.5px; }
.login-card-signup .login-lead { margin: 2px 0 8px; }
.login-card-signup .login-brand-title { font-size: 22px; }
.login-card-signup .login-submit { padding: 10px 16px; font-size: 14.5px; }
.login-card-signup .login-alt { margin-top: 6px; }
.login-card-signup .login-copy { margin-top: 4px; }
.login-card-signup .login-orbit-wrap {
  width: min(140px, 62%);
  margin-bottom: 6px;
}
.login-card-signup .login-visual-copy { padding: 12px 12px; }
.login-card-signup .login-visual-copy h1 { font-size: 20px; margin-bottom: 4px; }
.login-card-signup .login-visual-copy p { font-size: 12px; margin-bottom: 0; }
.login-card-compact .login-orbit-wrap {
  width: min(140px, 58%);
}
.login-card-signup .alert { padding: 8px 10px; margin-bottom: 8px; font-size: 13px; }

@media (max-width: 860px) {
  .login-stage {
    height: auto;
    min-height: calc(100dvh - 64px);
    overflow-x: hidden;
    overflow-y: auto;
    justify-content: flex-start;
    padding: 12px 12px 20px;
  }
  .login-card,
  .login-card-signup,
  .login-card-compact {
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }
  .login-visual {
    min-height: 200px;
    border-radius: 16px 16px 0 0;
    border-bottom-left-radius: 0;
  }
  .login-orbit-wrap { width: min(130px, 48%); }
  .login-visual-copy h1 { font-size: 20px; }
  .login-panel { padding: 18px 18px 14px; }
  .login-brand-title { font-size: 22px; }
  .float-row { grid-template-columns: 1fr; }
}

.admin-body .admin-shell {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  min-height: 100vh;
}

/* Auth required modal (Send request gate) */
body.auth-modal-open {
  overflow: hidden;
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 60, 0.48);
  backdrop-filter: blur(4px);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 45, 114, 0.22);
  text-align: center;
  animation: authModalIn 0.28s ease;
}

@keyframes authModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--muted, #64748b);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
}

.auth-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.auth-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #00afb9;
  background: linear-gradient(145deg, rgba(0, 175, 185, 0.14), rgba(0, 45, 114, 0.08));
  box-shadow: 0 8px 20px rgba(0, 175, 185, 0.15);
}

.auth-modal-icon svg {
  width: 28px;
  height: 28px;
}

.auth-modal-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #002d72;
  letter-spacing: -0.02em;
}

.auth-modal-card p {
  margin: 0 0 22px;
  color: var(--muted, #64748b);
  font-size: 14.5px;
  line-height: 1.55;
}

.auth-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.auth-modal-actions .btn {
  min-width: 120px;
}

/* ===== Account page ===== */
.account-page {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(0, 175, 185, .10), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 100%, rgba(0, 45, 114, .08), transparent 50%),
    linear-gradient(180deg, #e8eef6 0%, #f4f7fb 45%, #eef3f8 100%);
  min-height: 100vh;
}
.account-shell { padding: 20px 0 48px; }
.account-frame {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 120px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 24px 64px rgba(0, 45, 114, .12), 0 2px 0 rgba(255,255,255,.65) inset;
  background: #fff;
}
.account-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 14px 16px;
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%, rgba(0, 175, 185, .22), transparent 55%),
    linear-gradient(175deg, #041833 0%, #002d72 48%, #013a5c 100%);
  color: #dbe7f5;
}
.account-side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 8px;
}
.account-side-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  color: #041833;
  background: linear-gradient(145deg, #5eead4, #00afb9);
  box-shadow: 0 8px 20px rgba(0,175,185,.35);
}
.account-side-brand strong { display: block; font-size: 14px; color: #fff; }
.account-side-brand em { display: block; font-style: normal; font-size: 11px; color: rgba(219,231,245,.65); margin-top: 1px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.account-nav-label {
  margin: 12px 10px 4px; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(219,231,245,.45);
}
.account-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  color: rgba(226,236,248,.82); text-decoration: none;
  font-size: 13.5px; font-weight: 600; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.account-nav a svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: .85; }
.account-nav a:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.06); }
.account-nav a.is-active {
  background: linear-gradient(90deg, rgba(0,175,185,.28), rgba(0,175,185,.12));
  color: #fff; border-color: rgba(94,234,212,.28);
  box-shadow: inset 3px 0 0 #5eead4;
}
.account-nav a.is-active svg { opacity: 1; color: #5eead4; }
.account-nav-out { color: #fda4af !important; margin-top: 4px; }
.account-nav-out:hover { background: rgba(248,113,113,.12) !important; color: #fecdd3 !important; }
.account-side-plan {
  margin-top: auto; padding: 14px; border-radius: 14px;
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.1);
}
.account-side-plan span {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(219,231,245,.5); margin-bottom: 6px;
}
.account-side-plan strong { display: block; color: #fff; font-size: 15px; letter-spacing: -.02em; }
.account-side-plan em { display: block; font-style: normal; margin-top: 2px; font-size: 12.5px; color: #99f6e4; }
.account-side-plan a { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #5eead4; text-decoration: none; }
.account-side-plan a:hover { color: #fff; }
.account-workspace {
  min-width: 0; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #f7fafc 0%, #f1f5f9 100%);
  padding: 20px 22px 24px;
}
.account-topbar {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
  gap: 14px; align-items: stretch; margin-bottom: 16px;
}
.account-identity {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px;
  background: rgba(255,255,255,.92); border: 1px solid #e2e8f0; border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.account-kicker {
  margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #0f766e;
}
.account-identity h1 {
  margin: 0; font-family: var(--display); font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -.03em; color: #0f172a;
}
.account-avatar {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  flex: 0 0 auto; font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff;
  background: linear-gradient(145deg, #002d72, #00afb9);
  box-shadow: 0 10px 22px rgba(0,45,114,.22);
}
.account-meta { margin: 5px 0 0; display: flex; flex-wrap: wrap; gap: 6px; color: #64748b; font-size: 13.5px; }
.account-meta .dot { opacity: .5; }
.account-status {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border-radius: 16px; border: 1px solid transparent; background: #fff;
}
.account-status strong { display: block; margin-bottom: 2px; font-size: 14px; }
.account-status p { margin: 0; font-size: 12.5px; line-height: 1.45; color: inherit; opacity: .92; }
.account-status-dot { width: 10px; height: 10px; border-radius: 99px; margin-top: 5px; flex: 0 0 auto; }
.account-status-pending { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.account-status-pending .account-status-dot { background: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.account-status-approved { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.account-status-approved .account-status-dot { background: #059669; box-shadow: 0 0 0 4px rgba(5,150,105,.16); }
.account-status-rejected { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.account-status-rejected .account-status-dot { background: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.14); }
.account-main { min-width: 0; flex: 1; }
.account-panel {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
  padding: 22px 22px 24px; box-shadow: 0 12px 32px rgba(15,23,42,.04);
}
.account-panel.is-solo { min-height: 420px; }
.account-panel-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eef2f7;
}
.account-panel-eyebrow {
  margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #0f766e;
}
.account-panel-head h2 {
  margin: 0; font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -.03em; color: #0f172a;
}
.account-panel-head p { margin: 6px 0 0; color: #64748b; font-size: 14px; max-width: 52ch; line-height: 1.5; }
.account-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-detail { padding: 14px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f7; }
.account-detail span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #64748b; margin-bottom: 6px;
}
.account-detail strong { display: block; color: #0f172a; font-size: 14.5px; word-break: break-word; }
.account-detail a { color: #0f766e; }
.account-quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.account-quick {
  display: block; padding: 16px; border-radius: 14px; border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff, #f8fafc); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.account-quick:hover { border-color: #99f6e4; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,23,42,.06); }
.account-quick strong { display: block; color: #0f172a; margin-bottom: 4px; }
.account-quick span { color: #64748b; font-size: 13px; }
.account-empty { text-align: center; padding: 48px 20px; border-radius: 16px; background: #f8fafc; border: 1px dashed #cbd5e1; }
.account-empty strong { display: block; font-size: 17px; color: #0f172a; margin-bottom: 6px; }
.account-empty p { margin: 0 auto 16px; max-width: 42ch; color: #64748b; font-size: 14px; }
.account-empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.account-credential-box { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.account-credential-box > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #047857; margin-bottom: 6px; }
.account-credential-box code { display: inline-block; font-size: 18px; font-weight: 700; color: #064e3b; user-select: all; letter-spacing: .08em; }
.account-credential-row { position: relative; margin-bottom: 4px; }
.account-credential-row code { display: block; width: 100%; min-width: 0; padding: 10px 44px 10px 12px; border-radius: 10px; background: rgba(255,255,255,.72); border: 1px solid #bbf7d0; }
.account-credential-row code.is-masked { user-select: none; letter-spacing: .22em; }
.account-credential-row .account-secret-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: #047857; }
.account-credential-row .account-secret-toggle:hover,
.account-credential-row .account-secret-toggle.is-on { color: #065f46; background: none; }
.account-credential-box p { margin: 8px 0 12px; color: #065f46; font-size: 13px; }
.account-inline-form { margin-top: 16px; }
.account-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-plan { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.account-plan:hover { border-color: #94a3b8; box-shadow: 0 10px 28px rgba(15,23,42,.06); }
.account-plan.is-featured { border-color: #99f6e4; background: linear-gradient(180deg, #f0fdfa, #fff); }
.account-plan.is-current { border-color: #0f766e; box-shadow: 0 0 0 1px #0f766e inset; }
.account-plan-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #ecfdf5; color: #047857; margin-bottom: 8px; }
.account-plan-badge.is-rec { background: #ccfbf1; color: #0f766e; }
.account-plan-badge.is-soft { background: #f1f5f9; color: #475569; }
.account-plan h3 { margin: 0 0 6px; font-size: 18px; }
.account-plan-amt { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: #0f172a; }
.account-plan-amt span { font-size: 14px; font-weight: 600; color: #64748b; margin-left: 2px; }
.account-plan p { margin: 8px 0 0; color: #64748b; font-size: 13px; line-height: 1.45; }
.account-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; flex: 1; }
.account-plan li { position: relative; padding-left: 18px; font-size: 13.5px; color: #334155; }
.account-plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 99px; background: #14b8a6; }
.account-plan .btn { width: 100%; }
.account-plan .btn[disabled] { opacity: .65; cursor: default; }
.account-security { display: grid; gap: 4px; max-width: 560px; }
.account-security .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 980px) {
  .account-frame { grid-template-columns: 1fr; min-height: 0; }
  .account-side { position: static; }
  .account-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .account-nav-label { grid-column: 1 / -1; margin-top: 8px; }
  .account-side-plan { margin-top: 12px; }
  .account-topbar, .account-detail-grid, .account-quick-links, .account-plan-grid { grid-template-columns: 1fr; }
  .account-panel-head { flex-direction: column; }
}
@media (max-width: 640px) {
  .account-shell { padding: 12px 0 32px; }
  .account-frame { width: min(1240px, calc(100% - 16px)); border-radius: 16px; }
  .account-nav { grid-template-columns: 1fr; }
  .account-workspace { padding: 14px; }
}
.account-wrap { width: auto; margin: 0; }
.account-layout { display: contents; }
.account-side-card { display: none; }
.account-hero { padding: 0; }
.account-hero-card { display: contents; }
.account-grid { display: contents; }
.account-hero-copy h1 { margin: 0; }

/* ===== Cursor-style checkout page ===== */
.checkout-overlay.auth-modal {
  display: grid;
  place-items: center;
  padding: 16px;
  align-items: center;
}
.checkout-overlay[hidden] { display: none !important; }
.checkout-backdrop {
  background: rgba(15, 23, 42, .55) !important;
  backdrop-filter: blur(8px);
}
.checkout-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(300px, 1fr);
  width: min(900px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  min-height: 0;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
}
.checkout-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.checkout-pay .checkout-close,
.checkout-shell > .checkout-close {
  background: #f1f5f9;
  color: #334155;
}
.checkout-summary {
  position: relative;
  padding: 22px 24px 18px;
  color: #e8eef7;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 175, 185, .28), transparent 55%),
    linear-gradient(165deg, #07111f 0%, #0b1b33 48%, #0f2a4a 100%);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.checkout-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.checkout-brand img { width: 22px; height: 26px; }
.checkout-brand span span { color: #5fd4db; }
.checkout-summary-label {
  margin: 0 0 4px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.checkout-summary h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.checkout-summary .checkout-plan-line {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.checkout-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.checkout-amount {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
}
.checkout-period {
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.checkout-currency {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 6px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.checkout-fx {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.checkout-fx.is-active {
  color: #fff;
  background: rgba(16, 185, 129, .18);
  border-color: #34d399;
}
.checkout-fx-note {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255,255,255,.48);
}
.checkout-product-card {
  margin: 0 0 12px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.checkout-product-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 6px;
}
.checkout-product-top strong {
  color: #fff;
  font-size: 14px;
}
.checkout-product-top span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.checkout-product-card > p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.62);
}
.checkout-annual {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
}
.checkout-annual input {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: #10b981;
}
.checkout-annual span {
  display: grid;
  gap: 2px;
}
.checkout-annual strong {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.checkout-annual em {
  font-style: normal;
  font-size: 11px;
  color: #6ee7b7;
}
.checkout-lines {
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding-top: 4px;
}
.checkout-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
}
.checkout-lines strong {
  color: rgba(255,255,255,.88);
  font-weight: 600;
}
.checkout-lines .is-total {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
}
.checkout-lines .is-total strong {
  color: #fff;
  font-size: 14px;
}
.checkout-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}
.checkout-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.checkout-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5fd4db;
  font-weight: 700;
}
.checkout-total {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}
.checkout-total span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-bottom: 2px;
}
.checkout-total strong {
  color: #fff;
  font-size: 15px;
}
.checkout-total > strong {
  font-family: var(--display);
  font-size: 22px;
}
.checkout-foot-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,.45);
}
.checkout-pay {
  background: #fff;
  display: flex;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}
.checkout-pay-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 24px 18px;
}
.checkout-pay-scroll {
  max-height: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.checkout-email-row {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}
.checkout-pay-inner h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #0f172a;
  letter-spacing: -.02em;
}
.checkout-pay-lead {
  margin: 0 0 12px !important;
  color: #64748b !important;
  font-size: 13px !important;
  text-align: left !important;
}
.checkout-form { display: grid; gap: 10px; }
.checkout-section-title {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.checkout-field .opt {
  font-weight: 500;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
}
.checkout-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout-field label {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}
.checkout-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 9px 12px;
  font-size: 14px;
  color: #0f172a;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.checkout-input:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .08);
}
.checkout-input[readonly] {
  background: #f8fafc;
  color: #475569;
}
.checkout-card-box {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.checkout-input-bare {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}
.checkout-input-bare:focus {
  background: #f8fafc;
}
.checkout-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e2e8f0;
}
.checkout-card-split .checkout-input-bare:first-child {
  border-right: 1px solid #e2e8f0;
}
.checkout-element {
  padding: 10px 12px;
  min-height: 40px;
}
.checkout-submit {
  margin-top: 4px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #0f172a;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.checkout-submit-green {
  background: #0f9f6e;
}
.checkout-submit-green:hover { background: #0b855c; transform: translateY(-1px); }
.checkout-submit:hover { background: #1e293b; transform: translateY(-1px); }
.checkout-submit-green:hover { background: #0b855c; }
.checkout-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.checkout-cancel {
  width: 100%;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 4px;
  cursor: pointer;
}
.checkout-cancel:hover { color: #0f172a; }
.checkout-secure-line {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
  text-align: center;
}
.pay-errors {
  min-height: 16px;
  margin-top: 4px;
  font-size: 12px;
  color: #b91c1c;
}
.pay-choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.pay-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid #dbe3ef;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pay-choice-btn strong {
  font-size: 15px;
  color: #0f172a;
}
.pay-choice-btn span {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}
.pay-choice-btn:hover:not(:disabled):not(.is-disabled) {
  border-color: #94a3b8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}
.pay-choice-btn:disabled,
.pay-choice-btn.is-disabled {
  opacity: .72;
  cursor: not-allowed;
  background: #f8fafc;
}
.pay-choice-btn:disabled strong,
.pay-choice-btn.is-disabled strong {
  color: #64748b;
}
.checkout-back {
  border: 0;
  background: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: 0 0 10px;
  cursor: pointer;
}
.checkout-back:hover { color: #0f172a; }
.checkout-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}
.checkout-file {
  padding: 10px 12px;
}
.online-account-details {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.online-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 13px;
}
.online-detail-row span { color: #047857; font-weight: 600; }
.online-detail-row strong {
  color: #064e3b;
  text-align: right;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.online-detail-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #065f46;
  line-height: 1.45;
}
.account-contact-card {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.account-contact-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.account-contact-card p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
}
.account-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.account-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.account-contact-links a:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.pay-request-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.pay-request-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.pay-request-item.is-pending { border-color: #fcd34d; background: #fffbeb; }
.pay-request-item.is-rejected { border-color: #fecaca; background: #fef2f2; }
.pay-request-item.is-approved { border-color: #bbf7d0; background: #f0fdf4; }
.pay-request-item strong { display: block; margin-bottom: 4px; }
.pay-request-item p { margin: 0; font-size: 13px; color: #64748b; }

@media (max-width: 860px) {
  .checkout-shell {
    grid-template-columns: 1fr;
    width: min(480px, calc(100vw - 24px));
    height: min(620px, calc(100vh - 32px));
  }
  .checkout-summary { padding: 18px 18px 14px; }
  .checkout-pay-inner { padding: 18px 18px 16px; }
  .checkout-row-2 { grid-template-columns: 1fr; }
  .checkout-amount { font-size: 28px; }
  .checkout-shell > .checkout-close {
    background: rgba(255,255,255,.14);
    color: #fff;
  }
}

/* ===== Cursor-like billing dashboard ===== */
.billing-panel { overflow: hidden; }
.billing-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.billing-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.billing-tile {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.billing-tile-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.billing-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.billing-tile h3 {
  margin: 0;
  font-size: 22px;
}
.billing-price {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.03em;
}
.billing-meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.billing-meta dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2px;
}
.billing-meta dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.billing-tile-actions { margin-top: auto; }
.billing-tile-actions .btn { width: 100%; }

.billing-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: capitalize;
  background: #eef2f6;
  color: #475569;
}
.billing-pill-active,
.billing-pill-paid { background: #d1fae5; color: #065f46; }
.billing-pill-trialing { background: #e0f2fe; color: #075985; }
.billing-pill-past_due,
.billing-pill-open { background: #ffedd5; color: #9a3412; }
.billing-pill-canceled,
.billing-pill-none { background: #f1f5f9; color: #64748b; }
.billing-pill-incomplete { background: #ede9fe; color: #5b21b6; }

.pay-method-card,
.pay-method-empty {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pay-method-chip {
  width: 56px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #002d72);
  box-shadow: 0 8px 18px rgba(0, 45, 114, .18);
}
.pay-method-chip.is-empty {
  background: #cbd5e1;
  color: #334155;
  box-shadow: none;
}
.pay-method-card strong,
.pay-method-empty strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}
.pay-method-card p,
.pay-method-empty p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.billing-info-list {
  margin: 0;
  display: grid;
  gap: 10px;
}
.billing-info-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  align-items: baseline;
}
.billing-info-list dt {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.billing-info-list dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  word-break: break-word;
}

.billing-invoices {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}
.billing-invoices-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.billing-invoices-head p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.billing-table-wrap { overflow-x: auto; }
.billing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.billing-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px 10px 0;
  border-bottom: 1px solid var(--line);
}
.billing-table td {
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid #eef2f6;
  color: var(--text);
  vertical-align: middle;
}
.billing-table tr:last-child td { border-bottom: 0; }
.billing-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.billing-link:hover { text-decoration: underline; }
.billing-empty {
  padding: 22px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #d7e2ec;
  text-align: center;
}
.billing-empty strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}
.billing-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

@media (max-width: 980px) {
  .billing-tiles { grid-template-columns: 1fr; }
  .billing-info-list > div { grid-template-columns: 1fr; gap: 2px; }
}


/* Google OAuth Button Styles */
.login-divider {
  position: relative;
  text-align: center;
  margin: 16px 0;
}
.login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.login-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}
.login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 45, 114, 0.06);
}
.login-google:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 175, 185, 0.15);
  transform: translateY(-1px);
}
.login-google svg {
  flex-shrink: 0;
}

/* ===== Profile Edit Modal + Workspace Password Actions ===== */
.account-panel-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.account-panel-actions .btn {
  padding: 10px 16px;
  font-size: 13.5px;
  gap: 8px;
}

.profile-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.profile-edit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .18s ease-out;
}
.profile-edit-card {
  position: relative;
  max-width: 580px;
  margin: 48px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  animation: modalSlideUp .22s cubic-bezier(.2,.8,.2,1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.profile-edit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--navy), var(--mint), var(--amber));
  z-index: 2;
}
body.profile-modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.profile-edit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #f0fdfa, #fff);
}
.profile-edit-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: #0f172a;
  letter-spacing: -.02em;
}
.profile-edit-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s ease;
}
.profile-edit-close:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
}
.profile-edit-form {
  padding: 22px 24px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile-edit-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #475569;
  padding: 10px 0 0;
  margin: 8px 0 -2px;
  border-top: 1px dashed #e2e8f0;
}
.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
  margin-top: 6px;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.pf-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pf-input {
  width: 100%;
  padding: 18px 15px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: #0f172a;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1.4;
}

.pf-input:hover:not(:disabled) {
  border-color: #cbd5e1;
}

.pf-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 175, 185, 0.14);
  background: #fafeff;
}

.pf-input.pf-disabled,
.pf-input:disabled {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
  border-color: #e2e8f0;
  background-image: linear-gradient(45deg, #f1f5f9 25%, transparent 25%), linear-gradient(-45deg, #f1f5f9 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f1f5f9 75%), linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

.pf-label {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: #94a3b8;
  pointer-events: none;
  transition: all .18s cubic-bezier(.2,.8,.2,1);
  background: transparent;
  padding: 0 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 30px);
}

.pf-label .pf-req {
  color: #ef4444;
  margin-right: 2px;
  font-weight: 700;
}

.pf-input:focus + .pf-label,
.pf-input:not(:placeholder-shown) + .pf-label {
  top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--primary);
}

.pf-input.pf-disabled + .pf-label,
.pf-input:disabled + .pf-label {
  color: #94a3b8;
  top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.pf-hint {
  margin-top: 6px;
  padding: 6px 11px;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  border-left: 3px solid var(--muted);
}

.pf-hint::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
  line-height: 1;
  font-family: Georgia, serif;
}

.pf-sep {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 4px;
}

.pf-sep::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
}

.pf-sep span {
  position: relative;
  background: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  z-index: 1;
}

.pf-sep span em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: #94a3b8;
  font-weight: 500;
}

.float-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.float-field {
  position: relative;
  display: block;
}
.float-input {
  width: 100%;
  padding: 16px 14px 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: #0f172a;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.float-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 175, 185, 0.12);
}
.float-input:disabled {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
}
.float-field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14.5px;
  color: #94a3b8;
  pointer-events: none;
  transition: all .15s ease;
  background: transparent;
  padding: 0 2px;
}
.float-input:focus + label,
.float-input:not(:placeholder-shown) + label,
.float-field:focus-within label {
  top: 13px;
  transform: translateY(0);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
}

.account-credential-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.account-credential-row.has-toggle code {
  padding-right: 92px;
}
.account-copy-btn {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: #047857;
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.account-copy-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
}
.account-copy-btn.is-copied {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}
.account-credential-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.account-credential-actions form { display: inline-flex; }
.btn-reset-pw:hover {
  border-color: #f59e0b !important;
  color: #b45309 !important;
  background: #fffbeb;
}
@media (max-width: 640px) {
  .account-panel-actions { width: 100%; }
  .account-panel-actions .btn { flex: 1; }
  .profile-edit-card {
    margin: 0;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .profile-edit-form {
    padding: 18px 18px 20px;
    gap: 12px;
  }
  .profile-edit-head {
    padding: 18px 18px 12px;
  }
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pf-input {
    padding: 17px 13px 9px;
    border-radius: 11px;
    font-size: 14px;
  }
  .pf-label {
    left: 13px;
    top: 14px;
    font-size: 14px;
  }
  .pf-input:focus + .pf-label,
  .pf-input:not(:placeholder-shown) + .pf-label,
  .pf-input.pf-disabled + .pf-label,
  .pf-input:disabled + .pf-label {
    top: 6px;
    font-size: 10px;
  }
  .pf-sep {
    margin: 8px 0 2px;
  }
  .pf-sep span {
    font-size: 11px;
    padding: 0 12px;
  }
  .pf-hint {
    font-size: 11.5px;
  }
  .profile-edit-actions {
    flex-direction: column-reverse;
  }
  .profile-edit-actions .btn {
    width: 100%;
  }
  .float-row { grid-template-columns: 1fr; }
}
