:root {
  --cream: #f7f1e9;
  --sand: #efe2d1;
  --cocoa: #4a2b16;
  --cocoa-dark: #2b160b;
  --leaf: #6a8d3a;
  --leaf-dark: #3f5c26;
  --sunset: #c77438;
  --accent: #f1c27d;
  --white: #ffffff;
  --text: #2a1a12;
  --muted: #6f5a4e;
  --shadow: 0 14px 34px rgba(41, 22, 10, 0.12);
  --shadow-soft: 0 10px 26px rgba(41, 22, 10, 0.08);
  --shadow-strong: 0 22px 46px rgba(41, 22, 10, 0.15);
  --radius-xl: 32px;
  --page-pad: clamp(18px, 4vw, 52px);
  --max-width: 1220px;
  --h1: clamp(2.9rem, 4.8vw, 5rem);
  --h2: clamp(2.1rem, 3.2vw, 3.1rem);
  --h3: clamp(1.25rem, 2vw, 1.7rem);
  --body-lg: clamp(1.05rem, 1.2vw, 1.2rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #fff5e8 0%, var(--cream) 40%, var(--sand) 100%);
  line-height: 1.5;
  position: relative;
  scroll-behavior: smooth;
}

.container {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--max-width));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("assets/noise.png");
  background-size: 160px 160px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}

.halo {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 194, 125, 0.22), transparent 70%);
  top: -120px;
  right: -140px;
  /* Blur on a large fixed layer is expensive on mobile; keep it crisp. */
  filter: none;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .grain {
    opacity: 0.08;
    background-size: 200px 200px;
  }
  .halo {
    opacity: 0.85;
  }
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.18s;
}

.reveal.delay-3 {
  transition-delay: 0.28s;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0;
  background: rgba(247, 241, 233, 0.95);
  border-bottom: 1px solid rgba(111, 90, 78, 0.1);
  box-shadow: 0 8px 18px rgba(44, 26, 12, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Backdrop filters look nice but are expensive on mobile GPUs. Keep the header fast. */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: auto;
}

.logo.small img {
  width: 36px;
  height: 36px;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--muted);
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sunset);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

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

.lang-select {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 78, 0.2);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #5a331a 0%, #2b160b 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(43, 22, 11, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(43, 22, 11, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -60% 30% 50% -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 60%);
  transform: rotate(12deg);
  opacity: 0.6;
  pointer-events: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(43, 22, 11, 0.25);
  color: var(--cocoa);
}

main {
  position: relative;
  z-index: 1;
  padding: 0 0 90px;
}

.hero {
  padding: 90px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: var(--h1);
  line-height: 1.05;
  margin: 20px 0;
  text-shadow: 0 10px 24px rgba(43, 22, 11, 0.16);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: var(--body-lg);
  color: var(--muted);
  max-width: 520px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(199, 116, 56, 0.12);
  color: var(--sunset);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin: 28px 0 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}

.trust-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(111, 90, 78, 0.16);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--cocoa);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.hero-stats strong {
  font-size: 1.4rem;
  color: var(--cocoa);
}

.hero-stats span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.hero-coin-wrap {
  display: grid;
  place-items: center;
  padding: 10px;
}

