/* TWIZT.SHOP — vaporwave / retrowave agency (distinct from bakery demo) */
:root {
  --bg: #07020d;
  --bg-elevated: #12061f;
  --ink: #fde8ff;
  --ink-muted: #9b7fb8;
  --accent: #ff2a6d;
  --accent-soft: rgba(255, 42, 109, 0.22);
  --sage: #05d9e8;
  --sage-soft: rgba(5, 217, 232, 0.14);
  --sun: #ff6b35;
  --chrome: #c77dff;
  --line: rgba(253, 232, 255, 0.12);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
  --radius: 14px;
  --wrap: min(1120px, 92vw);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.02rem, 0.2vw + 0.98rem, 1.1rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

/* Foreground scrolls above fixed vapor (index hero-bg); keep z-index above .hero-bg */
#main {
  position: relative;
  z-index: 1;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--sage);
  color: var(--bg);
  font-weight: 700;
  z-index: 10000;
  border-radius: 4px;
}
.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 2, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(255, 42, 109, 0.08);
}

.header-enters {
  animation: header-slide 0.75s var(--ease-out) both;
}

@keyframes header-slide {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(5, 217, 232, 0.35);
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  line-height: 1.25;
  max-width: 16rem;
}

.logo-tagline em {
  font-style: normal;
  color: var(--sage);
  font-weight: 700;
}

.logo-tagline-sep {
  opacity: 0.55;
  margin-right: 0.15em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--sage);
  font-weight: 700;
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  color: #ffb3c9 !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 42, 109, 0.45);
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(255, 42, 109, 0.28);
  color: #ffc8d9 !important;
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem max(1.25rem, 4vw);
  max-width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 6, 31, 0.98);
}
.nav-drawer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-drawer:not([hidden]) {
    display: flex;
  }
}

/* Hero — vapor sunset + synth grid (.hero-bg: fixed desktop, absolute ≤900px to avoid mobile toolbar jank) */
.hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Mobile: fixed + full-viewport vapor fights dynamic toolbars (URL bar); scroll with hero instead */
@media (max-width: 900px) {
  .hero-bg {
    position: absolute;
    inset: 0;
  }
}

.hero-bg-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(199, 125, 255, 0.18) 0%, transparent 42%),
    linear-gradient(125deg, rgba(255, 42, 109, 0.12) 0%, transparent 50%),
    linear-gradient(235deg, rgba(5, 217, 232, 0.08) 0%, transparent 45%);
  animation: sky-drift 18s ease-in-out infinite alternate;
}

@keyframes sky-drift {
  from {
    filter: hue-rotate(-4deg) saturate(1);
    opacity: 1;
  }
  to {
    filter: hue-rotate(10deg) saturate(1.12);
    opacity: 0.97;
  }
}

.hero-bg-sun {
  position: absolute;
  left: 50%;
  bottom: 0;
  /* Elliptical radial glow — stays inside .hero (no 120vw clip / lopsided crop) */
  width: min(100%, 40rem);
  height: clamp(10rem, 32vw, 20rem);
  transform: translateX(-50%) translateY(38%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 90% 85% at 50% 72%,
    rgba(255, 236, 160, 0.5) 0%,
    rgba(255, 107, 53, 0.42) 22%,
    rgba(255, 42, 109, 0.32) 45%,
    rgba(123, 44, 191, 0.18) 68%,
    transparent 88%
  );
  opacity: 0.52;
  filter: blur(22px);
  box-shadow:
    0 0 60px rgba(255, 42, 109, 0.28),
    0 0 100px rgba(123, 44, 191, 0.22);
  animation: sun-breathe 14s ease-in-out infinite;
}

@keyframes sun-breathe {
  0%,
  100% {
    opacity: 0.48;
    transform: translateX(-50%) translateY(38%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) translateY(38%) scale(1.03);
  }
}

@keyframes sun-breathe-mobile {
  0%,
  100% {
    opacity: 0.44;
  }
  50% {
    opacity: 0.56;
  }
}

.hero-bg-floor-wrap {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -8%;
  height: 55%;
  perspective: 420px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%);
}

