/* ==========================================================================
   Think Stick — marketing site
   Design language: "sticker" — warm paper, bold ink outlines, solid offset
   shadows, highlighter yellow, and speed-line motifs from the brand icon.
   Friendly, calm, and readable for non-technical buyers.
   ========================================================================== */

:root {
  --paper: #faf6ee;
  --paper-2: #f1ebdd;
  --card: #fffdf7;
  --ink: #22201c;
  --ink-2: #6b6558;
  --ink-3: #999181;
  --blue: #3b6ea5;
  --blue-deep: #2b5480;
  --blue-soft: #dcE9f5;
  --yellow: #f6c94e;
  --yellow-soft: #fbe7ac;
  --green: #3e7d54;
  --green-soft: #e1eddf;
  --dark: #23272f;
  --dark-2: #2b303b;
  --cream-text: #f3efe4;
  --cream-dim: #b4b0a4;

  --font-display: "Bricolage Grotesque", "Segoe UI", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 20px;
  --line: 2px solid var(--ink);
  --pop: 5px 6px 0 rgba(34, 32, 28, 0.16);
  --pop-hard: 4px 5px 0 var(--ink);
  --pop-hover: 8px 10px 0 rgba(34, 32, 28, 0.18);
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
}

/* Paper grain, very faint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.7rem);
  font-weight: 780;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

h3 {
  font-size: 1.32rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.muted {
  color: var(--ink-2);
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 3000;
  background: var(--ink);
  color: var(--cream-text);
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

section {
  padding: clamp(70px, 9vw, 125px) 0 0;
}

/* ---------- Eyebrow / headings ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

/* speed-line prefix, borrowed from the icon */
.eyebrow::before {
  content: "";
  width: 28px;
  height: 10px;
  background-image: linear-gradient(var(--ink) 0 0), linear-gradient(var(--ink) 0 0),
    linear-gradient(var(--ink) 0 0);
  background-repeat: no-repeat;
  background-size: 16px 2px, 22px 2px, 12px 2px;
  background-position: right 0, right 4px, right 8px;
  opacity: 0.55;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  font-size: 18.5px;
  color: var(--ink-2);
}

/* Highlighter sweep behind key words — an inline background so it can
   wrap across lines on small screens without blowing out the layout */
.hl {
  padding: 0 0.08em;
  margin: 0 -0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.42em;
  background-position: 0 88%;
  transition: background-size 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.3s;
}

body.js .hl {
  background-size: 0% 0.42em;
}

body.js .in-view .hl,
body.js .hl.in-view {
  background-size: 100% 0.42em;
}

/* ---------- Sticker cards (the signature surface) ---------- */

.patch {
  position: relative;
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--pop);
}

.patch.dark {
  background: var(--dark);
  color: var(--cream-text);
  box-shadow: 5px 6px 0 rgba(34, 32, 28, 0.3);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: var(--line);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--pop-hard);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 7px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary {
  background: var(--blue);
  color: #fffdf7;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-gold {
  background: var(--yellow);
  color: var(--ink);
}

.btn-gold:hover {
  background: #f8d267;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
}

.btn-ghost.on-dark {
  background: transparent;
  color: var(--cream-text);
  border-color: var(--cream-text);
  box-shadow: 4px 5px 0 rgba(243, 239, 228, 0.35);
}

.btn-ghost.on-dark:hover {
  box-shadow: 6px 7px 0 rgba(243, 239, 228, 0.4);
}

.btn.small {
  padding: 12px 22px;
  font-size: 15px;
  box-shadow: 3px 4px 0 var(--ink);
}

