/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px) saturate(1.3);
  background: rgba(6, 6, 14, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}

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

.brand-mark {
  color: var(--fire);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.desktop-nav a,
.footer-nav a,
.text-link {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.desktop-nav a {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fire);
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.desktop-nav a:hover,
.footer-nav a:hover,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ledger-pill {
  border: 1px solid rgba(91, 196, 232, 0.3);
  background: rgba(91, 196, 232, 0.08);
  color: var(--crystal);
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ledger-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91, 196, 232, 0.12), transparent);
  transition: left 0.4s ease;
}

.ledger-pill:hover::after {
  left: 160%;
}

.ledger-pill:hover {
  border-color: rgba(91, 196, 232, 0.6);
  background: rgba(91, 196, 232, 0.14);
  box-shadow: 0 0 20px rgba(91, 196, 232, 0.1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(9, 9, 18, 0.98);
}

.mobile-menu-inner {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0 1.25rem;
}

.mobile-menu a {
  padding: 0.9rem 0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover {
  color: var(--fire);
  padding-left: 0.5rem;
}

/* ─── Hero ─── */
.hero {
  padding: 4.4rem 0 3.2rem;
  overflow: clip;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 124px);
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  will-change: transform;
}

.hero-orb-fire {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -6%;
  opacity: 0.38;
  background: radial-gradient(circle, rgba(232, 137, 60, 0.28), rgba(192, 80, 26, 0.15) 50%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-ice {
  width: 360px;
  height: 360px;
  right: -3%;
  bottom: 4%;
  opacity: 0.32;
  background: radial-gradient(circle, rgba(91, 196, 232, 0.24), rgba(91, 196, 232, 0.08) 55%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-gold {
  width: 280px;
  height: 280px;
  left: 45%;
  top: 50%;
  opacity: 0.15;
  background: radial-gradient(circle, rgba(212, 169, 64, 0.3), transparent 70%);
  animation: orbFloat 12s ease-in-out infinite 3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-18px) scale(1.03); }
  66% { transform: translateY(10px) scale(0.97); }
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.hero-proof span,
.panel-kicker,
.signal-card strong,
.trust-label,
.embed-kicker,
.contact-panels h3,
.rail-title,
.pricing-badge,
.pricing-card h3,
.confidence-grid strong,
.footer-sub {
  font-family: var(--font-heading);
}

.hero-proof span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(232, 228, 220, 0.9);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.hero-proof span:hover {
  border-color: rgba(232, 137, 60, 0.3);
  background: rgba(232, 137, 60, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── Hero Panel ─── */
.hero-panel {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 19, 34, 0.9), rgba(9, 9, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232, 137, 60, 0.04) inset;
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.hero-panel:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232, 137, 60, 0.1) inset;
}

.panel-kicker {
  margin: 0 0 0.9rem;
  color: var(--ice);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-panel-stack {
  display: grid;
  gap: 0.95rem;
}

/* ─── Shared Card Base ─── */
.signal-card,
.rail-card,
.feature-card,
.character-card,
.roadmap-card,
.pricing-card,
.contact-form,
.contact-panels article,
.confidence-grid article {
  background: linear-gradient(160deg, rgba(20, 20, 35, 0.9), rgba(10, 10, 19, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

/* ─── Signal Cards ─── */
.signal-card {
  padding: 1rem 1rem 1rem 1.05rem;
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.signal-card:hover {
  border-color: rgba(232, 137, 60, 0.2);
  box-shadow: var(--shadow), 0 0 20px rgba(232, 137, 60, 0.06);
  transform: translateY(-1px);
}

.signal-card strong,
.trust-label,
.rail-title,
.contact-panels h3,
.confidence-grid strong,
.pricing-card h3,
.character-copy h3,
.feature-card h3,
.roadmap-card h3 {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.signal-card span,
.rail-card p,
.feature-card p,
.character-copy p,
.character-copy blockquote,
.trust-band p,
.contact-panels p,
.confidence-grid span,
.pricing-card .price,
.pricing-card ul,
.roadmap-card ul {
  color: rgba(232, 228, 220, 0.72);
}

.arg-fracture-trigger {
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.arg-fracture-trigger:hover,
.arg-fracture-trigger:focus-visible {
  border-color: rgba(91, 196, 232, 0.4);
  box-shadow: var(--shadow), 0 0 24px rgba(91, 196, 232, 0.1), 0 0 0 1px rgba(91, 196, 232, 0.12) inset;
  background: linear-gradient(160deg, rgba(91, 196, 232, 0.07), rgba(10, 10, 19, 0.95));
  transform: translateY(-2px);
}

.arg-fracture-trigger em {
  color: var(--crystal);
  font-style: normal;
}

/* ─── Trust Band ─── */
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.8rem;
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.trust-band > div {
  padding: 1.3rem 1.2rem;
  background: rgba(12, 12, 22, 0.92);
  transition: background 0.25s ease;
}

.trust-band > div:hover {
  background: rgba(16, 16, 28, 0.95);
}

.trust-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fire);
}

.trust-band p,
.lore-quote,
.section-footer-note {
  margin: 0.45rem 0 0;
}

/* ─── Lore Strip ─── */
.lore-strip {
  padding: 2.8rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(18, 18, 32, 0.7), rgba(13, 13, 26, 0.85));
  position: relative;
  overflow: hidden;
}

.lore-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232, 137, 60, 0.04), transparent 65%);
  pointer-events: none;
}

.lore-inner {
  text-align: center;
  position: relative;
}

.lore-quote {
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  font-style: italic;
  color: rgba(232, 228, 220, 0.86);
}

.lore-attr {
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ─── Grid Layouts ─── */
.section-grid,
.roadmap-grid,
.contact-grid,
.intro-grid {
  display: grid;
  gap: 2rem;
}

.intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: start;
}

.intro-rail {
  display: grid;
  gap: 1rem;
}

.rail-card {
  padding: 1.3rem 1.25rem;
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.rail-card:hover {
  border-color: rgba(212, 169, 64, 0.2);
  transform: translateY(-2px);
}

/* ─── Feature Cards — Holographic Shimmer ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.15s ease;
  will-change: transform;
}

/* Holographic shimmer overlay */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(91, 196, 232, 0.07) 45%,
    rgba(232, 137, 60, 0.04) 55%,
    transparent 70%
  );
  background-size: 250% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(232, 137, 60, 0.22);
  box-shadow: var(--shadow), 0 0 30px rgba(232, 137, 60, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
  animation: holoShimmer 1.4s ease infinite;
}

@keyframes holoShimmer {
  0% { background-position: -50% 0; }
  100% { background-position: 200% 0; }
}

.feature-icon {
  width: auto;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 4px 12px rgba(232, 137, 60, 0.2));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  filter: drop-shadow(0 6px 20px rgba(232, 137, 60, 0.38));
  transform: translateY(-2px) scale(1.04);
}

/* ─── Character Cards — 3D Tilt ─── */
.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.character-card {
  border-radius: 22px;
  overflow: visible; /* allow 3D shadow */
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(20, 20, 35, 0.9), rgba(10, 10, 19, 0.95));
  box-shadow: var(--shadow);
}

.character-card:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232, 137, 60, 0.15) inset;
  border-color: rgba(232, 137, 60, 0.2);
}

/* Inner content clips normally */
.character-card > * {
  border-radius: inherit;
  overflow: hidden;
}

.character-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--raised);
  overflow: hidden;
}

