/* Code & Aura — AEO landing page
   Static, dependency-free, no external fonts. */

:root {
  --ink: #07070c;
  --ink-2: #0b0b13;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f3ed;
  --muted: #aaa8b6;
  --muted-2: #7d7b8a;
  --blue: #79a9ff;
  --violet: #b795ff;
  --green: #7ee2b8;
  --amber: #f1c47a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(121, 169, 255, 0.15), transparent 62%),
    radial-gradient(760px 480px at 6% 10%, rgba(183, 149, 255, 0.11), transparent 60%),
    radial-gradient(1000px 700px at 50% 105%, rgba(126, 226, 184, 0.06), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 12%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 12%, #000 25%, transparent 78%);
}

::selection {
  background: rgba(121, 169, 255, 0.35);
  color: #fff;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.05rem, 4.4vw, 3.5rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.28rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.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;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 12, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 7, 12, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-dot {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.93rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--text);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #0a0a12;
}

.btn-blue:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--panel);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
  width: 100%;
}

.btn-outline:hover {
  background: var(--panel);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn .arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translateX(2px);
}

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

.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(126, 226, 184, 0.13);
}

.hero h1 {
  font-size: clamp(3.1rem, 7.4vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}

.grad {
  background: linear-gradient(100deg, var(--blue) 4%, var(--violet) 52%, var(--green) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: #c9c7d2;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* AI answer card */

.ai-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(9, 9, 16, 0.86);
  box-shadow: var(--shadow);
}

.ai-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(121, 169, 255, 0.55), rgba(183, 149, 255, 0.18), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-dots {
  display: inline-flex;
  gap: 5px;
}

.ai-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.ai-query {
  padding: 18px 2px 6px;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--blue);
}

.ai-query::before {
  content: "> ";
  color: var(--muted-2);
}

.ai-answer {
  padding: 10px 2px 16px;
  color: #d8d6e0;
  font-size: 0.97rem;
}

.ai-answer strong {
  color: #fff;
  font-weight: 600;
}

.ai-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(126, 226, 184, 0.28);
  border-radius: 999px;
  background: rgba(126, 226, 184, 0.09);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.citations {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.72rem;
}

.cite::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.cite.is-you {
  border-color: rgba(126, 226, 184, 0.35);
  color: var(--green);
  background: rgba(126, 226, 184, 0.08);
}

.cite.is-you::before {
  background: var(--green);
}

.ai-disclaimer {
  margin: 14px 2px 0;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.query-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.71rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip:hover,
.chip[aria-pressed="true"] {
  border-color: rgba(121, 169, 255, 0.55);
  background: rgba(121, 169, 255, 0.12);
  color: var(--text);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--line);
}

section[id] {
  scroll-margin-top: 92px;
}

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

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

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 66ch;
}

.section-head.center p {
  margin-inline: auto;
}

/* Shift cards */

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

