:root {
  --bg: #e4eef4;
  --fg: #1b242e;
  --muted: #f7fafc;
  --muted-fg: #4e5d6c;
  --card: #fbfcfd;
  --border: #d6dee6;
  --primary: #171a1e;
  --primary-hover: #2c3138;
  --primary-fg: #f6f3ee;
  --soft: #d5e3ec;
  --shadow: 0 1px 2px rgb(27 36 46 / 0.05), 0 10px 28px rgb(27 36 46 / 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: Newsreader, Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, [role="button"] { cursor: pointer; }
.wrap { width: min(64rem, calc(100% - 2rem)); margin-inline: auto; }
header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(228 238 244 / 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; height: 3.5rem; align-items: center; gap: 0.5rem; }
.brand { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Newsreader, Georgia, serif; font-size: 1.15rem; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 0.4rem; }
.langs, .intents { display: inline-flex; padding: 0.15rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.langs button, .intents button {
  min-height: 2rem; border: 0; background: transparent; border-radius: 999px;
  font: inherit; font-size: 0.75rem; font-weight: 600; padding: 0 0.55rem; color: var(--fg);
}
.intents { margin-top: 1rem; }
.intents button { min-height: 2.75rem; font-size: 0.875rem; font-weight: 500; padding: 0 0.9rem; }
.langs button[aria-pressed="true"], .intents button[aria-pressed="true"] { background: var(--primary); color: var(--primary-fg); }
.btn {
  display: inline-flex; min-height: 3rem; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.4rem 1.15rem; background: var(--primary); color: var(--primary-fg);
  text-decoration: none; font: inherit; font-weight: 500; border: 0; text-align: center;
}
.btn.compact { min-height: 2.25rem; padding: 0 0.75rem; font-size: 0.875rem; white-space: nowrap; }
.btn.secondary { background: var(--card); color: var(--fg); border: 1px solid var(--border); }
.btn:hover { background: var(--primary-hover); }
.btn.secondary:hover { background: var(--muted); }
.btn:disabled { opacity: 0.7; }
.hero { max-width: 40rem; padding-top: 1.5rem; }
h1 { font-size: 2.25rem; margin-top: 0.75rem; }
h2 { font-size: 2.25rem; }
.kicker, .note { color: var(--muted-fg); font-size: 0.875rem; }
.intro { margin-top: 0.5rem; color: var(--muted-fg); max-width: 40rem; }
section { margin-top: 3rem; }
.actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.stack { display: grid; gap: 0.5rem; margin-top: 1rem; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; box-shadow: var(--shadow); }
summary { list-style: none; display: flex; min-height: 3rem; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; cursor: pointer; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; margin-left: auto; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--muted-fg); border-bottom: 2px solid var(--muted-fg); transform: rotate(45deg); }
details[open] summary::after { transform: rotate(225deg); margin-top: 0.3rem; }
details p { margin: 0; padding: 0 1rem 1rem; color: var(--muted-fg); }
.steps { list-style: none; padding: 0; margin: 1.25rem 0 0; max-width: 40rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 1.25rem; }
.num { font-family: Newsreader, Georgia, serif; font-size: 1.875rem; line-height: 1; }
.step p, .point p { color: var(--muted-fg); margin: 0.35rem 0 0; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; box-shadow: var(--shadow); padding: 1.25rem; margin-top: 1.5rem; }
.display { font-family: Newsreader, Georgia, serif; font-size: 1.875rem; font-weight: 500; }
.pair { display: grid; gap: 1rem; margin-top: 1rem; }
.before, .after { border-radius: 1rem; padding: 1rem; }
.before { background: var(--muted); }
.after { background: var(--soft); }
.points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.wont { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.who { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.25rem; max-width: 40rem; }
.portrait { width: 4rem; height: 4rem; flex: none; border-radius: 999px; border: 1px solid var(--border); background: var(--card); }
.name { font-size: 1.875rem; margin: 0; }
form { display: grid; gap: 1rem; margin-top: 1.25rem; max-width: 40rem; }
label { display: grid; gap: 0.35rem; font-size: 0.875rem; font-weight: 500; }
input, select, textarea {
  min-height: 3rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card);
  color: var(--fg); font: inherit; padding: 0.6rem 0.8rem;
}
textarea { min-height: 7rem; }
.two { display: grid; gap: 1rem; }
pre { white-space: pre-wrap; font-family: inherit; background: var(--muted); border-radius: 1rem; padding: 1rem; }
footer { border-top: 1px solid var(--border); margin-top: 3.5rem; padding: 2.5rem 0 3rem; }
.links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; color: var(--muted-fg); font-size: 0.875rem; }
.links a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.legal h3 { font-family: Outfit, sans-serif; font-size: 1rem; font-weight: 600; margin-top: 1.25rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (min-width: 640px) {
  .bar { height: 4rem; }
  .brand { font-size: 1.5rem; }
  h1 { font-size: 3rem; }
  .actions, .two, .pair, .points { grid-template-columns: 1fr 1fr; }
  .actions { display: flex; }
  .hero { padding-top: 2.5rem; }
  section { margin-top: 4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
