:root {
  --brand-primary: #EAB308;
  --brand-primary-dim: #B8890A;
  --brand-accent: #2563EB;
  --bg: #0F1115;
  --bg-raised: #15181D;
  --bg-raised-2: #1B1F26;
  --border: #2A2E37;
  --text: #FFFFFF;
  --text-dim: #9CA3AF;
  --text-faint: #6B7280;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { color: var(--text-dim); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

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

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--brand-primary);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #F5C518;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 9px;
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: #F5C518;
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--text-dim);
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 480px;
  margin: 22px 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-proof {
  font-size: 0.9rem;
  color: var(--text-faint);
}

/* flow card in hero */

.flow-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.flow-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised-2);
  border-radius: 9px;
  font-size: 1.1rem;
}

.flow-label {
  font-weight: 500;
  font-size: 0.98rem;
}

.flow-row-end .flow-icon {
  background: var(--brand-primary);
  color: var(--bg);
}

.flow-chevron {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding-left: 19px;
}

/* ---------- My story section ---------- */

.my-story {
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.story-inner {
  display: flex;
  justify-content: center;
}

.story-copy {
  max-width: 680px;
}

.story-copy h2 {
  margin-bottom: 22px;
}

.story-copy p {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 18px;
}

.story-signoff {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 0.95rem;
  margin-top: 26px;
}

/* ---------- Real screenshot frames ---------- */

.screen-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
}

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

.app-showcase {
  border-bottom: 1px solid var(--border);
}

.app-showcase-inner h2 {
  max-width: 620px;
  margin: 4px 0 28px;
}

.tablet-screen-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Feature rows (how it works page) ---------- */

.feature-row {
  border-bottom: 1px solid var(--border);
}

.feature-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.feature-row-reverse .feature-inner {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-visual {
  order: 1;
}

.feature-copy .step-num {
  margin-bottom: 14px;
}

.feature-copy h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.feature-copy p {
  font-size: 1.02rem;
  max-width: 420px;
}

/* ---------- Problem section ---------- */

.section {
  padding: 80px 0;
}

.problem {
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 18px;
}

.problem-item {
  display: flex;
  gap: 14px;
}

.problem-mark {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.problem-item p {
  color: var(--text);
  font-size: 1.02rem;
}

/* ---------- Product showcase / tablet ---------- */

.product-showcase {
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.product-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.tablet-wrap {
  display: flex;
  justify-content: center;
}

.tablet-frame {
  position: relative;
  background: #1C2026;
  border: 1px solid #2E333C;
  border-radius: 28px;
  padding: 18px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

.tablet-bolt {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3A4049;
}

.tablet-bolt-tl { top: 10px; left: 10px; }
.tablet-bolt-tr { top: 10px; right: 10px; }
.tablet-bolt-bl { bottom: 10px; left: 10px; }
.tablet-bolt-br { bottom: 10px; right: 10px; }

.tablet-screen {
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.mock-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-primary);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
}

.mock-body {
  display: flex;
  min-height: 260px;
}

.mock-sidebar {
  width: 90px;
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-side-item {
  font-size: 0.72rem;
  color: var(--text-faint);
  padding: 8px 8px;
  border-radius: 6px;
}

.mock-side-active {
  background: var(--bg-raised-2);
  color: var(--text);
  font-weight: 600;
}

.mock-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.mock-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.mock-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.mock-card-sub {
  font-size: 0.72rem;
  color: var(--text-faint);
}

.product-copy h2 {
  margin: 4px 0 16px;
}

.product-copy p {
  font-size: 1.05rem;
  max-width: 440px;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 28px;
}

/* ---------- Page hero (how it works / contact) ---------- */

.page-hero {
  padding-top: 70px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}

.page-hero .hero-sub {
  margin-top: 18px;
}

/* ---------- Steps ---------- */

.steps {
  border-bottom: 1px solid var(--border);
}

.step-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.step-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-row:first-child {
  padding-top: 0;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-primary);
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-content p {
  max-width: 560px;
  font-size: 1.02rem;
}

/* ---------- What's included ---------- */

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.included-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
}

.included-mark {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.included-item h4 {
  margin-bottom: 6px;
}

.included-item p {
  font-size: 0.9rem;
}

.included-note {
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--text-faint);
}

/* ---------- Contact page ---------- */

.contact-section {
  padding-top: 70px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-copy h1 {
  margin-bottom: 16px;
}

.contact-points {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text);
}

.point-mark {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 6px;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.contact-form input:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form input::placeholder {
  color: var(--text-faint);
}

.contact-form .btn {
  margin-top: 22px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 14px;
}

/* ---------- Thanks page ---------- */

.thanks-section {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.thanks-inner {
  max-width: 560px;
  margin: 0 auto;
}

.thanks-inner .eyebrow {
  justify-content: center;
}

.thanks-inner h1 {
  margin-bottom: 18px;
}

.thanks-inner .hero-sub {
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner,
  .product-inner,
  .contact-inner,
  .feature-inner {
    grid-template-columns: 1fr;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-visual {
    order: initial;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

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

  .main-nav a:not(.nav-cta) {
    display: none;
  }
}

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

  .step-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