.case-mock {
  width: clamp(220px, 26vw, 280px);
  aspect-ratio: var(--case-ar, 6 / 13);
  height: auto;
  --case-radius-outer: clamp(44px, 4.8vw, 54px);
  --case-radius-inner: clamp(34px, 3.6vw, 44px);
  --case-radius-body: clamp(28px, 3.2vw, 38px);
  border-radius: var(--case-radius-outer);
  position: relative;
  box-shadow: 0 24px 54px rgba(18, 10, 5, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-mock--iphone {
  /* Flat sides, slightly more “machined” feel. */
  --case-edge-bg: linear-gradient(155deg, #693b22 0%, #2a150b 58%, #1a0c05 100%);
}

.case-mock--samsung {
  /* A touch softer and cooler to read as Galaxy, without going grey. */
  --case-edge-bg: linear-gradient(155deg, #5f351f 0%, #29150c 62%, #140905 100%);
}

.case-mock--tablet {
  /* Thinner body read for tablets. */
  box-shadow: 0 20px 44px rgba(18, 10, 5, 0.22);
}

.case-mock--iphone {
  --case-radius-outer: clamp(40px, 4.4vw, 50px);
  --case-radius-inner: clamp(32px, 3.4vw, 40px);
}

.case-mock--samsung {
  /* Slightly squarer than iPhone to read as Galaxy, not "generic phone". */
  --case-radius-outer: clamp(38px, 4.1vw, 48px);
  --case-radius-inner: clamp(30px, 3.3vw, 40px);
}

.case-mock--ultra {
  /* Boxier silhouette for Ultra devices (S Ultra / Tab Ultra). */
  --case-radius-outer: clamp(28px, 3.1vw, 36px);
  --case-radius-inner: clamp(22px, 2.6vw, 30px);
}

.case-mock--tablet {
  --case-ar: 4 / 5;
  --case-radius-outer: clamp(26px, 2.8vw, 34px);
  --case-radius-inner: clamp(20px, 2.2vw, 28px);
}

.case-mock--tablet-compact {
  /* iPad mini-like: a bit narrower/taller than standard iPads. */
  --case-ar: 3 / 4;
}

.case-mock--fold {
  /* Wider, “book-like” silhouette to read as a foldable. */
  --case-ar: 7 / 9;
  --case-radius-outer: clamp(30px, 3.2vw, 38px);
  --case-radius-inner: clamp(22px, 2.6vw, 30px);
}

.case-mock--flip {
  /* Squarer silhouette to read as a compact flip. */
  --case-ar: 5 / 6;
  --case-radius-outer: clamp(34px, 3.6vw, 42px);
  --case-radius-inner: clamp(24px, 2.8vw, 32px);
}

.case-mock--compact {
  /* Read as mini/SE/Flip class devices without needing heavy assets. */
  --case-ar: 6 / 12.1;
}

.case-mock--max {
  /* Read as Plus/Max/Ultra class devices (taller). */
  --case-ar: 6 / 14;
}

.case-edge {
  position: absolute;
  inset: 0;
  border-radius: var(--case-radius-outer);
  background: var(--case-edge-bg, linear-gradient(150deg, #5b311a 0%, #2a150b 60%, #1a0c05 100%));
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.22),
    inset 0 -12px 20px rgba(0, 0, 0, 0.55),
    0 14px 26px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.case-edge .case-brand {
  display: none;
}

.case-edge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--case-radius-outer) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.7;
}

.case-edge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--case-radius-outer);
  /* Specular highlight: keeps the case looking premium without reading as a “notch”. */
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.22), transparent 52%),
    radial-gradient(circle at 86% 92%, rgba(0, 0, 0, 0.28), transparent 58%);
  opacity: 0.55;
}

.case-body {
  position: absolute;
  inset: 16px;
  border-radius: var(--case-radius-inner);
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%),
    var(--case-body-bg, linear-gradient(165deg, #6b3b22 0%, #2a150b 100%));
  box-shadow: inset 0 20px 28px rgba(0, 0, 0, 0.42),
    inset 0 -16px 22px rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.device-face {
  position: absolute;
  inset: 22px;
  border-radius: calc(var(--case-radius-inner) - 10px);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 48%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.55;
  z-index: 2;
  pointer-events: none;
}

.device-face::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 46%);
  opacity: 0.6;
}

.device-cutout {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  pointer-events: none;
}

/* iPhone read: dynamic-island style. */
.case-mock--iphone .device-cutout {
  width: 74px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 16px rgba(0, 0, 0, 0.22);
  opacity: 0.7;
}

/* Samsung read: centered hole-punch. */
.case-mock--samsung .device-cutout {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 16px rgba(0, 0, 0, 0.22);
  opacity: 0.65;
}

/* Tablets read: clean slab, no cutout. */
.case-mock--tablet .device-cutout {
  display: none;
}

.case-mock--tablet .device-face {
  /* Tablets read as cleaner slabs with slightly larger bezels. */
  inset: 26px;
  opacity: 0.48;
}

.case-mock--samsung .device-face {
  /* Slightly less "glassy" to avoid reading as iPhone. */
  opacity: 0.5;
}

