:root {
  --color-cream: #ffead3;
  --color-cyan: #bfe7ea;
  --color-sand: #e89b5b;
  --color-terracotta: #d46743;
  --color-terracotta-hot: #ff7b4a;
  --color-body: #1a100c;
  --color-body-soft: #2a1c16;
  --color-surface: rgba(58, 40, 32, 0.55);
  --color-surface-elevated: #453229;
  --color-text: var(--color-cream);
  --color-text-muted: #c9b5a8;
  --color-border: rgba(255, 234, 211, 0.14);
  --color-accent: var(--color-terracotta);
  --color-lime: #c8ff9e;
  --color-magenta: #ff8fc7;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Syne', system-ui, sans-serif;
  --font-accent: 'Syne', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-frame: 0 32px 100px rgba(0, 0, 0, 0.55), 0 0 60px rgba(212, 103, 67, 0.15);
  --max-width: 1160px;
  --reveal-delay: 0ms;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

@keyframes mesh-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(3%, -2%) scale(1.05);
  }
  66% {
    transform: translate(-2%, 3%) scale(0.98);
  }
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -18px);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.35);
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes border-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer-pass {
  0% {
  background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

@keyframes glitch-skew {
  0%,
  100% {
    transform: skew(0deg);
    text-shadow: none;
  }
  20% {
    transform: skew(-2deg);
    text-shadow: 2px 0 var(--color-magenta), -2px 0 var(--color-cyan);
  }
  40% {
    transform: skew(2deg);
    text-shadow: -2px 0 var(--color-lime), 2px 0 var(--color-terracotta-hot);
  }
}

@keyframes scanline-move {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100vh);
  }
}

@keyframes icon-pop {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.12) rotate(8deg);
  }
}

@keyframes pill-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes vibe-wobble {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.03);
  }
}

@keyframes title-wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-0.8deg);
  }
  75% {
    transform: rotate(0.8deg);
  }
}

@keyframes footer-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes shine-sweep {
  0% {
    left: -120%;
  }
  100% {
    left: 120%;
  }
}

@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

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

html {
  scroll-behavior: smooth;
}

.reduce-motion,
.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-canvas__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(212, 103, 67, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 20%, rgba(191, 231, 234, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 50% at 60% 80%, rgba(232, 155, 91, 0.2), transparent 55%),
    var(--color-body);
  animation: mesh-drift 18s ease-in-out infinite;
}

.bg-canvas__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 234, 211, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 234, 211, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.bg-canvas__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 12s ease-in-out infinite;
  will-change: transform;
}

.bg-canvas__orb--1 {
  width: 280px;
  height: 280px;
  background: var(--color-terracotta);
  top: 8%;
  left: 5%;
  opacity: 0.35;
}

.bg-canvas__orb--2 {
  width: 320px;
  height: 320px;
  background: var(--color-cyan);
  top: 15%;
  right: -5%;
  opacity: 0.2;
  animation-delay: -4s;
}

.bg-canvas__orb--3 {
  width: 200px;
  height: 200px;
  background: var(--color-sand);
  bottom: 20%;
  left: 40%;
  opacity: 0.25;
  animation-delay: -7s;
}

.bg-canvas__orb--4 {
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-lime));
  bottom: 5%;
  right: 15%;
  opacity: 0.18;
  animation-delay: -2s;
}

.bg-canvas__noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  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");
  pointer-events: none;
}

.bg-canvas__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.35;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(
    circle,
    rgba(255, 143, 199, 0.12) 0%,
    rgba(200, 255, 158, 0.08) 35%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transition: opacity 0.3s;
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-sand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-cream);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--color-cream);
  color: var(--color-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

#main-content {
  padding-top: 4.75rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(
    180deg,
    rgba(212, 103, 67, 0.08) 0%,
    transparent 45%,
    rgba(191, 231, 234, 0.05) 100%
  );
}

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

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title--gradient {
  background: linear-gradient(
    120deg,
    var(--color-cream) 0%,
    var(--color-sand) 45%,
    var(--color-cyan) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
}

.section-lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 38rem;
  line-height: 1.65;
}

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

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-sand));
  box-shadow: 0 0 12px rgba(212, 103, 67, 0.6);
}

.screen-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  transform-style: preserve-3d;
}

.screen-frame--glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(
    from 0deg,
    var(--color-terracotta),
    var(--color-cyan),
    var(--color-sand),
    var(--color-terracotta)
  );
  animation: border-spin 6s linear infinite;
  z-index: 0;
  opacity: 0.65;
}

