:root {
  color-scheme: dark;
  --background: #090d14;
  --surface: #121a25;
  --border: #2b3c50;
  --text: #f4f7fb;
  --muted: #a8b5c6;
  --teal: #20e5d5;
  --orange: #ff994d;
  font: 100%/1.6 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--background); }
a { color: var(--teal); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; border-radius: 3px; }
.frame { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.header { padding-block: 22px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.65rem; line-height: 1; font-weight: 850; letter-spacing: -.07em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.accent { color: var(--teal); }
nav { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover, nav a[aria-current="page"] { color: var(--teal); }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.65rem, 7vw, 5.2rem); letter-spacing: -.065em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.35rem); letter-spacing: -.045em; }
h3 { font-size: 1.12rem; }
p { margin: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); align-items: center; gap: clamp(32px, 7vw, 88px); padding-block: clamp(44px, 8vw, 94px); }
.hero p { max-width: 34ch; margin-top: 22px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.preview { margin: 0; display: grid; place-items: center; padding: 26px; background: radial-gradient(ellipse at bottom right, #123c40, var(--surface) 64%); border: 1px solid var(--border); border-radius: 30px; }
.preview img { width: min(100%, 250px); height: auto; display: block; border: 1px solid #536476; border-radius: 17px; }
.features { padding: 28px 0 64px; }
.features h2 { margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 18px; }
.card p { margin-top: 8px; color: var(--muted); }
.article { padding-block: clamp(42px, 8vw, 86px); max-width: 720px; }
.article h1 { font-size: clamp(2.35rem, 6vw, 4.4rem); margin-bottom: 22px; }
.article h2 { font-size: 1.55rem; margin-top: 28px; margin-bottom: 10px; }
.article p { max-width: 64ch; margin-bottom: 14px; color: var(--muted); overflow-wrap: anywhere; }
.article details { border-top: 1px solid var(--border); padding: 14px 0; }
.article summary { cursor: pointer; color: var(--text); font-weight: 700; }
.article details p { margin-top: 10px; margin-bottom: 0; }
.footer { border-top: 1px solid var(--border); padding-block: 20px; color: var(--muted); }
@media (max-width: 700px) {
  .hero, .cards { grid-template-columns: 1fr; }
  .preview { justify-self: stretch; }
  .preview img { width: min(100%, 220px); }
}
@media (max-width: 360px) {
  .frame { width: calc(100% - 32px); }
}