.shift-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.shift-card .num {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.shift-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.shift-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.shift-quote {
  margin-top: 16px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(121, 169, 255, 0.05);
  color: #d4d2dc;
  font-size: 1rem;
}

.shift-quote strong {
  color: #fff;
}

/* Definition */

.definition {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.definition h2 {
  margin-bottom: 18px;
}

.definition .lede {
  color: #d3d1db;
  font-size: 1.1rem;
}

.definition .lede strong {
  color: #fff;
}

.definition-note {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 226, 184, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(126, 226, 184, 0.05);
  color: #bfe9d8;
  font-size: 0.88rem;
}

/* Comparison table */

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

.table-wrap-spaced {
  margin-top: 26px;
}

.pricing-note-left {
  text-align: left;
  margin-top: 14px;
}

.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.updated {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer-bottom-tight {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.mt-12 {
  margin-top: 12px;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.compare th,
.compare td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.compare tbody th {
  width: 22%;
  color: var(--text);
  font-weight: 600;
}

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

.compare td:first-of-type {
  color: #d4d2dc;
}

/* Service cards */

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

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(121, 169, 255, 0.08);
  color: var(--blue);
}

.card .icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.card .card-list {
  margin: 6px 0 22px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card .card-list li {
  display: flex;
  gap: 9px;
}

.card .card-list li::before {
  content: "✓";
  flex: none;
  color: var(--green);
  font-size: 0.85rem;
  line-height: 1.6;
}

.card .card-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.card .card-foot a {
  color: var(--text);
  font-weight: 600;
}

.card .card-foot a:hover {
  color: var(--blue);
}

.card-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card.featured {
  border-color: rgba(121, 169, 255, 0.44);
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(121, 169, 255, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.card-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.86rem;
}

.card-note strong {
  color: var(--text);
}

/* Checklist */

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

.check-item {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.check-item .tick {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid rgba(126, 226, 184, 0.32);
  border-radius: 50%;
  background: rgba(126, 226, 184, 0.08);
  color: var(--green);
  font-size: 0.7rem;
}

.check-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.check-item span.desc {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Signals */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.signal {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.signal .sig-num {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.signal h3 {
  margin: 12px 0 6px;
  font-size: 0.98rem;
}

.signal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

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

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 7px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.step::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -9px;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

.step:last-child::after {
  display: none;
}

/* Pricing */

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.price-card.featured {
  border-color: rgba(121, 169, 255, 0.5);
  background:
    radial-gradient(520px 200px at 50% 0%, rgba(121, 169, 255, 0.14), transparent 72%),
    var(--panel);
}

.price-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.price-label h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pill {
  padding: 4px 8px;
  border: 1px solid rgba(121, 169, 255, 0.32);
  border-radius: 999px;
  background: rgba(121, 169, 255, 0.1);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price small {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0;
}

.price-sub {
  margin-bottom: 20px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.price-list {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-list li {
  display: flex;
  gap: 9px;
}

.price-list li::before {
  content: "✓";
  flex: none;
  color: var(--green);
  font-size: 0.82rem;
  line-height: 1.7;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.82rem;
  text-align: center;
}

/* FAQ */

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--muted-2);
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq[open] summary::after {
  transform: rotate(45deg);
  color: var(--blue);
}

.faq .faq-body {
  max-width: 82ch;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(121, 169, 255, 0.5);
  text-underline-offset: 4px;
}

.contact-email:hover {
  color: var(--blue);
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-points li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-points li::before {
  content: "→";
  color: var(--blue);
}

.form-card {
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(183, 149, 255, 0.08), transparent 70%),
    var(--panel);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d6d4de;
}

.field label .req {
  color: var(--blue);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f6d7c;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(0, 0, 0, 0.34);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field select option {
  background: var(--ink-2);
  color: var(--text);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.form-foot p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-foot a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status.ok {
  border-color: rgba(126, 226, 184, 0.32);
  background: rgba(126, 226, 184, 0.07);
  color: #c8f0e1;
}

.form-status.err {
  border-color: rgba(255, 141, 141, 0.35);
  background: rgba(255, 141, 141, 0.07);
  color: #ffd0d0;
}

.form-status[hidden] {
  display: none;
}

/* Footer */

.site-footer {
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.78rem;
}

.footer-bottom .dot {
  color: var(--blue);
}

/* Simple page (privacy / 404) */

.page-shell {
  min-height: 70vh;
  padding: clamp(70px, 10vw, 120px) 0;
}

.page-shell h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.prose {
  max-width: 72ch;
  color: var(--muted);
}

.prose h2 {
  margin-top: 34px;
  font-family: var(--sans);
  font-size: 1.3rem;
  color: var(--text);
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  list-style: disc;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reveal animation — the no-JS state stays visible. */

.reveal {
  opacity: 1;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .chip {
    transition: none;
  }
}

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

@media (max-width: 1040px) {
  .signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .definition,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .ai-card {
    max-width: 620px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 12, 0.98);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .shift-grid,
  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .shift-grid {
    gap: 12px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .grid-2,
  .check-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .step::after {
    display: none;
  }

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

  .hero-note {
    gap: 6px 14px;
  }

  .compare th,
  .compare td {
    padding: 13px 14px;
  }

  .compare tbody th {
    width: 30%;
  }

  .form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-foot .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }
}
