:root {
  --ink: #0b0b0c;
  --ink-soft: #1a1a1c;
  --teal: #55a893;
  --orange: #fd6603;
  --paper: #ffffff;
  --muted-bg: #f5f4f1;
  --text: #1c1c1e;
  --text-soft: #63646a;
  --border: #e7e5e0;
  --radius: 18px;
  --wrap: 1160px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -20px rgba(11, 11, 12, 0.35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-mark { width: 26px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(253, 102, 3, 0.6);
}
.btn-primary:hover { background: #e75a00; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn-primary:hover::before { left: 130%; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; }

.btn-small { padding: 9px 20px; font-size: 0.88rem; }
.btn-large { padding: 16px 34px; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, #17181a 0%, var(--ink) 60%);
  color: #fff;
  padding: 96px 0 110px;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  background: var(--teal);
  top: -140px;
  left: -100px;
}
.hero::after {
  background: var(--orange);
  bottom: -160px;
  right: -120px;
  opacity: 0.22;
}

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}

.eyebrow--dark {
  text-align: center;
  margin-bottom: 12px;
  color: var(--orange);
}

.hero-logo {
  width: 280px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: 0.4em;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: heroDrift1 17s ease-in-out infinite alternate; }
  .hero::after { animation: heroDrift2 21s ease-in-out infinite alternate; }

  .hero-inner > * {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.28s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.52s; }
}

@keyframes heroDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(70px, 50px) scale(1.15); }
}
@keyframes heroDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, -40px) scale(1.12); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee ticker */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.marquee-track span:not(.marquee-dot) {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.marquee-dot {
  color: var(--orange);
  font-size: 0.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marqueeScroll 28s linear infinite; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 96px 0; }
.section--muted { background: var(--muted-bg); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}

.section-lede {
  text-align: center;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 56px;
  line-height: 1.65;
}

.section-lede--left {
  text-align: left;
  margin: 0 0 32px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.feature-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
}
.feature-icon--ring {
  border-radius: 50%;
  border: 6px solid var(--teal);
}
.feature-icon--hex {
  background: var(--orange);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
}
.feature-icon--dot {
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.feature-icon--dot::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.feature-card p {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.6;
}

/* Carousel */
.carousel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-height: 340px;
  padding: 64px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.carousel-slide .feature-icon { margin-bottom: 24px; }

.carousel-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.carousel-slide h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}

.carousel-text {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 46ch;
  line-height: 1.6;
  margin: 0;
}

.carousel-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.carousel-list--tags {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.carousel-list--tags li {
  background: var(--muted-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.95rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-arrow:hover { background: var(--muted-bg); }
.carousel-arrow--prev { left: 16px; }
.carousel-arrow--next { right: 16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 0 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.dot.is-active {
  background: var(--orange);
  transform: scale(1.25);
}

.carousel-progress {
  height: 3px;
  background: var(--border);
  margin: 0 24px 22px;
  border-radius: 999px;
  overflow: hidden;
}
.carousel-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  border-radius: 999px;
}
.carousel-progress-bar.is-animating {
  animation: carouselProgress 5.2s linear;
}
@keyframes carouselProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Steps (how it works) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.step--reverse .step-copy { order: 2; }
.step--reverse .step-visual { order: 1; }

.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.step-copy h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.step-copy p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Mock UI window */
.mock-window {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(11, 11, 12, 0.18);
}

.mock-chrome {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.mock-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.mock-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mock-input {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.95rem;
  background: var(--muted-bg);
  color: var(--text);
}
.mock-input--multiline { line-height: 1.5; }

.toggle-row {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
  width: fit-content;
}
.toggle-pill {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}
.toggle-pill--active {
  background: var(--ink);
  color: #fff;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-row--tight { row-gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--paper);
  white-space: nowrap;
}
.chip--selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}
.chip--tag {
  background: var(--muted-bg);
  color: var(--text);
}
.chip--accent {
  border-style: dashed;
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 600;
}

/* Upload mock */
.upload-mock {
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.upload-mock-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border-radius: 8px;
  border: 2px solid var(--teal);
  position: relative;
}
.upload-mock-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translate(-50%, -60%) rotate(-45deg);
}
.upload-mock p { margin: 0; }
.upload-mock em { font-style: normal; color: var(--text-soft); opacity: 0.75; }

/* Score bars */
.score-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.score-row {
  display: grid;
  grid-template-columns: 130px 1fr 42px;
  align-items: center;
  gap: 12px;
}
.score-label {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}
.score-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--muted-bg);
  overflow: hidden;
}
.score-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.score-fill.is-visible { width: var(--val); }
.score-value {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

/* Callouts */
.callout {
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(85, 168, 147, 0.1);
  border: 1px solid rgba(85, 168, 147, 0.3);
}
.callout p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}
.callout--warning {
  background: rgba(253, 102, 3, 0.08);
  border-color: rgba(253, 102, 3, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Palette mock */
.palette-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.palette-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.palette-label {
  width: 84px;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
  flex-shrink: 0;
}
.palette-dots {
  display: flex;
  gap: 8px;
}
.palette-dots span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Pop card / identity */
.pop-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  background: var(--muted-bg);
}
.pop-card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
}
.pop-card-q {
  font-weight: 600;
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.pop-card-a {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-style: italic;
}

.identity-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.identity-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.identity-row span { color: var(--text-soft); }
.identity-row--tight { padding-top: 4px; }
.identity-desc {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* SWOT */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.swot-cell {
  border-radius: 12px;
  padding: 16px 18px;
  border-left: 3px solid var(--border);
  background: var(--muted-bg);
}
.swot-cell h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.85rem;
}
.swot-cell p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.swot-good { border-left-color: var(--teal); }
.swot-watch { border-left-color: var(--orange); }

/* App promo */
.app-promo-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: center;
}

.phone-mock {
  width: 200px;
  height: 400px;
  border-radius: 34px;
  background: var(--ink);
  border: 6px solid var(--ink);
  box-shadow: 0 30px 60px -24px rgba(11, 11, 12, 0.35);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.phone-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
}

.app-promo-copy h2 { text-align: left; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 10px 20px;
}
.store-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.store-badge-text small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer nav */
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-nav a:hover { color: #fff; }

/* Identity showcase */
.identity-showcase {
  max-width: 720px;
  margin: 0 auto;
}

.identity-stage {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.45s ease, border-color 0.45s ease;
}
.identity-stage[data-bg="dark"] {
  background: var(--ink);
  border-color: var(--ink);
}

.identity-img {
  position: absolute;
  max-width: 62%;
  max-height: 46%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.identity-img.is-active {
  opacity: 1;
  transform: scale(1);
}
.identity-img--mark { max-width: 20%; }

.identity-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.identity-tab {
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.identity-tab:hover:not(.is-active) {
  border-color: var(--text-soft);
  color: var(--text);
}
.identity-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.identity-caption {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 48ch;
  margin: 18px auto 0;
  line-height: 1.6;
}

.identity-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}
.identity-footnote-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.identity-footnote p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Swatches */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.swatch {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.swatch:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.25);
}

.swatch-color {
  display: block;
  height: 120px;
  background: var(--swatch);
}

.swatch-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 22px 22px;
}

.swatch-name {
  font-family: var(--font-display);
  font-weight: 600;
}
.swatch-role {
  color: var(--text-soft);
  font-size: 0.88rem;
}
.swatch-hex {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* CTA */
.section--cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.section--cta .section-lede { color: rgba(255, 255, 255, 0.68); }
.cta-mark { margin: 0 auto 24px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { width: 150px; }
.footer-inner p { margin: 0; font-size: 0.88rem; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .swatch,
  .carousel,
  .identity-showcase,
  .step-copy,
  .step-visual,
  .phone-mock,
  .app-promo-copy {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .feature-card,
  .swatch,
  .carousel,
  .identity-showcase,
  .phone-mock {
    transform: translateY(28px);
  }
  .phone-mock { transform: translateY(28px) rotate(-4deg); }

  /* Mobile-safe vertical slide (steps stack full-width, so no horizontal offset here) */
  .step-copy,
  .step-visual,
  .app-promo-copy {
    transform: translateY(24px);
  }

  .feature-card.is-visible,
  .swatch.is-visible,
  .carousel.is-visible,
  .identity-showcase.is-visible,
  .step-copy.is-visible,
  .step-visual.is-visible,
  .phone-mock.is-visible,
  .app-promo-copy.is-visible {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }

  .feature-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
  .feature-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
  .swatch-grid .swatch:nth-child(2) { transition-delay: 0.1s; }
  .swatch-grid .swatch:nth-child(3) { transition-delay: 0.2s; }
  .step-visual { transition-delay: 0.08s; }
}

/* Desktop-only left/right slide, once the two-column step layout is active */
@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .step-copy { transform: translateX(-36px); }
  .step-visual { transform: translateX(36px); }
  .step--reverse .step-copy { transform: translateX(36px); }
  .step--reverse .step-visual { transform: translateX(-36px); }
  .app-promo-copy { transform: translateX(24px); }
}

/* Mock window tilt + spotlight */
.mock-window {
  position: relative;
  transition: transform 0.25s ease;
  will-change: transform;
}
.mock-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.5), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.mock-window.is-tilting::after { opacity: 1; }

/* Identity stage ambient glow */
.identity-stage { position: relative; }
.identity-stage::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 168, 147, 0.22), transparent 70%);
  z-index: 0;
}
.identity-stage[data-bg="dark"]::before {
  background: radial-gradient(circle, rgba(253, 102, 3, 0.22), transparent 70%);
}
.identity-img { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .identity-stage::before { animation: identityPulse 4.5s ease-in-out infinite; }
}
@keyframes identityPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.75; }
}