.hero-bg-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120%;
  transform-origin: 50% 0;
  transform: rotateX(68deg) translateZ(-40px);
  background-image:
    linear-gradient(90deg, rgba(5, 217, 232, 0.35) 1px, transparent 1px),
    linear-gradient(rgba(5, 217, 232, 0.35) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(255, 42, 109, 0.15) 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  box-shadow: 0 -4px 60px rgba(5, 217, 232, 0.12);
  animation: synth-grid-flow 24s linear infinite;
}

@keyframes synth-grid-flow {
  0% {
    background-position: 0 0, 0 0, center top;
  }
  100% {
    background-position: 48px 48px, 48px 48px, center top;
  }
}

@media (max-width: 900px) {
  /* Lighter GPU work while scrolling */
  .hero-bg-sky {
    animation: none;
  }

  .hero-bg-sun {
    width: min(94%, 22rem);
    height: clamp(8.5rem, 36vw, 12rem);
    transform: translateX(-50%) translateY(42%);
    filter: blur(18px);
    box-shadow:
      0 0 48px rgba(255, 42, 109, 0.22),
      0 0 72px rgba(123, 44, 191, 0.16);
    animation: sun-breathe-mobile 12s ease-in-out infinite;
  }

  .hero-bg-floor-wrap {
    height: 42%;
  }
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

@media (max-width: 960px) {
  .hero-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.hero-main {
  max-width: 46rem;
}

.hero-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 1.25rem;
  animation: hero-enter 0.85s var(--ease-out) both;
}

.hero-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.5vw + 0.85rem, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0;
  animation: hero-enter 0.85s var(--ease-out) 0.05s both;
}

.hero-twist {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
  text-shadow:
    0 0 28px rgba(255, 42, 109, 0.9),
    3px 0 0 var(--chrome);
  animation: twist-nudge 6s ease-in-out infinite;
  transition: transform 0.2s var(--ease-out), text-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-twist:hover {
    animation-play-state: paused;
    transform: rotate(-5deg) scale(1.05);
    text-shadow:
      0 0 36px rgba(255, 42, 109, 1),
      4px 0 0 var(--chrome);
  }
}

.hero-display-line {
  display: block;
}

.hero-display-line-accent {
  color: var(--sage);
  margin-top: 0.08em;
  text-shadow:
    0 0 40px rgba(5, 217, 232, 0.45),
    2px 2px 0 var(--accent);
}

@keyframes twist-nudge {
  0%,
  100% {
    transform: rotate(-2.5deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-2px);
  }
}

.hero-manifesto {
  margin-top: clamp(1.35rem, 3.5vw, 2rem);
  padding-top: clamp(1.25rem, 3vw, 1.85rem);
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.hero-pitch {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw + 0.8rem, 1.85rem);
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 0 32px rgba(199, 125, 255, 0.18);
  animation: hero-enter 0.85s var(--ease-out) 0.1s both;
}

