/* ==========================================================================
   EZAI - theezai.com
   Dark gradient design system. Arial / Calibri only, no webfonts.
   ========================================================================== */

:root {
  /* brand gradient sampled from the EZAI logo */
  --pink:      #FF6FD3;
  --magenta:   #F03BB8;
  --orchid:    #C022D8;
  --violet:    #8B18D6;
  --deep:      #4B0B96;

  --grad:      linear-gradient(120deg, #FF6FD3 0%, #E42FC0 32%, #A81CE0 66%, #6C13C9 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,111,211,.16), rgba(139,24,214,.16));

  /* surfaces */
  --bg:        #07040E;
  --bg-2:      #0C0717;
  --panel:     #130C21;
  --panel-2:   #19102B;
  --raised:    #211537;

  /* ink */
  --text:      #F4F0FC;
  --text-2:    #C9C0DE;
  --muted:     #9A8FB4;

  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);

  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --sans: Calibri, Arial, Helvetica, sans-serif;

  --wrap: 1200px;
  --gut: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient page glow */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 520px at 82% -6%, rgba(168,28,224,.22), transparent 60%),
    radial-gradient(620px 460px at 4% 34%, rgba(240,59,184,.12), transparent 60%);
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.45rem, 5.6vw, 4.15rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); letter-spacing: -0.032em; }
h3 { font-size: 1.24rem; letter-spacing: -0.02em; }
h4 { font-size: 1.02rem; }

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

::selection { background: rgba(240,59,184,.35); color: #fff; }

/* gradient text */
.gt {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  background-size: 200% 100%;
  animation: gtshift 9s ease-in-out infinite;
}
@keyframes gtshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Layout ---------------------------------------------------- */

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

section { padding: 104px 0; position: relative; }
.section-tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }

.lede { font-size: 1.2rem; line-height: 1.62; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

.band { background: var(--bg-2); }
.band-panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.hr-glow { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- Buttons --------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 100px;
  font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap; overflow: hidden;
}
.btn span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--grad); color: #fff; background-size: 180% 100%; box-shadow: 0 10px 30px rgba(200,32,200,.32); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 42px rgba(200,32,200,.46); }

.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255,111,211,.55); background: rgba(255,111,211,.08); }

.btn-sm { padding: 11px 22px; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .98rem; text-decoration: none; color: var(--pink);
  transition: gap .2s var(--ease), color .2s;
}
.arrow-link:hover { gap: 14px; color: #fff; }

/* ---------- Scroll progress + header ---------------------------------- */

.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad); z-index: 200;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(7,4,14,.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 84px; transition: height .3s var(--ease); }
.site-header.stuck .header-inner { height: 70px; }

.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header.stuck .logo img { height: 34px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; text-decoration: none; font-size: .97rem; font-weight: 600;
  color: var(--text-2); padding: 9px 14px; border-radius: 100px;
  transition: color .18s, background .18s; white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad);
}

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { text-decoration: none; font-weight: 700; font-size: .94rem; color: var(--text); white-space: nowrap; }
.header-phone:hover { color: var(--pink); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ------------------------------------------------------ */

.hero { padding: 92px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
.hero-lede { font-size: 1.22rem; line-height: 1.6; color: var(--text-2); max-width: 54ch; margin-bottom: 34px; }
.hero-sub { padding: 84px 0 68px; overflow: hidden; }
.hero-sub h1 { max-width: 18ch; }

.aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; pointer-events: none; z-index: 0; filter: blur(60px); opacity: .8; }
.aurora i { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 52%; top: -12%; background: radial-gradient(circle, rgba(168,28,224,.55), transparent 62%); animation: float1 18s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 6%; top: 26%; background: radial-gradient(circle, rgba(240,59,184,.42), transparent 62%); animation: float2 22s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 26vw; height: 26vw; left: 30%; top: 58%; background: radial-gradient(circle, rgba(108,19,201,.45), transparent 62%); animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-6%,7%,0) scale(1.12)} }
@keyframes float2 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(9%,-6%,0) scale(1.16)} }
@keyframes float3 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-8%,-9%,0) scale(1.1)} }

.grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
}

.hero .wrap, .hero-sub .wrap { position: relative; z-index: 2; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 8px; border-radius: 100px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  font-size: .86rem; font-weight: 600; color: var(--text-2); margin-bottom: 26px;
}
.pill b { background: var(--grad); color: #fff; padding: 4px 12px; border-radius: 100px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.pill i { font-style: normal; padding-right: 12px; }

/* ---------- Hero panel (process animation) ---------------------------- */

.panel {
  position: relative; border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  box-shadow: 0 34px 90px rgba(0,0,0,.55);
  overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255,111,211,.6), rgba(139,24,214,.15) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; box-shadow: 0 0 0 4px rgba(240,59,184,.14); }
.panel-body { padding: 24px 22px 26px; }

.step {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  padding: 13px 14px; border-radius: var(--radius); margin-bottom: 8px;
  border: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease), opacity .4s;
  opacity: .42;
}
.step.on { opacity: 1; background: rgba(255,255,255,.045); border-color: var(--line-2); }
.step-n {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: .84rem; font-weight: 700; color: var(--muted);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: all .4s var(--ease);
}
.step.on .step-n { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(200,32,200,.4); }
.step h3, .step h4 { margin: 3px 0 3px; font-size: .99rem; letter-spacing: -0.01em; color: var(--text); }
.step p { margin: 0; font-size: .89rem; color: var(--muted); line-height: 1.5; }
.step-bar { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 10px; display: none; }
.step.on .step-bar { display: block; }
.step-bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.step.on .step-bar i { animation: fill 3.4s linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------- Stats ----------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.stat {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(255,111,211,.4); background: rgba(255,111,211,.05); }
.stat-num { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 8px; }
.stat-label { font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* ---------- Marquee --------------------------------------------------- */

.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip {
  flex: none; padding: 9px 18px; border-radius: 100px; font-size: .92rem; font-weight: 600;
  color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line);
  white-space: nowrap;
}

/* ---------- Cards ----------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  padding: 30px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(255,111,211,.14), transparent 62%);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,111,211,.35); box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }

.card-num { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 16px; }

.ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--pink);
}
.ico svg { width: 22px; height: 22px; }

/* ---------- Tabs (practice explorer) ---------------------------------- */

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab {
  padding: 11px 22px; border-radius: 100px; cursor: pointer; font-family: var(--sans);
  font-size: .95rem; font-weight: 700; color: var(--text-2);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: all .22s var(--ease);
}
.tab:hover { color: #fff; border-color: var(--line-2); }
.tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 26px rgba(200,32,200,.35); }

.tabpanel { display: none; }
.tabpanel.on { display: block; animation: fadeup .45s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pane {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 34px; border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
}

/* ---------- Lists ----------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--text-2); line-height: 1.58; }
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 4px rgba(240,59,184,.14);
}
.ticks li strong { color: #fff; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .85rem; font-weight: 600; color: var(--text-2); padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.tag:hover { border-color: rgba(255,111,211,.45); color: #fff; }

/* ---------- Rows ------------------------------------------------------ */

.rows { border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row-item h3 { margin: 0; font-size: 1.14rem; }
.row-item p { margin: 0 0 14px; color: var(--muted); }
.row-item p:last-child { margin-bottom: 0; }

/* ---------- Quote ----------------------------------------------------- */

.quote {
  position: relative; padding: 38px 40px; border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(255,111,211,.1), rgba(108,19,201,.08));
  border: 1px solid var(--line-2);
}
.quote p { font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.35; letter-spacing: -0.025em; color: #fff; font-weight: 700; margin: 0; }
.quote::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px; border-radius: 3px; background: var(--grad);
}

/* ---------- Rate comparison widget ------------------------------------ */

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.calc-controls label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.calc-val { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em; color: #fff; margin-bottom: 14px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px;
  background: rgba(255,255,255,.1); outline: none; margin-bottom: 26px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad); cursor: pointer; border: 3px solid var(--bg-2);
  box-shadow: 0 4px 16px rgba(200,32,200,.6);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #E42FC0; cursor: pointer;
  border: 3px solid var(--bg-2); box-shadow: 0 4px 16px rgba(200,32,200,.6);
}
.bars { display: grid; gap: 18px; }
.bar-row h4 { margin: 0 0 8px; font-size: .95rem; color: var(--text-2); display: flex; justify-content: space-between; gap: 12px; }
.bar-row h4 b { color: #fff; }
.bar { height: 44px; border-radius: 12px; background: rgba(255,255,255,.05); overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; width: 0; transition: width .5s var(--ease); border-radius: 11px; }
.bar.them i { background: rgba(255,255,255,.2); }
.bar.us i { background: var(--grad); }
.calc-note { font-size: .87rem; color: var(--muted); margin-top: 22px; }

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

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 46px 24px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--text); transition: color .2s;
}
.faq summary:hover { color: var(--pink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  margin-top: -7px; transition: transform .3s var(--ease);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='%23000' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='%23000' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 46px 26px 0; color: var(--muted); margin: 0; animation: fadeup .35s var(--ease) both; }

/* ---------- Forms ----------------------------------------------------- */

.form-card {
  padding: 38px; border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.field { position: relative; margin-bottom: 20px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8FB4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field select option { background: #17102a; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f6489; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(255,111,211,.7); background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(240,59,184,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .87rem; color: var(--muted); margin-top: 16px; }

/* ---------- CTA band -------------------------------------------------- */

.cta-band { position: relative; overflow: hidden; padding: 108px 0; }
.cta-inner {
  position: relative; z-index: 2; text-align: center;
  padding: 68px 40px; border-radius: 34px;
  background: linear-gradient(150deg, rgba(255,111,211,.14), rgba(108,19,201,.14));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.cta-inner h2 { max-width: 20ch; margin-inline: auto; }
.cta-inner p { max-width: 58ch; margin-inline: auto; margin-bottom: 32px; color: var(--text-2); }
.cta-inner .btn-row { justify-content: center; }

/* ---------- Footer ---------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); padding: 76px 0 34px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 38px; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-about { font-size: .96rem; color: var(--muted); max-width: 36ch; }
.footer-col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; font-size: .96rem; color: var(--muted); transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: .88rem; color: #6f6489;
}

/* ---------- Reveal on scroll ------------------------------------------ */

[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].seen { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Utility --------------------------------------------------- */

.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.center { text-align: center; }

/* ---------- Responsive ------------------------------------------------ */

@media (max-width: 1120px) {
  .header-phone { display: none; }
  .nav a { padding: 8px 11px; font-size: .93rem; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 18ch; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pane, .calc { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 6px;
    background: rgba(7,4,14,.97); backdrop-filter: blur(20px);
    padding: 90px 28px 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.3rem; padding: 16px 18px; text-align: left; }
  .nav a.active::after { left: 18px; right: auto; width: 32px; bottom: 8px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 95; }
  .header-cta .btn { display: none; }
}
@media (max-width: 720px) {
  :root { --gut: 20px; }
  body { font-size: 16.5px; }
  section { padding: 72px 0; }
  .hero { padding: 60px 0 72px; }
  .grid-2, .grid-3, .grid-4, .stats, .field-row, .row-item { grid-template-columns: 1fr; }
  .row-item { gap: 10px; }
  .form-card, .quote { padding: 26px 22px; }
  .pane { padding: 24px 20px; }
  .cta-inner { padding: 44px 24px; border-radius: 26px; }
  .cta-band { padding: 72px 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .marquee::before, .marquee::after { width: 60px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Infographics and motion
   ========================================================================== */

.viz { width: 100%; height: auto; display: block; overflow: visible; }
.viz text { font-family: var(--sans); fill: var(--muted); }

/* --- shared animated stroke ------------------------------------------- */
.dash { stroke-dasharray: 6 8; animation: dashmove 1.6s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -28; } }

.draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
.seen .draw, [data-reveal].seen .draw { animation: drawin 1.7s var(--ease) forwards; }
@keyframes drawin { to { stroke-dashoffset: 0; } }

.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .25; transform: scale(1); } 50% { opacity: .7; transform: scale(2.1); } }

/* --- globe / coverage -------------------------------------------------- */
.viz-globe { max-width: 560px; margin-inline: auto; }
.viz-globe .ring { fill: none; stroke: rgba(255,255,255,.13); }
.viz-globe .spin { transform-box: fill-box; transform-origin: center; animation: spin 46s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viz-globe .node { fill: #fff; }
.viz-globe .lbl { font-size: 12.5px; font-weight: 700; fill: var(--text-2); }
.viz-globe .arc { fill: none; stroke: url(#gradStroke); stroke-width: 2; stroke-linecap: round; }

/* --- funnel ------------------------------------------------------------ */
.funnel { display: grid; gap: 12px; }
.funnel-row {
  display: grid; grid-template-columns: 1fr; align-items: center;
  position: relative; border-radius: 12px; padding: 16px 20px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.funnel-row i {
  position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0);
  background: var(--grad); opacity: .17; border-radius: 12px;
}
.seen .funnel-row i { animation: grow 1.1s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.funnel-row:nth-child(1) i { animation-delay: .05s; }
.funnel-row:nth-child(2) i { animation-delay: .18s; }
.funnel-row:nth-child(3) i { animation-delay: .31s; }
.funnel-row:nth-child(4) i { animation-delay: .44s; }
.funnel-row:nth-child(5) i { animation-delay: .57s; }
.funnel-row > div { position: relative; z-index: 2; }
.funnel-row b { display: block; color: #fff; font-size: 1.02rem; }
.funnel-row span { color: var(--muted); font-size: .92rem; }
.funnel-row:nth-child(1) { width: 100%; }
.funnel-row:nth-child(2) { width: 92%; }
.funnel-row:nth-child(3) { width: 80%; }
.funnel-row:nth-child(4) { width: 66%; }
.funnel-row:nth-child(5) { width: 52%; border-color: rgba(255,111,211,.5); }
.funnel-row:nth-child(5) i { opacity: .34; }

/* --- timeline ---------------------------------------------------------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 46px; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.1));
}
.timeline::after {
  content: ""; position: absolute; left: 0; top: 20px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px;
}
.seen.timeline::after, .seen .timeline::after { animation: runline 2.2s var(--ease) forwards; }
@keyframes runline { to { width: 100%; } }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; top: -34px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--violet); box-shadow: 0 0 0 5px rgba(139,24,214,.16);
}
.tl-item:nth-child(4)::before { border-color: var(--magenta); box-shadow: 0 0 0 6px rgba(240,59,184,.22); }
.tl-hour { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.tl-item h3, .tl-item h4 { margin: 0 0 6px; font-size: 1.02rem; letter-spacing: -0.01em; }
.tl-item p { margin: 0; font-size: .92rem; color: var(--muted); }

/* --- orbit (delivery models) ------------------------------------------ */
.viz-orbit { max-width: 460px; margin-inline: auto; }
.viz-orbit .o-ring { fill: none; stroke: rgba(255,255,255,.12); stroke-dasharray: 3 7; }
.viz-orbit .rotor { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; }
.viz-orbit .rotor.rev { animation-duration: 42s; animation-direction: reverse; }
.viz-orbit .chipbox { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.16); }
.viz-orbit .chiptext { font-size: 13px; font-weight: 700; fill: #fff; text-anchor: middle; }
.viz-orbit .core { fill: url(#gradFill); }
.viz-orbit .coretext { font-size: 13px; font-weight: 700; fill: #fff; text-anchor: middle; }

/* --- compare (them vs us) --------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { padding: 28px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.compare .them { background: rgba(255,255,255,.025); }
.compare .us { background: linear-gradient(150deg, rgba(255,111,211,.11), rgba(108,19,201,.09)); border-color: rgba(255,111,211,.35); }
.compare h3, .compare h4 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; }
.compare .them h3, .compare .them h4 { color: var(--muted); }
.compare .us h3, .compare .us h4 { color: var(--pink); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: .99rem; line-height: 1.55; }
.compare li:last-child { margin-bottom: 0; }
.compare .them li { color: var(--muted); }
.compare .them li::before {
  content: ""; position: absolute; left: 1px; top: 7px; width: 13px; height: 13px;
  background: #FF4D5E;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.compare .us li { color: var(--text-2); }
.compare .us li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5.2 5.2L20 7' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5.2 5.2L20 7' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- module ring (ServiceNow coverage wheel) --------------------------- */
.wheel { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wheel .tag { animation: bob 5s ease-in-out infinite; }
.wheel .tag:nth-child(2n) { animation-delay: .5s; }
.wheel .tag:nth-child(3n) { animation-delay: 1.1s; }
.wheel .tag:nth-child(5n) { animation-delay: 1.7s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* --- signal bars (live feel) ------------------------------------------ */
.signal { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.signal i { width: 3px; border-radius: 2px; background: var(--grad); animation: eq 1.1s ease-in-out infinite; }
.signal i:nth-child(1) { height: 40%; animation-delay: 0s; }
.signal i:nth-child(2) { height: 75%; animation-delay: .15s; }
.signal i:nth-child(3) { height: 55%; animation-delay: .3s; }
.signal i:nth-child(4) { height: 95%; animation-delay: .45s; }
@keyframes eq { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 30px; padding-top: 0; }
  .timeline::before, .timeline::after { display: none; }
  .tl-item { padding-left: 30px; }
  .tl-item::before { top: 4px; left: 0; }
  .compare { grid-template-columns: 1fr; }
  .funnel-row { width: 100% !important; }
}


/* ---------- Pricing model cards --------------------------------------- */

.model {
  position: relative; padding: 30px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s;
}
.model:hover { transform: translateY(-4px); border-color: rgba(255,111,211,.35); }
.model .kicker {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text-2);
}
.model.hot .kicker { background: var(--grad); color: #fff; border-color: transparent; }
.model h3 { margin-bottom: 6px; }
.model .who { font-size: .92rem; color: var(--pink); font-weight: 700; margin-bottom: 14px; }
.model p { color: var(--muted); font-size: .98rem; }

/* ---------- Calculator model switch ----------------------------------- */
.calc-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.calc-switch button {
  padding: 10px 18px; border-radius: 100px; cursor: pointer; font-family: var(--sans);
  font-size: .92rem; font-weight: 700; color: var(--text-2);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: all .22s var(--ease);
}
.calc-switch button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.calc-out { display: grid; gap: 14px; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.calc-line span { color: var(--muted); font-size: .95rem; }
.calc-line b { color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.calc-line.hi { background: linear-gradient(140deg, rgba(255,111,211,.14), rgba(108,19,201,.12)); border-color: rgba(255,111,211,.4); }
.calc-line.hi b { font-size: 1.5rem; }


/* ---------- Focus visibility and skip link ---------------------------- */

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible, .tab:focus-visible, .calc-switch button:focus-visible,
.nav a:focus-visible, .arrow-link:focus-visible, .pagebtn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.faq summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
input[type="range"]:focus-visible { outline: 3px solid var(--pink); outline-offset: 6px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--grad); color: #fff; padding: 14px 26px;
  border-radius: 0 0 14px 0; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

.field-error {
  display: block; margin-top: 6px; font-size: .86rem; color: #FF8A95; font-weight: 600;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #FF4D5E;
}

/* ---------- Legal pages ----------------------------------------------- */

.prose { max-width: 78ch; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 46px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-size: .9rem; color: var(--muted); }
.notice {
  border: 1px solid rgba(255,111,211,.4); background: rgba(255,111,211,.07);
  border-radius: 14px; padding: 20px 24px; margin: 28px 0;
}
.notice p { margin: 0; color: var(--text-2); font-size: .96rem; }