.btn.small:hover {
  box-shadow: 5px 6px 0 var(--ink);
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 246, 238, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(34, 32, 28, 0);
  transition: border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px clamp(20px, 4vw, 40px);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover img {
  transform: rotate(8deg) translateX(3px) scale(1.06);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 780;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.main-nav a:not(.btn) {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 5px;
  background: var(--yellow);
  border-radius: 3px;
  z-index: -1;
  transition: right 0.25s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
  color: var(--ink);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(40px, 6vw, 88px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  padding: 9px 18px 9px 13px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.16);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 125, 84, 0.18);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(17.5px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 33em;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-chips svg {
  color: var(--green);
  flex: none;
}

/* Hero visual: flying stick sticker on a badge */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 42vw, 560px);
}

.hero-disc {
  position: absolute;
  width: min(86%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-soft);
  border: var(--line);
  box-shadow: var(--pop);
}

.hero-disc::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(59, 110, 165, 0.4);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-stick {
  width: min(62%, 350px);
  filter: drop-shadow(10px 16px 0 rgba(34, 32, 28, 0.14));
  animation: fly 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes fly {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -14px);
  }
}

.float-chip {
  position: absolute;
  z-index: 3;
  background: var(--card);
  border: var(--line);
  border-radius: 14px;
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.18);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, -2deg));
  }
  50% {
    transform: translateY(-12px) rotate(var(--tilt, -2deg));
  }
}

.float-chip svg {
  color: var(--blue);
}

.float-chip.fc1 {
  top: 8%;
  left: 1%;
  --tilt: -3deg;
  animation-delay: -2.5s;
}

.float-chip.fc2 {
  bottom: 15%;
  left: -2%;
  --tilt: 2deg;
  animation-delay: -5s;
}

.float-chip.fc3 {
  top: 20%;
  right: -1%;
  --tilt: 2.5deg;
  animation-delay: -1s;
}

.float-chip.fc4 {
  bottom: 5%;
  right: 5%;
  --tilt: -2deg;
  animation-delay: -6s;
}

/* ---------- Marquee ---------- */

.marquee-section {
  padding-top: clamp(56px, 7vw, 90px);
}

.marquee-label {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.marquee {
  display: flex;
  overflow: hidden;
  gap: 16px;
  padding: 6px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  flex: none;
  min-width: 100%;
  justify-content: space-around;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - 16px));
  }
}

.task-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.14);
  white-space: nowrap;
}

.task-chip svg {
  color: var(--blue);
  flex: none;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step {
  padding: 32px 30px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translate(-2px, -3px);
  box-shadow: var(--pop-hover);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--yellow);
  border: var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  padding: 6px 16px;
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.18);
  transform: rotate(-2deg);
}

.step .step-art {
  height: 58px;
  margin: 10px 0 14px;
  display: flex;
  align-items: center;
  color: var(--blue);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0;
}

.how-note {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--ink-2);
  background: var(--paper-2);
  border-radius: 16px;
  border: 2px dashed rgba(34, 32, 28, 0.25);
}

.how-note svg {
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}

.how-note p {
  margin: 0;
}

/* ---------- Demo (chat window) ---------- */

.demo-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.demo-side .section-head {
  margin-bottom: 26px;
}

.demo-chips {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: var(--line);
  border-radius: 16px;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.demo-chip svg {
  flex: none;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 10px;
  padding: 7px;
  width: 38px;
  height: 38px;
}

.demo-chip small {
  display: block;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 2px;
}

.demo-chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 6px 0 rgba(34, 32, 28, 0.18);
}

.demo-chip[aria-pressed="true"] {
  background: var(--blue);
  color: #fffdf7;
  box-shadow: var(--pop-hard);
}

.demo-chip[aria-pressed="true"] small {
  color: var(--blue-soft);
}

.chat-window {
  overflow: hidden;
  border-radius: var(--radius);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: var(--line);
  background: var(--paper-2);
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

.chat-head img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.chat-head .chat-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 15.5px;
}

.chat-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.chat-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.chat-body {
  padding: 26px 24px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 16px;
  border: var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  animation: msg-in 0.4s cubic-bezier(0.3, 1.2, 0.4, 1);
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.msg.user {
  align-self: flex-end;
  background: var(--blue);
  color: #fdfaf1;
  border-bottom-right-radius: 5px;
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.16);
}

