:root {
  color-scheme: dark;
  --bg: #0A1628;
  --surface: #0B1D3A;
  --surface-2: #122850;
  --text: #E6EDF5;
  --muted: #A9B8CC;
  --teal: #2BA3B5;
  --link: #5FCAD9;
  --gold: #D4A94B;
  --cta: #CC4125;
  --cta-hover: #B93A1E;
  --line: rgba(255, 255, 255, 0.14);
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--link); text-underline-offset: 2px; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: 12px; }

h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.15; margin: 24px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 10px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.hero { padding: 16px 0 24px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--cta-hover); }
.button.secondary { background: transparent; border: 1px solid var(--line); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.soon { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 16px 0; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }

ul.facts { padding-left: 22px; }
ul.facts li { margin: 6px 0; }

.note { border-left: 3px solid var(--gold); padding: 8px 14px; background: rgba(212, 169, 75, 0.08); border-radius: 0 8px 8px 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 12px 16px; min-height: 48px; display: flex; align-items: center; }
details > div { padding: 0 16px 12px; }
details > div p:first-child { margin-top: 0; }

ol.steps li { margin: 6px 0; }

footer { border-top: 1px solid var(--line); margin-top: 48px; color: var(--muted); font-size: 15px; }
footer .wrap { padding-top: 20px; padding-bottom: 32px; }
footer nav a { display: inline-block; padding: 10px 0; margin-right: 18px; }

/* Listing share page */
.listing-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface); display: block; }
@media (min-width: 720px) { .listing-photo { aspect-ratio: 16 / 9; } }
.price { font-size: 32px; font-weight: 800; margin: 16px 0 0; }
.specs { margin: 4px 0 0; color: var(--muted); }
.listing h1 { font-size: 24px; margin: 8px 0 4px; }
.attribution { margin-top: 20px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.attribution p { margin: 2px 0; }
[hidden] { display: none !important; }
