:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #fbfcfd;
  --ink: #151922;
  --muted: #667085;
  --border: #d8dee8;
  --bad: #9c2f22;
  --good: #1f6b49;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.05);
  --chat-incoming-bg: #ffffff;
  --chat-incoming-border: #d8dee8;
  --chat-outgoing-bg: #f7f8fb;
  --chat-outgoing-border: #d8dee8;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 107, 73, 0.04), transparent 42%),
    linear-gradient(315deg, rgba(156, 47, 34, 0.04), transparent 38%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}

h1 span {
  text-decoration: line-through;
  text-decoration-thickness: 0.12em;
  text-decoration-color: rgba(156, 47, 34, 0.85);
}

.subtitle {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.lead {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.column {
  display: grid;
  gap: 1rem;
  align-content: start;
}

h2 {
  margin-bottom: 0;
  padding-left: 0.2rem;
  font-size: 1.35rem;
}

.bad {
  color: var(--bad);
}

.good {
  color: var(--good);
}

.chat-card,
.prose,
.footer-card {
  padding: 1.25rem;
}

.chat-card {
  display: grid;
  gap: 0.85rem;
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.chat-card-bad {
  --chat-incoming-bg: #ffffff;
  --chat-incoming-border: #d9dee7;
  --chat-outgoing-bg: #fff0eb;
  --chat-outgoing-border: #efb7aa;
  background:
    linear-gradient(180deg, #fffaf8 0%, #fff4f0 100%);
}

.chat-card-good {
  --chat-incoming-bg: #f7fffb;
  --chat-incoming-border: #bddfce;
  --chat-outgoing-bg: #e8f6ef;
  --chat-outgoing-border: #9fceb4;
  background:
    linear-gradient(180deg, #f8fffb 0%, #eefaf3 100%);
}

.message {
  width: fit-content;
  max-width: min(92%, 32rem);
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--chat-incoming-border);
  box-shadow: var(--shadow-soft);
  overflow-wrap: anywhere;
}

.incoming {
  background: var(--chat-incoming-bg);
}

.outgoing {
  margin-left: auto;
  background: var(--chat-outgoing-bg);
  border-color: var(--chat-outgoing-border);
}

.person,
.time {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.person {
  margin-right: 0.6rem;
  font-weight: 500;
}

.time {
  color: var(--muted);
}

.message p,
.prose p,
.prose li,
.footer-card p {
  line-height: 1.6;
}

.message p {
  margin: 0.45rem 0 0;
}

.fake-shot {
  margin: 0.75rem 0 0;
}

.fake-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #eef2f6;
}

.attached img {
  max-width: 24rem;
}

.prose ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}

.bad-list,
.good-list {
  list-style: none;
  margin-left: 0;
}

.bad-list li,
.good-list li {
  position: relative;
  padding-left: 1.9rem;
}

.bad-list li::before,
.good-list li::before {
  position: absolute;
  left: 0;
  top: 0;
}

.bad-list li::before {
  content: "👎";
  color: var(--bad);
}

.good-list li::before {
  content: "👍";
}

.footer-card {
  margin-top: 1.5rem;
}

.footer-card a {
  color: inherit;
}

.footer-card p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  html {
    font-size: 16px;
  }

  .site-shell {
    width: min(100% - 1rem, 1120px);
    padding: 0.75rem 0 2rem;
  }

  .hero {
    padding: 1.5rem;
  }

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

  .chat-card,
  .prose,
  .footer-card {
    padding: 1rem;
  }

  .message {
    max-width: 100%;
  }

  .attached img {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 0.75rem, 1120px);
    padding-bottom: 1.5rem;
  }

  .card {
    border-radius: 20px;
  }

  .hero {
    padding: 1.25rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .chat-card {
    gap: 0.7rem;
  }

  .message {
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
  }

  .person,
  .time {
    font-size: 0.72rem;
  }

  .prose ul {
    margin-left: 1rem;
  }
}

@media (max-width: 420px) {
  html {
    font-size: 15px;
  }

  .site-shell {
    width: min(100% - 0.5rem, 1120px);
    padding-top: 0.5rem;
  }

  .hero,
  .chat-card,
  .prose,
  .footer-card {
    padding: 0.9rem;
  }

  .message {
    width: 100%;
    border-radius: 15px;
  }
}
