:root {
  color-scheme: dark;
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --bg-3: #16161f;
  --border: #232333;
  --border-strong: #313146;
  --text: #f5f5f7;
  --text-muted: #9b9bad;
  --text-dim: #6c6c80;
  --accent: #c9ff3b;
  --accent-2: #a4e600;
  --accent-ink: #0a0a0f;
  --accent-text: #c9ff3b;
  --grid-line: rgba(255, 255, 255, 0.04);
  --aurora-1: #c9ff3b;
  --aurora-2: #6dffd0;
  --aurora-3: #b0ff52;
  --aurora-opacity: 0.45;
  --aurora-opacity-3: 0.30;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --danger: #ff6b6b;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f7f7fb;
  --bg-3: #eef0f4;
  --border: #e3e3eb;
  --border-strong: #cfcfd9;
  --text: #0a0a14;
  --text-muted: #4f5060;
  --text-dim: #898996;
  --accent: #c9ff3b;
  --accent-2: #b0ee20;
  --accent-ink: #0a0a0f;
  --accent-text: #4d7400;
  --grid-line: rgba(0, 0, 0, 0.05);
  --aurora-opacity: 0.22;
  --aurora-opacity-3: 0.14;
  --shadow: 0 20px 50px -20px rgba(15, 20, 40, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-text);
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 38rem;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head p {
  font-size: 1.1rem;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 70px;
}

/* Brand stays left; nav-links sit right of brand with breathing room.
   margin-right:auto on the <nav> pushes the right cluster (cta, theme, toggle) to the far right. */
.nav-inner > nav { margin-right: auto; }

@media (min-width: 880px) {
  .nav-inner > nav { margin-left: clamp(1.5rem, 4vw, 3rem); }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--mono);
}

.nav-links {
  display: none;
  gap: 1.6rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem var(--gutter) 1.5rem;
}

.nav.is-open .nav-mobile {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-mobile a[aria-current="page"] {
  color: var(--text);
}

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

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

.btn-primary:hover {
  background: var(--accent-2);
}

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

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.05rem 1.6rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

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

.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 255, 59, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  z-index: -1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 255, 59, 0.18);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  color: var(--accent-text);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

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

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}

.stat {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.stat-value .unit {
  color: var(--accent-text);
  font-weight: 700;
}

.stat-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.stat-source {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(201, 255, 59, 0.12);
  color: var(--accent-text);
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 920px) {
  .pricing { grid-template-columns: repeat(3, 1fr); }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  position: relative;
}

.plan.is-featured {
  border-color: var(--accent-text);
  background: linear-gradient(180deg, rgba(201, 255, 59, 0.05), var(--bg-2) 50%);
  box-shadow: var(--shadow);
}

.plan-tag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-blurb {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  min-height: 2.6em;
}

.plan-price {
  display: baseline;
  margin-bottom: 0.25rem;
}

.plan-price .amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price .term {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-left: 0.4rem;
}

.plan-care {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0 0 1.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.plan-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background-color: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.plan-foot {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.75rem;
}

/* ---------- Add-ons ---------- */

.addons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .addons { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .addons { grid-template-columns: repeat(3, 1fr); }
}

.addon {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
}

.addon-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.addon-blurb {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.2rem;
  font-weight: 400;
}

.addon-price {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ---------- Work / case studies ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

.case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.case:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.case-cover {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.case-cover svg {
  width: 60%;
  max-width: 240px;
  opacity: 0.85;
}

/* Linked case card (homepage selected-work showcase) */
.case-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.case-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent-text);
}
.case-link h3 { transition: color 0.2s ease; }
.case-link:hover h3 { color: var(--accent-text); }

/* Full-bleed screenshot covers (real site captures) */
.case-cover.is-shot { display: block; }
.case-cover.is-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.case-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.case-meta span + span::before {
  content: "·";
  margin-right: 0.6rem;
  color: var(--text-dim);
}

.case h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.case p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.case-result strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.case-result span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- About / Team ---------- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .about-hero { grid-template-columns: 1.2fr 1fr; }
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 30% 10%, rgba(201, 255, 59, 0.25), transparent 55%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.about-photo svg {
  width: 60%;
  opacity: 0.85;
}

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .values { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 880px) {
  .contact { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.contact-list a {
  color: var(--text);
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--accent-text);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(201, 255, 59, 0.12);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

/* ---------- Form ---------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field .req {
  color: var(--accent-text);
  margin-left: 0.2rem;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.97rem;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-text);
  outline: none;
  background: var(--bg-2);
}

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

.field-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- Careers ---------- */

.role-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
  transition: border-color 0.18s ease;
}

.role:hover {
  border-color: var(--border-strong);
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.role-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.role h3 {
  font-size: 1.15rem;
  margin: 0;
}

.role .btn {
  align-self: center;
}

.perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .perks { grid-template-columns: repeat(3, 1fr); }
}

.perk {
  padding: 1.4rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
}

.perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(201, 255, 59, 0.12);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.perk-icon svg { width: 18px; height: 18px; }

.perk h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.perk p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */

.cta {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(201, 255, 59, 0.18), transparent 60%);
  filter: blur(40px);
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta p {
  margin-bottom: 1.75rem;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

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

.footer {
  position: relative;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(127, 127, 127, 0.025));
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(180px, 30%, 360px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-text), transparent);
  opacity: 0.5;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 880px) {
  .footer-top { grid-template-columns: 1.1fr 1.4fr; align-items: start; }
}

.footer-brand .brand { font-size: 1.15rem; }

.footer-tagline {
  margin: 1rem 0 1.25rem;
  max-width: 22rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s, transform 0.15s, background 0.15s;
}

.footer-social a:hover {
  color: var(--accent-text);
  border-color: var(--border-strong);
  background: var(--bg-2);
  transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

.footer h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin: 0 0 1.1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.12s ease;
}

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

/* Contact column with inline icons */
.footer-contact ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-contact ul li svg {
  width: 14px;
  height: 14px;
  margin-top: 0.2rem;
  color: var(--accent-text);
  flex-shrink: 0;
}

.footer-contact ul li a { color: var(--text-muted); }
.footer-contact ul li a:hover { color: var(--accent-text); }

.footer-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-text);
}

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

