/* Bolo marketing site — tokens mirrored from apps/mobile/src/theme/colors.ts */

:root {
  --ground: #f9f4ea;
  --surface: #fffbf2;
  --surface-alt: #f5efe4;
  --on-primary: #fffdf8;
  --ink: #1e1847;
  --ink-muted: #7a6650;
  --terracotta: #c2501f;
  --gold: #e8a424;
  --green: #2b7a52;
  --hairline: rgba(30, 24, 71, 0.07);
  --hairline-strong: rgba(30, 24, 71, 0.13);
  --display: "Fraunces", serif;
  --sans: "DM Sans", sans-serif;
  --odia: "Noto Sans Oriya", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta);
}

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

/* Nav */

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 0 12px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.brand-odia {
  font-family: var(--odia);
  font-size: 15px;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--terracotta);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 0;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 30em;
}

.hero-odia {
  margin-top: 18px;
  font-family: var(--odia);
  font-size: 17px;
  color: var(--terracotta);
}

.hero-odia .rom {
  font-family: var(--sans);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 15px;
}

.badge-soon {
  display: inline-flex;
  flex-direction: column;
  margin-top: 30px;
  padding: 10px 22px;
  background: var(--ink);
  color: var(--on-primary);
  border-radius: 12px;
  line-height: 1.3;
}

.badge-soon .small {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.75;
}

.badge-soon .big {
  font-size: 17px;
  font-weight: 600;
}

/* Phone frames */

.phone {
  width: min(340px, 82vw);
  margin: 0 auto;
  border: 11px solid var(--ink);
  border-radius: 50px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(30, 24, 71, 0.18);
}

.phone img {
  width: 100%;
  border-radius: 39px;
}

.phone-crop {
  height: 540px;
}

.phone-crop img {
  border-radius: 39px 39px 0 0;
}

/* Feature sections */

.features {
  padding-top: 40px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.feature:nth-of-type(even) .feature-copy {
  order: -1;
}

.feature-copy .overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--terracotta);
}

.feature-copy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-top: 10px;
}

.feature-copy p {
  margin-top: 16px;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 32em;
}

/* Three-up strip */

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 0 80px;
}

.strip-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 24px;
}

.strip-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.strip-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
  font-weight: 300;
}

/* Footer */

footer {
  border-top: 1px solid var(--hairline-strong);
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--ink-muted);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: baseline;
}

.foot-row a {
  color: var(--ink-muted);
}

.foot-note {
  margin-top: 14px;
  font-size: 13px;
}

/* Doc pages (privacy, support) */

.doc {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.doc h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -1px;
  margin: 40px 0 6px;
}

.doc .doc-date {
  color: var(--ink-muted);
  font-size: 14px;
}

.doc h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 36px 0 8px;
}

.doc p,
.doc li {
  margin-top: 10px;
  color: var(--ink-muted);
}

.doc ul {
  padding-left: 22px;
}

.doc strong {
  color: var(--ink);
  font-weight: 600;
}

/* Responsive */

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0;
    text-align: center;
  }

  .feature .feature-copy {
    order: -1;
  }

  .feature-copy p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .nav-links {
    gap: 16px;
  }
}