.case-mock--samsung .case-body::after {
  /* Slightly different sheen for Galaxy (less “glass”, more “soft”). */
  opacity: 0.26;
}

.case-body::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--case-radius-inner) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-body::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 38%;
  border-radius: calc(var(--case-radius-inner) - 10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.35;
}

.case-hinge {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.case-mock--fold .case-hinge {
  opacity: 0.5;
  top: 22px;
  bottom: 22px;
  left: 50%;
  width: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14),
    rgba(0, 0, 0, 0.28),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 18px rgba(0, 0, 0, 0.14);
}

.case-mock--flip .case-hinge {
  opacity: 0.35;
  left: 22px;
  right: 22px;
  top: 52%;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(0, 0, 0, 0.24),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 18px rgba(0, 0, 0, 0.14);
}

.case-buttons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.78;
}

.case-buttons::before,
.case-buttons::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.42));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.22);
}

.case-mock--iphone .case-buttons::before {
  left: -2px;
  top: 32%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.22),
    0 40px 0 0 rgba(34, 18, 9, 0.82),
    0 78px 0 0 rgba(34, 18, 9, 0.82);
}

.case-mock--iphone .case-buttons::after {
  right: -2px;
  top: 40%;
}

.case-mock--samsung .case-buttons::before {
  opacity: 0;
}

.case-mock--samsung .case-buttons::after {
  right: -2px;
  top: 34%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.22),
    0 46px 0 0 rgba(34, 18, 9, 0.82);
}

.case-mock--tablet .case-buttons {
  display: none;
}

.case-ports {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 76%;
  height: 16px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 2px, transparent 2px 6px);
  background-size: 58px 6px, 58px 6px;
  background-position: left 10px bottom 4px, right 10px bottom 4px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.case-ports::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.26);
  opacity: 0.9;
}

.case-mock--compact .case-ports::before {
  width: 52px;
}

.case-mock--max .case-ports::before {
  width: 60px;
}

.case-mock--flip .case-ports {
  bottom: 12px;
}

.case-mock--tablet .case-ports {
  display: none;
}

.case-camera {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 10px 16px rgba(0, 0, 0, 0.35),
    0 10px 16px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  padding: 0;
  z-index: 3;
}

.case-camera .lens {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: radial-gradient(circle at 35% 35%, #3b4656, #0d1118 60%);
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.42),
    0 2px 6px rgba(0, 0, 0, 0.35);
}

.case-camera .flash {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #f7f1e9 0%, #c9b8a8 70%);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.65),
    0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Camera layout presets */
.case-camera.cam--iphone-diagonal .lens-3,
.case-camera.cam--iphone-diagonal .lens-4 {
  display: none;
}

.case-camera.cam--iphone-diagonal .lens-1 {
  top: 12px;
  left: 12px;
}

.case-camera.cam--iphone-diagonal .lens-2 {
  bottom: 12px;
  right: 12px;
}

.case-camera.cam--iphone-diagonal .flash {
  top: 14px;
  right: 14px;
}

.case-camera.cam--iphone-diagonal::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  bottom: 16px;
  left: 16px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  opacity: 0.55;
}

.case-camera.cam--iphone-vertical .lens-3,
.case-camera.cam--iphone-vertical .lens-4 {
  display: none;
}

.case-camera.cam--iphone-vertical {
  /* iPhone 16/17 read: a tall "pill" camera bump rather than the square bump of older iPhones. */
  width: 82px;
  height: 132px;
  border-radius: 28px;
}

.case-camera.cam--iphone-vertical .lens-1 {
  top: 16px;
  left: 25px;
}

.case-camera.cam--iphone-vertical .lens-2 {
  top: 70px;
  left: 25px;
}

.case-camera.cam--iphone-vertical .flash {
  top: 26px;
  right: 14px;
}

.case-camera.cam--iphone-vertical::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 84px;
  right: 18px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  opacity: 0.55;
}

.case-camera.cam--iphone-single {
  width: 78px;
  height: 78px;
  border-radius: 24px;
}

.case-camera.cam--iphone-single .lens-2,
.case-camera.cam--iphone-single .lens-3,
.case-camera.cam--iphone-single .lens-4 {
  display: none;
}

.case-camera.cam--iphone-single .lens-1 {
  top: 20px;
  left: 20px;
  width: 38px;
  height: 38px;
}

