@font-face { font-family: "Quantum"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/quantum.otf") format("opentype"); }
:root {
  color-scheme: dark;
  --bg: #09080d;
  --bg-soft: #0e0c14;
  --surface: rgba(25, 21, 35, 0.78);
  --surface-solid: #17131f;
  --surface-high: #211a2d;
  --border: rgba(217, 202, 255, 0.13);
  --border-strong: rgba(176, 142, 255, 0.32);
  --text: #f5f0ff;
  --muted: #a59bae;
  --muted-soft: #8a8090;
  --muted-strong: #c7bdcf;
  --primary: #9460ff;
  --primary-light: #c4a8ff;
  --primary-deep: #5a2db4;
  --blue: #5a7cff;
  --success: #84d9ab;
  --error: #ff9a9a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; background-color: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: transparent;
  color: var(--text);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-glow { position: fixed; pointer-events: none; z-index: -1; background-repeat: no-repeat; background-position: center; background-size: contain; opacity: 0.16; }
.glow-one { width: 32rem; height: 28rem; top: 24rem; left: -17rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cpath d='M32 3 L88 3 L117 52 L88 101 L32 101 L3 52 Z' fill='none' stroke='%239460ff' stroke-width='2'/%3E%3C/svg%3E"); filter: blur(1.2px) drop-shadow(0 0 55px rgba(113,56,227,0.45)); }
.glow-two { width: 26rem; height: 22.5rem; top: 60rem; right: -10rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cpath d='M32 3 L88 3 L117 52 L88 101 L32 101 L3 52 Z' fill='none' stroke='%235a7cff' stroke-width='2'/%3E%3C/svg%3E"); filter: blur(1.2px) drop-shadow(0 0 55px rgba(54,94,223,0.4)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(9, 8, 13, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
}

.brand { width: 184px; height: 42px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 600; }
.desktop-nav a { transition: color 0.2s; }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-nav { display: none; }
.mobile-nav summary {
  list-style: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  color: var(--text);
  background: rgba(148, 96, 255, 0.1);
  border: 1px solid rgba(170, 128, 255, 0.34);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::marker { content: ""; }
.mobile-nav summary:hover,
.mobile-nav summary:focus-visible,
.mobile-nav[open] summary {
  color: #fff;
  border-color: rgba(181, 145, 255, 0.78);
  background: rgba(148, 96, 255, 0.2);
}
.mobile-menu-icon {
  position: relative;
  width: 18px;
  height: 14px;
  flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.mobile-menu-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}
.mobile-nav-panel {
  position: fixed;
  top: 74px;
  right: 16px;
  width: min(380px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(13, 10, 23, 0.98);
  border: 1px solid rgba(164, 119, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(22px);
}
.mobile-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
}
.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible,
.mobile-nav-panel a[aria-current="page"] {
  color: #fff;
  background: rgba(148, 96, 255, 0.14);
  border-color: rgba(148, 96, 255, 0.3);
}
.mobile-nav-panel .mobile-nav-download {
  justify-content: center;
  margin-top: 5px;
  color: #fff;
  background: linear-gradient(135deg, #9f6aff, #7845e2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  --hp: 14px;
  clip-path: polygon(var(--hp) 0, calc(100% - var(--hp)) 0, 100% 50%, calc(100% - var(--hp)) 100%, var(--hp) 100%, 0 50%);
  border: none;
  border-radius: 0;
  padding: 11px 26px;
  color: var(--text);
  font-weight: 750;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, filter 0.18s;
}
.button:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; }
.button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--text); filter: drop-shadow(0 0 3px var(--primary-light)) drop-shadow(0 0 6px var(--primary-light)); }
.button:disabled { opacity: 0.58; cursor: wait; transform: none; }
.button-primary { background: linear-gradient(135deg, #9f6aff, #7845e2); filter: drop-shadow(0 8px 16px rgba(120, 69, 226, 0.32)); }
.button-primary:hover { filter: drop-shadow(0 12px 22px rgba(120, 69, 226, 0.48)); }
.button-secondary { background: rgba(148,96,255,0.13); }
.button-secondary:hover { background: rgba(148,96,255,0.22); }
.button-ghost { background: rgba(255,255,255,0.06); color: var(--muted-strong); }
.button-ghost:hover { background: rgba(148,96,255,0.16); color: var(--text); }
.button.large { --hp: 16px; padding: 14px 32px; font-size: 14px; }
.button.compact { --hp: 11px; padding: 9px 22px; }
.button.full { width: 100%; }

.hero { min-height: 670px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 38px; align-items: start; padding-top: 84px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; margin-top: 38px; }
.eyebrow { display: flex; align-items: center; color: var(--primary-light); font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 18px 0 26px; font-family: "Quantum", Arial, sans-serif; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.16; letter-spacing: 0; font-weight: 400; text-transform: uppercase; color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(115deg, #eadfff 0%, #eadfff 17%, #c4a8ff 17%, #c4a8ff 40%, #9460ff 40%, #9460ff 63%, #7345d6 63%, #7345d6 83%, #5a7cff 83%, #5a7cff 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 20px rgba(139,92,246,0.42)); }
.hero h1 em { display: block; margin-top: 4px; white-space: nowrap; font-size: 1.3em; line-height: 1.05; font-family: "Quantum", Arial, sans-serif; font-style: normal; font-weight: 400; letter-spacing: 0; }
.hero-lead { max-width: 570px; margin: 0; color: var(--muted-strong); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 12.5px; }

.app-showcase { position: relative; min-width: 0; perspective: 1300px; margin-top: 30px; }
.app-window { position: relative; overflow: hidden; min-height: 420px; border: 1px solid rgba(194,164,255,0.2); border-radius: 0; background: #0f0d14; box-shadow: var(--shadow); transform: rotateY(-4deg) rotateX(1deg); }
.app-titlebar { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,0.06); background: #17131f; font-size: 8px; letter-spacing: 0.12em; color: #867c91; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #453b50; }
.window-dots span:first-child { background: #7d4bd7; }
.window-title { justify-self: center; }
.window-state { justify-self: end; color: #709e86; }
.app-body { display: grid; grid-template-columns: 126px 1fr 150px; min-height: 376px; }
.mock-sidebar { padding: 18px 10px; border-right: 1px solid rgba(255,255,255,0.055); background: #121017; }
.mock-book-title { margin-bottom: 22px; color: #e9dfff; font-family: Georgia, serif; font-size: 11px; }
.mock-label { margin: 12px 7px 7px; color: #685f71; font-size: 6px; font-weight: 800; letter-spacing: 0.13em; }
.codex-label { margin-top: 22px; }
.mock-nav { display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 0; color: #8f8697; font-size: 7px; }
.mock-nav span, .mock-nav b { color: #60566a; font-size: 6px; }
.mock-nav small { margin-left: auto; font-size: 6px; }
.mock-nav.active { background: rgba(141,87,241,0.14); color: #cbb5f7; }
.mock-editor { min-width: 0; background: #0b0a0e; }
.mock-toolbar { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #837a8c; font-size: 7px; }
.mock-toolbar span:first-child { width: 58px; }
.mock-page { width: min(78%, 275px); min-height: 300px; margin: 24px auto; padding: 38px 34px; background: #f5f0e8; box-shadow: 0 18px 50px rgba(0,0,0,0.25); color: #3c3541; }
.mock-page .mock-chapter { color: #8a7d90; font-size: 5px; letter-spacing: 0.18em; }
.mock-page h2 { margin: 8px 0 22px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.mock-page p { font-family: Georgia, serif; font-size: 7px; line-height: 1.9; }
.mock-cursor::after { content: ""; display: inline-block; width: 1px; height: 9px; margin-left: 2px; background: #6c3cc0; vertical-align: middle; animation: blink 1s steps(1) infinite; }
.mock-ai { display: flex; flex-direction: column; gap: 10px; padding: 16px 10px 12px; border-left: 1px solid rgba(255,255,255,0.055); background: #121017; }
.mock-ai-title { display: flex; align-items: center; gap: 5px; color: #b6a9c2; font-size: 7px; font-weight: 700; }
.mock-ai-title span { width: 5px; height: 5px; border-radius: 50%; background: #72c699; box-shadow: 0 0 8px #72c699; }
.mock-ai-card { padding: 9px; border: 1px solid rgba(255,255,255,0.06); border-radius: 0; background: #1b1722; color: #9d92a6; font-size: 6px; line-height: 1.7; }
.mock-ai-card.user { margin-left: 15px; background: rgba(131,76,233,0.14); color: #bba9d1; }
.mock-ai-input { margin-top: auto; padding: 9px; border: 1px solid rgba(255,255,255,0.08); border-radius: 0; color: #635a6b; font-size: 6px; }
.mock-ai-input b { float: right; color: var(--primary-light); }
.showcase-orbit { position: absolute; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: contain; opacity: 0.3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cpath d='M32 3 L88 3 L117 52 L88 101 L32 101 L3 52 Z' fill='none' stroke='%239669f2' stroke-width='1.5'/%3E%3C/svg%3E"); }
.orbit-one { width: 460px; height: 400px; top: -40px; right: -60px; }
.orbit-two { width: 300px; height: 260px; top: 30px; right: 20px; }
.floating-card { position: absolute; z-index: 3; background: rgba(23,19,31,0.94); backdrop-filter: blur(14px); clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 13px 100%, 0 50%); filter: drop-shadow(0 12px 26px rgba(0,0,0,0.45)); }
.floating-codex { left: -34px; bottom: -16px; display: flex; align-items: center; gap: 10px; padding: 12px 24px; }
.floating-codex strong { color: var(--primary-light); font-size: 22px; }
.floating-codex span { max-width: 104px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.floating-private { right: -28px; top: -28px; display: grid; grid-template-columns: 1fr; gap: 2px; align-items: center; padding: 11px 22px; }
.floating-private strong { font-size: 12.5px; }
.floating-private small { color: var(--muted); font-size: 12px; }

.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; min-height: 92px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted-strong); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.trust-strip span { position: relative; padding: 30px 18px; text-align: center; }
.trust-strip span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 38px; margin-top: -19px; background: var(--border); }
.section { padding-top: 120px; padding-bottom: 120px; }
.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .final-cta h2 { margin: 12px 0 14px; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.section-heading p, .final-cta p { margin: 0; color: var(--muted); font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; overflow: hidden; min-height: 248px; padding: 26px 28px; border: 1px solid var(--border); border-radius: 0; background: rgba(255,255,255,0.018); transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: rgba(148,96,255,0.05); }
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 0.8fr 1fr; gap: 50px; align-items: center; }
.feature-kicker { display: inline-block; margin-bottom: 3px; color: var(--primary-light); font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; }
.feature-card h3 { margin: 10px 0 12px; font-size: 22px; letter-spacing: -0.02em; }
.feature-card p { max-width: 550px; margin: 0; color: var(--muted); font-size: 13px; }
.mini-chat { display: grid; gap: 12px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--muted-strong); font-size: 13px; }
.mini-chat > div:first-child { justify-self: end; max-width: 78%; padding: 12px 15px; border-radius: 0; background: rgba(148,96,255,0.18); color: var(--text); }
.mini-chat .assistant-reply { max-width: 94%; padding: 15px 17px; border: 1px solid var(--border-strong); background: rgba(148,96,255,0.06); color: var(--muted-strong); }
.feature-peak { min-height: 0; padding: 46px 50px; grid-template-columns: 1fr 1.08fr; gap: 54px; border-color: var(--border-strong); background: radial-gradient(circle at 8% 0%, rgba(128,69,233,0.20), transparent 52%), linear-gradient(145deg, rgba(30,24,42,0.92), rgba(13,11,18,0.92)); clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.feature-peak:hover { transform: none; background: radial-gradient(circle at 8% 0%, rgba(128,69,233,0.24), transparent 52%), linear-gradient(145deg, rgba(30,24,42,0.92), rgba(13,11,18,0.92)); }
.feature-peak h3 { margin: 14px 0 16px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.feature-peak p { max-width: 46ch; font-size: 15px; line-height: 1.7; }

.privacy-card { grid-template-columns: 0.9fr 1.1fr; padding: 42px 46px; border-color: var(--border-strong); clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.privacy-card:hover { transform: none; }
.privacy-card h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; }
.privacy-diagram { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.privacy-node { min-width: 120px; display: grid; place-items: center; padding: 18px 16px; border: 1px solid var(--border); background: #241b33; color: var(--muted-strong); text-align: center; font-size: 12px; }
.privacy-node.primary-node { border-color: rgba(156,108,255,0.55); background: linear-gradient(145deg, rgba(108,55,200,0.55), rgba(52,79,159,0.45)); color: white; }
.privacy-node.muted { opacity: 0.58; }

.pricing-section { border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: linear-gradient(180deg, rgba(20,16,28,0.45), rgba(10,9,14,0.4)); }
.pricing-grid { width: min(820px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.price-card { position: relative; padding: 32px; border: 1px solid var(--border); border-radius: 0; background: rgba(20,17,27,0.85); }
.premium-card { border-color: rgba(156,108,255,0.43); box-shadow: 0 24px 80px rgba(86,44,166,0.17); }
.popular-badge { position: absolute; top: 16px; right: 16px; padding: 5px 9px; border-radius: 0; background: rgba(148,96,255,0.13); color: var(--primary-light); font-size: 11px; font-weight: 850; letter-spacing: 0.12em; }
.plan-name { color: var(--primary-light); font-size: 11px; font-weight: 850; letter-spacing: 0.15em; }
.price-top h3 { margin: 12px 0 2px; font-size: 42px; letter-spacing: -0.045em; }
.price-top h3 small { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.price-top p { margin: 0; color: var(--muted); font-size: 12px; }
.price-card ul { display: grid; gap: 12px; margin: 28px 0; padding: 24px 0 0; border-top: 1px solid var(--border); list-style: none; color: var(--muted-strong); font-size: 12px; }
.checkout-note { display: block; margin-top: 10px; color: var(--muted-soft); text-align: center; font-size: 11px; line-height: 1.5; }

.faq-section { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 70px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; gap: 16px; padding: 22px 2px; cursor: pointer; color: var(--muted-strong); font-size: 14px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin: -5px 0 22px; padding-right: 40px; color: var(--muted); font-size: 13px; }

.final-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 110px; padding: 50px; border: 1px solid var(--border-strong); border-radius: 0; background: radial-gradient(circle at 10% 50%, rgba(128,69,233,0.22), transparent 45%), #17121f; box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(32px, 4vw, 48px); }
.final-cta--peak { padding: 60px 56px; border-color: var(--border-strong); background: radial-gradient(circle at 6% 50%, rgba(128,69,233,0.26), transparent 46%), #17121f; box-shadow: none; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.5)); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.final-cta--peak h2 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.03em; }
.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; padding-top: 36px; padding-bottom: 38px; border-top: 1px solid var(--border); }
.footer-brand img { width: 155px; }
.footer-brand p { margin: 8px 0 0; color: var(--muted-soft); font-size: 12px; }
.footer-links { display: flex; gap: 22px; color: var(--muted); font-size: 12.5px; }
.footer-links a:hover { color: var(--text); }
.footer-status { display: flex; align-items: center; gap: 7px; color: var(--muted-soft); font-size: 11.5px; }
.footer-status span { width: 6px; height: 6px; border-radius: 50%; background: #e2b15a; }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; color: var(--muted-soft); font-size: 12px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; background: rgba(4,3,7,0.78); backdrop-filter: blur(14px); }
.modal-backdrop[hidden] { display: none; }
.modal-card { position: relative; width: min(410px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; padding: 34px; border: 1px solid var(--border-strong); border-radius: 0; background: #17131f; box-shadow: 0 36px 100px rgba(0,0,0,0.6); text-align: center; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: #7f7488; font-size: 23px; cursor: pointer; }
.modal-mark { width: auto; height: 56px; display: block; margin: 0 auto 18px; }
.account-avatar { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 0; background: linear-gradient(145deg, #8952ed, #405fb6); color: white; font-family: "Quantum", Arial, sans-serif; font-size: 22px; }
.modal-card h2 { margin: 0; font-size: 25px; letter-spacing: -0.03em; }
.modal-card > p { margin: 7px 0 23px; color: var(--muted); font-size: 12px; }
.google-button { background: #f6f3fa; color: #211a28; }
.google-button span { color: #4967ca; font-weight: 900; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted-soft); font-size: 12px; }
#auth-form { display: grid; gap: 13px; }
#auth-form label { display: grid; gap: 6px; color: #b3a9bc; text-align: left; font-size: 11.5px; font-weight: 700; }
#auth-form input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 0; outline: none; background: #0f0d14; color: var(--text); font-size: 12px; }
#auth-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(148,96,255,0.1); }
.text-button { margin-top: 15px; border: 0; background: transparent; color: var(--primary-light); font-size: 12px; cursor: pointer; }
.text-button.subtle { display: block; margin: 8px auto 0; color: var(--muted-soft); }
.text-button.danger { color: var(--error); }
.auth-error { min-height: 0; margin: 0 !important; color: var(--error) !important; font-size: 12px; }
.auth-error:empty { display: none; }
.auth-reassure { margin: -14px 0 20px !important; color: var(--muted) !important; font-size: 12px !important; line-height: 1.5; }
.account-plan-row { display: flex; align-items: center; justify-content: space-between; margin: 22px 0; padding: 15px; border: 1px solid var(--border); border-radius: 0; background: #100e15; text-align: left; }
.account-plan-row div { display: grid; }
.account-plan-row span { color: var(--muted); font-size: 12px; }
.account-plan-row strong { font-size: 15px; }
.plan-pill { padding: 5px 8px; border-radius: 0; background: rgba(148,96,255,0.14); color: var(--primary-light) !important; font-weight: 850; letter-spacing: 0.1em; }
.account-card .button + .button { margin-top: 9px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; max-width: min(430px, calc(100% - 32px)); padding: 11px 15px; border: 1px solid var(--border-strong); border-radius: 0; background: #211a2d; color: var(--text); box-shadow: 0 18px 50px rgba(0,0,0,0.4); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 0.2s, transform 0.2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { animation: rise 0.75s both; }
.delay-one { animation-delay: 0.12s; }
.delay-two { animation-delay: 0.22s; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .site-header { gap: 12px; }
  .header-actions { order: 2; margin-left: auto; }
  .mobile-nav { display: block; order: 3; }
  .hero { grid-template-columns: 1fr; gap: 74px; padding-top: 72px; }
  .hero-copy { max-width: 700px; }
  .app-showcase { width: min(760px, 100%); margin-inline: auto; }
  .faq-section { grid-template-columns: 1fr; gap: 10px; }
  .faq-section .section-heading { margin-bottom: 20px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { height: 66px; padding-inline: 16px; }
  .brand { width: 135px; }
  .mobile-nav-panel { top: 66px; }
  .hero { min-height: auto; padding-top: 62px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(24px, 8.4vw, 40px); letter-spacing: 0; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-notes { display: grid; gap: 7px; }
  .app-body { grid-template-columns: 90px 1fr; }
  .mock-ai { display: none; }
  .mock-sidebar { padding-inline: 7px; }
  .mock-page { width: 86%; padding-inline: 24px; }
  .floating-private { right: -8px; top: -38px; }
  .floating-codex { left: 8px; }
  .trust-strip { gap: 10px 14px; padding-block: 18px; }
  .trust-strip i { display: none; }
  .section { padding-top: 86px; padding-bottom: 86px; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-wide, .privacy-card { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .feature-wide > *, .privacy-card > * { min-width: 0; }
  .showcase-orbit { display: none; }
  .privacy-diagram { flex-wrap: wrap; gap: 12px; padding-top: 18px; }
  .privacy-node { min-width: 88px; }
  .privacy-line { display: none; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 32px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .desktop-nav { display: none; }
  .site-header { gap: 12px; }
  .header-actions { order: 2; margin-left: auto; }
  .mobile-nav { display: block; order: 3; }
}

@media (max-width: 480px) {
  .site-header { gap: 8px; }
  .header-actions .button-ghost { display: none; }
  .brand { width: 118px; }
  .header-actions .button.compact { --hp: 10px; padding: 9px 16px; font-size: 12px; }
  .mobile-nav summary { min-width: 42px; padding-inline: 11px; }
  .mobile-nav-panel { left: 16px; right: 16px; width: auto; }
  .mobile-menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ─────────────────────────────────────────────
   Local AI setup guide (local-ai-setup.html)
   ───────────────────────────────────────────── */
.feature-link { display: inline-flex; align-items: center; margin-top: 16px; color: var(--primary-light); font-size: 13px; font-weight: 750; transition: color 0.2s; }
.feature-link:hover { color: var(--text); }

.guide-main { padding-top: 64px; padding-bottom: 110px; }

.guide-hero { max-width: 760px; margin-bottom: 56px; }
.guide-hero h1 { margin: 18px 0 20px; font-family: "Quantum", Arial, sans-serif; font-size: clamp(40px, 5.5vw, 64px); line-height: 1.08; letter-spacing: 0; font-weight: 400; text-transform: uppercase; color: #fff; -webkit-text-fill-color: #fff; }
.guide-lead { margin: 0; color: var(--muted-strong); font-size: 17px; line-height: 1.75; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--muted); font-size: 12px; font-weight: 600; }

.guide-prereq { margin-bottom: 60px; padding: 30px 34px; border: 1px solid var(--border); border-radius: 0; background: linear-gradient(145deg, rgba(27,23,36,0.6), rgba(15,13,20,0.6)); }
.guide-prereq h2 { margin: 0 0 16px; font-size: 20px; letter-spacing: -0.02em; }
.guide-prereq ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.guide-prereq li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.guide-prereq strong { color: var(--text); font-weight: 700; }

.guide-steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.guide-step { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center; padding: 32px; border: 1px solid var(--border); border-radius: 0; background: linear-gradient(145deg, rgba(27,23,36,0.82), rgba(15,13,20,0.82)); transition: border-color 0.25s, transform 0.25s; }
.guide-step:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.guide-step:nth-child(even) .guide-shot { order: -1; }
.guide-step-head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.guide-step-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 0; background: linear-gradient(135deg, #9f6aff, #7845e2); box-shadow: 0 10px 24px rgba(120,69,226,0.3); color: #fff; font-weight: 800; font-size: 17px; }
.guide-step h3 { margin: 0; font-size: 23px; letter-spacing: -0.025em; }
.guide-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.guide-step p + p { margin-top: 12px; }
.guide-step code { padding: 2px 7px; border-radius: 0; background: rgba(148,96,255,0.12); border: 1px solid var(--border); color: var(--primary-light); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12.5px; }
.guide-step strong { color: var(--muted-strong); }

.guide-shot { margin: 0; }
.guide-shot img { width: 100%; border-radius: 0; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.guide-shot-placeholder { display: grid; place-items: center; text-align: center; aspect-ratio: 16 / 10; padding: 22px; border: 1px dashed var(--border-strong); border-radius: 0; background: repeating-linear-gradient(135deg, rgba(148,96,255,0.05) 0 14px, transparent 14px 28px); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }

.guide-callout { display: block; margin-bottom: 60px; padding: 24px 26px; border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: 0; background: rgba(148,96,255,0.06); }
.guide-callout strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 14px; }
.guide-callout p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.guide-faq { margin-bottom: 64px; }
.guide-faq h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }

.guide-final { text-align: center; padding: 46px 30px; border: 1px solid var(--border); border-radius: 0; background: linear-gradient(180deg, rgba(20,16,28,0.55), rgba(10,9,14,0.45)); }
.guide-final h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.guide-final p { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.guide-final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.guide-tools { display: grid; gap: 12px; }
.guide-tool { display: grid; gap: 3px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 0; background: rgba(255,255,255,0.02); transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.guide-tool:hover { border-color: var(--border-strong); background: rgba(148,96,255,0.08); transform: translateY(-2px); }
.guide-tool strong { font-size: 16px; }
.guide-tool span { color: var(--primary-light); font-size: 13px; font-weight: 700; }
.guide-tool small { color: var(--muted); font-size: 12px; }

.guide-ports { display: grid; gap: 12px; align-content: center; }
.guide-port { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 0; background: rgba(255,255,255,0.02); }
.guide-port span { color: var(--muted-strong); font-size: 13px; font-weight: 700; }
.guide-port code { padding: 4px 9px; border-radius: 0; background: rgba(148,96,255,0.12); border: 1px solid var(--border); color: var(--primary-light); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12.5px; }
.guide-ports-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 820px) {
  .guide-step { grid-template-columns: 1fr; gap: 24px; }
  .guide-port { flex-direction: column; align-items: flex-start; gap: 8px; }
  .guide-step:nth-child(even) .guide-shot { order: 0; }
  .guide-main { padding-bottom: 84px; }
  .guide-prereq { padding: 24px; }
}

/* ─────────────────────────────────────────────
   Hero screenshot carousel
   ───────────────────────────────────────────── */
.showcase-carousel { position: relative; width: 100%; }
.showcase-carousel:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 4px; }
.carousel-frame { position: relative; overflow: hidden; aspect-ratio: 1280 / 832; border: 1px solid rgba(194,164,255,0.22); border-radius: 0; background: #0f0d14; box-shadow: var(--shadow); }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.7s ease, transform 0.9s ease; pointer-events: none; }
.carousel-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-stage { position: relative; }
.carousel-caption { margin: 22px 0 0; text-align: center; color: var(--muted-strong); font-size: 13px; font-weight: 650; }
.carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 8px; }
.carousel-dot { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: none; background: transparent; cursor: pointer; }
.carousel-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(217,202,255,0.28); transition: width 0.25s, background 0.25s; }
.carousel-dot.is-active::after { width: 18px; border-radius: 5px; background: var(--primary-light); }

/* ── Hexagon side bands (left & right, top-to-bottom, clear middle) ── */
.site-glow, .showcase-orbit { display: none; }
body {
  background-color: var(--bg);
  background-image: none;
}

/* Minimal futuristic atmosphere: edge lattice + near-invisible grain. */
body {
  position: relative;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle at 0 24%, rgba(117, 69, 199, 0.2), transparent 27rem),
    radial-gradient(circle at 100% 72%, rgba(72, 86, 165, 0.17), transparent 30rem),
    radial-gradient(circle at 24px 24px, rgba(196, 168, 255, 0.16) 0 1.5px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(164, 119, 255, 0.095) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(90, 124, 255, 0.082) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(135deg, transparent 0 134px, rgba(164, 119, 255, 0.065) 134px 135px, transparent 135px 270px);
  background-size: auto, auto, 96px 96px, auto, auto, auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 84% at 50% 42%, transparent 0 34%, rgba(0, 0, 0, 0.38) 61%, #000 100%);
  mask-image: radial-gradient(ellipse 72% 84% at 50% 42%, transparent 0 34%, rgba(0, 0, 0, 0.38) 61%, #000 100%);
  opacity: 0.94;
}

body::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  opacity: 0.038;
}

@media (max-width: 620px) {
  body::before {
    -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 40%, transparent 0 35%, rgba(0, 0, 0, 0.22) 66%, #000 100%);
    mask-image: radial-gradient(ellipse 76% 78% at 50% 40%, transparent 0 35%, rgba(0, 0, 0, 0.22) 66%, #000 100%);
    opacity: 0.62;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body::after {
    display: none;
  }
}

/* ── Hexagon mark integrated into the wordmark ── */
.hero h1 .hex-mark { display: inline-block; width: 0.74em; height: 0.74em; margin-left: 0.12em; vertical-align: -0.04em; filter: drop-shadow(0 0 7px rgba(148,96,255,0.6)); }

/* ─────────────────────────────────────────────
   Privacy policy
   ───────────────────────────────────────────── */
.auth-privacy-note { margin: 14px 0 0 !important; color: #8a8090 !important; font-size: 10px !important; line-height: 1.55; }
.auth-privacy-note a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-main { padding: 84px 0 120px; }
.legal-hero { max-width: 850px; margin-bottom: 44px; }
.legal-hero h1 { margin: 16px 0 18px; font-family: "Quantum", Arial, sans-serif; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; letter-spacing: 0; font-weight: 400; text-transform: uppercase; color: #fff; -webkit-text-fill-color: #fff; }
.legal-hero > p { max-width: 720px; margin: 0; color: var(--muted-strong); font-size: 16px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--muted); font-size: 12.5px; }
.legal-meta strong { color: var(--text); }
.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); gap: 72px; align-items: start; }
.legal-nav { position: sticky; top: 104px; display: grid; gap: 5px; padding: 20px; border: 1px solid var(--border); background: rgba(23,19,31,0.82); }
.legal-nav strong { margin: 2px 9px 8px; color: var(--primary-light); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-nav a { padding: 8px 9px; color: var(--muted); font-size: 12.5px; }
.legal-nav a:hover { background: rgba(148,96,255,0.1); color: var(--text); }
.legal-content { min-width: 0; }
.legal-summary { margin-bottom: 34px; padding: 26px; border: 1px solid var(--border-strong); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); background: radial-gradient(circle at 0 0, rgba(128,69,233,0.18), transparent 55%), rgba(23,19,31,0.88); }
.legal-summary h2 { margin-top: 0; }
.legal-section { scroll-margin-top: 105px; padding: 34px 0; border-top: 1px solid var(--border); }
.legal-section:first-of-type { border-top: 0; }
.legal-content h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -0.025em; }
.legal-content h3 { margin: 24px 0 8px; font-size: 16px; }
.legal-content p, .legal-content li { color: var(--muted-strong); font-size: 13px; }
.legal-content p { margin: 0 0 13px; }
.legal-content ul { display: grid; gap: 9px; margin: 13px 0; padding-left: 20px; }
.legal-content a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--text); }
.legal-callout { margin-top: 18px; padding: 17px 19px; border-left: 2px solid var(--primary); background: rgba(148,96,255,0.08); }
.legal-callout strong { color: var(--text); }
.legal-table { width: 100%; margin-top: 18px; border-collapse: collapse; border: 1px solid var(--border); overflow: hidden; }
.legal-table th, .legal-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 12.5px; line-height: 1.6; }
.legal-table th { background: rgba(148,96,255,0.08); color: var(--text); }
.legal-table td { color: var(--muted-strong); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-contact { padding: 22px; border: 1px solid var(--border); background: rgba(255,255,255,0.025); }
.legal-contact p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-nav strong { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .legal-main { padding-top: 58px; padding-bottom: 84px; }
  .legal-hero { margin-bottom: 32px; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-nav strong { grid-column: auto; }
  .legal-summary { padding: 20px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table tr { border-bottom: 1px solid var(--border); }
  .legal-table tr:last-child { border-bottom: 0; }
  .legal-table td { border-bottom: 0; padding: 9px 13px; }
  .legal-table td:first-child { padding-top: 14px; color: var(--text); font-weight: 750; }
  .legal-table td:last-child { padding-bottom: 14px; }
}

/* ─────────────────────────────────────────────
   Pricing page
   ───────────────────────────────────────────── */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.pricing-main { padding-top: 82px; padding-bottom: 120px; }
.pricing-hero { max-width: 850px; margin: 0 auto 58px; text-align: center; }
.pricing-hero .eyebrow { justify-content: center; }
.pricing-hero h1 { margin: 18px 0 22px; font-family: "Quantum", Arial, sans-serif; font-size: clamp(34px, 5vw, 62px); line-height: 1.12; letter-spacing: 0; font-weight: 400; text-transform: uppercase; color: #fff; -webkit-text-fill-color: #fff; }
.pricing-hero > p { max-width: 720px; margin: 0 auto; color: var(--muted-strong); font-size: 16px; line-height: 1.75; }
.pricing-highlights { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.pricing-page-plans { margin-bottom: 108px; }
.pricing-page-grid { width: min(1180px, 100%); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pricing-page-grid .price-card { padding: 38px; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); border-radius: 0; background: linear-gradient(145deg, rgba(28,23,38,0.94), rgba(13,11,18,0.94)); }
.pricing-page-grid .premium-card { background: radial-gradient(circle at 100% 0, rgba(111,61,205,0.2), transparent 42%), linear-gradient(145deg, rgba(28,23,38,0.96), rgba(13,11,18,0.96)); }
.comparison-section { margin-bottom: 92px; }
.comparison-section .section-heading { margin-left: auto; margin-right: auto; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--border); background: rgba(16,13,22,0.86); }
.comparison-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 17px 20px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; }
.comparison-table thead th { background: rgba(148,96,255,0.09); color: var(--text); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.comparison-table thead th:not(:first-child), .comparison-table td { text-align: center; }
.comparison-table tbody th { color: var(--muted-strong); font-weight: 650; }
.comparison-table tbody td { color: var(--muted); }
.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td { border-bottom: 0; }
.included { color: var(--success); font-weight: 700; }
.not-included { color: var(--muted-soft); }
.coming-soon { color: var(--primary-light); font-weight: 700; }
.feature-status { display: inline-block; margin-left: 6px; color: var(--primary-light); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-safety { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 100px; padding: 32px 36px; border: 1px solid var(--border-strong); background: radial-gradient(circle at 0 50%, rgba(128,69,233,0.2), transparent 38%), rgba(23,18,31,0.9); }
.plan-safety-mark { width: 70px; height: 61px; display: grid; place-items: center; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: linear-gradient(145deg, #6c37c8, #344f9f); color: white; font-family: "Quantum", Arial, sans-serif; font-size: 24px; }
.plan-safety h2 { margin: 7px 0 8px; font-size: 26px; letter-spacing: -0.025em; }
.plan-safety p { margin: 0; color: var(--muted); font-size: 13px; }
.pricing-faq { margin-bottom: 0; padding-bottom: 0; }

@media (max-width: 720px) {
  .pricing-main { padding-top: 58px; padding-bottom: 84px; }
  .pricing-hero { margin-bottom: 42px; }
  .pricing-hero h1 { font-size: clamp(25px, 7.2vw, 36px); }
  .pricing-highlights { display: grid; justify-content: start; text-align: left; }
  .pricing-page-plans { margin-bottom: 78px; }
  .pricing-page-grid { grid-template-columns: 1fr; }
  .pricing-page-grid .free-card { grid-column: auto; }
  .pricing-page-grid .price-card { padding: 30px 26px; }
  .comparison-section { margin-bottom: 70px; }
  .plan-safety { grid-template-columns: 1fr; padding: 28px; margin-bottom: 76px; }
  .plan-safety-mark { width: 60px; height: 52px; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .pricing-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-page-grid .free-card { grid-column: 1 / -1; }
}

/* MCP Companion */
.mcp-home-section { padding-top: 26px; padding-bottom: 98px; }
.mcp-home-card { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; padding: 58px; border: 1px solid var(--border-strong); background: radial-gradient(circle at 0 0, rgba(117,63,213,0.24), transparent 42%), linear-gradient(145deg, rgba(28,22,39,0.96), rgba(12,10,17,0.96)); box-shadow: var(--shadow); }
.mcp-home-copy h2 { max-width: 680px; margin: 10px 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.045em; }
.mcp-home-copy p { max-width: 680px; margin: 0; color: var(--muted-strong); font-size: 15px; line-height: 1.75; }
.mcp-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.mcp-brief-flow { display: grid; gap: 12px; }
.mcp-flow-step { display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; padding: 18px 20px; border: 1px solid var(--border); background: rgba(8,7,12,0.5); }
.mcp-flow-step small { grid-row: 1 / 3; color: var(--primary-light); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.mcp-flow-step strong { color: var(--text); font-size: 14px; }
.mcp-flow-step span { color: var(--muted); font-size: 12px; line-height: 1.55; }

.mcp-main { padding-top: 82px; padding-bottom: 120px; }
.mcp-detail-hero { max-width: 980px; margin: 0 auto 100px; text-align: center; }
.mcp-detail-hero .eyebrow { justify-content: center; }
.mcp-detail-hero h1 { margin: 18px 0 24px; font-family: "Quantum", Arial, sans-serif; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.08; font-weight: 400; text-transform: uppercase; color: #fff; -webkit-text-fill-color: #fff; }
.mcp-detail-hero > p { max-width: 760px; margin: 0 auto; color: var(--muted-strong); font-size: 17px; line-height: 1.75; }
.mcp-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.mcp-status-note { max-width: 720px; margin: 20px auto 0; padding: 12px 16px; border: 1px solid rgba(196,168,255,0.24); background: rgba(148,96,255,0.08); color: var(--muted); font-size: 12px; }
.mcp-section { margin-bottom: 104px; }
.mcp-intro-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.mcp-intro-grid h2, .mcp-section-heading h2 { margin: 10px 0 16px; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.04em; }
.mcp-intro-copy { display: grid; gap: 18px; color: var(--muted-strong); font-size: 15px; line-height: 1.75; }
.mcp-intro-copy p { margin: 0; }
.mcp-plain-card { padding: 24px; border-left: 3px solid var(--primary); background: rgba(148,96,255,0.08); color: var(--text); font-size: 16px; }
.mcp-section-heading { max-width: 760px; margin-bottom: 34px; }
.mcp-section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.mcp-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mcp-capability-card { min-height: 210px; padding: 30px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(27,23,36,0.86), rgba(15,13,20,0.86)); }
.mcp-capability-card small { color: var(--primary-light); font-size: 11px; font-weight: 800; letter-spacing: 0.13em; }
.mcp-capability-card h3 { margin: 14px 0 10px; font-size: 23px; }
.mcp-capability-card p { margin: 0; color: var(--muted); font-size: 13px; }
.mcp-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mcp-process-step { padding: 24px; border-top: 2px solid var(--primary); background: rgba(21,17,29,0.86); }
.mcp-process-step span { color: var(--primary-light); font-family: "Quantum", Arial, sans-serif; font-size: 20px; }
.mcp-process-step h3 { margin: 16px 0 9px; font-size: 17px; }
.mcp-process-step p { margin: 0; color: var(--muted); font-size: 12px; }
.mcp-control-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 42px; padding: 42px; border: 1px solid var(--border-strong); background: radial-gradient(circle at 100% 0, rgba(74,88,191,0.2), transparent 42%), rgba(20,16,28,0.92); }
.mcp-control-grid h2 { margin: 10px 0 16px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; }
.mcp-control-grid p { margin: 0; color: var(--muted-strong); font-size: 14px; }
.mcp-rule-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.mcp-rule-list li { padding: 13px 15px; border: 1px solid var(--border); background: rgba(8,7,12,0.45); color: var(--muted-strong); font-size: 12px; }
.mcp-limit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mcp-limit-card { padding: 30px; border: 1px solid var(--border); background: rgba(18,15,24,0.82); }
.mcp-limit-card h3 { margin: 0 0 12px; font-size: 21px; }
.mcp-limit-card p { margin: 0; color: var(--muted); font-size: 13px; }
.mcp-detail-faq { margin-bottom: 100px; }

@media (max-width: 980px) {
  .mcp-home-card, .mcp-intro-grid, .mcp-control-grid { grid-template-columns: 1fr; gap: 38px; }
  .mcp-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .mcp-home-section { padding-bottom: 72px; }
  .mcp-home-card { padding: 30px 24px; }
  .mcp-home-copy h2 { font-size: clamp(30px, 10vw, 42px); }
  .mcp-home-actions { align-items: flex-start; flex-direction: column; }
  .mcp-main { padding-top: 58px; padding-bottom: 84px; }
  .mcp-detail-hero { margin-bottom: 74px; }
  .mcp-detail-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .mcp-detail-hero > p { font-size: 15px; }
  .mcp-section { margin-bottom: 76px; }
  .mcp-capability-grid, .mcp-process-grid, .mcp-limit-grid { grid-template-columns: 1fr; }
  .mcp-control-grid { padding: 28px; }
}

/* ── bolder pass: middle-third peaks at small sizes ── */
@media (max-width: 720px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .trust-strip span { padding: 20px 14px; }
  .trust-strip span:nth-child(3)::before, .trust-strip span:nth-child(2)::before { height: 26px; margin-top: -13px; }
  .feature-peak, .privacy-card { padding: 30px 26px; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
  .feature-peak { gap: 28px; }
  .final-cta--peak { padding: 34px 28px; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
}

