:root {
  --bg: #f3ede2;
  --bg-deep: #dbd0bf;
  --surface: rgba(255, 252, 245, 0.78);
  --surface-strong: rgba(255, 250, 241, 0.92);
  --ink: #1e2426;
  --muted: #566063;
  --line: rgba(30, 36, 38, 0.1);
  --accent: #9f2d20;
  --accent-dark: #7e2016;
  --accent-soft: #f1d6c7;
  --shadow: 0 24px 60px rgba(42, 33, 18, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(159, 45, 32, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(93, 119, 104, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f2e9 0%, var(--bg) 48%, var(--bg-deep) 100%);
  font-family: "Public Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 36, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 36, 38, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero,
.listen-section {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: var(--radius-lg);
  padding: 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand,
.top-link,
.button,
.feed-link,
.inline-link {
  text-decoration: none;
}

.brand {
  color: var(--ink);
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-link {
  color: var(--muted);
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  gap: 24px;
}

.hero-copy,
.status-panel,
.feed-card,
.info-card {
  border-radius: var(--radius-md);
}

.hero-copy {
  padding: clamp(20px, 3vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.9), rgba(255, 245, 235, 0.72)),
    linear-gradient(180deg, rgba(159, 45, 32, 0.06), rgba(159, 45, 32, 0));
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.eyebrow,
.section-label,
.status-kicker,
.info-label,
.feed-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow,
.section-label,
.status-kicker,
.info-label {
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  margin-top: 12px;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lede,
.section-heading p,
.status-note,
.info-card p,
.site-footer p {
  color: var(--muted);
}

.lede {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(30, 36, 38, 0.08);
}

.button-ghost {
  color: var(--accent-dark);
  background: transparent;
  border-color: transparent;
}

.status-panel {
  align-self: stretch;
  padding: 26px;
  background: linear-gradient(180deg, rgba(33, 44, 48, 0.95), rgba(25, 31, 36, 0.92));
  color: #f4efe8;
}

.status-kicker {
  margin: 0;
  color: #f4c1a6;
}

.status-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.9;
}

.status-note {
  margin: 20px 0 0;
  color: rgba(244, 239, 232, 0.74);
  line-height: 1.7;
}

.listen-section {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
}

.section-heading {
  max-width: 48rem;
}

.section-heading p {
  margin: 14px 0 0;
  line-height: 1.75;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-top: 28px;
}

.chat-section {
  margin-top: 28px;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-top: 28px;
}

.feed-card {
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid rgba(30, 36, 38, 0.08);
}

.chat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(30, 36, 38, 0.08);
}

.feed-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(159, 45, 32, 0.12);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.feed-title {
  margin: 0;
  color: var(--ink);
}

.feed-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.feed-link,
.inline-link {
  color: var(--accent);
  font-weight: 700;
  word-break: break-word;
}

.feed-frame-wrap {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.feed-frame {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
}

.chat-spec {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.chat-cta-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(159, 45, 32, 0.08), rgba(159, 45, 32, 0.02));
  border: 1px solid rgba(159, 45, 32, 0.12);
}

.compact-actions {
  margin-top: 18px;
}

.spec-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(250, 246, 238, 0.95), rgba(244, 236, 225, 0.84));
  border: 1px solid rgba(30, 36, 38, 0.08);
}

.spec-list {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.9;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 22px;
  background: rgba(255, 251, 244, 0.88);
  border: 1px solid rgba(30, 36, 38, 0.08);
}

.info-card p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 8px 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

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

  .feed-frame {
    min-height: 620px;
  }
}

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

  .hero,
  .listen-section {
    border-radius: 22px;
  }

  .topbar {
    padding-bottom: 18px;
  }

  .nav-links,
  .chat-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .feed-card-header {
    flex-direction: column;
  }

  .button,
  .feed-link {
    width: 100%;
  }

  .feed-frame {
    min-height: 560px;
  }
}
