@font-face {
  font-family: "Anthropic Serif";
  src: url("./fonts/AnthropicSerif-Roman.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthropic Sans";
  src: url("./fonts/AnthropicSans-Roman.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf9f5;
  --bg-soft: #f3f2ee;
  --fg: #141413;
  --muted: #5e5d59;
  --muted-2: #9c9a92;
  --line: #e8e6dc;
  --card: #ffffff;
  --btn: #141413;
  --btn-fg: #faf9f5;
  --clay: #d97757;
  --serif: "Anthropic Serif", Georgia, "Times New Roman", serif;
  --sans: "Anthropic Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 0 0 1px rgba(20, 20, 19, 0.04), 0 10px 28px rgba(20, 20, 19, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand svg { width: 18px; height: 18px; display: block; }
.brand-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--fg);
}
.nav button {
  opacity: 0.9;
  font-size: inherit;
  padding: 0;
}
.nav button:hover { opacity: 1; }
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.link-quiet {
  font-size: 13.5px;
  padding: 8px 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-primary {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}
.btn-primary:hover { background: #30302e; }

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 28px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 72px);
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 0;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.45;
}
.card {
  background: var(--card);
  border: 1px solid rgba(20, 20, 19, 0.05);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 16px 14px;
}
.card .btn {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  font-size: 14px;
}
.btn-outline {
  background: #fff;
  border-color: var(--line);
}
.btn-outline:hover { background: var(--bg-soft); }
.g-icon { width: 16px; height: 16px; display: block; }
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}
.or::before, .or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.legal {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.legal a,
.legal-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
  font-size: inherit;
  padding: 0;
  display: inline;
}
.download {
  margin-top: 14px;
  align-self: center;
  width: auto;
  min-width: 0;
  padding: 0 16px;
  background: var(--bg-soft);
  border-color: transparent;
  min-height: 36px;
  font-size: 12.5px;
}
.download:hover { background: #ebe8df; }
.download svg { width: 14px; height: 14px; opacity: 0.85; }
.hero-right {
  min-height: 520px;
  border-radius: 24px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  text-align: center;
}
.promo-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
}
.promo-mark svg { width: 100%; height: 100%; display: block; }
.promo-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 11em;
}

.plans {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 28px 64px;
}
.plans h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
}
.plan h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
}
.plan .tag {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.plan ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg);
  line-height: 1.4;
}
.plan li::before {
  content: "•";
  color: var(--muted-2);
  margin-right: 8px;
}
.plan .cta { margin-top: 18px; width: 100%; }

.foot {
  border-top: 1px solid var(--line);
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 28px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 12px;
  color: var(--muted);
}
.foot a,
.foot button {
  color: var(--muted);
  font-size: inherit;
  padding: 0;
}
.foot a:hover,
.foot button:hover { color: var(--fg); }

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.wa-modal[hidden] { display: none !important; }
.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, 0.4);
}
.wa-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: min(640px, calc(100vh - 40px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(20, 20, 19, 0.18);
}
.wa-modal-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}
.wa-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 242, 238, 0.92);
  color: #141413;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.wa-modal-close:hover { background: #e8e6dc; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right { min-height: 280px; order: -1; }
  .plan-grid { grid-template-columns: 1fr; }
}
