/* The Homelander presentation: one 1920×1080 canvas per slide, scaled to the page (deck.js).
   Below 900px wide the slides turn into an ordinary responsive page instead. */

:root {
  --dark: #0e1726;
  --dark2: #18253b;
  --paper: #f4f6fa;
  --white: #fbfcfe;
  --ink: #0e1726;
  --muted: #4a5568;
  --muted-d: #b8c4d6;
  --blue: #1c7ed6;
  --blue-l: #74c0fc;
  --amber: #ffb020;
  --scale: 0.5;
  --ox: 0px;
  --oy: 0px;
}

* { box-sizing: border-box; margin: 0; }
html { background: #0a111d; }
body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .name { font-family: 'Manrope', Arial, sans-serif; }
a { color: inherit; }
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* page chrome */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(10, 17, 29, 0.92);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 15px;
}
.bar .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.bar .brand img { width: 28px; height: 28px; }
.bar .spacer { flex: 1; }
.bar a.lang { color: var(--muted-d); text-decoration: none; }
.bar a.lang:hover { color: var(--paper); }
.bar button {
  font: inherit;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}
.deck { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 28px 24px 48px; }
.foot { color: var(--muted-d); text-align: center; font-size: 14px; padding: 0 24px 40px; }
.foot a { color: var(--blue-l); }

