@import url('tokens.css');

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.7; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── TOPBAR ───────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--size-small);
}
.topbar-nav a { text-decoration: none; color: var(--text-muted); }
.topbar-nav a:hover { color: var(--text); opacity: 1; }
.btn-pr {
  background: #fff !important;
  color: #000 !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--size-small) !important;
}
.btn-pr:hover { opacity: 0.85 !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--gutter);
  padding-bottom: clamp(48px, 8vh, 96px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.pr-badge {
  display: inline-block;
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--hairline);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: var(--size-hero);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero-meta {
  font-size: var(--size-small);
  color: var(--text-dim);
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-sep { opacity: 0.4; }

/* ── SECTION BASE ─────────────────────────────────────────── */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
}
.section.feature-section--alt {
  background: #060606;
}

/* ── RULE ─────────────────────────────────────────────────── */
.rule {
  height: 1px;
  background: var(--hairline);
  margin: clamp(40px, 6vw, 72px) 0;
}

/* ── LABEL EYEBROW ────────────────────────────────────────── */
.label-eyebrow {
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* ── LEDE ─────────────────────────────────────────────────── */
.lede-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  .lede-grid { grid-template-columns: 1fr; gap: 16px; }
}
.lede-text {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.lede-text strong { color: #fff; }
.lede-text:last-child { margin-bottom: 0; }

/* ── PULL QUOTE ───────────────────────────────────────────── */
.quote-section { padding-top: 0; }
.pull-quote {
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: clamp(24px, 3vw, 48px);
  max-width: 820px;
}
.pull-quote p {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}
.pull-quote footer {
  font-size: var(--size-small);
  color: var(--text-dim);
  font-style: normal;
  letter-spacing: 0.05em;
}
.pull-quote--second {
  margin-top: 48px;
  border-left-color: rgba(255,255,255,0.2);
}
.pull-quote--second p {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

/* ── FEATURE SECTIONS ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid--img-left .feature-img-wrap { order: -1; }
}
.feature-heading {
  font-size: var(--size-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.feature-body {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  padding-left: 20px;
  position: relative;
  color: rgba(255,255,255,0.6);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
}
.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-dim);
}
.feature-img-wrap {
  overflow: hidden;
  border-radius: 8px;
}
.feature-img {
  width: 100%;
  display: block;
}
.feature-img--portrait {
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

/* ── TRIO ─────────────────────────────────────────────────── */
.trio-header { margin-bottom: 48px; }
.trio-heading {
  font-size: var(--size-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) {
  .trio-grid { grid-template-columns: 1fr; }
}
.trio-card { display: flex; flex-direction: column; gap: 18px; }
.trio-img-wrap {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3/4;
}
.trio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.trio-title {
  font-size: var(--size-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.trio-body {
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ── BANNER ───────────────────────────────────────────────── */
.banner-section {
  position: relative;
  height: clamp(280px, 40vw, 540px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img-wrap { position: absolute; inset: 0; }
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
}
.banner-quote {
  font-size: clamp(24px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-style: italic;
}

/* ── AVAILABILITY ─────────────────────────────────────────── */
.avail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 720px) { .avail-grid { grid-template-columns: 1fr; } }
.avail-heading {
  font-size: var(--size-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}
.avail-body {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: var(--size-body);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cta-btn:hover { opacity: 0.85; }
.avail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
}
.fact-item {
  background: var(--bg);
  padding: 28px 24px;
}
.fact-num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.fact-label {
  font-size: var(--size-small);
  color: var(--text-dim);
  line-height: 1.4;
}

/* ── BOILERPLATE ──────────────────────────────────────────── */
.boilerplate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 720px) { .boilerplate-grid { grid-template-columns: 1fr; } }
.boilerplate-text {
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: var(--size-small);
}
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); opacity: 1; }
.footer-copy {
  font-size: var(--size-small);
  color: var(--text-dim);
}

/* LetzAI theme base — maps tokens to common elements */
html,
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
}
h1,
h2,
h3 {
  color: var(--text-title);
  font-family: var(--font-title);
  font-size: var(--size-title);
  font-weight: var(--weight-title);
}
.lead,
.subtitle {
  font-size: var(--size-subtitle);
  color: var(--text-muted);
}
small,
.caption {
  font-size: var(--size-caption);
}
[data-letzai-slide] h1,
.slide-title {
  color: var(--text-title);
  font-family: var(--font-title);
  font-size: var(--size-title);
  font-weight: var(--weight-title);
}
[data-letzai-slide] h2,
[data-letzai-slide] .subtitle {
  font-size: var(--size-subtitle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: var(--weight-body);
}
[data-letzai-slide] p {
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
}
[data-letzai-slide] .caption,
[data-letzai-slide] small {
  font-size: var(--size-caption);
  color: var(--text-muted);
}
.slide h1 {
  color: var(--text-title);
  font-family: var(--font-title);
  font-size: var(--size-title);
  font-weight: var(--weight-title);
}
.slide .subtitle {
  font-size: var(--size-subtitle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: var(--weight-body);
}
.slide p,
.slide .caption {
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
}
.slide .caption {
  font-size: var(--size-caption);
  color: var(--text-muted);
}
