:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172033;
  background: #f5f7fc;
  --surface: #fff;
  --muted: #526079;
  --line: #d5dce8;
  --accent: #4f46d8;
  --soft: #ecebff;
  --green: #09685c;
  --green-soft: #e1f4ef;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
header,
main,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 24px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.brand span {
  font-size: 1rem;
}
.brand small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}
header > a:last-child {
  font-size: 0.85rem;
}
.intro {
  padding: 56px 0 24px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1.07;
  max-width: 950px;
  margin: 0 0 28px;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 22px;
}
h3 {
  font-size: 1.12rem;
  margin: 0 0 12px;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
.lede {
  font-size: 1.16rem;
  max-width: 810px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 28px 0;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.release-note {
  font-size: 0.88rem;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  max-width: 810px;
}
section {
  margin-bottom: 72px;
  scroll-margin-top: 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature-grid article {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.feature-grid p {
  font-size: 0.95rem;
}
.why {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 0;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px;
  min-width: 0;
}
.step-heading {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-height: 66px;
}
.step-heading > span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green);
}
.steps p {
  font-size: 0.92rem;
  margin-bottom: 0;
}
.step-picture {
  min-height: 185px;
  background: var(--soft);
  border-radius: 8px;
  padding: 16px;
  margin: 8px 0 20px;
}
.step-picture svg {
  width: 74px;
  height: 66px;
  color: var(--accent);
}
.step-picture strong {
  display: block;
  font:
    600 0.78rem/1.6 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.step-picture span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  background: var(--green-soft);
  border-radius: 16px;
}
.example blockquote {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  border-left: 3px solid var(--green);
  padding-left: 24px;
}
.closing {
  max-width: 800px;
}
.closing .button {
  margin-top: 18px;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 36px;
}
:root:not([data-theme="light"]) {
  background: #111827;
  color: #edf1fa;
  --surface: #1b2537;
  --muted: #b3bfd4;
  --line: #3e4b62;
  --accent: #b4b8ff;
  --soft: #33365b;
  --green: #7de0c4;
  --green-soft: #193e39;
  color-scheme: dark;
}
:root:not([data-theme="light"]) .button {
  color: #181e3f;
}
@media (max-width: 850px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .example {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  header,
  main,
  footer {
    padding: 20px;
  }
  .intro {
    padding-top: 32px;
  }
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .step-heading {
    min-height: 0;
  }
  .step-picture {
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .step-picture svg {
    flex-shrink: 0;
  }
  .example {
    padding: 24px;
  }
  section {
    margin-bottom: 48px;
  }
  header > a:last-child {
    max-width: 100px;
  }
}

:root {
  --rwai-font: ui-sans-serif, system-ui, sans-serif;
  --rwai-text: #172033;
  --rwai-surface: var(--surface);
  --rwai-muted: var(--muted);
  --rwai-border: var(--line);
  --rwai-accent: var(--accent);
  --rwai-accent-contrast: #ffffff;
  --rwai-focus: var(--accent);
  --rwai-accent-soft: var(--soft);
  --rwai-success-soft: var(--green-soft);
}
:root:not([data-theme="light"]) {
  --rwai-text: #edf1fa;
  --rwai-accent-contrast: #181e3f;
}
.marketing-privacy {
  max-width: 1056px;
  margin: 18px auto 0;
}
.marketing-footer {
  max-width: 1056px;
  margin: auto;
}
.marketing-header select {
  font: inherit;
  color: var(--rwai-text);
  background: var(--rwai-surface);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.marketing-header .button {
  font-size: 0.85rem;
  padding: 10px 14px;
}
@media (max-width: 650px) {
  .marketing-footer {
    padding: 24px 20px;
  }
  .marketing-privacy {
    margin: 12px 16px;
  }
}