.case-camera.cam--iphone-single .flash {
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
}

.case-camera.cam--iphone-single::after {
  display: none;
}

.case-camera.cam--iphone-pro .lens-4 {
  display: none;
}

.case-camera.cam--iphone-pro {
  width: 94px;
  height: 94px;
  border-radius: 24px;
}

.case-camera.cam--iphone-pro .lens-1 {
  top: 12px;
  left: 12px;
}

.case-camera.cam--iphone-pro .lens-2 {
  bottom: 12px;
  left: 12px;
}

.case-camera.cam--iphone-pro .lens-3 {
  top: 30px;
  right: 12px;
}

.case-camera.cam--iphone-pro .flash {
  top: 14px;
  right: 14px;
}

.case-camera.cam--iphone-pro::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  bottom: 18px;
  right: 18px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  opacity: 0.55;
}

.case-camera.cam--iphone-plateau {
  /* iPhone 17 Pro read: wide "plateau" instead of a square bump. */
  width: 78%;
  height: 68px;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  border-radius: 28px;
}

.case-camera.cam--iphone-plateau .lens {
  width: 30px;
  height: 30px;
}

.case-camera.cam--iphone-plateau .lens-1 {
  top: 19px;
  left: 16px;
}

.case-camera.cam--iphone-plateau .lens-2 {
  top: 19px;
  left: 60px;
}

.case-camera.cam--iphone-plateau .lens-3 {
  top: 19px;
  left: 104px;
}

.case-camera.cam--iphone-plateau .lens-4 {
  display: none;
}

.case-camera.cam--iphone-plateau .flash {
  width: 12px;
  height: 12px;
  top: 28px;
  right: 16px;
  left: auto;
  opacity: 0.9;
}

.case-camera.cam--iphone-plateau::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 28px;
  right: 42px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  opacity: 0.65;
}

.case-camera.cam--iphone-air {
  width: 76%;
  height: 64px;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  border-radius: 30px;
}

.case-camera.cam--iphone-air .lens-2,
.case-camera.cam--iphone-air .lens-3,
.case-camera.cam--iphone-air .lens-4 {
  display: none;
}

.case-camera.cam--iphone-air .lens {
  width: 34px;
  height: 34px;
}

.case-camera.cam--iphone-air .lens-1 {
  top: 15px;
  left: 18px;
}

.case-camera.cam--iphone-air .flash {
  width: 12px;
  height: 12px;
  top: 26px;
  right: 18px;
  left: auto;
  opacity: 0.92;
}

.case-camera.cam--iphone-air::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 27px;
  right: 44px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  opacity: 0.65;
}

.case-camera.cam--samsung-rings,
.case-camera.cam--samsung-ultra-rings,
.case-camera.cam--samsung-fold {
  width: 86px;
  height: 176px;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.case-camera.cam--samsung-rings::before,
.case-camera.cam--samsung-ultra-rings::before,
.case-camera.cam--samsung-fold::before {
  /* Subtle raised “camera island” to avoid the rings looking pasted on. */
  content: '';
  position: absolute;
  inset: -6px -10px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.25),
    0 10px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.75;
  pointer-events: none;
}

.case-camera.cam--samsung-rings .lens,
.case-camera.cam--samsung-ultra-rings .lens,
.case-camera.cam--samsung-fold .lens {
  width: 34px;
  height: 34px;
  left: 14px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.22);
}

.case-camera.cam--samsung-rings .lens-1,
.case-camera.cam--samsung-ultra-rings .lens-1,
.case-camera.cam--samsung-fold .lens-1 {
  top: 4px;
}

.case-camera.cam--samsung-rings .lens-2,
.case-camera.cam--samsung-ultra-rings .lens-2,
.case-camera.cam--samsung-fold .lens-2 {
  top: 54px;
}

.case-camera.cam--samsung-rings .lens-3,
.case-camera.cam--samsung-ultra-rings .lens-3,
.case-camera.cam--samsung-fold .lens-3 {
  top: 104px;
}

.case-camera.cam--samsung-rings .lens-4 {
  display: none;
}