.msg.user img {
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 220px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.msg.ai {
  align-self: flex-start;
  background: var(--card);
  border-bottom-left-radius: 5px;
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.1);
  white-space: pre-wrap;
}

.msg.ai.safety {
  border-left: 5px solid var(--yellow);
}

.msg.ai .caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--blue);
  margin-left: 2px;
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.typing-dots {
  align-self: flex-start;
  display: inline-flex;
  gap: 6px;
  padding: 16px 20px;
  background: var(--card);
  border: var(--line);
  border-radius: 16px 16px 16px 5px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: dot-bounce 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dot-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.demo-hint {
  color: var(--ink-3);
  font-size: 15px;
  align-self: center;
  margin: auto 0;
  text-align: center;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  padding: 32px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translate(-2px, -4px);
  box-shadow: var(--pop-hover);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  border: var(--line);
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 rgba(34, 32, 28, 0.14);
}

.feature-card:nth-child(3n + 2) .feature-icon {
  background: var(--yellow-soft);
  color: #8a6410;
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--green-soft);
  color: var(--green);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin: 0;
}

.feature-card .fine {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- Privacy band (dark) ---------- */

.privacy-band {
  margin-top: clamp(70px, 9vw, 125px);
  background: var(--dark);
  color: var(--cream-text);
  border-top: var(--line);
  border-bottom: var(--line);
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

/* faint oversized speed lines in the background, kept clear of the text */
.privacy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 0 0),
    linear-gradient(rgba(255, 255, 255, 0.045) 0 0), linear-gradient(rgba(255, 255, 255, 0.045) 0 0);
  background-repeat: no-repeat;
  background-size: 22% 3px, 30% 3px, 16% 3px;
  background-position: 0 88%, 0 91%, 0 94%;
  pointer-events: none;
}

/* On dark surfaces the highlighted words sit fully on the yellow, in ink */
.privacy-band .hl,
.patch.dark .hl {
  color: var(--ink);
  background-size: 100% 100%;
  background-position: 0 50%;
}

body.js .privacy-band .hl,
body.js .patch.dark .hl {
  background-size: 0% 100%;
}

body.js .privacy-band .in-view .hl,
body.js .privacy-band .hl.in-view,
body.js .patch.dark .in-view .hl,
body.js .patch.dark .hl.in-view {
  background-size: 100% 100%;
}

.privacy-band .eyebrow {
  color: var(--yellow);
}

.privacy-band .eyebrow::before {
  background-image: linear-gradient(var(--yellow) 0 0), linear-gradient(var(--yellow) 0 0),
    linear-gradient(var(--yellow) 0 0);
  opacity: 0.8;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}

.privacy-band h2 {
  color: #fbf8ef;
}

.privacy-band .lead {
  color: var(--cream-dim);
  font-size: 18px;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.privacy-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--dark-2);
  border: 2px solid rgba(243, 239, 228, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
}

.privacy-list svg {
  flex: none;
  color: var(--yellow);
  margin-top: 3px;
}

.privacy-list strong {
  display: block;
  font-size: 16px;
  color: #fbf8ef;
  margin-bottom: 3px;
}

.privacy-list span {
  font-size: 14.5px;
  color: var(--cream-dim);
  line-height: 1.55;
}

/* ---------- Safety section ---------- */

.safety-card {
  padding: clamp(30px, 4vw, 48px);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
}

.safety-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.safety-card .disclaimer {
  background: var(--yellow-soft);
  border: var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
}

.safety-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.safety-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1.5px solid rgba(34, 32, 28, 0.22);
  border-radius: 12px;
  padding: 13px 15px;
}

.safety-tile svg {
  flex: none;
  color: var(--ink-3);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 910px;
  margin: 0 auto;
}

.price-card {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translate(-2px, -5px);
  box-shadow: var(--pop-hover);
}

.price-card.featured {
  box-shadow: var(--pop-hard);
}

