:root {
  --bg: #14041f;
  --bg-2: #2a0a3d;
  --paper: #fff8ec;
  --ink: #1a1024;
  --muted: #c9b7d8;
  --magenta: #ff2ec4;
  --violet: #9b5cff;
  --cyan: #3ef6ff;
  --lime: #c6ff3d;
  --yellow: #ffe14a;
  --orange: #ff8a1f;
  --pink: #ff3d6e;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --pad: 18px;
  --max: 430px;
  --sticky-h: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Bangers", "Permanent Marker", system-ui, sans-serif;
  --marker: "Permanent Marker", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

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

button,
input {
  font-family: inherit;
}

a {
  color: var(--cyan);
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(255, 46, 196, 0.28), transparent 55%),
    radial-gradient(700px 500px at 110% 20%, rgba(62, 246, 255, 0.18), transparent 50%),
    radial-gradient(600px 400px at 50% 110%, rgba(198, 255, 61, 0.12), transparent 50%),
    var(--bg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite;
}

.orb--a {
  width: 180px;
  height: 180px;
  background: var(--magenta);
  top: 12%;
  left: -40px;
}

.orb--b {
  width: 220px;
  height: 220px;
  background: var(--violet);
  top: 48%;
  right: -70px;
  animation-delay: -6s;
}

.orb--c {
  width: 140px;
  height: 140px;
  background: var(--lime);
  bottom: 8%;
  left: 20%;
  animation-delay: -11s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -24px) scale(1.12);
  }
}

.pen {
  position: absolute;
  width: 18px;
  height: 118px;
  border-radius: 4px 4px 9px 9px;
  box-shadow: 2px 6px 0 rgba(0, 0, 0, 0.25);
}

.pen::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 2px;
  width: 14px;
  height: 20px;
  border-radius: 3px 3px 1px 1px;
  background: #111;
}

.pen::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 3px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 16px solid #f4e7c8;
}

.pen--1 {
  top: 18%;
  right: 6%;
  background: linear-gradient(90deg, #c2187a, var(--magenta), #c2187a);
  transform: rotate(28deg);
}

.pen--2 {
  top: 58%;
  left: 4%;
  background: linear-gradient(90deg, #2bb, var(--cyan), #2bb);
  transform: rotate(-18deg);
}

.pen--3 {
  bottom: 16%;
  right: 10%;
  background: linear-gradient(90deg, #8ab00e, var(--lime), #8ab00e);
  transform: rotate(12deg);
}

.pen--4 {
  top: 36%;
  left: 8%;
  background: linear-gradient(90deg, #c60, var(--orange), #c60);
  transform: rotate(-38deg);
  height: 96px;
}

.app {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 0 2.5rem;
}

.topbar {
  display: none;
}

.ship-pill {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(198, 255, 61, 0.14);
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.hero-reviews .btn--reviews {
  margin-top: 0;
  width: 100%;
}

.hero-reviews .ship-pill {
  display: inline-block;
}

.rate {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
}

.rate span {
  width: 14px;
  height: 14px;
  display: block;
  background: var(--orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.rate span.is-half {
  background: linear-gradient(90deg, var(--orange) 50%, #d9c4a8 50%);
}

.btn--reviews .rate span,
.reviews h2 .rate span {
  width: 20px;
  height: 20px;
}

.stars {
  color: var(--orange);
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.hero {
  padding: 0 var(--pad);
}

.gallery {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #08010f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(255, 46, 196, 0.35);
}

.gallery__track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #fff;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: #fff;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 12px;
}

.gallery__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.gallery__dots button.is-active {
  width: 18px;
  background: var(--magenta);
}

.kicker {
  margin: 1.1rem 0 0.2rem;
  font-family: var(--marker);
  color: var(--yellow);
  font-size: 1rem;
  transform: rotate(-2deg);
}

.hero h1,
.color-lab h2,
.peek h2,
.reviews h2,
.specs h2,
.offer h2,
.shipping h2,
.why h2,
.site-footer h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 0.95;
  margin: 0 0 0.55rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 9vw, 2.7rem);
  background: linear-gradient(90deg, var(--magenta), var(--yellow), var(--cyan), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.lede em {
  font-style: normal;
  color: var(--lime);
  font-weight: 700;
}

.price-burst {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.price {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--lime);
  text-shadow: 3px 3px 0 #000;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
}

.btn--buy {
  color: #14041f;
  background: linear-gradient(90deg, var(--lime), var(--yellow) 55%, var(--orange));
  box-shadow: 0 8px 0 #7a4d00, 0 12px 24px rgba(255, 138, 31, 0.35);
  transform: translateY(-1px);
}

.btn--buy:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #7a4d00;
}

.btn--reviews {
  margin-top: 12px;
  color: #14041f;
  background: #fff;
  box-shadow: 0 7px 0 #c45a00;
  gap: 12px;
  font-size: 1.18rem;
  min-height: 64px;
  font-weight: 800;
}

.btn--reviews:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c45a00;
}

.btn--ghost {
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
}

.btn--sm {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.7rem 0 1.1rem;
}

.quick-hits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-hits li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 46, 196, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 600;
}

.why,
.color-lab,
.peek,
.features,
.reviews,
.specs,
.offer,
.shipping,
.site-footer {
  padding: 2rem var(--pad) 0;
}

.why h2,
.color-lab h2,
.peek h2 {
  font-size: 2rem;
}

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

.why-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.why-list p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.why-mark {
  width: 22px;
  height: 70px;
  margin-top: 2px;
  border-radius: 3px 3px 8px 8px;
  background: linear-gradient(90deg, #c2187a, var(--magenta), #c2187a);
  position: relative;
}

.why-mark::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 5px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #f4e7c8;
}

.why-mark--lime {
  background: linear-gradient(90deg, #8ab00e, var(--lime), #8ab00e);
}

.why-mark--cyan {
  background: linear-gradient(90deg, #2bb, var(--cyan), #2bb);
}

.lab-label {
  margin: 0 0 0.25rem;
  font-family: var(--marker);
  color: var(--cyan);
  transform: rotate(-1.5deg);
}

.section-sub {
  margin: -0.2rem 0 1rem;
  color: var(--muted);
}

.color-lab__desk {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 10px;
  align-items: stretch;
}

.paper-wrap {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.28);
}

.paper-wrap img {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.paper-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
  mix-blend-mode: multiply;
}

.marker-cup {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(#1b2430, #0e141c);
  border: 3px solid #6d7c8d;
  border-radius: 18px 18px 10px 10px;
  padding: 8px 6px 10px;
  box-shadow: inset 0 8px 12px rgba(0, 0, 0, 0.35);
}

.marker {
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  height: 28px;
  border-radius: 3px 3px 8px 8px;
  background: var(--ink);
  position: relative;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.marker::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 6px;
  right: 6px;
  height: 8px;
  background: #111;
  border-radius: 2px;
}

.marker.is-active {
  outline: 2px solid #fff;
  outline-offset: 1px;
  transform: translateX(-3px);
}

.nib-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.88rem;
}

.nib-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nib-row input[type="range"] {
  width: 100%;
  accent-color: var(--magenta);
}

.page-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.page-picks button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}

.page-picks button.is-active {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(255, 46, 196, 0.35);
}

.page-picks img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  object-position: top;
}

.peek-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.peek-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.25);
}

.feature-card {
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.feature-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.feature-card--cover img {
  height: auto;
  max-height: 380px;
  object-fit: contain;
  background: #fff;
}

.feature-card h3 {
  font-family: var(--marker);
  font-size: 1.25rem;
  margin: 0.85rem 1rem 0.3rem;
}

.feature-card p {
  margin: 0 1rem 1rem;
  color: var(--muted);
}

.review-shots {
  display: grid;
  gap: 10px;
}

.review-shot {
  display: block;
  width: 100%;
  padding: 8px;
  border: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 5px 6px 0 rgba(255, 46, 196, 0.3);
  cursor: zoom-in;
}

.review-shot:nth-child(even) {
  box-shadow: 5px 6px 0 rgba(62, 246, 255, 0.28);
}

.review-shot img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  vertical-align: top;
}

#reviews,
#review-list {
  scroll-margin-top: 10px;
}

.reviews h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.shot-zoom {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 1, 15, 0.92);
  display: grid;
  place-items: start center;
  padding: 52px 12px 24px;
  overflow: auto;
}