.case-camera.cam--samsung-ultra-rings .lens-4 {
  width: 30px;
  height: 30px;
  left: 60px;
  top: 46px;
  display: block;
  opacity: 0.95;
}

.case-camera.cam--samsung-ultra-rings .flash {
  display: block;
  width: 12px;
  height: 12px;
  top: 10px;
  left: 72px;
  opacity: 0.9;
}

.case-camera.cam--samsung-ultra-rings {
  width: 102px;
}

.case-camera.cam--samsung-ultra-rings .lens {
  left: 8px;
}

.case-camera.cam--samsung-ultra-rings .lens-1 {
  top: 6px;
}

.case-camera.cam--samsung-ultra-rings .lens-2 {
  top: 58px;
}

.case-camera.cam--samsung-ultra-rings .lens-3 {
  top: 110px;
}

.case-camera.cam--samsung-ultra-rings::after {
  /* Extra small sensor to read as "Ultra", without extra DOM nodes. */
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: 74px;
  top: 114px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  opacity: 0.6;
}

.case-camera.cam--samsung-rings .flash,
.case-camera.cam--samsung-fold .flash,
.case-camera.cam--samsung-flip .flash {
  display: block;
  width: 12px;
  height: 12px;
  top: 76px;
  left: 60px;
  opacity: 0.9;
}

.case-camera.cam--samsung-fold .lens-4 {
  display: none;
}

.case-camera.cam--samsung-rings .lens-4,
.case-camera.cam--samsung-fold .lens-4,
.case-camera.cam--samsung-flip .lens-4 {
  display: none;
}

.case-camera.cam--samsung-flip {
  /* Horizontal camera bar (Flip-like), not the vertical rings column. */
  width: 98px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.24));
  box-shadow: inset 0 10px 16px rgba(0, 0, 0, 0.35),
    0 10px 16px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-camera.cam--samsung-flip .lens {
  width: 30px;
  height: 30px;
  top: 10px;
  left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.22);
}

.case-camera.cam--samsung-flip .lens-2 {
  left: 52px;
  top: 10px;
}

.case-camera.cam--samsung-flip .lens-3,
.case-camera.cam--samsung-flip .lens-4 {
  display: none;
}

.case-camera.cam--samsung-flip .flash {
  width: 10px;
  height: 10px;
  top: 20px;
  right: 10px;
  left: auto;
  opacity: 0.9;
}

.case-camera.cam--tablet {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.case-camera.cam--tablet .lens-1 {
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
}

.case-camera.cam--tablet .lens-2,
.case-camera.cam--tablet .lens-3,
.case-camera.cam--tablet .lens-4 {
  display: none;
}

.case-camera.cam--tablet .flash {
  width: 14px;
  height: 14px;
  top: 18px;
  right: 14px;
}

.case-camera.cam--tablet-pro {
  width: 78px;
  height: 78px;
  border-radius: 22px;
}

.case-camera.cam--tablet-pro .lens-4 {
  display: none;
}

.case-camera.cam--tablet-pro .lens-1 {
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
}

.case-camera.cam--tablet-pro .lens-2 {
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
}

.case-camera.cam--tablet-pro .lens-3 {
  display: block;
  width: 14px;
  height: 14px;
  bottom: 18px;
  left: 18px;
  border: none;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  opacity: 0.7;
}

.case-camera.cam--tablet-pro .flash {
  width: 14px;
  height: 14px;
  top: 16px;
  right: 14px;
}

.case-mock--tablet .case-camera {
  top: 16px;
  left: 16px;
}

.logo-coin {
  --coin-size: clamp(200px, 19vw, 230px);
  width: var(--coin-size);
  height: var(--coin-size);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 70% 75%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 55%),
    #f7f1e9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 12px 22px rgba(255, 255, 255, 0.4),
    inset 0 -22px 30px rgba(0, 0, 0, 0.36),
    0 18px 30px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
  z-index: 5;
}

.logo-coin--hero {
  --coin-size: clamp(240px, 28vw, 360px);
  animation: float 8s ease-in-out infinite;
}

.logo-coin--hero {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .logo-coin--hero {
    animation: none;
  }
}

.logo-coin--case {
  --coin-size: min(78%, 220px);
}

.logo-coin::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.28);
}