.badge-popular {
  position: absolute;
  top: -18px;
  right: 26px;
  background: var(--yellow);
  border: var(--line);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  transform: rotate(2.5deg);
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.2);
}

.price-tier {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 780;
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
}

.price-desc {
  color: var(--ink-2);
  font-size: 15.5px;
  margin: 10px 0 22px;
}

.price-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 22px 0 0;
  border-top: 2px dashed rgba(34, 32, 28, 0.25);
  display: grid;
  gap: 12px;
  font-size: 15.5px;
}

.price-features li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.price-features svg {
  flex: none;
  color: var(--green);
  margin-top: 3.5px;
}

.price-features li.dim {
  color: var(--ink-3);
}

.price-features li.dim svg {
  color: var(--ink-3);
}

.price-card .btn {
  margin-top: auto;
}

.pricing-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin-top: 40px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink-2);
}

.pricing-notes span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.pricing-notes svg {
  color: var(--blue);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

details.faq-item {
  border-radius: 18px;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 17px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary .faq-x {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow-soft);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

details.faq-item[open] summary .faq-x {
  transform: rotate(45deg);
  background: var(--yellow);
}

.faq-a {
  padding: 0 26px 24px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 62em;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-more {
  text-align: center;
  margin-top: 36px;
}

/* FAQ page */

.page-hero {
  padding: clamp(50px, 7vw, 90px) 0 0;
  text-align: center;
}

.page-hero p {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
}

.faq-cat {
  max-width: 780px;
  margin: 0 auto;
}

.faq-cat h2 {
  font-size: 1.55rem;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-cat h2 svg {
  color: var(--blue);
}

/* ---------- Final CTA ---------- */

.cta-band {
  margin: clamp(80px, 10vw, 140px) 0 0;
  padding: 0 0 clamp(80px, 10vw, 130px);
}

.cta-card {
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}

.cta-card img {
  width: 130px;
  margin: 0 auto 26px;
  filter: drop-shadow(6px 10px 0 rgba(0, 0, 0, 0.35));
  animation: fly 6s ease-in-out infinite;
}

.cta-card h2 {
  color: #fbf8ef;
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--cream-dim);
  font-size: 18px;
  max-width: 34em;
  margin: 0 auto 32px;
}

.cta-card .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--cream-dim);
  border-top: var(--line);
  padding: clamp(50px, 6vw, 80px) 0 36px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.site-footer .brand {
  color: var(--cream-text);
  margin-bottom: 14px;
}

.footer-tag {
  max-width: 26em;
  line-height: 1.6;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--cream-dim);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: grid;
  gap: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #8f8b7f;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
}

/* ---------- Buy page ---------- */

.buy-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-bottom: clamp(80px, 10vw, 130px);
}

.buy-step {
  margin-bottom: 36px;
}

.buy-step > h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.buy-step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 2px 3px 0 rgba(34, 32, 28, 0.18);
}

.tier-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tier-option {
  position: relative;
  cursor: pointer;
}

.tier-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tier-box {
  display: block;
  background: var(--card);
  border: var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 3px 4px 0 rgba(34, 32, 28, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.tier-option:hover .tier-box {
  transform: translate(-1px, -2px);
}

.tier-option input:checked + .tier-box {
  background: var(--blue-soft);
  box-shadow: var(--pop-hard);
}

.tier-option input:focus-visible + .tier-box {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.tier-box .t-name {
  font-weight: 800;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.tier-box .t-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 780;
}

.tier-box .t-desc {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}

.box-list {
  list-style: none;
  margin: 0;
  padding: 24px;
  display: grid;
  gap: 11px;
  font-size: 15.5px;
}

.box-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.box-list svg {
  flex: none;
  color: var(--green);
  margin-top: 3.5px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field select {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%;
  transition: box-shadow 0.18s ease;
}

.form-field input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 110, 165, 0.3);
}

.risk-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--yellow-soft);
  border: var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  margin: 24px 0;
}

.risk-notice input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

