:root {
  color-scheme: dark;
  --bg: #100d19;
  --panel: #1b1628;
  --text: #f7f4ff;
  --muted: #c3bacf;
  --faint: #aca0ba;
  --border: #3e324c;
  --accent: #c5a4ff;
  --accent-ink: #241339;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { background: radial-gradient(ellipse at 77% 32%, #21152d 0%, transparent 53%), var(--bg); }
a { color: inherit; text-decoration: none; }
a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden], .icons { display: none !important; }
.icon { width: 1.16em; height: 1.16em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.shell {
  width: min(1176px, calc(100% - clamp(36px, 8vw, 128px))); min-height: 100vh; min-height: 100svh;
  margin: auto; display: flex; flex-direction: column;
}
.site-header, footer { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; }
.site-header { min-height: clamp(52px, 8svh, 76px); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; line-height: 1; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.brand img { width: 33px; height: 33px; }
.site-header nav, .footlinks { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.site-header nav a, .footlinks a { color: var(--muted); }
.site-header nav a { font-size: .9375rem; padding-block: 10px; }
.site-header nav a:hover, .footlinks a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 10px; font-size: .9375rem; line-height: 1.16; font-weight: 650; text-align: center; }
main { width: 100%; flex: 1; display: grid; align-content: center; gap: clamp(14px, 2.7svh, 30px); padding-block: clamp(14px, 3svh, 32px); }
.hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); grid-template-areas: "head art" "details art"; column-gap: clamp(12px, 2.5vw, 40px); align-content: center; }
.hero-head { grid-area: head; align-self: end; }
.hero-details { grid-area: details; align-self: start; }
.trial-note { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: .875rem; line-height: 1.25; font-weight: 650; margin-bottom: clamp(8px,1.6svh,16px); }
h1 { max-width: 12em; font-size: clamp(2.7rem, min(5vw, 8.4svh), 4.75rem); letter-spacing: -.063em; line-height: .99; font-weight: 620; }
h1 em { display: block; font-style: normal; color: var(--accent); }
.lead { margin-top: clamp(9px, 1.9svh, 18px); color: var(--text); max-width: 38rem; font-size: clamp(1rem,1.2vw,1.125rem); line-height: 1.38; }
.locations, .actions { display: flex; align-items: center; }
.locations { gap: 7px; margin-top: 7px; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.locations .icon { color: var(--accent); }
.actions { flex-wrap: wrap; gap: 8px; margin-top: clamp(12px,2.4svh,22px); }
.button { min-height: 44px; }
.button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.button.primary:hover { background: #dec9ff; }
.android-guide { list-style: none; counter-reset: step; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; color: var(--muted); }
.android-guide li { display: grid; align-items: baseline; grid-template-columns: 19px 1fr; gap: 7px; font-size: .9375rem; line-height: 1.32; }
.android-guide li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #302140; color: var(--accent); font-size: .75rem; font-weight: 700; }
.art { grid-area: art; align-self: center; min-width: 0; display: grid; place-items: center; mix-blend-mode: lighten; }
.art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(175px, 35svh, 345px);
  --shield-fade: radial-gradient(ellipse closest-side, #000 74%, rgb(0 0 0 / .84) 81%, rgb(0 0 0 / .38) 89%, rgb(0 0 0 / .08) 95%, transparent 99%);
  -webkit-mask-image: var(--shield-fade);
  mask-image: var(--shield-fade);
}
footer { min-height: clamp(42px, 6svh, 56px); border-top: 1px solid var(--border); color: var(--faint); font-size: .8125rem; line-height: 1.4; padding-block: 8px; }
.footlinks { gap: 8px clamp(12px, 2vw, 26px); }
@media (max-width: 860px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); }
  h1 { font-size: clamp(2.5rem, 5.5vw, 3.25rem); }
  .art img { max-height: clamp(160px,27svh,260px); }
}
@media (max-width: 660px) {
  .shell { width: min(482px, calc(100% - 28px)); }
  .site-header { min-height: 52px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .875rem; }
  .brand { gap: 7px; font-size: 1.25rem; }
  .brand img { width: 29px; height: 29px; }
  main { padding-block: clamp(10px,2.2svh,19px); gap: clamp(12px,2.2svh,20px); }
  .hero { grid-template-columns: minmax(0,1fr) clamp(66px,23vw,106px); grid-template-areas: "head art" "details details"; column-gap: 2px; }
  .hero-head { align-self: center; }
  .art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  .trial-note { font-size: .8125rem; margin-bottom: 5px; }
  h1 { font-size: clamp(1.85rem, 7.3vw, 2.7rem); line-height: 1.02; }
  .lead { font-size: 1rem; line-height: 1.3; margin-top: 8px; }
  .locations { font-size: .8125rem; margin-top: 4px; }
  .actions { margin-top: 11px; gap: 7px; }
  .button { min-height: 42px; padding: 8px 11px; font-size: .875rem; }
  .android-guide { margin-top: 7px; }
  footer { align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; padding-block: 8px; }
  .footlinks { flex-wrap: wrap; gap: 5px 12px; }
}
@media (max-width: 660px) and (max-height: 680px) {
  .site-header { min-height: 44px; }
  main { padding-block: 5px; gap: 8px; }
  .trial-note { margin-bottom: 2px; }
  h1 { font-size: clamp(1.65rem, 6.8vw, 2rem); }
  .lead { margin-top: 4px; font-size: .9375rem; }
  .android-guide, .locations { margin-top: 3px; }
  .android-guide li { font-size: .875rem; }
  .actions { margin-top: 6px; }
  .button { min-height: 38px; padding: 7px 10px; }
  footer { padding-block: 5px; gap: 2px 10px; }
}

/* Use the width of a low landscape window for the calculator instead of stacking panels. */
@media (min-width: 560px) and (max-height: 500px) {
  .shell { width: calc(100% - 30px); max-width: 1160px; }
  .site-header { min-height: 39px; }
  .brand img { width: 25px; height: 25px; }
  .brand { font-size: 1.2rem; }
  main { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 16px; padding-block: 6px; align-items: center; }
  .hero { grid-template-columns: minmax(0,1fr) clamp(46px,7vw,96px); grid-template-areas: "head art" "details details"; column-gap: 0; }
  h1 { font-size: clamp(1.6rem,3vw,2.35rem); line-height: 1.02; }
  .art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  .trial-note { margin-bottom: 3px; font-size: .8125rem; }
  .lead, .locations, .android-guide { margin-top: 4px; }
  .lead { font-size: .9375rem; }
  .android-guide li { font-size: .875rem; }
  .actions { margin-top: 7px; }
  .button { min-height: 35px; padding: 7px 10px; font-size: .875rem; }
  footer { min-height: 29px; padding-block: 4px; }
}
@media (max-width: 360px) and (max-height: 605px) {
  .shell { width: calc(100% - 22px); }
  .site-header { min-height: 40px; }
  .hero { grid-template-columns: minmax(0,1fr) 56px; }
  .trial-note { font-size: .75rem; }
  .actions { gap: 5px; }
  .footlinks { column-gap: 9px; }
}