.logo-coin::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  box-shadow: inset 0 12px 18px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.logo-coin .sheen {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 55%);
  opacity: 0.35;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 1;
}

.logo-coin img {
  width: 88%;
  height: 88%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  filter: saturate(1.05) contrast(1.05);
  position: relative;
  z-index: 2;
}

.case-mock::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: var(--case-radius-inner);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.5;
  pointer-events: none;
}

.section {
  padding: 80px 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-title h2 {
  font-family: 'Fraunces', serif;
  font-size: var(--h2);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.section-title p {
  color: var(--muted);
  font-size: var(--body-lg);
  max-width: 620px;
}

.device-coverage-note {
  margin-top: 12px;
  color: var(--cocoa);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  opacity: 0.86;
}

.page {
  position: relative;
  z-index: 1;
  padding: 70px 0 90px;
}

.legal-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(247, 241, 233, 0.68));
  border: 1px solid rgba(111, 90, 78, 0.08);
  box-shadow: 0 14px 26px rgba(44, 26, 12, 0.1);
  display: grid;
  gap: 14px;
}

.legal-card h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
}

.legal-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-top: 12px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
}

.legal-card ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label {
  font-weight: 600;
  color: var(--text);
}

.form-grid input,
.form-grid textarea {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(111, 90, 78, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  color: var(--muted);
  font-weight: 600;
  min-height: 1.2em;
}

.muted-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.collection-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.builder-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(247, 241, 233, 0.7));
  border: 1px solid rgba(111, 90, 78, 0.08);
  box-shadow: 0 12px 22px rgba(44, 26, 12, 0.08);
  display: grid;
  gap: 20px;
}

.builder-form {
  display: grid;
  gap: 14px;
}

.builder-form .field {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.builder-form select {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(111, 90, 78, 0.2);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.builder-form input {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(111, 90, 78, 0.2);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.field-note {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.field-note.is-error {
  color: #8c2f1f;
  min-height: 1.2em;
}

#customTextInput.is-invalid {
  border-color: rgba(140, 47, 31, 0.6);
  box-shadow: 0 0 0 3px rgba(140, 47, 31, 0.14);
}

.builder-actions {
  display: grid;
  gap: 10px;
}

.builder-actions small {
  color: var(--muted);
}

.compat-card {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(111, 90, 78, 0.1);
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.compat-card strong {
  color: var(--cocoa);
  font-weight: 600;
}

.builder-preview {
  display: grid;
  gap: 18px;
  align-content: center;
}

.preview-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(74, 43, 22, 0.94), rgba(38, 19, 10, 0.92));
  color: var(--white);
  box-shadow: 0 18px 30px rgba(31, 15, 7, 0.3);
  display: grid;
  gap: 10px;
  --preview-accent: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-badge {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.preview-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
}

.preview-price {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--preview-accent);
}

.preview-device {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.case-mock--builder {
  width: clamp(210px, 22vw, 260px);
}

.case-mock--builder.case-mock--tablet {
  width: clamp(260px, 32vw, 360px);
}

.case-mock--preview {
  transform-style: preserve-3d;
  transition: transform 0.14s ease-out;
}

.case-mock--preview.is-tilting {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.case-custom {
  position: absolute;
  left: 50%;
  bottom: 24%;
  transform: translateX(-50%) translateZ(24px);
  z-index: 4;
  pointer-events: none;
}

.case-custom-text {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(16px, 1.8vw, 22px);
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  color: rgba(247, 241, 233, 0.86);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 -1px 0 rgba(0, 0, 0, 0.45),
    0 12px 20px rgba(0, 0, 0, 0.22);
  transform: rotateX(var(--tilt-x-text, 0deg)) rotateY(var(--tilt-y-text, 0deg));
}

.case-custom-text:empty {
  display: none;
}

.case-custom-text::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.26), transparent 58%);
  opacity: 0.5;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .case-mock--preview,
  .case-mock--preview.is-tilting {
    transition: none;
    transform: none;
  }
  .case-custom-text {
    transform: none;
  }
}

.device-shell {
  width: clamp(150px, 18vw, 180px);
  aspect-ratio: 6 / 13;
  height: auto;
  border-radius: clamp(36px, 4.2vw, 46px);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(165deg, #5f331b, #241209);
  box-shadow: inset 0 16px 24px rgba(0, 0, 0, 0.35),
    0 16px 28px rgba(44, 26, 12, 0.28);
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-shell--tablet {
  width: clamp(220px, 30vw, 280px);
  aspect-ratio: 4 / 5;
  border-radius: clamp(22px, 2.8vw, 32px);
}

.device-shell::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 10px;
  width: 5px;
  height: calc(100% - 24px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 70%);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.device-shell::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 0;
}

.device-shadow {
  position: absolute;
  width: 180px;
  height: 34px;
  background: radial-gradient(closest-side, rgba(43, 22, 11, 0.22), rgba(43, 22, 11, 0) 70%);
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  filter: none;
  border-radius: 999px;
  opacity: 0.95;
}

.collection-card {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(247, 241, 233, 0.68));
  border: 1px solid rgba(111, 90, 78, 0.08);
  box-shadow: 0 10px 20px rgba(44, 26, 12, 0.08);
}

.collection-card h3 {
  font-family: 'Fraunces', serif;
  margin-bottom: 6px;
}

.collection-card p {
  color: var(--muted);
}

.devices .device-explorer {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(247, 241, 233, 0.62));
  border: 1px solid rgba(111, 90, 78, 0.1);
  box-shadow: 0 14px 26px rgba(44, 26, 12, 0.08);
}