.order-summary {
  position: sticky;
  top: 96px;
  padding: 30px 28px;
}

.order-summary h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.summary-rows {
  display: grid;
  gap: 12px;
  font-size: 15.5px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 2px dashed rgba(34, 32, 28, 0.25);
}

.summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.summary-rows .free {
  color: var(--green);
  font-weight: 750;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 20px;
}

.preorder-note {
  background: var(--blue-soft);
  border: 1.5px solid rgba(59, 110, 165, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--blue-deep);
  line-height: 1.55;
  margin-bottom: 20px;
}

.trust-strip {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
}

.trust-strip span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.trust-strip svg {
  color: var(--blue);
  flex: none;
}

.order-confirm {
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(80px, 10vw, 130px);
}

.order-confirm h2 {
  margin-bottom: 12px;
}

.order-confirm p {
  color: var(--ink-2);
}

.confirm-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--green-soft);
  border: var(--line);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

/* ---------- Reveal on scroll (only when JS is available) ---------- */

body.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.3, 0.8, 0.3, 1), transform 0.8s cubic-bezier(0.3, 0.8, 0.3, 1);
}

body.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

body.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.3, 0.8, 0.3, 1), transform 0.7s cubic-bezier(0.3, 0.8, 0.3, 1);
}

body.js [data-reveal-stagger].in-view > * {
  opacity: 1;
  transform: none;
}

body.js [data-reveal-stagger].in-view > *:nth-child(2) {
  transition-delay: 0.1s;
}

body.js [data-reveal-stagger].in-view > *:nth-child(3) {
  transition-delay: 0.2s;
}

body.js [data-reveal-stagger].in-view > *:nth-child(4) {
  transition-delay: 0.3s;
}

body.js [data-reveal-stagger].in-view > *:nth-child(5) {
  transition-delay: 0.4s;
}

body.js [data-reveal-stagger].in-view > *:nth-child(6) {
  transition-delay: 0.5s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  /* backdrop-filter would make the header the containing block for the
     fixed mobile menu, so the menu could never cover the screen */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: var(--paper);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  }

  body.nav-open .main-nav {
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .main-nav a:not(.btn) {
    font-size: 26px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
  }

  .hero-grid,
  .demo-wrap,
  .privacy-grid,
  .safety-grid,
  .buy-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .hero-stick {
    width: min(52%, 280px);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .feature-grid,
  .tier-picker,
  .form-grid,
  .safety-tiles {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .float-chip {
    display: none;
  }

  .msg {
    max-width: 95%;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }

  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

/* ---------- A look inside: real product screenshots ---------- */

.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.shot {
  margin: 0;
  padding: 14px 14px 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shot:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: var(--shadow-lift);
}

.shot img {
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}

.shot figcaption {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.shot figcaption strong {
  color: var(--ink);
}

@media (max-width: 880px) {
  .shots-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Screenshot lightbox ---------- */

.shot img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4vh 4vw;
  background: rgba(24, 22, 18, 0.9);
}

.lightbox img {
  max-width: min(1500px, 96vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

.lightbox-caption {
  margin: 0;
  max-width: 60em;
  text-align: center;
  color: var(--cream-text);
  font-size: 15px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--cream-text);
  background: transparent;
  color: var(--cream-text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.06);
}

/* ---------- Showcase video ---------- */

.showcase-video-frame {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 16px 20px;
}

.showcase-video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #000;
}

.showcase-video-frame figcaption {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: center;
}

.showcase-video-frame figcaption strong {
  color: var(--ink);
}

/* ---------- Film gallery: two supporting films under the hero film ---------- */

.video-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1040px;
  margin: 26px auto 0;
}

.duo-video-frame {
  margin: 0;
  padding: 12px 12px 16px;
}

.duo-video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #000;
}

.duo-video-frame figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  text-align: center;
}

.duo-video-frame figcaption strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .video-duo {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal / info pages ---------- */
.legal-body { max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 2em; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.7; }
.legal-body a { color: var(--blue); }
