/* Kiosk Satellite landing page. Tokens follow the app's remote admin
   stylesheet: warm off-white ground, teal primary, 24px cards, pill buttons. */

:root {
  --bg: #f5f4f2;
  --surface: #ffffff;
  --surface-2: #e8e6e1;
  --surface-high: #efede9;
  --border: #e3e0da;
  --text: #212327;
  --muted: #5d6066;
  --primary: #488284;
  --primary-deep: #1f4d50;
  --primary-soft: #dfeaea;
  --on-primary-soft: #1b3437;
  --band: #eaf0f0;
  --rust: #e8604c;
  --dark: #202124;
  --radius: 24px;
  --radius-sm: 12px;
  --font: "Google Sans", "Product Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--on-primary-soft); }
/* Links inside running text carry a dotted underline so they read as links */
main p a, .legal a, .made a { text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 20px;
  padding: 12px 22px; min-height: 44px; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #3a6d6f; color: #fff; }
.btn-ghost { border: 1px solid #b4b1ab; color: var(--text); padding: 11px 21px; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-coffee { background: #f1e0bb; color: #3d2d06; }
.btn-coffee:hover { background: #e9d3a3; color: #3d2d06; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--primary);
  background-image: linear-gradient(340deg, #3b6f71 0%, #488284 50%, #5fa0a3 100%);
  overflow: hidden;
}
/* The header band sits a shade darker than the hero gradient behind it,
   full width, with the nav content centered inside it. */
.nav-band { background: rgba(14, 40, 42, 0.16); }
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; padding: 0 64px; max-width: 1440px; margin: 0 auto;
}
.brand { display: inline-flex; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 8px 0; white-space: nowrap; }
.nav-links a:hover { color: #dff5f3; }
.nav-links svg { flex-shrink: 0; }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; cursor: pointer; }

.hero-body {
  position: relative;
  display: flex; align-items: center;
  min-height: 812px; padding: 40px 64px 0; max-width: 1440px; margin: 0 auto;
}
/* The copy sits a little above the vertical center of the hero; the padding shifts the centered box up */
.hero-copy { position: relative; z-index: 1; max-width: 600px; padding-bottom: 96px; }
.hero h1 {
  font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(125deg, #ffffff 30%, #cdf3ef 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
}
.hero h1 { white-space: nowrap; }
.hero h1 span { display: block; line-height: 1.1; }
.lead { margin-top: 28px; font-size: 23px; line-height: 34px; max-width: 580px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  background: var(--primary-deep); color: #fff; border-radius: 32px;
  padding: 12px 26px 12px 22px; font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.hero-cta:hover { background: #163a3c; color: #fff; }
.hero-alt { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hero-copy .hero-alt { display: flex; width: fit-content; }
.hero-alt:hover { color: #dff5f3; }
.hero-note { margin-top: 24px; font-size: 17px; line-height: 26px; opacity: 0.9; }
/* The tablet ends on the page's right gutter like every other section and
   is sized to sit fully beside the copy; the wrapper's padding keeps room
   for the shadow. */
.hero-visual {
  position: absolute; right: -96px; top: 50%; transform: translateY(-50%);
  width: 820px; padding: 0 120px 140px 0;
  display: flex; justify-content: flex-end;
}
.hero-device {
  width: 100%; flex-shrink: 0;
  border-radius: 24px; padding: 12px; overflow: hidden;
  background: var(--dark); box-shadow: 24px 64px 64px rgba(14, 40, 42, 0.5);
}
.hero-device img { border-radius: 14px; }

/* Works with */
.works-with {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  padding: 56px 64px 0;
}
.works-label { font-size: 14px; color: var(--muted); margin-right: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 7px 16px 7px 11px; font-size: 14px; font-weight: 500; min-height: 36px;
}
.chip img { width: 20px; height: 20px; border-radius: 5px; }
.chip img.wordmark { width: auto; height: 13px; border-radius: 0; }

/* Section dividers: the mark's four bars laid flat, the page's one decoration.
   Lengths follow the bars in the logo. */
.divider { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 120px auto 0; }
.divider i { display: block; height: 5px; border-radius: 999px; }
.divider i:nth-child(1) { width: 28px; background: #18bcf2; }
.divider i:nth-child(2) { width: 20px; background: #f2b705; }
.divider i:nth-child(3) { width: 52px; background: #3fbf5f; }
.divider i:nth-child(4) { width: 22px; background: #e8604c; }
.divider + .feature, .divider + .get-started { padding-top: 96px; }

/* Feature sections */
.feature {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center;
  padding: 140px 120px 0; max-width: 1440px; margin: 0 auto;
}
.band .feature { padding-top: 0; }
.feature-copy { display: flex; flex-direction: column; gap: 20px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--primary);
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.feature h2, .centered h2, .more h2, .gs-copy h2 { font-size: 42px; line-height: 1.12; }
.feature p, .centered p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3437' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.band .checks li::before { background-color: #d4e3e4; }
.frame {
  background: var(--dark); border-radius: var(--radius); padding: 12px;
  box-shadow: 0 24px 60px rgba(33, 35, 39, 0.14);
}
.frame img { border-radius: 14px; width: 100%; }

.band { margin-top: 140px; background: var(--band); padding: 90px 0; }
.collage { position: relative; height: 440px; }
.collage .big { position: absolute; left: 0; top: 0; width: 520px; }
.collage .small { position: absolute; right: 0; bottom: 0; width: 280px; border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px rgba(33, 35, 39, 0.22); }
.collage .small img { border-radius: 12px; }

/* Home Assistant device card */
.device-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 20px; box-shadow: 0 12px 40px rgba(33, 35, 39, 0.06);
}
.device-head { display: flex; align-items: center; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--border); }
.device-head div { display: flex; flex-direction: column; }
.device-name { font-size: 16px; font-weight: 500; }
.device-sub { font-size: 13px; color: var(--muted); }
.entity { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--surface-high); font-size: 15px; }
.entity:last-child { border-bottom: 0; }
.entity-name { flex: 1; }
.entity-name.fixed { flex: none; width: 150px; }
.state { font-size: 14px; }
.value { font-size: 14px; color: var(--muted); width: 40px; text-align: right; }
.bar { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-2); position: relative; }
.bar span { position: absolute; left: 0; top: 0; height: 6px; border-radius: 999px; background: var(--primary); }
.switch { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--surface-2); flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.switch.on { background: var(--primary); }
.switch.on::after { left: auto; right: 3px; box-shadow: none; }

/* Remote administration */
.band.remote { padding-bottom: 90px; }
.centered { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 0 64px; }
.centered h2 { max-width: 760px; }
.centered p { max-width: 720px; }
/* A laptop drawn in CSS: dark screen bezel over the screenshot, a light
   deck below it that runs a little wider, with the lid notch in the middle. */
.laptop { width: min(760px, calc(100% - 224px)); margin: 64px auto 0; position: relative; }
.laptop-screen {
  background: #202124; border: 2px solid #3a3b40; border-bottom: 0;
  border-radius: 20px 20px 0 0; padding: 16px 16px 20px;
  box-shadow: 0 30px 70px rgba(33, 35, 39, 0.22);
}
.laptop-screen img { border-radius: 8px; width: 100%; }
.laptop-base {
  position: relative; height: 22px; margin: 0 -48px;
  background: linear-gradient(#ecebe8, #cbc8c1); border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 24px rgba(33, 35, 39, 0.18), inset 0 1px 0 #ffffff;
}
.laptop-base::after {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 112px; height: 8px; background: #b4b1ab; border-radius: 0 0 8px 8px;
}

/* More cards */
.more { padding: 140px 120px 0; max-width: 1440px; margin: 0 auto; text-align: center; }
.more .sub { margin: 16px auto 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; text-align: left; }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--primary); color: var(--text); }
/* The remote admin's rail discs: icon on a filled circle, colors cycling sage, teal, ochre and rust */
.disc { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.disc svg { width: 20px; height: 20px; }
.d1 { background: #56814f; }
.d2 { background: #44686c; }
.d3 { background: #9c742a; }
.d4 { background: #a9501f; }
.card-title { font-size: 18px; font-weight: 500; }
.card-text { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Get started */
.get-started { padding: 140px 120px 0; max-width: 1440px; margin: 0 auto; }
.gs-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 72px;
}
.gs-copy { display: flex; flex-direction: column; gap: 20px; }
.gs-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.gs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.gs-note { font-size: 14px !important; margin-top: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; background: var(--bg); border-radius: 20px; }
.steps li div { display: flex; flex-direction: column; gap: 6px; }
.num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.step-title { font-size: 18px; font-weight: 500; }
.step-text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.steps code { align-self: flex-start; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; margin-top: 2px; }

/* Support */
.support { padding: 96px 120px 0; max-width: 1440px; margin: 0 auto; }
.support-card {
  display: flex; align-items: center; gap: 32px;
  background: #fdf8ee; border: 1px solid #f1e0bb; border-radius: 32px; padding: 40px 48px;
}
.support-heart {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%;
  background: #f1e0bb; color: var(--rust); font-size: 40px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.support-copy { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.support h2 { font-size: 26px; letter-spacing: -0.01em; }
.support p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.support .btn-coffee { flex-shrink: 0; }
.support .support-sign { font-size: 15px; font-weight: 500; color: var(--text); }
.heart { color: var(--rust); }

/* Footer */
.footer { margin-top: 120px; background: var(--dark); color: #e8eaed; padding: 72px 120px 48px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 48px; max-width: 1200px; margin: 0 auto; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand img { height: 40px; width: auto; align-self: flex-start; }
.foot-brand p { font-size: 14px; line-height: 1.6; color: #b6babf; max-width: 340px; }
.foot-col { display: flex; flex-direction: column; }
.foot-head { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.foot-col a { color: #b6babf; font-size: 14px; line-height: 28px; }
.foot-col a:hover { color: #fff; }
.made { margin-top: 56px; text-align: center; font-size: 15px; line-height: 1.6; color: #e8eaed; }
.legal {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #37383d; max-width: 1200px;
  font-size: 13px; line-height: 1.6; color: #b6babf;
}
.legal a, .made a { color: #b6babf; }
.made a { color: #e8eaed; }
.legal a:hover { color: #fff; }

/* Laptop widths: keep the hero tablet in view, ease the gutters */
/* Laptop viewports have no room beyond the 1440 column, so the tablet
   stays a step inside the edge there instead of running off the screen */
@media (max-width: 1600px) {
  .hero-visual { right: -80px; }
}
@media (max-width: 1400px) {
  .hero-visual { width: min(820px, 42vw + 120px); }
}
/* Between the collapsing menu and full desktop the links need less room */
@media (max-width: 1100px) {
  .nav { padding: 0 32px; }
  .brand img { height: 38px; }
  .nav-links { gap: 18px; font-size: 15px; }
}
@media (max-width: 1200px) {
  .hero-body { flex-direction: column; align-items: center; text-align: center; min-height: 0; padding: 32px 64px 0; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 720px; padding-bottom: 0; }
  .hero h1 { font-size: 68px; }
  .hero-visual { position: relative; right: auto; top: auto; transform: none; display: block; width: 100%; max-width: 900px; padding: 0 0 72px; margin: 56px auto 0; -webkit-mask-image: none; mask-image: none; }
  .hero-device { width: 100%; }
  .feature, .more, .get-started, .support { padding-left: 64px; padding-right: 64px; }
  .feature { gap: 48px; }
  .footer { padding-left: 64px; padding-right: 64px; }
}
@media (max-width: 1000px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature.reverse .frame { order: 2; }
  .collage { height: auto; }
  .collage .big { position: static; width: 100%; }
  .collage .small { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-card { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Collapsing menu below 900px, where the links no longer fit beside the wordmark */
@media (max-width: 900px) {
  /* The first row keeps its 72px whether the menu is open or closed: the
     brand and the button carry that height themselves, so opening the
     menu only adds a second row below instead of reflowing the first. */
  .nav { height: auto; min-height: 72px; padding: 0 24px; flex-wrap: wrap; align-content: flex-start; }
  .brand { height: 72px; align-items: center; }
  .brand img { height: 36px; }
  .menu-button { display: inline-flex; height: 72px; width: 44px; margin-right: -10px; border-radius: 0; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .nav-links a { padding: 12px 0; font-size: 17px; min-height: 48px; }
  .menu-toggle:checked ~ .nav-links { display: flex; }
}

/* Phones */
@media (max-width: 700px) {
  .nav { min-height: 64px; padding: 0 20px; }
  .brand, .menu-button { height: 64px; }
  .brand img { height: 32px; }
  .hero-body { padding: 40px 24px 0; align-items: center; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: 44px; }
  .lead { margin-top: 20px; font-size: 18px; line-height: 28px; }
  .hero-cta { margin-top: 28px; font-size: 18px; padding: 12px 22px 12px 18px; }
  .hero-cta svg { width: 22px; height: 22px; }
  .hero-alt { margin-top: 12px; font-size: 14px; }
  .hero-note { margin-top: 16px; font-size: 15px; line-height: 24px; }
  .hero-visual { width: 100%; margin: 40px 0 0; padding: 0 0 48px; }
  .hero-device { width: 100%; padding: 8px; border-radius: 18px; box-shadow: 12px 32px 48px rgba(14, 40, 42, 0.5); }
  .hero-device img { border-radius: 11px; }
  .works-with { padding: 40px 24px 0; gap: 8px; }
  .works-label { width: 100%; text-align: center; margin: 0 0 4px; font-size: 13px; }
  .chip { padding: 6px 13px 6px 9px; font-size: 13px; min-height: 32px; gap: 7px; }
  .chip img { width: 18px; height: 18px; }
  .chip img.wordmark { height: 12px; }
  .feature { padding: 80px 24px 0; gap: 24px; }
  .divider { margin-top: 64px; }
  .divider + .feature, .divider + .get-started { padding-top: 56px; }
  .band { margin-top: 80px; padding: 54px 0; }
  .feature h2, .centered h2, .more h2, .gs-copy h2 { font-size: 30px; line-height: 1.15; }
  .feature p, .centered p { font-size: 16px; }
  .frame { padding: 8px; border-radius: 18px; }
  .frame img { border-radius: 11px; }
  .entity-name.fixed { width: 110px; }
  .centered { padding: 0 24px; }
  .band.remote { padding-bottom: 54px; }
  .laptop { width: calc(100% - 68px); margin: 40px auto 0; }
  .laptop-screen { padding: 8px 8px 10px; border-radius: 12px 12px 0 0; }
  .laptop-screen img { border-radius: 5px; }
  .laptop-base { height: 14px; margin: 0 -22px; border-radius: 0 0 10px 10px; }
  .laptop-base::after { width: 60px; height: 5px; }
  .more { padding: 80px 24px 0; text-align: left; }
  .more .sub { margin-left: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  .card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 20px; flex-wrap: wrap; }
  .card .disc { flex-shrink: 0; }
  .card-title { flex: 1; align-self: center; font-size: 17px; }
  .card-text { width: 100%; font-size: 14px; }
  .get-started { padding: 80px 24px 0; }
  .gs-card { padding: 28px 24px; border-radius: 24px; gap: 24px; }
  .gs-copy p { font-size: 15px; }
  .gs-actions .btn { flex: 1; }
  .steps li { padding: 0; background: none; gap: 16px; }
  .num { width: 32px; height: 32px; font-size: 15px; }
  .step-title { font-size: 16px; }
  .step-text { font-size: 14px; }
  .steps code { background: var(--bg); font-size: 13px; padding: 8px 12px; }
  .support { padding: 64px 24px 0; }
  .support-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; border-radius: 24px; }
  .support-heart { width: 56px; height: 56px; font-size: 30px; }
  .support h2 { font-size: 22px; }
  .support p { font-size: 15px; }
  .footer { margin-top: 80px; padding: 48px 24px 40px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand img { height: 34px; }
  .foot-col a { font-size: 15px; line-height: 32px; }
  .made { margin-top: 32px; }
  .legal { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; padding-top: 20px; }
}

/* Download page */
.hero-compact-body { max-width: 1440px; margin: 0 auto; padding: 56px 64px 72px; }
.hero-compact-body h1 {
  font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; white-space: normal;
  background: linear-gradient(125deg, #ffffff 30%, #cdf3ef 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
}
.hero-compact-body .lead { margin-top: 16px; font-size: 20px; line-height: 30px; max-width: 640px; }
.dl { max-width: 880px; margin: -40px auto 0; padding: 0 24px; position: relative; }
.dl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: 0 12px 40px rgba(33, 35, 39, 0.08); }
.dl-release { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.dl-release > div { display: flex; flex-direction: column; gap: 4px; }
.dl-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); }
.dl-version { font-size: 30px; font-weight: 500; letter-spacing: -0.01em; }
.dl-date { font-size: 14px; color: var(--muted); }
.dl-options { border: 0; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dl-options legend { margin-bottom: 12px; }
.dl-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; cursor: pointer; background: var(--surface); transition: border-color 0.15s, background-color 0.15s; }
.dl-option:hover { border-color: var(--primary); }
.dl-option:has(input:checked) { border-color: var(--primary); background: #f3f8f8; }
.dl-option input { position: absolute; opacity: 0; pointer-events: none; }
.dl-radio { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b4b1ab; position: relative; }
.dl-option:has(input:checked) .dl-radio { border-color: var(--primary); }
.dl-option:has(input:checked) .dl-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--primary); }
.dl-option-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dl-option-title { font-size: 16px; font-weight: 500; }
.dl-option-title code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.dl-option-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.dl-size { flex-shrink: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dl-button { padding: 14px 24px; font-size: 16px; }
.dl-button[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.dl-fallback { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.dl .support { padding: 48px 0 0; }
.dl .support h2 { white-space: nowrap; }
@media (max-width: 700px) {
  .hero-compact-body { padding: 36px 24px 56px; }
  .hero-compact-body h1 { font-size: 36px; }
  .hero-compact-body .lead { font-size: 17px; line-height: 26px; }
  .dl { padding: 0 16px; margin-top: -32px; }
  .dl-card { padding: 20px; border-radius: 20px; }
  .dl-version { font-size: 24px; }
  .dl-option { flex-wrap: wrap; padding: 12px 14px; }
  .dl-option-text { flex-basis: calc(100% - 36px); }
  .dl-size { margin-left: 36px; }
  .dl-actions .btn { flex: 1; }
  .dl .support { padding: 40px 0 0; }
  .dl .support h2 { white-space: normal; }
}