.device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.device-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.device-subtab {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(111, 90, 78, 0.14);
  box-shadow: 0 8px 16px rgba(44, 26, 12, 0.05);
  color: rgba(43, 22, 11, 0.82);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.device-subtab.is-active {
  background: rgba(106, 141, 58, 0.16);
  border-color: rgba(106, 141, 58, 0.32);
  color: var(--leaf-dark);
}

.device-search {
  margin-top: 12px;
}

.device-search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 78, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 650;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.device-search input::placeholder {
  color: rgba(58, 43, 35, 0.5);
  font-weight: 600;
}

.device-search input:focus {
  border-color: rgba(106, 141, 58, 0.45);
  box-shadow: 0 0 0 4px rgba(106, 141, 58, 0.14);
}

.device-tab {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(111, 90, 78, 0.14);
  box-shadow: 0 8px 16px rgba(44, 26, 12, 0.06);
  color: var(--cocoa);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.device-tab.is-active {
  background: var(--cocoa);
  border-color: rgba(0, 0, 0, 0.14);
  color: #f7f1e9;
}

.device-explorer-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 18px;
  align-items: start;
}

.device-groups {
  display: grid;
  gap: 14px;
}

.device-empty {
  padding: 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(111, 90, 78, 0.22);
  color: var(--muted);
  font-weight: 650;
}

.device-group {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 90, 78, 0.1);
}

.device-group h3 {
  font-family: 'Fraunces', serif;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(247, 241, 233, 0.7);
  border: 1px solid rgba(111, 90, 78, 0.14);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.model-chip.is-selected {
  background: rgba(106, 141, 58, 0.16);
  border-color: rgba(106, 141, 58, 0.32);
  color: var(--leaf-dark);
}

.device-preview-panel {
  position: sticky;
  top: 96px;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(111, 90, 78, 0.1);
}

.case-mock--preview {
  width: clamp(240px, 24vw, 300px);
}

.case-mock--preview .logo-coin--case {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.case-mock--preview .case-camera {
  opacity: 0.98;
  transform: translateZ(0);
}

.device-preview-meta {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.device-preview-meta strong {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.device-coverage-link {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .device-explorer-grid {
    grid-template-columns: 1fr;
  }

  .device-preview-panel {
    position: relative;
    top: auto;
  }
}

.product-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(247, 241, 233, 0.68));
  box-shadow: 0 10px 20px rgba(44, 26, 12, 0.08);
  border: 1px solid rgba(111, 90, 78, 0.08);
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-media {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 62%),
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(111, 90, 78, 0.12);
  box-shadow: 0 12px 24px rgba(44, 26, 12, 0.1);
}

.product-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(44, 26, 12, 0.12);
}

.product-card:hover .product-media img {
  transform: scale(1.02);
}

.product-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
}

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