.footer-cta::after {
  content: "→";
  transition: transform 0.15s ease;
}

.footer-cta:hover::after { transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

.page-header {
  padding-block: clamp(4rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 255, 59, 0.12), transparent 65%);
  filter: blur(50px);
  z-index: -1;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 38rem;
}

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

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-text);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

/* ---------- Utilities ---------- */

.center { text-align: center; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.accent { color: var(--accent-text); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .aurora-blob { animation: none !important; }
  .marquee-track { animation: none !important; }
  .grad { animation: none !important; }
  .cursor { animation: none !important; }
}

/* ============================================================
   Pro hero — aurora + code editor + Lighthouse gauges
   ============================================================ */

.hero-pro {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -2;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: var(--aurora-opacity);
  will-change: transform;
}

.aurora-blob.a1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--aurora-1) 0%, transparent 65%);
  top: -28%; left: -10%;
  animation: drift1 22s ease-in-out infinite;
}
.aurora-blob.a2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--aurora-2) 0%, transparent 65%);
  top: -20%; right: -18%;
  animation: drift2 28s ease-in-out infinite;
}
.aurora-blob.a3 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--aurora-3) 0%, transparent 65%);
  top: 35%; left: 30%;
  opacity: var(--aurora-opacity-3);
  animation: drift3 24s ease-in-out infinite;
}

@keyframes drift1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(60px, 40px) scale(1.05); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(-80px, 60px) scale(0.95); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0, 0); }
  50%     { transform: translate(40px, -50px); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-pro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1000px) {
  .hero-pro-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
}

.hero-pro-text h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-bottom: 1.4rem;
}

.grad {
  background: linear-gradient(120deg, #c9ff3b 0%, #6dffd0 35%, #c9ff3b 70%, #b0ff52 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.kbd-hint {
  display: inline-flex;
  align-items: center;
  margin-left: .25rem;
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: .85em;
}

.kbd-hint kbd {
  font: inherit;
}

/* Code card */

.hero-pro-code {
  position: relative;
}

.code-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.95), rgba(13, 13, 20, 0.96));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 60px -20px rgba(201, 255, 59, 0.18),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
  transition: transform 0.4s ease;
}

.code-card:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

@media (max-width: 800px) {
  .code-card { transform: none; }
}

.code-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1rem;
  background: rgba(0,0,0,0.32);
  border-bottom: 1px solid var(--border);
  font-size: .76rem;
  color: var(--text-dim);
}

.code-bar .cdot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.code-bar .cdot.r { background: #ff5f57; }
.code-bar .cdot.y { background: #febc2e; }
.code-bar .cdot.g { background: #28c840; }

.code-tab {
  margin-left: .65rem;
  padding: .25rem .65rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--mono);
}

.code-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.code-body {
  margin: 0;
  padding: 1.25rem 1.4rem;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.7;
  color: #d8d8e0;
  overflow-x: auto;
  white-space: pre;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.15));
}