.shot-zoom[hidden] {
  display: none;
}

.shot-zoom img {
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #fff;
  border-radius: 10px;
}

.shot-zoom__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #14041f;
  font-size: 1.6rem;
  line-height: 1;
}

.spec-list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.offer {
  text-align: center;
}

.offer-title {
  margin: 0;
  font-weight: 700;
}

.offer .price {
  display: block;
  margin: 0.3rem 0 0.8rem;
}

.offer-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
}

.policy-grid {
  display: grid;
  gap: 12px;
}

.policy-grid p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding-bottom: 1rem;
}

.site-footer dl {
  margin: 0;
}

.site-footer dl div {
  margin-bottom: 0.75rem;
}

.site-footer dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer dd {
  margin: 0.15rem 0 0;
}

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

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: rgba(20, 4, 31, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
}

.sticky-cta[hidden] {
  display: none;
}

.sticky-cta__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-cta strong {
  display: block;
  font-size: 1.15rem;
}

.sticky-cta span {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
}

.legal-page,
.page-checkout,
.page-success,
.page-cancel {
  min-height: 100svh;
}

.marker-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1.15rem 0 0;
  transform: rotate(-2deg);
}

.pen-mini {
  width: 14px;
  height: 52px;
  border-radius: 3px 3px 7px 7px;
  background: var(--ink);
  position: relative;
  box-shadow: 1px 3px 0 rgba(0, 0, 0, 0.25);
}

.pen-mini::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 2px;
  width: 10px;
  height: 12px;
  background: #111;
  border-radius: 2px;
}

.pen-mini::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 9px solid #f4e7c8;
}

.legal-page .app,
.checkout-main,
.result {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--pad), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1rem;
}

.checkout-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.offer-cover {
  width: min(220px, 70%);
  height: auto;
  margin: 0.4rem auto 0.9rem;
  display: block;
}

.checkout-card img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
}

.checkout-card div {
  padding: 14px;
}

.checkout-card h1 {
  font-family: var(--display);
  font-size: 1.8rem;
  margin: 0 0 0.3rem;
  color: var(--bg);
}

.result h1,
.legal-page h1 {
  font-family: var(--display);
  font-size: 2.2rem;
}

@media (min-width: 760px) {
  .pen {
    display: block;
  }
}

@media (max-width: 759px) {
  .pen {
    display: none;
  }
}