.screen-frame--glow::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--color-body-soft);
  z-index: 0;
}

.screen-frame--glow img {
  position: relative;
  z-index: 1;
}

.screen-frame img {
  width: 100%;
  vertical-align: middle;
}

.screen-frame--tilt {
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.12s ease-out;
  box-shadow: var(--shadow-frame);
  animation: hero-float 7s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

.btn--primary {
  background: rgba(69, 50, 41, 0.9);
  color: var(--color-text-muted);
  cursor: not-allowed;
  border: 1px dashed rgba(255, 234, 211, 0.2);
}

.btn--glow {
  position: relative;
  overflow: hidden;
  color: var(--color-body);
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    var(--color-sand) 50%,
    var(--color-terracotta-hot) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  box-shadow:
    0 0 40px rgba(232, 155, 91, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn--glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 56px rgba(232, 155, 91, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.35);
  color: var(--color-body);
}

.btn--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 80px at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.45),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.2s;
}

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

.btn--ghost {
  background: rgba(255, 234, 211, 0.04);
  color: var(--color-cream);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 234, 211, 0.1);
  border-color: rgba(232, 155, 91, 0.4);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sand);
  background: rgba(212, 103, 67, 0.15);
  border: 1px solid rgba(212, 103, 67, 0.35);
  backdrop-filter: blur(8px);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-terracotta-hot);
  box-shadow: 0 0 12px var(--color-terracotta-hot);
  animation: pulse-dot 2s ease-in-out infinite;
}

.text-gradient {
  background: linear-gradient(
    105deg,
    var(--color-cream) 10%,
    var(--color-sand) 40%,
    var(--color-terracotta-hot) 70%,
    var(--color-cyan) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].reveal--pop {
  transform: translateY(40px) scale(0.92);
}

[data-reveal].reveal--pop.is-visible {
  transform: translateY(0) scale(1);
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reduce-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 16, 12, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.site-header--scrolled {
  background: rgba(26, 16, 12, 0.88);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-cream);
  text-decoration: none;
  transition: transform 0.2s;
}

.site-header__brand:hover {
  color: var(--color-cream);
  transform: scale(1.02);
}

.site-header__brand img {
  filter: drop-shadow(0 0 12px rgba(212, 103, 67, 0.5));
}

.site-header__titles {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.site-header__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}

.site-header__tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.site-header__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-cyan));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.site-header__nav a:hover {
  color: var(--color-cream);
}

.site-header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 640px) {
  .site-header__tagline {
    display: none;
  }
}

.hero {
  position: relative;
  padding-top: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.word-cycle {
  display: inline-block;
  min-width: 5.5ch;
  padding: 0.1em 0.45em;
  margin-inline: 0.15em;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-body);
  background: var(--color-lime);
  border-radius: 6px;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.word-cycle--swap {
  opacity: 0;
  transform: translateY(8px) rotate(-4deg);
}

.vibe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.vibe-chip {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-cream);
  background: rgba(255, 143, 199, 0.12);
  border: 1px solid rgba(255, 143, 199, 0.35);
  border-radius: 999px;
  animation: vibe-wobble 3.5s ease-in-out infinite;
}

.vibe-chip:nth-child(2) {
  animation-delay: -1.2s;
}

.vibe-chip:nth-child(3) {
  animation-delay: -2.4s;
}

.vibe-chip--alt {
  background: rgba(200, 255, 158, 0.1);
  border-color: rgba(200, 255, 158, 0.35);
}

.pill--bounce {
  animation: pill-bounce 3s ease-in-out infinite;
}

.text-glitch:hover {
  animation: glitch-skew 0.45s ease infinite;
}

.btn--shimmer {
  background-size: 200% auto;
  background-image: linear-gradient(
    90deg,
    rgba(69, 50, 41, 0.95) 0%,
    rgba(232, 155, 91, 0.25) 50%,
    rgba(69, 50, 41, 0.95) 100%
  );
  animation: shimmer-pass 3s linear infinite;
}

.screen-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
  z-index: 2;
  pointer-events: none;
  animation: shine-sweep 4.5s ease-in-out infinite;
}

.marquee-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.marquee-wrap--fast .marquee__track {
  animation-duration: 18s;
}

.marquee-wrap--reverse {
  opacity: 0.85;
}

.marquee__track--reverse {
  animation: marquee-scroll-reverse 22s linear infinite;
}

.marquee__item--fill {
  color: var(--color-terracotta-hot);
  -webkit-text-stroke: 0;
  opacity: 0.35;
}

.highlights-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-lime);
  opacity: 0.9;
}