.product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-benefits span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(106, 141, 58, 0.12);
  color: var(--leaf-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.product-cta {
  align-self: flex-start;
  margin-top: 6px;
}

.product-details {
  align-self: flex-start;
  padding: 0;
  margin-top: -2px;
  background: none;
  border: none;
  color: var(--cocoa);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  opacity: 0.8;
}

.product-details:hover {
  opacity: 1;
}

.product-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(106, 141, 58, 0.15);
  color: var(--leaf-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.process-grid article {
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(247, 241, 233, 0.7));
  border: 1px solid rgba(111, 90, 78, 0.08);
  box-shadow: 0 10px 18px rgba(44, 26, 12, 0.08);
}

.process-grid h3 {
  font-family: 'Fraunces', serif;
  margin-bottom: 6px;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.payments {
  display: grid;
  gap: 14px;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(74, 43, 22, 0.1);
  color: var(--cocoa);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.payments-note {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.trust-payments {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.trust-payments h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
}

.trust-payments p {
  color: var(--muted);
}

.device-coverage {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.device-coverage h3 {
  font-family: 'Fraunces', serif;
}

.price {
  font-weight: 700;
  color: var(--cocoa);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pill-row span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(74, 43, 22, 0.06);
  color: var(--cocoa);
  font-weight: 500;
}

.quality-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 241, 233, 0.6));
  border: 1px solid rgba(74, 43, 22, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  box-shadow: 0 12px 22px rgba(44, 26, 12, 0.08);
}

.quality-card h3 {
  font-family: 'Fraunces', serif;
  margin-bottom: 6px;
}

.quality-card p {
  color: var(--muted);
}

.shipping small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq-grid details {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(111, 90, 78, 0.08);
  box-shadow: 0 10px 18px rgba(44, 26, 12, 0.08);
}

.faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sunset);
  outline-offset: 3px;
}

.newsletter-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #5a331a, #2b160b);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 18px 28px rgba(31, 15, 7, 0.3);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-message {
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  min-height: 1.2em;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  min-width: 220px;
}

.cart-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 78, 0.2);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--sunset);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100vh;
  background: var(--white);
  box-shadow: -20px 0 40px rgba(44, 26, 12, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 30;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-family: 'Fraunces', serif;
}

.cart-header button {
  background: none;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  overflow-y: auto;
}

.cart-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(111, 90, 78, 0.1);
  background: rgba(247, 241, 233, 0.5);
  display: grid;
  gap: 6px;
}

.cart-item strong {
  font-weight: 600;
}

.cart-price {
  justify-self: end;
  font-weight: 700;
  color: var(--cocoa);
}

.cart-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 78, 0.18);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  color: var(--cocoa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--cocoa);
}

.remove-btn {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 78, 0.16);
  background: rgba(199, 116, 56, 0.08);
  color: var(--cocoa);
  font-weight: 600;
}

.cart-message {
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-message.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-clear {
  width: 100%;
  margin: 10px 0 6px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-summary small {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 22, 11, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.cart-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.modal.show {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 22, 11, 0.52);
}

.modal-panel {
  position: relative;
  width: min(900px, 92vw);
  margin: 8vh auto;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(111, 90, 78, 0.12);
  box-shadow: 0 30px 70px rgba(18, 10, 5, 0.35);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 78, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-media {
  min-height: 360px;
  background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(165deg, #5f331b, #241209);
  display: grid;
  place-items: center;
  padding: 26px;
}

.modal-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  box-shadow: 0 22px 46px rgba(18, 10, 5, 0.35);
}

.modal-info {
  padding: 22px 22px 24px;
  display: grid;
  gap: 12px;
}

.modal-info h2 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.02em;
  font-size: 2rem;
}

.modal-info p {
  color: var(--muted);
}

.modal-bullets {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.modal-bullets li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  font-weight: 600;
}

.modal-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.55em;
  background: rgba(199, 116, 56, 0.6);
}

.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-note {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 780px) {
  .modal-panel {
    margin: 6vh auto;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: 220px;
    padding: 18px;
  }
}

.site-footer {
  padding: 40px 0 60px;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(111, 90, 78, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

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

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

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

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .hero {
    padding-top: 40px;
  }

  .case-mock {
    width: min(280px, 86vw);
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
