:root {
  --bg: #f2ede4;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-strong: #fffaf2;
  --ink: #1d2b2a;
  --muted: #5d6a67;
  --line: rgba(29, 43, 42, 0.12);
  --accent: #d9633b;
  --accent-deep: #9f4122;
  --accent-soft: #f3caa9;
  --teal: #1f7a72;
  --shadow: 0 24px 60px rgba(49, 38, 24, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 99, 59, 0.2), transparent 24rem),
    radial-gradient(circle at top right, rgba(31, 122, 114, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbf6ee 0%, var(--bg) 100%);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.page-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.panel-card,
.workflow-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
}

.hero h1,
.control-panel h2,
.workflow h2 {
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  max-width: 12ch;
}

.eyebrow,
.section-label,
.screen-label {
  margin: 0 0 12px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-text,
.panel-text,
.screen-summary,
.ai-body,
.workflow p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-checklist span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 43, 42, 0.08);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-actions a {
  text-decoration: none;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-button {
  background: var(--ink);
  color: #fff8f1;
}

.secondary-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.hero-panel {
  padding: 22px;
  display: grid;
  gap: 18px;
  background: rgba(255, 251, 245, 0.92);
}

.hero-preview h2 {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-panel-copy {
  padding: 2px 4px 0;
}

.hero-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.shot-card,
.showcase-shot {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(29, 43, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  min-height: 200px;
  padding: 10px;
}

.shot-card {
  min-height: 250px;
}

.shot-card img,
.showcase-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(180deg, #f7f4ee 0%, #f1ece3 100%);
}

.shot-card figcaption,
.showcase-shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 251, 245, 0.92);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.shot-card.missing,
.showcase-shot.missing {
  background:
    linear-gradient(135deg, rgba(255, 244, 233, 0.95), rgba(246, 241, 233, 0.95)),
    rgba(255, 255, 255, 0.92);
}

.shot-card.missing::before,
.showcase-shot.missing::before {
  content: "Add demo PNG here";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.demo-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
  justify-content: space-between;
}

.control-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  padding: 24px;
}

.trip-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.trip-option {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.trip-option:hover,
.trip-option.active {
  transform: translateY(-2px);
  border-color: rgba(217, 99, 59, 0.42);
  background: rgba(255, 245, 236, 0.95);
}

.trip-option strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.trip-option span {
  color: var(--muted);
  font-size: 0.92rem;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.capabilities span,
.signal-pill {
  border-radius: 999px;
  border: 1px solid rgba(29, 43, 42, 0.09);
  background: rgba(255, 255, 255, 0.68);
}

.capabilities span {
  padding: 10px 12px;
  font-size: 0.9rem;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, #25292e 0%, #121417 100%);
  box-shadow: 0 40px 90px rgba(18, 20, 23, 0.35);
  position: sticky;
  top: 22px;
}

.phone-notch {
  width: 44%;
  height: 26px;
  border-radius: 0 0 18px 18px;
  background: #101113;
  margin: 0 auto -10px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  min-height: 780px;
  border-radius: 32px;
  overflow: hidden;
  padding: 18px 16px 24px;
  background:
    radial-gradient(circle at top, rgba(217, 99, 59, 0.18), transparent 13rem),
    linear-gradient(180deg, #fff9f1 0%, #f3eee4 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-strip {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 2px 6px 8px;
}

.screen-card {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 43, 42, 0.08);
}

.screen-card-primary {
  background: linear-gradient(150deg, rgba(217, 99, 59, 0.9), rgba(159, 65, 34, 0.92));
  color: #fff8f2;
  border: none;
}

.screen-card-primary .screen-label,
.screen-card-primary .screen-summary {
  color: rgba(255, 248, 242, 0.82);
}

.screen-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.screen-card-header h3 {
  margin: 0;
  font-size: 1.35rem;
}

.compact h3 {
  font-size: 1.05rem;
}

.score-badge {
  min-width: 58px;
  min-height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.25rem;
  font-weight: 800;
}

.metrics-grid,
.signal-grid {
  display: grid;
  gap: 12px;
}

.metrics-grid {
  grid-template-columns: repeat(2, 1fr);
}

.metric-card {
  padding: 14px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid rgba(29, 43, 42, 0.08);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.metric-card strong {
  font-size: 1.05rem;
}

.ai-body {
  margin: 10px 0 0;
}

.signal-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}

.signal-pill {
  padding: 12px;
}

.signal-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.signal-pill strong {
  display: block;
  margin-top: 6px;
}

.tab-bar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tab {
  border: 0;
  border-radius: 16px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-weight: 700;
}

.tab.active {
  background: var(--ink);
  color: #fffaf4;
}

.workflow {
  margin-top: 28px;
}

.site-footer {
  padding: 18px 4px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow-card {
  padding: 28px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.workflow-steps div {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(29, 43, 42, 0.08);
}

.workflow-steps strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
}

@media (max-width: 980px) {
  .hero,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    position: static;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 16px;
  }

  .hero-copy,
  .panel-card,
  .workflow-card {
    padding: 22px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .workflow-steps,
  .metrics-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: auto;
  }
}