/* Category marquee */
.category-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.category-row { overflow: hidden; }
.category-track {
  display: inline-flex;
  gap: 10px;
  width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .category-track--left { animation: categoryScrollLeft 42s linear infinite; }
  .category-track--right { animation: categoryScrollRight 42s linear infinite; }
  .category-row:hover .category-track { animation-play-state: paused; }
}
@keyframes categoryScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes categoryScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.category-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.category-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}
.category-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--paper), transparent);
}
.category-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.category-cta .chip {
  font-size: 0.95rem;
  padding: 11px 22px;
}

/* Responsive */
@media (max-width: 860px) {
  .feature-grid,
  .swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step,
  .step--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step--reverse .step-copy { order: 1; }
  .step--reverse .step-visual { order: 2; }

  .steps { gap: 56px; }

  .carousel-slide { padding: 56px 48px; }

  .app-promo-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }
  .app-promo-copy h2,
  .app-promo-copy .section-lede--left { text-align: center; }
  .store-badges { justify-content: center; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .site-nav .btn { margin-top: 16px; }

  .section { padding: 64px 0; }
  .hero { padding: 64px 0 76px; }
}

@media (max-width: 560px) {
  .feature-grid,
  .swatch-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }

  .identity-stage { height: 240px; }
  .identity-img { max-width: 74%; max-height: 42%; }
  .identity-img--mark { max-width: 30%; }

  .carousel-slide { padding: 48px 24px; min-height: 300px; }
  .carousel-arrow { width: 34px; height: 34px; font-size: 1.2rem; }
  .carousel-arrow--prev { left: 8px; }
  .carousel-arrow--next { right: 8px; }

  .swot-grid { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 100px 1fr 38px; gap: 8px; }

  .phone-mock { width: 160px; height: 320px; }
  .phone-icon { width: 66px; height: 66px; }
}
