/* ============================================================
   FollowLoop for Gmail — landing page
   Matched to the extension: dark navy, purple → blue, gold highlights.
   ============================================================ */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --bg: #0b1026;
  --bg-2: #0d1330;
  --surface: #101735;
  --surface-2: #151d42;
  --line: rgba(148, 163, 255, 0.15);
  --line-2: rgba(148, 163, 255, 0.26);
  --text: #f8fafc;
  --muted: #a7b3d4;
  --dim: #7f8bb0;
  --purple: #7c3aed;
  --blue: #2563eb;
  --sky: #38bdf8;
  --violet: #c4b5fd;
  --gold: #d4af37;
  --gold-2: #fbbf24;
  --green: #4ade80;
  --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.1));
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 520px at 86% -8%, rgba(124, 58, 237, 0.26), transparent 70%),
    radial-gradient(720px 520px at -8% 18%, rgba(37, 99, 235, 0.16), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(196, 181, 253, 0.5) 0.7px, transparent 0.7px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 58%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 58%);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--purple);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.48);
  filter: brightness(1.06);
}

.btn-outline {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(196, 181, 253, 0.55);
  background: rgba(124, 58, 237, 0.11);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1300;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
}

.btn-gold:hover {
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.32);
  filter: brightness(1.04);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--violet);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.textlink:hover {
  color: var(--sky);
}

