:root {
  color-scheme: light;
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: #f7f7ef;
  color: #202820;
  --muted: #465448;
  --line: #cdd4c6;
  --green: #174333;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #b54d20; outline-offset: 4px; }
.shell { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; text-decoration: none; }
.hero { padding-block: clamp(52px, 8vw, 112px) clamp(44px, 6vw, 76px); }
h1, h2, h3, p { margin: 0; }
h1 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(4.5rem, 10vw, 9rem); line-height: .95; font-weight: 400; letter-spacing: -.055em; color: var(--green); }
.hero p { font-size: clamp(1.15rem, 2.6vw, 1.55rem); max-width: 36ch; margin: 22px 0 14px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.hero a { color: var(--green); font-weight: 600; }
h2 { margin-bottom: 16px; font-size: 1.45rem; letter-spacing: -.025em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
article { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fffef8; }
.preview { display: grid; place-items: center; aspect-ratio: 1.7; padding: 15px; background: var(--accent); }
.preview:focus-visible { outline-offset: -4px; z-index: 1; }
.preview img { display: block; max-width: 100%; width: 100%; max-height: 100%; object-fit: contain; border-radius: 9px; }
.content { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 21px; flex: 1; }
.identity { display: flex; gap: 12px; align-items: center; }
.identity img { border-radius: 12px; }
h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.type { margin-top: 2px; color: var(--muted); font-size: .85rem; }
.content > p { line-height: 1.5; color: var(--muted); }
.actions { display: flex; gap: 16px; align-items: center; font-size: .94rem; }
.actions a { display: inline-flex; align-items: center; min-height: 44px; }
.launch { gap: 9px; padding: 8px 14px; border-radius: 9px; background: var(--green); color: white; text-decoration: none; font-weight: 650; }
.launch:hover { background: #235b46; }
.archive { margin-top: 68px; }
.archive > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; list-style: none; padding: 0; }
.archive > ul > li { border-top: 1px solid var(--line); }
.archive > ul > li > a { min-height: 48px; display: flex; align-items: center; gap: 10px; justify-content: space-between; text-decoration: none; }
.archive > ul > li > a:hover { text-decoration: underline; }
.footer { border-top: 1px solid var(--line); margin-top: 52px; padding-block: 23px 34px; color: var(--muted); }
@media (max-width: 850px) { .grid, .archive > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 530px) { .shell { width: calc(100% - 32px); } .grid, .archive > ul { grid-template-columns: 1fr; } }
.flutter-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flutter-feature .preview { position: relative; aspect-ratio: auto; min-height: 260px; padding: 0; }
.flutter-feature .preview::before { content: ""; width: 100%; aspect-ratio: 8 / 5; }
.flutter-feature .preview img { position: absolute; inset: 0; height: 100%; object-fit: cover; border-radius: 0; }
.flutter-feature .content { align-content: center; grid-template-rows: auto auto auto; padding: clamp(21px, 4vw, 43px); }
.flutter-feature + .flutter-feature,
.flutter-feature + ul { margin-top: 20px; }
@media (max-width: 620px) {
  .flutter-feature { grid-template-columns: 1fr; }
  .flutter-feature .preview { aspect-ratio: 8 / 5; min-height: 0; }
}
