/* =========================================================
   Actually Intelligent - landing page
   Blue gradient colourway. Edit the tokens below to restyle.
   ========================================================= */

:root {
  /* Colour */
  --bg: #F5F6FC;
  --bg-soft: #ECEEFA;
  --card: #FFFFFF;
  --ink: #12163A;
  --body: #383D5C;
  --muted: #565B78;
  --line: #DDE1F0;
  --line-strong: #D3D8EC;
  --navy: #12163A;
  --navy-line: #2C3264;
  --on-navy: #F5F6FC;
  --on-navy-muted: #C3C8E6;
  --on-navy-soft: #9AA0C4;
  --violet: #5B4FD6;
  --pink: #C2419A;
  --soft-pink: #FFD3EE;
  --lime: #B7D36A;
  --blue: #4F8CFF;

  --gradient: linear-gradient(160deg, #2F5FD0 0%, #5747C7 55%, #A8399A 100%);
  --gradient-text: linear-gradient(90deg, #3E63DD, #7B4FD0 50%, #C2419A);
  --gradient-text-dark: linear-gradient(90deg, #8FB0FF, #B99BFF 50%, #FF8FCF);

  /* Type */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1320px;
  --gutter: 40px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 120px; padding-bottom: 120px; }

/* ---------- Typography ---------- */
.display { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
.display-xl { font-size: clamp(52px, 7vw, 92px); line-height: 0.95; }
.display-lg { font-size: clamp(44px, 5.4vw, 72px); line-height: 0.98; }
.display-md { font-size: clamp(40px, 4.6vw, 62px); line-height: 1; }
.display em { font-style: italic; }
.em-grad, .em-grad-dark {
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em;
}
.em-grad { background-image: var(--gradient-text); }
.em-grad-dark { background-image: var(--gradient-text-dark); }
.em-soft { color: var(--soft-pink); }

.eyebrow { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 28em; }
.lede-light { color: rgba(255, 255, 255, 0.9); max-width: 26em; }
.lede-on-dark { color: var(--on-navy-muted); }
.fineprint { margin: 0; font-size: 14px; color: var(--muted); }
.fineprint-light { color: rgba(255, 255, 255, 0.85); }
.fineprint a { color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 500; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(18, 22, 58, .45); }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-grad { background: var(--gradient); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; font-weight: 600; }
.link-light { color: #FFFFFF; font-size: 17px; text-underline-offset: 4px; padding: 14px 8px; }

/* ---------- Bands ---------- */
.band-gradient { background: var(--gradient); color: #FFFFFF; }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-soft { background: var(--bg-soft); }
.rule-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Layout helpers ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-end { align-items: flex-end; }
.split-top { align-items: flex-start; }
.split-reverse { flex-wrap: wrap-reverse; }
.stack { display: flex; flex-direction: column; gap: 26px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.section-head { margin-bottom: 56px; }

/* ---------- Nav ---------- */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; background: #FFFFFF; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: #FFFFFF; text-decoration: none; opacity: .92; }
.nav-links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero-title { font-size: clamp(40px, 4.7vw, 68px); }
@media (max-width: 1080px) { .hero-title { font-size: clamp(40px, 7vw, 68px); } }
@media (max-width: 520px) { .br-wide { display: none; } }
.hero-copy { flex: 1.05 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-demo { flex: 1.3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* Rewrite demo */
.rw-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 50px 90px -50px rgba(18, 22, 58, .45); overflow: hidden; }
.rw-head { padding: 20px 26px; border-bottom: 1px solid #E6E9F5; display: flex; align-items: center; gap: 14px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rw-head.is-entering { opacity: 0; transform: translateY(-10px); }
.rw-avatar { width: 40px; height: 40px; border-radius: 50%; background: #3E63DD; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex: none; }
.rw-head-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rw-from { font-size: 13px; color: var(--muted); }
.rw-subject { font-size: 16px; font-weight: 600; }
.rw-steps { list-style: none; margin: 0; padding: 16px 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rw-steps li { display: flex; flex-direction: column; gap: 8px; }
.rw-bar { display: block; height: 3px; border-radius: 2px; background: #E6E9F5; overflow: hidden; }
.rw-bar span { display: block; height: 100%; width: 0; background: var(--pink); }
.rw-step-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8A90AE; transition: color .3s; }
.rw-steps li.is-on .rw-step-label { color: var(--ink); }
.rw-stage { position: relative; display: grid; padding: 26px; min-height: 290px; }
.rw-scan { position: absolute; top: 18px; bottom: 18px; left: 0; width: 2px; background: var(--pink); box-shadow: 0 0 24px 6px rgba(194, 65, 154, .35); opacity: 0; transition: opacity .3s; }
.rw-generic, .rw-mine { grid-area: 1 / 1; }
.rw-generic { font-size: 18px; line-height: 1.65; color: #646A88; transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); }
.rw-generic.is-gone { opacity: 0; filter: blur(10px); transform: scale(.97); }
.rw-line { min-height: 1.65em; }
.rw-w { opacity: 0; border-radius: 3px; transition: opacity .25s, background-color .35s, color .35s; }
.rw-w.is-in { opacity: 1; }
.rw-w.is-hi { background: #F9D7EB; color: var(--ink); text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.rw-caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.18em; background: var(--ink); animation: blink 1s steps(1) infinite; }
.rw-mine { font-family: var(--font-display); font-size: 34px; line-height: 1.3; color: var(--ink); }
.rw-mine .rw-line { min-height: 1.3em; }
.rw-m { display: inline-block; white-space: pre; opacity: 0; transform: translateY(14px); filter: blur(8px); }
.rw-m.is-in { opacity: 1; transform: none; filter: none; transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease); }
.rw-foot { padding: 16px 26px; background: var(--bg); border-top: 1px solid #E6E9F5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 68px; }
.rw-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); flex: none; }
.rw-dot.is-pulsing { animation: ring 1.2s ease-out infinite; }
.rw-status { font-size: 14px; font-weight: 500; }
.rw-chips { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rw-chips.is-in { opacity: 1; transform: none; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); }
.chip-dark { background: var(--ink); color: #FFFFFF; border-color: var(--ink); font-weight: 500; }
.rw-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rw-tab { font: inherit; text-align: left; cursor: pointer; background: transparent; border: 0; padding: 10px 2px; min-height: 44px; display: flex; flex-direction: column; gap: 8px; color: rgba(255, 255, 255, .78); }
.rw-tab[aria-pressed="true"] { color: #FFFFFF; }
.rw-tab-track { display: block; height: 2px; width: 100%; background: rgba(255, 255, 255, .35); overflow: hidden; }
.rw-tab-track span { display: block; height: 100%; width: 0; background: #FFFFFF; }
.rw-tab-label { font-size: 14px; font-weight: 500; }

.hero-stat {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #FFFFFF; text-decoration: none; font-size: 15px;
  transition: background .2s var(--ease);
}
.hero-stat:hover { background: rgba(255, 255, 255, .22); }
.hero-stat strong { font-weight: 600; }

/* ---------- Provider logos ---------- */
.works-with { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.works-center { justify-content: center; }
.works-label { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-right: 2px; }
.provider-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-size: 15px; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(18, 22, 58, .45); }
.rw-from { display: inline-flex; align-items: center; gap: 6px; }
.rw-provider { flex: none; }
.browser-url { gap: 8px; }
.connect-row { display: flex; flex-wrap: wrap; gap: 10px; }
.connect-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.connect-btn:hover { transform: translateY(-1px); border-color: var(--violet); box-shadow: 0 10px 24px -14px rgba(18, 22, 58, .45); }
.step-logos { display: flex; gap: 8px; margin-top: 2px; }
.step-logos img { width: 24px; height: 24px; }

/* ---------- Sticky CTA ---------- */
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(245, 246, 252, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transform: translateY(-100%); transition: transform .45s var(--ease);
}
.sticky-bar.is-shown { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.sticky-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.sticky-brand img { border-radius: 7px; background: #FFFFFF; }
.sticky-pitch { margin-left: auto; font-size: 15px; color: var(--muted); }
[id] { scroll-margin-top: 88px; }

/* ---------- Time-back calculator ---------- */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 50px 90px -60px rgba(18, 22, 58, .4); }
.calc-label { font-size: 15px; font-weight: 500; color: var(--body); }
.calc-row { display: flex; align-items: center; gap: 18px; }
.calc-row input { flex: 1; min-width: 0; height: 32px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; --pct: 27%; }
.calc-row input::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #3E63DD, #C2419A) 0 0 / var(--pct) 100% no-repeat, var(--line); }
.calc-row input::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
.calc-row input::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #3E63DD, #C2419A); }
.calc-row input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--violet); box-shadow: 0 2px 8px rgba(18, 22, 58, .25); }
.calc-row input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--violet); }
.calc-count { min-width: 2.4em; text-align: right; font-family: var(--font-display); font-size: 40px; line-height: 1; }
.calc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.calc-results div { display: flex; flex-direction: column; gap: 6px; }
.calc-big { font-family: var(--font-display); font-size: 72px; line-height: .9; letter-spacing: -0.03em; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.calc-unit { font-size: 14px; color: var(--muted); }
.calc-week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.calc-week span { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 12px 0; border-radius: 10px; background: var(--bg-soft); color: var(--muted); }
.calc-week .calc-bonus { --fill: .5; background: linear-gradient(90deg, #3E63DD, #C2419A) 0 0 / calc(var(--fill) * 200%) 100% no-repeat, var(--bg-soft); color: #FFFFFF; transition: background-size .4s var(--ease); text-shadow: 0 1px 2px rgba(18, 22, 58, .35); }
.calc-note { margin: 0; font-size: 16px; font-weight: 500; }

.inline-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.inline-cta p { margin: 0; font-size: 18px; font-weight: 500; }

/* ---------- Problem ---------- */
.problem { padding: 112px 0 104px; }
.marquee { overflow: hidden; margin-top: 72px; display: flex; flex-direction: column; gap: 18px; }
.marquee-row { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-row-rev { animation-direction: reverse; animation-duration: 56s; }
.marquee-row span {
  flex: none; white-space: nowrap; font-family: var(--font-display); font-size: 40px; line-height: 1;
  padding: 14px 26px; border: 1px solid var(--navy-line); border-radius: 999px; color: var(--on-navy-soft);
  text-decoration: line-through; text-decoration-color: #C9A8FF; text-decoration-thickness: 2px;
}
.marquee-row-rev span { font-style: italic; }

/* ---------- Voiceprint ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.mini-grid div { display: flex; flex-direction: column; gap: 6px; }
.mini-grid strong { font-size: 16px; font-weight: 600; }
.mini-grid span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.vp-wrap { display: flex; justify-content: center; }
.vp-card { width: 100%; max-width: 520px; border-radius: 22px; background: #1A1A1A; color: #F4F1EB; border: 1px solid rgba(244, 241, 235, .08); box-shadow: 0 50px 100px -40px rgba(20, 18, 16, .45); overflow: hidden; }
.vp-top { padding: 28px 28px 20px; }
.vp-row { display: flex; align-items: center; justify-content: space-between; }
.vp-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 241, 235, .6); font-weight: 500; }
.vp-sync { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(244, 241, 235, .6); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s ease-out infinite; }
.vp-summary { margin: 12px 0 0; font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; }
.vp-meta { margin: 10px 0 0; font-size: 12px; color: rgba(244, 241, 235, .5); }
.vp-wave { height: 44px; margin-top: 18px; display: flex; align-items: flex-end; gap: 4px; }
.vp-wave span { display: block; width: 4px; border-radius: 2px; background: var(--blue); transform-origin: 50% 100%; animation: wave 1.8s ease-in-out infinite; }
.vp-traits { margin: 0; padding: 0 28px 8px; }
.vp-traits div { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(244, 241, 235, .08); font-size: 15px; }
.vp-traits dt { color: rgba(244, 241, 235, .6); }
.vp-traits dd { margin: 0; }
.vp-phrases { margin-top: 8px; padding: 20px 28px; background: rgba(0, 0, 0, .28); border-top: 1px solid rgba(244, 241, 235, .06); font-size: 14px; line-height: 1.6; color: rgba(244, 241, 235, .78); }
.vp-phrases p { margin: 0 0 8px; }
.vp-phrases p:last-child { margin: 0; }
.vp-phrases s { color: rgba(244, 241, 235, .55); text-decoration-color: rgba(201, 168, 255, .7); }
.tag { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; margin-right: 8px; }
.tag-good { color: var(--lime); }
.tag-bad { color: #C9A8FF; }

/* ---------- Levers demo (matches extension panel.css) ---------- */
.browser { height: 600px; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid rgba(20, 18, 16, .12); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(20, 18, 16, .5); color: #1F1F1F; flex: 1.4 1 600px !important; }
.browser-bar { height: 42px; flex: none; background: #1C1A17; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #FF5F57; } .tl-y { background: #FEBC2E; } .tl-g { background: #28C840; }
.browser-url { margin-left: 12px; flex: 1; height: 26px; border-radius: 7px; background: #2A2723; color: rgba(244, 241, 235, .6); font-size: 12px; display: flex; align-items: center; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.browser-body { position: relative; flex: 1; display: flex; min-height: 0; }
.gm-rail { width: 56px; flex: none; background: #EAF1FB; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gm-rail span { width: 28px; height: 28px; border-radius: 50%; background: rgba(17, 17, 17, .08); }
.gm-rail .gm-fab { width: 40px; height: 40px; border-radius: 16px; background: #C2E7FF; }
.gm-main { flex: 1; min-width: 0; padding: 14px 18px; }
.gm-toolbar { height: 36px; border-radius: 8px; background: #F2F6FC; margin-bottom: 16px; }
.gm-subject { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
.gm-msg { display: flex; gap: 10px; max-width: 300px; }
.gm-msg p { margin: 0; }
.gm-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.gm-from { font-size: 13px; font-weight: 600; }
.gm-meta { font-size: 11px; color: #5F6368; }
.gm-body { font-size: 13px; line-height: 1.45; color: #3C4043; margin-top: 4px !important; }

.panel {
  position: absolute; top: 16px; right: 16px; bottom: 16px; width: 360px; max-width: calc(100% - 32px);
  color: #F4F1EB; padding: 16px; display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 0%, rgba(183, 211, 106, .14), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(79, 140, 255, .10), transparent 40%),
    linear-gradient(165deg, #1C1A17 0%, #141210 52%, #0F0E0C 100%);
  border: 1px solid rgba(244, 241, 235, .12); border-radius: 18px; box-shadow: 0 24px 64px rgba(20, 18, 16, .28);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.panel-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 241, 235, .6); font-weight: 500; }
.panel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(183, 211, 106, .65); }
.panel-mode { font-size: 11px; color: rgba(244, 241, 235, .5); }
.panel-mode.is-user { color: var(--lime); }
.panel-title { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.panel-sub { margin: 0 0 12px; color: rgba(244, 241, 235, .62); font-size: 12.5px; line-height: 1.4; }
.panel-draft { background: rgba(255, 255, 255, .045); border: 1px solid rgba(244, 241, 235, .1); border-radius: 12px; padding: 12px 13px; height: 138px; margin-bottom: 12px; font-size: 13.5px; line-height: 1.45; letter-spacing: -0.015em; color: rgba(244, 241, 235, .92); overflow: hidden; transition: opacity .3s, filter .3s; }
.panel-draft.is-rewriting { opacity: .35; filter: blur(2px); }
.panel-draft .rw-line { min-height: .7em; }
.lv-w { display: inline-block; white-space: pre; opacity: 0; transform: translateY(8px); }
.lv-w.is-in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.levers { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.lever-head { display: flex; justify-content: space-between; align-items: baseline; }
.lever-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 241, 235, .55); }
.lever-word { font-size: 12.5px; font-weight: 600; }
.lever-track { position: relative; height: 26px; }
.lever-track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 3px; border-radius: 999px; background: rgba(244, 241, 235, .16); }
.lever-thumb { position: absolute; top: 6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #F4F1EB; box-shadow: 0 1px 6px rgba(0, 0, 0, .35); transition: left .6s var(--ease); pointer-events: none; }
.lever-stops { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.lever-stops button { background: transparent; border: 0; padding: 0; cursor: pointer; }
.panel-actions { display: flex; align-items: center; gap: 10px; }
.panel-generate { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(244, 241, 235, .14); border-radius: 18px; padding: 0 14px 0 8px; height: 36px; background: #141210; color: #F4F1EB; font: 600 13px/1 var(--font-body); cursor: pointer; }
.panel-generate img { border-radius: 5px; background: #FFFFFF; }
.panel-insert { border: 1px solid rgba(244, 241, 235, .18); border-radius: 999px; padding: 0 14px; height: 36px; background: transparent; color: rgba(244, 241, 235, .82); font: 600 12.5px/1 var(--font-body); cursor: pointer; }
.panel-status { margin: 10px 0 0; font-size: 12px; color: rgba(244, 241, 235, .6); }

.kv { margin: 0; display: flex; flex-direction: column; }
.kv div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-strong); font-size: 15px; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--muted); }

/* ---------- Privacy cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(18, 22, 58, .35); }
.card-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--violet); }
.card strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
#privacy .fineprint { margin-top: 24px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--ink); padding-top: 22px; }
.step-num { font-family: var(--font-display); font-size: 64px; line-height: .9; }
.steps strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card { background: var(--navy); color: var(--on-navy); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 26px; box-shadow: 0 60px 100px -60px rgba(18, 22, 58, .6); }
.seg { position: relative; align-self: flex-start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #232857; border-radius: 999px; padding: 4px; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--bg); border-radius: 999px; transition: transform .45s var(--ease); }
.price-card[data-period="monthly"] .seg-pill { transform: translateX(100%); }
.seg button { position: relative; font: 500 15px var(--font-body); background: transparent; border: 0; min-height: 44px; padding: 0 22px; cursor: pointer; color: var(--on-navy-muted); transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price-num { font-family: var(--font-display); font-size: 104px; line-height: .9; letter-spacing: -0.03em; }
.price-per { font-size: 17px; color: var(--on-navy-muted); }
.price-note { margin: 0; font-size: 15px; color: var(--on-navy-muted); }
.price-card[data-period="annual"] .only-monthly, .price-card[data-period="monthly"] .only-annual { display: none; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; }
.feat-providers::after { content: ""; width: 38px; height: 18px; flex: none; background: url("assets/gmail.svg") left center / 18px no-repeat, url("assets/outlook.svg") right center / 18px no-repeat; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.features li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7D36A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price-cancel { margin: 0; font-size: 13px; color: var(--on-navy-soft); text-align: center; }

/* ---------- FAQ ---------- */
.faq { flex: 2 1 560px !important; display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 40em; }
.faq details[open] p { animation: faqIn .4s var(--ease); }

/* ---------- Final CTA & footer ---------- */
.cta-inner { max-width: 1100px; padding-top: 136px; padding-bottom: 136px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.cta .display-xl { font-size: clamp(52px, 7vw, 96px); }
.footer { background: var(--navy); color: var(--on-navy-muted); border-top: 1px solid #262B55; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 7px; background: #FFFFFF; }
.footer-brand strong { color: var(--on-navy); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--on-navy-muted); text-decoration: none; }
.footer-links a:hover { color: #FFFFFF; }

/* ---------- Animations ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(183, 211, 106, .55); } 100% { box-shadow: 0 0 0 10px rgba(183, 211, 106, 0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(194, 65, 154, .45); } 100% { box-shadow: 0 0 0 12px rgba(194, 65, 154, 0); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .nav-links { gap: 18px; }
  .rw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-mine { font-size: 28px; }
  .rw-chips { margin-left: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .marquee-row span { font-size: 30px; }
  .price-card { padding: 28px; }
  .price-num { font-size: 84px; }
  .faq summary { font-size: 18px; }
  .sticky-pitch { display: none; }
  .sticky-inner .btn { margin-left: auto; }
  .calc { padding: 24px; }
  .calc-big { font-size: 56px; }
}

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