.code-body .tag  { color: #ff7eb6; }
.code-body .attr { color: #79c0ff; }
.code-body .str  { color: #c9ff3b; }
.code-body .com  { color: #6c6c80; font-style: italic; }
.code-body .punc { color: #9b9bad; }

.code-body .cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1.05s steps(2) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.code-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--text-muted);
}

.code-status .status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
  50%     { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.06); }
}

/* Lighthouse gauges */

.lighthouse-strip {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.strip-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  max-width: 30rem;
}

.gauge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
}

.gauge-svg {
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 6px rgba(201, 255, 59, 0.25));
}

.gauge-track { stroke: var(--accent-text); opacity: 0.18; }
.gauge-fill  {
  stroke: var(--accent-text);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.6s cubic-bezier(.22, 1, .36, 1);
}

.gauge-num {
  position: absolute;
  top: 19px;
  left: 0; right: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gauge-label {
  font-size: .68rem;
  color: var(--text-dim);
  font-weight: 500;
}

@media (max-width: 380px) {
  .gauges { gap: .5rem; }
  .gauge-svg { width: 48px; height: 48px; }
  .gauge-num { top: 15px; font-size: .9rem; }
  .gauge-label { font-size: .62rem; }
}

/* ============================================================
   Marquee
   ============================================================ */

.marquee {
  position: relative;
  border-block: 1px solid var(--border);
  padding: 1.1rem 0;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--mono);
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: max-content;
}

.marquee-track .acc { color: var(--accent-text); opacity: 0.6; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   Compare bar chart
   ============================================================ */

.compare {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-row {
  display: grid;
  grid-template-columns: 9rem 1fr 4rem;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
}

@media (max-width: 600px) {
  .compare-row {
    grid-template-columns: 6.5rem 1fr 3rem;
    gap: .65rem;
    font-size: .85rem;
  }
}

.compare-label {
  color: var(--text);
  font-weight: 500;
}

.compare-bar {
  height: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.compare-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #404054, #7a7a92);
  transition: width 1.6s cubic-bezier(.22, 1, .36, 1);
}

.compare-fill.is-us {
  background: linear-gradient(90deg, var(--accent), #6dffd0);
  box-shadow: 0 0 14px rgba(201, 255, 59, 0.4);
}

.compare-time {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .85rem;
  text-align: right;
}

.compare-row.is-us .compare-label { color: var(--accent-text); font-weight: 700; }
.compare-row.is-us .compare-time  { color: var(--accent-text); font-weight: 700; }

/* ============================================================
   Bento
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(260px, auto);
  }
  .bento-tile.span-2 { grid-column: span 2; }
}

.bento-tile {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
  isolation: isolate;
}

.bento-tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-head h3 {
  font-size: 1.2rem;
  margin-bottom: .35rem;
  letter-spacing: -0.015em;
}

.bento-head p {
  margin: 0;
  font-size: .92rem;
}

.bento-art {
  margin-top: auto;
  width: 100%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.bento-art svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* ============================================================
   Pointer glow (subtle premium card highlight)
   ============================================================ */

.glow {
  position: relative;
}

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 50%),
    rgba(201, 255, 59, 0.08),
    transparent 40%
  );
  z-index: 0;
}

.glow:hover::before { opacity: 1; }

.glow > * { position: relative; z-index: 1; }

/* ============================================================
   Scroll reveal
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1),
              transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   Theme toggle button
   ============================================================ */

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--accent-text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .t-sun  { display: none; }
.theme-toggle .t-moon { display: block; }
[data-theme="light"] .theme-toggle .t-sun  { display: block; }
[data-theme="light"] .theme-toggle .t-moon { display: none; }

/* Theme toggle and nav-cta sit naturally in the right cluster (handled by gap on .nav-inner). */

/* ============================================================
   Fix: mobile nav drawer button text colour
   (.nav-mobile a has higher specificity than .btn-primary)
   ============================================================ */

.nav-mobile a.btn          { color: inherit; font-weight: 600; padding: 0.85rem 1.3rem; }
.nav-mobile a.btn-primary  { color: var(--accent-ink); }
.nav-mobile a.btn-ghost    { color: var(--text); }