.textlink .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.textlink:hover .icon {
  transform: translateX(3px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(11, 16, 38, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 16, 38, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.38);
}

.brand-text {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-cta {
  flex: none;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 24px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 38, 0.98);
  backdrop-filter: blur(18px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
  max-width: 1180px;
  margin: 0 auto;
}

.mobile-menu a:not(.btn) {
  padding: 11px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
}

.mobile-menu a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 10px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 360px at 76% 12%, rgba(124, 58, 237, 0.24), transparent 68%),
    radial-gradient(520px 340px at 16% 82%, rgba(37, 99, 235, 0.12), transparent 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(rgba(196, 181, 253, 0.45) 0.7px, transparent 0.7px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(700px 520px at 64% 36%, #000, transparent 74%);
  mask-image: radial-gradient(700px 520px at 64% 36%, #000, transparent 74%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.hero h1 {
  max-width: 740px;
  margin-top: 22px;
  font-size: clamp(40px, 5.3vw, 72px);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.h1-accent {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  line-height: 0.98;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #c4b5fd 0%, #38bdf8 52%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 570px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-micro {
  margin-top: 17px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-micro .check {
  color: var(--green);
  margin-right: 4px;
}

.hero-micro .sep {
  margin: 0 6px;
  opacity: 0.5;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points .icon {
  width: 15px;
  height: 15px;
  color: var(--violet);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 610px;
  padding-top: 20px;
}

.loop-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin-bottom: -42px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(124, 58, 237, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.14) inset;
}

.orbit-ring--two {
  inset: 18px;
  border-color: rgba(56, 189, 248, 0.24);
}

.orbit-arrow {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  animation: spin 24s linear infinite;
  opacity: 0.85;
}

.logo-badge {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  padding: 6px;
  border: 1px solid rgba(196, 181, 253, 0.26);
  border-radius: 24px;
  background: rgba(11, 16, 38, 0.86);
  box-shadow: 0 0 55px rgba(124, 58, 237, 0.55);
  animation: float 6s ease-in-out infinite;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

.orbit-chip {
  position: absolute;
  z-index: 3;
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(16, 23, 53, 0.92);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float 7s ease-in-out infinite;
}

.orbit-chip--one {
  top: 12px;
  right: -28px;
}

.orbit-chip--two {
  top: 74px;
  left: -34px;
  animation-delay: -2s;
}

.orbit-chip--three {
  bottom: 2px;
  right: -18px;
  animation-delay: -4s;
}

.compose-demo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 8s ease-in-out infinite;
}

.compose-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11.5px;
}

.win-dots {
  display: flex;
  gap: 4px;
}

.win-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d5db;
}

.win-dots i:first-child {
  background: #f87171;
}

.win-dots i:nth-child(2) {
  background: #fbbf24;
}

.win-dots i:nth-child(3) {
  background: #34d399;
}

.compose-title {
  color: #111827;
  font-weight: 600;
}

.demo-pill {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compose-field {
  display: flex;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #374151;
  font-size: 12px;
}

.compose-field span {
  min-width: 42px;
  color: #9ca3af;
}

.compose-body {
  padding: 14px 16px 7px;
  color: #374151;
  font-size: 12.5px;
  line-height: 1.55;
}

.compose-body p + p {
  margin-top: 8px;
}

.followloop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 14px;
  padding: 9px 11px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(37, 99, 235, 0.06));
}

.fl-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6d28d9;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fl-brand img {
  border-radius: 4px;
}

.fl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.fl-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.fl-btn.is-set {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.36);
}

.fl-btn .icon {
  width: 14px;
  height: 14px;
}

.compose-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 14px;
}

.compose-send {
  padding: 8px 18px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.compose-hint {
  color: #9ca3af;
  font-size: 9px;
  line-height: 1.3;
}

.reminder-toast {
  position: absolute;
  right: -4px;
  bottom: -6px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  padding: 12px 14px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 12px;
  background: rgba(16, 23, 53, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.reminder-toast.show {
  opacity: 1;
  transform: none;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
}

.toast-icon .icon {
  width: 16px;
  height: 16px;
}

.reminder-toast strong {
  display: block;
  font-size: 12px;
}

.reminder-toast small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.toast-check {
  margin-left: auto;
  color: var(--green);
  font-weight: 700;
}

.demo-note {
  margin-top: 34px;
  color: var(--dim);
  font-size: 10.5px;
  text-align: center;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 23, 53, 0.58);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.marquee-group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.7);
}

/* ---------- sections ---------- */

.section {
  padding: clamp(62px, 8vw, 108px) 0;
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 .serif {
  color: var(--violet);
}

.section-lead {
  max-width: 640px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-head--center .section-lead {
  margin-right: auto;
  margin-left: auto;
}

/* ---------- story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.story-card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -48%;
  left: -20%;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.25), transparent);
  opacity: 0.6;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.42);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.story-card--lost {
  border-color: rgba(212, 175, 55, 0.3);
}

.story-time {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 18px 0 16px;
  border-radius: 14px;
}

.story-icon .icon {
  width: 21px;
  height: 21px;
}

.story-icon--purple {
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.18);
  color: var(--violet);
}

.story-icon--blue {
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}

.story-icon--gold {
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-2);
}

.story-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.story-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.story-status {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card--lost .story-status {
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold-2);
}

.story-truth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.story-truth p {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.story-truth .serif {
  color: var(--violet);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-num {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 18px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.32);
}

.step-icon .icon {
  width: 21px;
  height: 21px;
}

.step h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.timeline-card {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(37, 99, 235, 0.06)), var(--surface);
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.timeline-label {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-note {
  color: var(--dim);
  font-size: 11.5px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line-2);
}

.timeline li {
  position: relative;
  padding-top: 28px;
}

.tdot {
  position: absolute;
  top: 3px;
  left: 0;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface-2);
}

.timeline li.done .tdot {
  border-color: var(--blue);
  background: var(--blue);
}

.timeline li.active .tdot {
  border-color: var(--purple);
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.18), 0 0 16px rgba(124, 58, 237, 0.6);
}

.timeline b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.timeline small {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 11px;
}

.timeline-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.timeline-foot .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-2);
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.42);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.34);
}

.feature-icon .icon {
  width: 20px;
  height: 20px;
}

.tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--free {
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
}

.tag--gold {
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-2);
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.privacy-band {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(37, 99, 235, 0.06));
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.2);
  color: var(--violet);
}

.privacy-icon .icon {
  width: 23px;
  height: 23px;
}

.privacy-band h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.privacy-band p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.privacy-band .textlink {
  margin-left: auto;
  flex: none;
}

/* ---------- comparison ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.5;
}

thead th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

tbody th {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

td {
  color: var(--muted);
}

td small {
  color: var(--dim);
  font-size: 11px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.col-fl {
  border-right: 1px solid rgba(124, 58, 237, 0.28);
  border-left: 1px solid rgba(124, 58, 237, 0.28);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(37, 99, 235, 0.05));
  color: var(--text);
}

thead .col-fl {
  color: var(--violet);
}

.table-note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.6;
}

.table-hint {
  display: none;
  margin-bottom: 10px;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-callout {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.compare-callout p {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.compare-callout .serif {
  color: var(--violet);
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 18px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-grid--single {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.free-now-headline {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.free-now-list li {
  align-items: flex-start;
  flex-wrap: wrap;
}

.free-now-list li > span:not(.free-tag) {
  flex: 1 1 320px;
}

.free-now-list b {
  color: var(--text);
  font-weight: 600;
}

.free-tag {
  flex: none;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.free-now-honest {
  margin-top: -4px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.price-card--free {
  display: flex;
  flex-direction: column;
}

.price-card--free .btn {
  margin-top: auto;
}

.price-foot {
  margin-top: 10px;
  color: var(--dim);
  font-size: 10.5px;
  text-align: center;
}

.price-card--gold {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), var(--surface));
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.08);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1300;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-name {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-amount {
  display: block;
  margin-top: 8px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-amount small {
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.price-head p b {
  color: var(--text);
  font-weight: 600;
}

.price-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
}

.price-list li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.price-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--green);
}

/* ---------- faq ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 104px;
}

.faq-aside p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-aside .btn {
  margin-top: 20px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list p {
  max-width: 70ch;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- install ---------- */

.install-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(37, 99, 235, 0.08)), var(--surface);
}

.install-steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  counter-reset: install;
}

.install-steps li {
  position: relative;
  padding-left: 36px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.install-steps li::before {
  counter-increment: install;
  content: counter(install);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
}

.install-steps b {
  color: var(--text);
  font-weight: 600;
}

.install-actions {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 16, 38, 0.5);
}

.install-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.install-actions .textlink {
  margin-top: 12px;
}

/* ---------- final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 108px) 0;
  background: linear-gradient(135deg, #6d28d9 0%, #2563eb 100%);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.18) 0.7px, transparent 0.7px);
  background-size: auto, 24px 24px;
  opacity: 0.7;
  pointer-events: none;
}

.final-cta .wrap {
  position: relative;
  z-index: 1;
}

.final-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.32);
}

.final-cta h2 {
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
}

.final-cta h2 .serif {
  color: #fff;
}

.final-cta p {
  margin-top: 16px;
  color: #e0e7ff;
  font-size: 15.5px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.final-cta .btn-primary {
  background: #fff;
  color: #2e1065;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.final-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.site-footer {
  padding: 56px 0 30px;
  border-top: 1px solid var(--line);
  background: #080d20;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 32px;
}

.footer-brand .brand img {
  width: 36px;
  height: 36px;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-small {
  color: var(--dim) !important;
  font-size: 10.5px !important;
  margin-top: 10px !important;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col > span {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-copy {
  padding: 5px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-copy span {
  display: inline;
  padding: 0;
}

.footer-col a:hover {
  color: var(--text);
}

/* ---------- animations ---------- */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: clamp(38px, 5vw, 64px);
  }
}

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 8px;
  }

  .loop-orbit {
    margin-bottom: -36px;
  }

  .compose-demo {
    margin: 0 auto;
  }

  .reminder-toast {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 470px;
    margin: 14px auto 0;
  }

  .demo-note {
    margin-top: 20px;
  }

  .story-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .story-card,
  .step {
    padding: 22px;
  }

  .pricing-grid,
  .faq-layout,
  .install-card {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 28px;
  }

  .faq-aside {
    position: static;
  }

  .install-card {
    gap: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .privacy-band {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .privacy-band .textlink {
    margin-left: 70px;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 8px 14px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  .timeline::before {
    display: none;
  }

  .timeline li {
    padding-top: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .table-hint {
    display: block;
  }

  .privacy-band .textlink {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .eyebrow {
    font-size: 10.5px;
  }

  .hero-micro {
    font-size: 8.5px;
    line-height: 1.7;
  }

  .compose-demo {
    border-radius: 12px;
  }

  .followloop-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .fl-btn {
    width: 100%;
    justify-content: center;
  }

  .compose-hint {
    display: none;
  }

  .orbit-chip--two {
    left: -20px;
  }

  .orbit-chip--one {
    right: -18px;
  }

  .orbit-chip--three {
    right: -10px;
  }

  .price-card {
    padding: 22px;
  }

  .free-now-list li {
    display: grid;
    grid-template-columns: 15px 1fr;
    gap: 6px 10px;
  }

  .free-now-list li > span:not(.free-tag) {
    grid-column: 2;
  }

  .free-now-list .free-tag {
    grid-column: 2;
    justify-self: start;
    margin-left: 0;
  }

  .price-amount {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