.highlights-card__icon--spin {
  animation: icon-pop 2.5s ease-in-out infinite;
}

.highlights-card:nth-child(2) .highlights-card__icon--spin {
  animation-delay: -0.8s;
}

.highlights-card:nth-child(3) .highlights-card__icon--spin {
  animation-delay: -1.6s;
}

.section-title--wiggle:hover {
  display: inline-block;
  animation: title-wiggle 0.6s ease-in-out infinite;
}

.footer-bounce {
  display: inline-block;
  animation: footer-spin 4s ease-in-out infinite;
  margin-right: 0.25rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.hero__copy {
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 34rem;
  line-height: 1.7;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cream);
}

.hero__stat span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.marquee-wrap {
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 3rem;
  padding-right: 3rem;
  animation: marquee-scroll 28s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 234, 211, 0.12);
  -webkit-text-stroke: 1px rgba(255, 234, 211, 0.22);
}

.highlights-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.highlights-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(58, 40, 32, 0.4);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s,
    box-shadow 0.35s;
}

.highlights-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-cyan));
  opacity: 0;
  transition: opacity 0.35s;
}

.highlights-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(232, 155, 91, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 40px rgba(212, 103, 67, 0.12);
}

.highlights-card:hover::before {
  opacity: 1;
}

.highlights-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  background: rgba(212, 103, 67, 0.2);
  border: 1px solid rgba(212, 103, 67, 0.3);
}

.highlights-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cream);
}

.highlights-card__body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.feature-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.feature-section__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-section__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }

  .feature-section--reverse .feature-section__grid {
    direction: rtl;
  }

  .feature-section--reverse .feature-section__grid > * {
    direction: ltr;
  }
}

.feature-section__label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(191, 231, 234, 0.1);
  border: 1px solid rgba(191, 231, 234, 0.25);
}

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

.feature-section .screen-frame:not(.screen-frame--tilt) {
  box-shadow: var(--shadow-frame);
  border: 1px solid var(--color-border);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
}

.feature-section .screen-frame:not(.screen-frame--tilt):hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    var(--shadow-frame),
    0 0 48px rgba(212, 103, 67, 0.2);
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer__domain {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.site-footer__domain a {
  background: linear-gradient(90deg, var(--color-sand), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ——— How to ——— */

.howto-callout {
  width: 100%;
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.howto-callout p {
  margin: 0;
}

.howto-callout strong {
  color: var(--color-cream);
}

.howto-callout code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-cyan);
}

.howto-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
}

.howto-step {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(58, 40, 32, 0.35);
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.howto-step:hover {
  border-color: rgba(255, 234, 211, 0.22);
}

.howto-step[open] {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 234, 211, 0.22);
}

.howto-step__summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.howto-step__summary::-webkit-details-marker {
  display: none;
}

.howto-step__summary:focus {
  outline: none;
}

.howto-step__summary:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}

.howto-step__summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 2px solid var(--color-sand);
  border-bottom: 2px solid var(--color-sand);
  transform: rotate(45deg);
  transform-origin: 50% 60%;
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.howto-step[open] > .howto-step__summary::after {
  transform: rotate(-135deg);
}

.howto-step__summary:hover .howto-step__title {
  color: var(--color-cream);
}

.howto-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-body);
  background: linear-gradient(135deg, var(--color-sand), var(--color-terracotta-hot));
  border-radius: 50%;
}

.howto-step__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-cream);
  text-align: left;
}

.howto-step__body {
  min-width: 0;
  width: 100%;
  padding: 0 1.5rem 1.35rem;
  box-sizing: border-box;
}

.howto-step__body > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.howto-step__body > p + .howto-figures {
  margin-top: 1.5rem;
}

.howto-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .howto-figures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.howto-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.howto-figure .screen-frame {
  box-shadow: var(--shadow-frame);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.howto-figure .screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.howto-figure figcaption {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.howto-figure__label {
  display: inline-block;
  margin-right: 0.35rem;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.screen-frame img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(8, 6, 5, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.25rem);
  right: clamp(0.75rem, 3vw, 1.25rem);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-cream);
  background: rgba(58, 40, 32, 0.85);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.lightbox__close:hover {
  background: var(--color-surface-elevated);
  transform: scale(1.05);
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(85vh, 900px);
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-frame);
  border: 1px solid var(--color-border);
  object-fit: contain;
  pointer-events: auto;
  cursor: zoom-out;
}

.lightbox__caption {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 52rem;
  margin-inline: auto;
}

.lightbox__caption:empty {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}