/* ============================================================
   Light-mode nuance
   ============================================================ */

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .grad {
  background: linear-gradient(120deg, #4d7400 0%, #007a66 35%, #4d7400 70%, #3e5d00 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

[data-theme="light"] .gauge-svg {
  filter: none;
}

[data-theme="light"] .stat::after,
[data-theme="light"] .cta::before {
  opacity: 0.35;
}

[data-theme="light"] .compare-fill {
  background: linear-gradient(90deg, #d0d0db, #a8a8b8);
}

[data-theme="light"] .compare-fill.is-us {
  background: linear-gradient(90deg, var(--accent-text), #4d7400);
  box-shadow: 0 0 14px rgba(77, 116, 0, 0.25);
}

[data-theme="light"] .marquee {
  background: rgba(0, 0, 0, 0.015);
}

[data-theme="light"] .glow::before {
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 50%),
    rgba(77, 116, 0, 0.07),
    transparent 40%
  );
}

[data-theme="light"] .hero-pill {
  background: var(--bg-2);
}

[data-theme="light"] .case-cover {
  filter: brightness(1.05);
}

/* The faux IDE stays dark in both themes — code editors are conventionally dark. */
.code-card {
  color-scheme: dark;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.95), rgba(13, 13, 20, 0.96)) !important;
  border-color: #232333 !important;
}
.code-card .code-bar    { background: rgba(0,0,0,0.32) !important; color: #9b9bad !important; border-color: #232333 !important; }
.code-card .code-tab    { background: #11111a !important; border-color: #232333 !important; color: #9b9bad !important; }
.code-card .code-meta   { color: #6c6c80 !important; }
.code-card .code-status { color: #9b9bad !important; border-color: #232333 !important; background: rgba(0,0,0,0.2) !important; }
.code-card .code-status .accent { color: #c9ff3b !important; }
.code-card .code-status .dim    { color: #6c6c80 !important; }
.code-card .code-body { color: #d8d8e0 !important; }
.code-card .code-body .cursor { background: #c9ff3b !important; }

/* ============================================================
   Trust strip in hero (small numbers below CTAs)
   ============================================================ */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  margin-top: 2rem;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.trust-strip strong {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.trust-strip .trust-stars {
  color: var(--accent-text);
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* ============================================================
   "Live this week" recent ships ticker
   ============================================================ */

.ships {
  margin: 1rem auto 0;
  max-width: var(--container);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.ships-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.ships-label .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

.ships-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.ships-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ships-list li::before {
  content: "·";
  color: var(--text-dim);
  margin-right: 0.4rem;
}

.ships-list li:first-child::before { content: ""; margin: 0; }

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.testimonial:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.t-stars {
  margin: 0;
  font-size: 1rem;
  color: var(--accent-text);
  letter-spacing: 0.15em;
  font-weight: 700;
}

.t-quote {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
  flex-grow: 1;
}

.t-attr {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-ink);
  background: var(--avatar-bg, #c9ff3b);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.t-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-grow: 1;
  min-width: 0;
}

.t-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.t-role {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.t-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.t-link:hover {
  color: var(--accent-text);
  border-color: var(--border-strong);
}

.t-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   Case study testimonial quote
   ============================================================ */

.case-quote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent-text);
  background: rgba(127, 127, 127, 0.04);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  color: var(--text);
  font-style: italic;
}

.case-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ============================================================
   Team grid (about page)
   ============================================================ */

.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .team { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .team { grid-template-columns: repeat(3, 1fr); }
}

.member {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.18s, transform 0.18s;
}

.member:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.member-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--avatar-from, #c9ff3b), var(--avatar-to, #6dffd0));
  letter-spacing: -0.02em;
}

.member-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.015em;
}

.member-role {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.member-bio {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.member-links {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.member-links a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s;
}

.member-links a:hover {
  color: var(--accent-text);
  border-color: var(--border-strong);
}

.member-links svg { width: 14px; height: 14px; }

/* ============================================================
   Process timeline (process page)
   ============================================================ */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 56rem;
  margin: 0 auto;
  padding-left: 0.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 19px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}

.tl-step {
  position: relative;
  padding: 0 0 2.5rem 3rem;
}

.tl-step:last-child { padding-bottom: 0; }

.tl-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-text);
  display: grid;
  place-items: center;
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--mono);
  z-index: 1;
}

.tl-day {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.tl-step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}

.tl-step p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.tl-detail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tl-detail li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.tl-detail li::before {
  content: "→";
  color: var(--accent-text);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   Guarantee policy block
   ============================================================ */

.policy {
  max-width: 56rem;
  margin: 0 auto;
}

.policy h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.policy h2:first-of-type { margin-top: 0; }

.policy h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.policy p,
.policy li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.policy ul, .policy ol {
  padding-left: 1.4rem;
}

.policy ul li, .policy ol li {
  margin-bottom: 0.5rem;
}

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

.policy-callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent-text);
  background: rgba(127, 127, 127, 0.05);
  border-radius: 0 8px 8px 0;
}

.policy-callout p { margin: 0; color: var(--text); font-weight: 500; }

/* ============================================================
   Footer legitimacy block (compact one-line UK legal info)
   ============================================================ */

.footer-legal {
  margin-top: 1rem;
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.footer-legal strong { color: var(--text-muted); font-weight: 600; }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.12s ease;
}

.footer-legal-links a:hover { color: var(--accent-text); }

.footer-legal-links .sep { color: var(--text-dim); opacity: 0.5; }



/* Contact action card (replaces the old enquiry form) */
.contact-cta {
  align-self: start;
  border: 1px solid var(--border);
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-cta h4 { font-size: 1.3rem; margin: 0 0 .5rem; }
.contact-cta > p { color: var(--text-dim); margin: 0 0 1.5rem; }
.contact-cta .btn-block + .btn-block { margin-top: .75rem; }
.contact-cta-note { margin: 1.5rem 0 0; font-size: .9rem; color: var(--text-dim); }

/* Symmetric, centred footer on tablet & mobile */
@media (max-width: 880px) {
  .footer-top { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-tagline { margin-inline: auto; }
  .footer-social { justify-content: center; }
  .footer-cols { max-width: 540px; margin-inline: auto; }
  .footer ul { align-items: center; }
  .footer-contact { display: flex; flex-direction: column; align-items: center; }
  .footer-contact ul li { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* Legal pages (privacy / terms) */
.legal { max-width: 48rem; margin-inline: auto; }
.legal h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); margin: 2.4rem 0 0.6rem; }
.legal h2:first-of-type { margin-top: 0.5rem; }
.legal p { color: var(--text-muted); }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { color: var(--text-muted); margin-bottom: 0.4rem; }
.legal a { color: var(--accent-text); }
.legal a:hover { text-decoration: underline; }
.legal .legal-updated { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 1.5rem; }

/* ---------- Launch discount / promo ---------- */
.hero-pill-offer { border-color: rgba(201,255,59,0.45); background: rgba(201,255,59,0.06); transition: border-color .15s, background .15s; }
.hero-pill-offer:hover { border-color: rgba(201,255,59,0.7); background: rgba(201,255,59,0.10); }
.hero-pill-offer strong { color: var(--accent-text); font-weight: 700; }

.plan { position: relative; }
.save-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  z-index: 2;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(201,255,59,0.6);
}
.plan-price .was {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 1.15rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  max-width: 980px;
  margin: 0 auto 2.5rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(201,255,59,0.35);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(201,255,59,0.10) 0%, rgba(109,255,208,0.05) 100%);
}
.promo-left { display: flex; align-items: center; gap: 1rem; }
.promo-flame {
  flex-shrink: 0;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 0.5rem 0.7rem; border-radius: 10px;
}
.promo-left strong { display: block; color: var(--text); font-size: 1rem; line-height: 1.3; }
.promo-sub { display: block; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.15rem; }
.promo-right { margin-left: auto; text-align: right; }
.promo-count { display: flex; gap: 0.4rem; justify-content: flex-end; }
.cd-unit {
  display: inline-flex; align-items: baseline; gap: 1px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.28rem 0.45rem;
  font-size: 0.72rem; color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.cd-unit b { color: var(--text); font-family: var(--mono); font-size: 0.95rem; font-weight: 600; }
.promo-ends { display: block; margin-top: 0.45rem; font-size: 0.8rem; color: var(--text-dim); }
.promo.is-expired { opacity: 0.7; }
@media (max-width: 620px) {
  .promo { flex-direction: column; align-items: flex-start; }
  .promo-right { margin-left: 0; text-align: left; }
  .promo-count { justify-content: flex-start; }
}

/* New logo lockup (replaces the square brand-mark) — theme-aware */
.brand-logo { height: 26px; width: auto; display: block; color: var(--text); }
.footer-brand .brand-logo { height: 28px; }
.brand-logo .logo-accent { fill: var(--accent); }
[data-theme="light"] .brand-logo .logo-accent { fill: var(--accent-text); }