/* one slide */
.frame {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform: translate(var(--ox), var(--oy)) scale(var(--scale));
  transform-origin: 0 0;
  background: var(--paper);
  color: var(--ink);
  padding: 128px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.slide.dark { background: var(--dark); color: var(--paper); }
.slide.blue { background: var(--blue); color: var(--white); }
.slide.center { justify-content: center; }

/* present mode: one slide fills the screen */
body.present { overflow: hidden; }
body.present .bar, body.present .foot { display: none; }
body.present .frame { display: none; }
body.present .frame.active {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  z-index: 20;
}
.hint {
  position: fixed;
  right: 20px;
  bottom: 16px;
  z-index: 30;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  display: none;
}
body.present .hint { display: block; }
body.present .frame.active .rise { animation: rise 0.6s ease-out both; animation-delay: calc(var(--i, 0) * 120ms); }
body.present .frame.active .fade { animation: fadein 0.8s ease-out both; animation-delay: calc(var(--i, 0) * 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  body.present .frame.active .rise, body.present .frame.active .fade { animation: none; }
}

/* type */
.eyebrow { font-size: 24px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); }
.dark .eyebrow { color: var(--blue-l); }
h2.title { font-size: 64px; font-weight: 800; line-height: 1.1; margin-top: 16px; }
.lead { font-size: 32px; line-height: 1.45; color: var(--muted); margin-top: 32px; max-width: 1400px; }
.dark .lead { color: var(--muted-d); }
.blue .lead { color: #e7f1fc; }
h2.statement { font-size: 96px; font-weight: 800; line-height: 1.1; }

/* text column + picture */
.split { display: flex; flex: 1; gap: 80px; align-items: center; }
.split.between { justify-content: space-between; }
.split.around { justify-content: space-around; }
.col { display: flex; flex-direction: column; width: 584px; flex-shrink: 0; }
.col.wide { width: 760px; }
.col.xwide { width: 980px; }
.shot {
  width: 1000px;
  height: 625px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(14, 23, 38, 0.28);
}
.phones { display: flex; gap: 40px; }
.phone {
  width: 351px;
  height: 760px;
  object-fit: contain;
  border-radius: 36px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* steps, pills, checks */
.steps { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.num {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step .txt { font-size: 30px; line-height: 1.35; padding-top: 8px; }
.sub { color: var(--muted); }
.dark .sub { color: var(--muted-d); }
.pills { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.pill {
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 14px;
  background: var(--dark2);
  color: var(--amber);
}
.checks { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; list-style: none; padding: 0; }
.checks li { display: flex; gap: 20px; align-items: center; font-size: 30px; line-height: 1.35; }
.checks .i { width: 36px; height: 36px; color: var(--blue); }
.dark .checks .i { color: var(--blue-l); }

/* cards */
.cards { display: grid; gap: 32px; margin-top: 64px; flex: 1; }
.c4 { grid-template-columns: repeat(4, 1fr); }
.c3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border-radius: 28px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(14, 23, 38, 0.06);
}
.dark .card { background: var(--dark2); box-shadow: none; }
.card .i { width: 80px; height: 80px; color: var(--blue); margin-bottom: 28px; stroke-width: 1.6; }
.dark .card .i { color: var(--blue-l); }
.card h3 { font-size: 40px; font-weight: 800; line-height: 1.15; min-height: 92px; }
.card p { font-size: 28px; line-height: 1.45; color: var(--muted); }
.dark .card p { color: var(--muted-d); }
.note { font-size: 26px; color: var(--muted); margin-top: 40px; }
.dark .note { color: var(--muted-d); }

/* cover */
.brand-row { display: flex; align-items: center; gap: 28px; }
.brand-row img { width: 96px; height: 96px; border-radius: 24px; }
.brand-row .name { font-size: 44px; font-weight: 800; }
h1.hero { font-size: 104px; font-weight: 800; line-height: 1.05; margin-top: 56px; width: 900px; }
.hero .hl { color: var(--blue-l); }
.cover .lead { width: 860px; }
.cover-shot {
  position: absolute;
  left: 1040px;
  top: 265px;
  width: 880px;
  height: 550px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

/* how to start */
.qr-box {
  background: var(--white);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}
.qr-box img { width: 420px; height: 420px; object-fit: contain; image-rendering: pixelated; }
.qr-box span { font-size: 26px; font-weight: 600; color: var(--ink); }
.price { margin-top: 40px; background: var(--white); border-left: 8px solid var(--amber); border-radius: 16px; padding: 24px 32px; }
.price p { font-size: 28px; line-height: 1.4; }
.price p.ps { font-size: 24px; color: var(--muted); margin-top: 8px; }
.links { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; }
.links p { font-size: 32px; color: var(--muted-d); }
.links a { color: var(--blue-l); }

/* phones and small windows: an ordinary page */
@media (max-width: 899px) {
  .bar { padding: 10px 16px; }
  .bar button { display: none; }
  .bar .docs { display: none; }
  .deck { gap: 16px; padding: 16px 12px 32px; }
  .frame { width: 100%; aspect-ratio: auto; border-radius: 18px; }
  .slide {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    padding: 36px 22px;
  }
  .eyebrow { font-size: 13px; letter-spacing: 2px; }
  h2.title { font-size: 30px; margin-top: 8px; }
  h2.statement { font-size: 34px; }
  .lead { font-size: 18px; margin-top: 16px; }
  h1.hero { font-size: 44px; margin-top: 28px; width: auto; }
  .cover .lead { width: auto; }
  .brand-row { gap: 14px; }
  .brand-row img { width: 48px; height: 48px; border-radius: 12px; }
  .brand-row .name { font-size: 24px; }
  .cover-shot { position: static; order: 5; width: 100%; height: auto; margin-top: 28px; border-radius: 12px; }
  .split, .split.between, .split.around { flex-direction: column; align-items: stretch; gap: 28px; }
  .split.pic-first { flex-direction: column-reverse; }
  .col, .col.wide, .col.xwide { width: auto; }
  .shot { width: 100%; height: auto; border-radius: 12px; }
  .phones { gap: 14px; justify-content: center; }
  .phone { width: 46%; height: auto; border-radius: 18px; }
  .phones.one .phone { width: 62%; }
  .steps { gap: 16px; margin-top: 24px; }
  .num { width: 34px; height: 34px; border-radius: 17px; font-size: 17px; }
  .step { gap: 14px; }
  .step .txt { font-size: 17px; padding-top: 5px; }
  .pills { gap: 8px; margin-top: 20px; }
  .pill { font-size: 16px; padding: 6px 12px; border-radius: 8px; }
  .checks { gap: 12px; margin-top: 20px; }
  .checks li { font-size: 17px; gap: 12px; }
  .checks .i { width: 22px; height: 22px; }
  .cards, .c4, .c3 { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .card { padding: 22px; gap: 8px; border-radius: 16px; }
  .card .i { width: 34px; height: 34px; margin-bottom: 4px; }
  .card h3 { font-size: 20px; min-height: 0; }
  .card p { font-size: 16px; }
  .note { font-size: 15px; margin-top: 18px; }
  /* on the phone itself a QR code is no use: a button instead */
  .qr-box { padding: 14px 22px; border-radius: 12px; align-self: stretch; background: var(--blue); }
  .qr-box img { display: none; }
  .qr-box span { font-size: 17px; color: var(--white); }
  .price { margin-top: 24px; padding: 14px 18px; border-left-width: 5px; }
  .price p { font-size: 16px; }
  .price p.ps { font-size: 14px; }
  .links { margin-top: 28px; gap: 10px; }
  .links p { font-size: 17px; }
}