.character-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.character-card:hover .character-media img {
  transform: scale(1.04);
}

.character-role {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.36rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.character-role.buyer,
.character-role.ally { color: var(--ice); }
.character-role.seller { color: var(--fire); }
.character-role.neutral { color: var(--gold); }

.character-copy {
  padding: 1.1rem 1.05rem 1.2rem;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}

.character-copy blockquote {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-style: italic;
}

.character-copy small {
  color: var(--muted);
}

.section-footer-note {
  text-align: center;
  color: var(--muted);
}

/* ─── Screen Cards ─── */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.screen-card {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 18, 32, 0.95), rgba(10, 10, 19, 1));
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.screen-card::after {
  content: '↗ View';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(6, 6, 14, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.screen-card:hover::after {
  opacity: 1;
}

.screen-card:hover {
  border-color: rgba(91, 196, 232, 0.3);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(91, 196, 232, 0.1);
  transform: translateY(-4px);
}

.screen-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screen-card:hover img {
  transform: scale(1.03);
}

.screen-card span {
  display: block;
  padding: 0.95rem 1rem;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── Roadmap ─── */
.roadmap-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.roadmap-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 24px;
}

/* ─── Pricing Cards — Animated Featured Border ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.pricing-card:not(.featured):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Animated gradient border on featured card */
.pricing-card.featured {
  border-color: transparent !important;
  background: linear-gradient(rgba(12, 12, 22, 0.98), rgba(12, 12, 22, 0.98)) padding-box,
    conic-gradient(
      from var(--border-angle, 0deg),
      rgba(232, 137, 60, 0.5),
      rgba(212, 169, 64, 0.7),
      rgba(91, 196, 232, 0.4),
      rgba(212, 169, 64, 0.5),
      rgba(232, 137, 60, 0.5)
    ) border-box;
  animation: borderSpin 5s linear infinite;
  border: 1px solid transparent;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

/* Fallback for browsers without @property */
@supports not (animation: borderSpin 1s linear) {
  .pricing-card.featured {
    border: 1px solid rgba(232, 137, 60, 0.4) !important;
    box-shadow: var(--shadow), 0 0 30px rgba(232, 137, 60, 0.12) !important;
    background: linear-gradient(160deg, rgba(20, 20, 35, 0.9), rgba(10, 10, 19, 0.95)) !important;
  }
}

.pricing-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(232, 137, 60, 0.18);
}

.pricing-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fire), var(--gold));
  color: var(--void);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.price {
  margin: 0.4rem 0 0.9rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--fire));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-card .button {
  margin-top: auto;
}

