:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --accent: #b45309;
  --accent-deep: #92400e;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-tertiary: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

/* ─── HEADER / NAV ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 99px;
}

/* ─── HERO ─────────────────────────────────────── */

.hero {
  padding: 72px 0 40px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: #fffbeb;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-copy h1,
.section-heading h2,
.about-grid h2,
.cta-box h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  max-width: 13ch;
}

.hero-copy p,
.section-heading p,
.about-grid p,
.cta-box p,
.card p,
.screen-card p,
.trust-grid p,
.footer-copy {
  color: var(--text-secondary);
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 18px 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(180, 83, 9, 0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: min(100%, 320px);
  padding: 14px;
  border-radius: 36px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-mockup img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 24px;
  background: var(--bg-tertiary);
}

/* ─── TRUST BAR ─────────────────────────────────── */

.trust-bar {
  padding: 24px 0 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid > div,
.card,
.screen-card,
.cta-box {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.trust-grid > div {
  padding: 20px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ─── SECTIONS ──────────────────────────────────── */

.section {
  padding: 72px 0;
}

.alt-section {
  background: var(--bg-secondary);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.about-grid h2,
.cta-box h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-heading p,
.about-grid p,
.cta-box p {
  margin-top: 14px;
  font-size: 1rem;
}

/* ─── FEATURES ──────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.screen-card {
  padding: 24px;
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card h3,
.screen-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

/* ─── SCREENS ───────────────────────────────────── */

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  text-align: center;
}

.screen-card .phone-mockup {
  margin: 0 auto 18px;
}

/* ─── ABOUT ─────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.about-grid p {
  margin-top: 14px;
}

.about-grid a {
  color: var(--accent);
}

.about-grid a:hover {
  text-decoration: underline;
}

.about-detail-card {
  padding: 24px;
}

.about-detail-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}

/* ─── FAQ ───────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 24px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}

.faq-item a {
  color: var(--accent);
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ─── CTA ───────────────────────────────────────── */

.cta-section {
  padding: 0 0 80px;
}

.cta-box {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

/* ─── FOOTER ────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 0;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-copy {
  max-width: 620px;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ─── LEGAL PAGES ───────────────────────────────── */

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.legal-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.legal-intro {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--accent-deep);
  margin-bottom: 40px;
  line-height: 1.65;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.7;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 20px;
  margin: 0 0 12px;
}

.legal-section li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.65;
}

.legal-bold {
  font-weight: 600;
  color: var(--text-primary);
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.contact-card p {
  margin-bottom: 4px !important;
}

/* ─── RESPONSIVE ────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .footer-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid,
  .feature-grid,
  .screens-grid,
  .trust-grid,
  .hero-points,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .cta-section {
    padding-bottom: 56px;
  }

  .card,
  .screen-card,
  .trust-grid > div,
  .cta-box {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    font-size: 1.02rem;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero-copy p,
  .section-heading p,
  .about-grid p,
  .cta-box p {
    font-size: 0.96rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .phone-mockup {
    width: min(100%, 290px);
  }
}