:root {
  --bg: #0c0f14;
  --bg-elevated: #141922;
  --surface: #1a2130;
  --text: #e8ecf4;
  --text-muted: #94a3b8;
  --accent: #f4b942;
  --accent-soft: rgba(244, 185, 66, 0.15);
  --line: rgba(148, 163, 184, 0.12);
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  background: var(--accent);
  color: #1a1408 !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

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

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    gap: 0.75rem;
  }

  .nav-list.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem clamp(4rem, 10vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 80%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 360px);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.hero-personality {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: #c0cada;
  line-height: 1.4;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.accent-underline {
  position: relative;
  white-space: nowrap;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.22em;
  background: linear-gradient(90deg, rgba(244, 185, 66, 0.9), rgba(244, 185, 66, 0.1));
  border-radius: 999px;
  transform-origin: left;
  animation: underlineGrow 850ms ease-out both 200ms;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  margin-top: 0.9rem;
}

.hero-paths .btn {
  padding: 0.58rem 0.95rem;
  font-size: 0.86rem;
}

.hero-proof {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  color: #bcc8d9;
  max-width: 52ch;
}

.role-fit-strip {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.role-fit-strip span {
  font-size: 0.72rem;
  color: #c0cade;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1408;
}

.hero-actions .btn-primary {
  animation: ctaPulse 4.8s ease-in-out infinite;
}

.btn-guided {
  font-size: 0.84rem;
  padding: 0.56rem 0.9rem;
  opacity: 0.95;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
}

.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.hero-meta strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Sections */
section {
  padding: clamp(2.35rem, 5.2vw, 3.6rem) 1.5rem;
  position: relative;
}

section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 30px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(8, 11, 16, 0.24));
}

.philosophy-break {
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  text-align: center;
}

