:root {
  /* Exact anthropic.com palette */
  --bg: #faf9f5;
  --bg-soft: #f5f4ed;
  --bg-card: #ffffff;
  --dark: #141413;
  --dark-2: #1f1e1d;
  --border: #dedcd1;
  --border-dark: rgba(250, 249, 245, 0.12);

  --ink: #141413;
  --ink-muted: #5e5d59;
  --ink-soft: #73726c;

  --clay: #d97757;
  --clay-hover: #c6613f;
  --oat: #e3dacc;
  --cactus: #bcd1ca;
  --heather: #cbcadb;
  --release-bg: #fcfae3;
  --release-border: #efe4a4;
  --release-ink: #523815;

  --danger: #a83322;
  --danger-bg: #fdf1ee;
  --danger-border: rgba(168, 51, 34, 0.28);

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 12px;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--ink-muted);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  height: 36px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-dark {
  background: var(--dark);
  color: var(--bg);
}

.btn-dark:hover {
  background: #2e2d2a;
}

.btn-light {
  background: var(--bg);
  color: var(--dark);
}

.btn-light:hover {
  background: #e8e6dc;
}

.btn-outline-light {
  background: transparent;
  color: var(--bg);
  border-color: rgba(250, 249, 245, 0.3);
}

.btn-outline-light:hover {
  background: rgba(250, 249, 245, 0.08);
}

.btn-clay {
  background: var(--clay);
  color: #fff;
}

.btn-clay:hover {
  background: var(--clay-hover);
}

.btn-soft {
  background: #e8e6dc;
  color: var(--ink);
}

.btn-soft:hover {
  background: #dedcd1;
}

/* Hero */
.hero {
  padding: 68px 0 52px;
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 1050px;
}

.hero-h1 .muted {
  color: var(--ink-soft);
}

/* Dark Flagship Card */
.flagship {
  padding-bottom: 24px;
}

.flagship-card {
  background: var(--dark);
  color: var(--bg);
  border-radius: 20px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 44px;
  align-items: center;
}

.release-pill {
  display: inline-block;
  background: var(--release-bg);
  color: var(--release-ink);
  border: 1px solid var(--release-border);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 20px;
}

.flagship-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.spark {
  color: var(--clay);
}

.flagship-text {
  font-size: 18px;
  line-height: 1.55;
  color: #c2c0b6;
  margin: 0 0 28px;
  max-width: 48ch;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rant-box {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 26px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: #e8e6dc;
}

.rant-box .tag {
  color: var(--clay);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.rant-box strong {
  color: #ffffff;
}

/* 3 Pastel Cards */
.trio {
  padding: 0 0 72px;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card-oat { background: var(--oat); }
.card-cactus { background: var(--cactus); }
.card-heather { background: var(--heather); }

.card-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: #3d3d3a;
  margin-bottom: 10px;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #262624;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Sections */
.section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--dark);
  color: var(--bg);
  border-top-color: var(--border-dark);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-muted);
}

.section-dark .section-head p {
  color: #b0aea5;
}

/* Simulator */
.sim-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 880px;
}

.sim-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-pill {
  font-family: var(--mono);
  font-size: 12px;
  background: #e8e6dc;
  padding: 3px 10px;
  border-radius: 999px;
}

.sim-body {
  padding: 32px 26px 24px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.sim-empty {
  text-align: center;
  padding: 10px 0;
}

.sim-empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 10px 0 8px;
}

.sim-empty p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 15px;
}

.sim-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.sim-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}

.sim-chip:hover {
  background: #e8e6dc;
}

.sim-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sim-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.sim-av-u { background: var(--dark); color: var(--bg); }
.sim-av-a { background: var(--oat); color: var(--clay-hover); }

.sim-text {
  flex: 1;
  font-size: 15.5px;
  line-height: 1.55;
}

.sim-ban {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: 14px;
  padding: 20px 22px;
}

.sim-ban-title {
  color: var(--danger);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.sim-ban-desc {
  margin: 0 0 12px;
  font-size: 15px;
  color: #4f1d16;
  line-height: 1.55;
  white-space: pre-line;
}

.sim-ban-code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(168, 51, 34, 0.09);
  color: #7c2416;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.sim-ban-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-form {
  display: flex;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid #c2c0b6;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
}

.sim-form input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  min-width: 0;
}

/* Support Generator */
.quote-card {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  max-width: 880px;
  overflow: hidden;
}

.quote-head {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: #9c9a92;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-body {
  padding: 32px 26px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.45;
  color: var(--bg);
  white-space: pre-line;
  min-height: 150px;
}

.quote-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #9c9a92;
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  color: var(--bg);
  font-weight: 600;
  letter-spacing: 0.2em;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 19, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 30px;
}

.modal-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 12px;
}

.modal-card p {
  font-size: 15.5px;
  color: var(--ink-muted);
  margin: 0 0 20px;
  line-height: 1.55;
  white-space: pre-line;
}

@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .flagship-card,
  .trio-grid {
    grid-template-columns: 1fr;
  }
  .flagship-card { padding: 30px 22px; }
  .nav-links { display: none; }
}