.hero-lead {
  margin: 0 0 1.15rem;
  font-size: clamp(1.12rem, 1.8vw + 0.82rem, 1.42rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  max-width: 38rem;
  animation: hero-enter 0.85s var(--ease-out) 0.13s both;
}

.hero-lead strong {
  color: var(--sage);
  font-weight: 700;
}

.hero-sub {
  margin: 0 0 1rem;
  font-size: clamp(1.02rem, 1.2vw + 0.9rem, 1.2rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 38rem;
  animation: hero-enter 0.85s var(--ease-out) 0.16s both;
}

.hero-porch {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 1.1vw + 0.92rem, 1.22rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: var(--chrome);
  max-width: 34rem;
  animation: hero-enter 0.85s var(--ease-out) 0.19s both;
}

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.35rem;
  margin-bottom: 1.75rem;
  animation: hero-enter 0.85s var(--ease-out) 0.24s both;
}

.btn-hero {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.hero-tags {
  margin: 0;
  max-width: 40rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: var(--ink-muted);
  animation: hero-enter 0.72s var(--ease-out) 0.31s both;
}

.hero-tags-part {
  color: var(--ink-muted);
  font-weight: 600;
}

.hero-tags-sep {
  display: inline;
  margin: 0 0.5rem;
  color: rgba(155, 127, 184, 0.45);
  font-weight: 500;
  letter-spacing: 0;
  user-select: none;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  animation: hero-enter 0.85s var(--ease-out) 0.34s both;
}

@media (max-width: 960px) {
  .hero-side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    margin-left: 0;
  }
  .hero-side-card {
    flex: 1 1 220px;
    max-width: 100%;
  }
}

.hero-side-card {
  padding: 1.25rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-side-card-sage {
  border-color: rgba(5, 217, 232, 0.35);
  background: linear-gradient(145deg, var(--sage-soft) 0%, var(--bg-elevated) 55%);
  box-shadow: 0 0 24px rgba(5, 217, 232, 0.08);
}

.hero-side-stat {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.hero-side-unit {
  font-size: 1.35rem;
  font-weight: 600;
  opacity: 0.85;
  margin-left: 0.05em;
}

.hero-side-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.hero-side-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-side-small {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.hero-side-small a {
  color: var(--sage);
  font-weight: 600;
  text-decoration: none;
}
.hero-side-small a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, #c9184a 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 42, 109, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 64%
  );
  transform: translateX(-120%);
  animation: btn-shimmer 5.5s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0%,
  65% {
    transform: translateX(-120%);
  }
  80% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 36px rgba(255, 42, 109, 0.45);
}

.btn-ghost {
  background: rgba(18, 6, 31, 0.5);
  color: var(--ink);
  border-color: rgba(5, 217, 232, 0.35);
}
.btn-ghost:hover {
  border-color: var(--sage);
  background: rgba(5, 217, 232, 0.1);
  box-shadow: 0 0 20px rgba(5, 217, 232, 0.15);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger parents: only children animate (avoid double-fade). */
.reveal-on-scroll.reveal-stagger-cards,
.reveal-on-scroll.reveal-stagger-steps {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-delay-sm.is-visible {
  transition-delay: 0.12s;
}

.reveal-stagger-cards:not(.is-visible) > .card {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-stagger-cards.is-visible > .card:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger-cards.is-visible > .card:nth-child(2) {
  transition-delay: 0.13s;
}
.reveal-stagger-cards.is-visible > .card:nth-child(3) {
  transition-delay: 0.21s;
}

.reveal-stagger-steps > li {
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.reveal-stagger-steps:not(.is-visible) > li {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-stagger-steps.is-visible > li:nth-child(1) {
  transition-delay: 0.04s;
}
.reveal-stagger-steps.is-visible > li:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger-steps.is-visible > li:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-stagger-steps.is-visible > li:nth-child(4) {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-stagger-cards:not(.is-visible) > .card,
  .reveal-stagger-steps:not(.is-visible) > li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal-stagger-cards.is-visible > .card,
  .reveal-stagger-steps.is-visible > li {
    transition-delay: 0s !important;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

/* Opaque band so fixed hero vapor does not show through when scrolled */
#main > section:not(.hero) {
  background-color: var(--bg);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw + 0.75rem, 2.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.examples-intro .section-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw + 0.75rem, 2.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.examples-intro {
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
}

.examples-local {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(18, 6, 31, 0.45) 50%, var(--bg) 100%);
}

.examples-back {
  margin: 2rem 0 0;
  font-size: 0.92rem;
}

.examples-back a {
  color: var(--sage);
  font-weight: 600;
  text-decoration: none;
}

.examples-back a:hover {
  text-decoration: underline;
}

.examples-page .card p + p {
  margin-top: 1.1rem;
}

/* Wide grid: equal-height tiles, CTAs aligned to bottom */
@media (min-width: 801px) {
  .examples-page .cards > .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .examples-page .cards > .card > p:last-child {
    margin-top: auto;
    padding-top: 1.1rem;
  }
}

.section-deck {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section-deck em {
  color: var(--sage);
  font-style: normal;
  font-weight: 700;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.45s var(--ease-out),
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.card:hover {
  border-color: rgba(5, 217, 232, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(199, 125, 255, 0.12);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  color: var(--chrome);
}

.card-title-sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-muted);
}

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

.card p a {
  color: var(--sage);
  font-weight: 600;
  text-decoration: none;
}

.card p a:hover {
  text-decoration: underline;
}

/* Process */
.section-process {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.steps li {
  position: relative;
  padding-top: 0.5rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(253, 232, 255, 0.08);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--sage);
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.steps li p + p {
  margin-top: 0.75rem;
}

/* Pull quote */
.section-pullquote {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.pullquote {
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw + 0.65rem, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0 0 1rem;
}

.pullquote footer {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Boundaries (POS / payments — off limits) */
.section-boundaries {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(123, 44, 191, 0.08) 0%, rgba(7, 2, 13, 0.92) 100%),
    var(--bg);
}

.boundaries-hazard-block {
  margin-bottom: 1rem;
}

.boundaries-hazard-strip {
  display: block;
  width: min(11rem, 100%);
  height: 10px;
  margin-bottom: 0.55rem;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    #e8b800 0px,
    #e8b800 14px,
    #14110a 14px,
    #14110a 28px
  );
  box-shadow: 0 0 12px rgba(232, 184, 0, 0.15);
}

.boundaries-hazard-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9a918;
}

.boundaries-card {
  max-width: 44rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.boundaries-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.boundary-lane {
  margin: 0;
  padding: 0;
}

.boundary-lane-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.boundary-lane-body {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

.boundaries-list .boundary-lane-body strong {
  color: var(--ink);
  font-weight: 600;
}

.boundaries-foot {
  margin: 1.35rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .section-boundaries .section-head {
    margin-bottom: 1.35rem;
  }

  .section-boundaries .section-deck {
    font-size: 1rem;
    line-height: 1.58;
  }

  .boundaries-card {
    max-width: none;
    padding: 1.1rem 0.85rem 1.15rem;
    border-left-width: 3px;
  }

  .boundaries-list {
    gap: 0.85rem;
  }

  .boundary-lane {
    padding: 0.95rem 0.9rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--line);
    border-left: 3px solid rgba(123, 44, 191, 0.55);
  }

  .boundary-lane-title {
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--line);
  }

  .boundary-lane-body {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .boundaries-foot {
    margin-top: 1.1rem;
    padding: 1rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: normal;
    font-weight: 500;
    color: var(--ink);
    background: rgba(123, 44, 191, 0.08);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 2px);
  }

  .boundaries-foot strong {
    color: var(--sage);
  }
}

/* Open source */
.opensource-main {
  max-width: 44rem;
}

.opensource-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw + 0.85rem, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.opensource-tldr {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--sage);
  background: rgba(5, 217, 232, 0.06);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.opensource-tldr strong {
  color: var(--sage);
  font-weight: 700;
}

.opensource-pillar {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.opensource-pillar:last-of-type {
  margin-bottom: 0;
}

.opensource-pillar strong:first-of-type {
  color: var(--chrome);
  font-weight: 700;
}

.opensource-pillar strong:not(:first-of-type) {
  color: var(--sage);
  font-weight: 700;
}

.opensource-pillar q {
  quotes: "\201c" "\201d";
  font-style: italic;
  color: var(--ink);
}

/* Contact */
.section-contact {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 2rem;
  align-items: start;
}

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

.contact-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw + 0.65rem, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.contact-pricing {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
  max-width: 32rem;
}

.contact-pricing strong {
  color: var(--sage);
}

.contact-deck {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
}

.contact-email a {
  font-size: clamp(1.25rem, 2vw + 0.75rem, 1.65rem);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.contact-email a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  opacity: 0.85;
}

.contact-note code {
  font-size: 0.85em;
  background: var(--bg-elevated);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--chrome);
}

.contact-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.contact-card li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 0.95rem;
  text-shadow: 0 0 20px rgba(5, 217, 232, 0.25);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-left: auto;
}

.footer-links a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 520px) {
  .footer-links {
    margin-left: 0;
  }
}