.philosophy-break p {
  margin: 0 auto;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Experience */
.timeline {
  border-left: 2px solid var(--line);
  margin-left: 0.5rem;
  padding-left: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-item h3 {
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.timeline-item .org {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

.timeline-item .dates {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.timeline-item ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.timeline-item li {
  margin-bottom: 0.4rem;
}

/* Case studies */
.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  overflow: clip;
}

.case:last-child {
  margin-bottom: 0;
}

.case h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.featured-case {
  background: linear-gradient(160deg, #1f2736 0%, #192230 55%, #171f2c 100%);
  border-color: rgba(244, 185, 66, 0.3);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.featured-case h3 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.featured-case .role {
  margin-bottom: 0.75rem;
}

.featured-problem {
  margin: 0 0 1.35rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--text);
  max-width: 70ch;
}

.result-line {
  margin: 0 0 1rem;
  color: #d5deea;
  font-size: 0.92rem;
}

.result-line strong {
  color: var(--accent);
}

.decision-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.3rem;
}

.flow-step {
  background: rgba(12, 15, 20, 0.62);
  border: 1px solid rgba(244, 185, 66, 0.24);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.flow-step strong {
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.flow-step span {
  color: var(--text);
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.32;
}

.flow-step:hover {
  border-color: rgba(244, 185, 66, 0.45);
}

.flow-step.is-selected {
  border-color: rgba(244, 185, 66, 0.58);
  background: rgba(244, 185, 66, 0.12);
  transform: translateY(-1px);
}

.flow-explanation {
  margin: 0.2rem 0 1.2rem;
  color: #c6d0df;
  font-size: 0.88rem;
  line-height: 1.45;
}

.case .role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.case-interactive {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.case-interactive.is-collapsed:hover {
  border-color: rgba(244, 185, 66, 0.3);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.case-toggle {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(244, 185, 66, 0.5);
  background: rgba(244, 185, 66, 0.18);
  color: #ffe8b9;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.case-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 185, 66, 0.48);
  background: rgba(244, 185, 66, 0.14);
}

.case-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 360ms ease, opacity 260ms ease;
}

.case.is-expanded .case-details {
  opacity: 1;
}

.case .case-summary {
  color: #c5cfdd;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.2rem;
}

.case-tags span {
  font-size: 0.67rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: var(--text-muted);
}

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

.strategic-decisions .case-block ul {
  margin: 0.3rem 0 0;
  padding-left: 1rem;
  color: #cad5e4;
}

.strategic-decisions .case-block li {
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  line-height: 1.35;
}

.case-block {
  background: var(--bg);
  padding: 1rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}

.case-block strong {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.case-block p {
  margin: 0;
  color: var(--text-muted);
}

.case-block ul {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: var(--text-muted);
}

.case-block li {
  margin-bottom: 0.32rem;
  line-height: 1.35;
}

.screen-caption {
  margin: 1.45rem 0 0.95rem;
  color: #c2cede;
  font-size: 0.98rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  margin-top: 0.65rem;
}

.screen-card {
  margin: 0;
}

.screen-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  background: rgba(12, 15, 20, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 0.5rem;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
  display: block;
}

.screen-frame.has-tilt {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.screen-frame.has-tilt:hover {
  transform: perspective(900px) rotateX(1.1deg) rotateY(-1.2deg) scale(1.025);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.business-showcase {
  margin-top: 0.55rem;
}

.browser-frame {
  aspect-ratio: 16 / 9;
  padding-top: 1.6rem;
  position: relative;
}

.browser-dots {
  position: absolute;
  left: 0.65rem;
  top: 0.55rem;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.8) 28%, transparent 30%) 0 0 / 11px 8px repeat-x;
  opacity: 0.8;
}

.crop-invoice {
  object-fit: cover !important;
  object-position: center top;
}

.phone-frame {
  aspect-ratio: 10 / 16;
  padding: 0.2rem;
  border-radius: 24px;
  width: clamp(220px, 26vw, 300px);
  margin: 0 auto;
  background: linear-gradient(180deg, #11192a 0%, #0b111c 100%);
  border-color: rgba(148, 163, 184, 0.33);
  overflow: hidden;
}

.phone-crop {
  object-fit: cover !important;
}

.folders-crop {
  object-position: center 42%;
}

.goals-crop {
  object-position: center 40%;
}

.case-with-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 28vw, 320px);
  gap: 1.15rem 1.4rem;
  align-items: start;
}

.case-with-visual .screen-caption {
  margin: 0 0 0.55rem;
}

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

@media (max-width: 800px) {
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-photo {
    order: 2;
    max-width: 320px;
  }
  .case-with-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .decision-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-photo {
    max-width: 280px;
  }
}

/* AI strip */
.ai-strip {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, #151c28 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.ai-strip h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.ai-strip ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.ai-strip li {
  margin-bottom: 0.5rem;
}

.placeholder-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent-soft);
  border-radius: 8px;
  border: 1px dashed rgba(244, 185, 66, 0.35);
}

/* Skills */
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pills span {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.tour-prompt {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 180;
  width: min(360px, calc(100% - 2rem));
  background: rgba(20, 25, 34, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  padding: 0.9rem;
}

.tour-prompt p {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 0.92rem;
}

.tour-prompt-actions {
  display: flex;
  gap: 0.55rem;
}

.tour-prompt-actions .btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
}

.tour-overlay {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 190;
  width: min(360px, calc(100% - 2rem));
}

.tour-tooltip {
  background: rgba(20, 25, 34, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  padding: 0.75rem;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

#tour-step-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tour-exit {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.tour-exit:hover {
  border-color: rgba(244, 185, 66, 0.45);
  color: var(--text);
}

#tour-title {
  margin: 0;
  font-size: 1rem;
}

#tour-message {
  margin: 0.3rem 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.tour-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
}

.tour-controls .btn {
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
}

.tour-highlight {
  position: relative;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(244, 185, 66, 0.32), 0 0 0 10px rgba(244, 185, 66, 0.07);
  transition: box-shadow 0.2s ease;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8, 11, 16, 0.62);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.intro-modal {
  position: relative;
  width: min(560px, 100%);
  background: rgba(20, 25, 34, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.36);
  padding: 1.25rem 1.15rem 1rem;
}

.intro-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
  cursor: pointer;
}

.intro-close:hover {
  color: var(--text);
  border-color: rgba(244, 185, 66, 0.4);
}

.intro-modal h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.intro-modal p {
  margin: 0.45rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.intro-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.intro-actions .btn {
  min-height: 44px;
}

.intro-skip {
  margin-top: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.86rem;
  text-decoration: underline;
  cursor: pointer;
}

.path-indicator {
  position: fixed;
  top: 5.25rem;
  right: 1rem;
  z-index: 205;
  background: rgba(20, 25, 34, 0.95);
  border: 1px solid rgba(244, 185, 66, 0.35);
  color: #f6ddb0;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.footer-link-button {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.path-highlight {
  box-shadow: 0 0 0 1px rgba(244, 185, 66, 0.32), 0 0 0 10px rgba(244, 185, 66, 0.07);
  border-radius: 14px;
}

.voice-bubble {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 210;
  width: min(360px, calc(100% - 2rem));
  background: rgba(20, 25, 34, 0.97);
  border: 1px solid rgba(244, 185, 66, 0.35);
  border-radius: 12px;
  padding: 0.72rem 0.86rem;
  color: #ebf0f8;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 320ms ease, transform 320ms ease;
}

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

@media (max-width: 640px) {
  .tour-prompt,
  .tour-overlay {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 0.75rem;
  }

  .tour-controls {
    flex-wrap: wrap;
  }

  .tour-controls .btn {
    flex: 1;
    min-width: 0;
    min-height: 42px;
  }

  .tour-prompt-actions .btn {
    min-height: 42px;
  }

  .intro-actions {
    grid-template-columns: 1fr;
  }

  .intro-modal {
    padding: 1rem 0.95rem 0.9rem;
  }

  .path-indicator {
    top: auto;
    bottom: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    text-align: center;
  }

  .voice-bubble {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    bottom: 0.75rem;
    font-size: 0.84rem;
  }
}

@keyframes underlineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ctaPulse {
  0%,
  80%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 185, 66, 0);
  }
  85% {
    box-shadow: 0 0 0 10px rgba(244, 185, 66, 0.12);
  }
}