/* ─── Confidence Grid ─── */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.confidence-grid article {
  padding: 1.1rem 1rem;
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.confidence-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.itch-embed-wrap {
  margin-top: 2.2rem;
  text-align: center;
}

.embed-kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.itch-embed {
  max-width: 100%;
  border: 0;
  border-radius: 8px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.itch-embed:hover {
  opacity: 1;
}

/* ─── Contact ─── */
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: start;
}

.contact-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-panels article,
.contact-form {
  padding: 1.3rem;
  border-radius: 22px;
  transition: border-color 0.25s ease;
}

.contact-panels article:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crystal);
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #fff;
}

/* ─── Contact Form ─── */
.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.42rem;
}

.form-row label {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.9rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row textarea {
  min-height: 156px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(232, 137, 60, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 137, 60, 0.08);
  background: rgba(232, 137, 60, 0.03);
}

.form-row select option {
  background: var(--surface);
  color: var(--text);
}

.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--crystal);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── Footer ─── */
.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(18, 18, 32, 0.72), rgba(9, 9, 18, 0.98));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem 2rem;
  align-items: center;
}

.footer-logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-sub {
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.15rem;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(138, 133, 120, 0.82);
  font-size: 0.9rem;
}

.footer-bar p {
  margin: 0;
}

/* Glyph with pulse animation */
.entry-two-glyph {
  padding: 0.4rem;
  border: 0;
  background: none;
  color: rgba(232, 137, 60, 0.22);
  font-size: 1.25rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  animation: glyphBreath 4s ease-in-out infinite;
}

@keyframes glyphBreath {
  0%, 100% { color: rgba(232, 137, 60, 0.18); }
  50% { color: rgba(232, 137, 60, 0.35); text-shadow: 0 0 12px rgba(232, 137, 60, 0.4); }
}

.entry-two-glyph:hover,
.entry-two-glyph:focus-visible {
  color: var(--fire);
  text-shadow: 0 0 20px rgba(232, 137, 60, 0.7);
  animation: none;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(6, 6, 14, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.6rem;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

/* ─── Overlay ─── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(6, 6, 14, 0.65);
  backdrop-filter: blur(8px);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid,
  .roadmap-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .character-grid,
  .screen-grid,
  .pricing-grid,
  .confidence-grid,
  .trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .ledger-pill,
  .header-actions .button-small {
    display: none;
  }

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

@media (max-width: 700px) {
  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-grid {
    min-height: auto;
    gap: 1.3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .feature-grid,
  .character-grid,
  .screen-grid,
  .pricing-grid,
  .confidence-grid,
  .trust-band,
  .roadmap-card {
    grid-template-columns: 1fr;
  }

  .form-meta,
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 1rem;
  }

  .character-card {
    /* Disable 3D tilt on mobile */
    transform: none !important;
    transition: box-shadow 0.3s ease;
  }
}
