/* Runabout Digital: the studio pages (home, privacy index). Iris's "Shelf" design, Label type pairing.
   Light only for v1: the Truth and Konsol stages carry the dark moments. */

@font-face {
  font-family: "Besley";
  src: url("/assets/fonts/besley-latin.woff2") format("woff2");
  font-weight: 650 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/libre-franklin-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #F5F5F7; --white: #FFFFFF; --ink: #1D1D1F; --ink2: #6E6E73; --line: #D8D8DD; --link: #1C6A86;
  --truth: #101B31; --truth-ink: #F3EADA; --truth-dim: #B9AE9A; --truth-gold: #D7B377;
  --audiv: #E7EFFB; --konsol: #1F1D1B; --konsol-ink: #F1EBE3; --konsol-dim: #ABA197; --konsol-bronze: #CF9C5E;
  --bell: #EDEEF6; --dog: #E3F0E7; --dog-green: #1E7A4C;
  --display: "Besley", Georgia, serif;
  --text: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--ground); color: var(--ink); font: 400 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 40px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }

/* Glass nav, like the system bars (solid where blur isn't supported) */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(245 245 247 / 0.97); border-bottom: 1px solid rgb(0 0 0 / 0.07); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: rgb(245 245 247 / 0.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.navrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 18px/1 var(--display); letter-spacing: -0.012em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav nav { display: flex; gap: 26px; font-size: 14px; }
.nav nav a { color: #424245; }

/* Hero */
.hero { padding-block: 88px 40px; }
.hero h1 { font: 700 66px/1.04 var(--display); letter-spacing: -0.012em; max-width: 13.5em; text-wrap: balance; }
.hero .sub { font-size: 22px; line-height: 1.45; color: var(--ink2); max-width: 31em; margin-top: 22px; }

/* The shelf: icons standing on one board, labels on its front edge */
.shelfzone { padding-block: 28px 96px; }
.shelf { position: relative; overflow-x: auto; scrollbar-width: none; padding-bottom: 40px; margin-inline: -12px; padding-inline: 12px; }
.shelf::-webkit-scrollbar { display: none; }
.shelf-inner { min-width: 640px; }
.row, .board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.row { position: relative; z-index: 2; padding-inline: 28px; list-style: none; }
.item { display: flex; justify-content: center; }
.item a { position: relative; display: block; width: 128px; transform: translateY(9px); border-radius: 29px; }
.item img { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.12), 0 2px 3px rgb(0 0 0 / 0.12), 0 16px 22px -12px rgb(0 0 0 / 0.5); }
.item a::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -7px; height: 14px; background: radial-gradient(closest-side, rgb(0 0 0 / 0.32), transparent); z-index: -1; }
.board { position: relative; padding: 20px 28px 18px; background: linear-gradient(#FFFFFF, #F1F1F4); border-radius: 3px 3px 6px 6px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset, 0 -1px 0 rgb(0 0 0 / 0.05) inset, 0 26px 40px -26px rgb(0 0 0 / 0.35), 0 2px 2px rgb(0 0 0 / 0.06); }
.board::before { content: ""; position: absolute; left: 10px; right: 10px; top: -22px; height: 22px; background: linear-gradient(#E7E7EB, #DADADF); clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0 100%); }
.tag { text-align: center; font-size: 15px; line-height: 1.3; }
.tag b { display: block; font-weight: 600; }
.tag span { color: var(--ink2); font-size: 13px; }
.tag em { display: block; font-style: normal; color: var(--dog-green); font-size: 13px; font-weight: 500; }

/* Stages */
.stage { padding-block: 110px; scroll-margin-top: 56px; }
.stage .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.stage.flip .copy { order: 2; }
.copy { max-width: 470px; }
.copy .icon { width: 76px; height: 76px; border-radius: 17px; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.12), 0 10px 18px -10px rgb(0 0 0 / 0.45); margin-bottom: 22px; }
.copy h2 { font: 700 56px/1.02 var(--display); letter-spacing: -0.012em; }
.copy .kind { font-size: 19px; color: var(--ink2); margin-top: 4px; }
.copy .line { font: 650 30px/1.16 var(--display); letter-spacing: -0.012em; margin-top: 26px; text-wrap: balance; }
.copy .text { font-size: 18px; line-height: 1.55; color: var(--ink2); margin-top: 14px; }
.copy .facts { font-size: 15px; margin-top: 18px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; font-size: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badges + .actions { margin-top: 18px; }
.badges a { display: block; border-radius: 9px; }
.badges img { height: 46px; width: auto; }
.alt { font-size: 14px; color: var(--ink2); margin-top: 16px; }
.soon { display: block; font-size: 17px; font-weight: 600; color: var(--dog-green); margin-top: 20px; }

.devices { display: flex; justify-content: center; align-items: flex-start; }
.phone { width: 272px; aspect-ratio: 600 / 1303; border-radius: 50px; background: #0B0B0D; padding: 9px; flex: none;
  box-shadow: inset 0 0 0 1.5px #3A3A3D, 0 46px 70px -40px rgb(0 0 0 / 0.6), 0 18px 30px -20px rgb(0 0 0 / 0.35); }
.phone picture, .phone img { display: block; width: 100%; height: 100%; }
.phone img { object-fit: cover; object-position: top; border-radius: 41px; }
.devices.two .phone:first-child { position: relative; z-index: 2; }
.devices.two .phone:last-child { margin-left: -38px; margin-top: 72px; }

.truth { background: var(--truth); color: var(--truth-ink); }
.truth .kind, .truth .text, .truth .alt { color: var(--truth-dim); }
.truth .facts, .truth .actions a { color: var(--truth-gold); }
.truth .phone { box-shadow: inset 0 0 0 1.5px #3A3A3D, 0 0 0 1px rgb(255 255 255 / 0.06), 0 50px 80px -36px rgb(0 0 0 / 0.85); }
.truth :focus-visible, .konsol :focus-visible { outline-color: currentColor; }
.audiv { background: var(--audiv); }
.konsol { background: var(--konsol); color: var(--konsol-ink); }
.konsol .kind, .konsol .text, .konsol .alt { color: var(--konsol-dim); }
.konsol .facts, .konsol .actions a { color: var(--konsol-bronze); }
.konsol .phone { box-shadow: inset 0 0 0 1.5px #3A3A3D, 0 0 0 1px rgb(255 255 255 / 0.07), 0 50px 80px -36px rgb(0 0 0 / 0.9); }
.bell { background: var(--bell); }
.dog { background: var(--dog); }

/* The studio, and help app by app */
.maker { background: var(--white); padding-block: 110px; scroll-margin-top: 56px; }
.maker .grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; }
.maker h2 { font: 700 48px/1.05 var(--display); letter-spacing: -0.012em; }
.maker p { font-size: 19px; line-height: 1.55; color: var(--ink2); margin-top: 18px; max-width: 30em; }
.maker p b { color: var(--ink); font-weight: 600; }
.help h3 { font: 650 21px/1.3 var(--display); letter-spacing: -0.012em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.help ul { list-style: none; }
.help li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.help li img { width: 34px; height: 34px; border-radius: 8px; }
.help li b { font-weight: 600; }

/* Fine print */
.fine { border-top: 1px solid var(--line); padding-block: 30px 44px; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cols h2 { font: 600 12px/1.5 var(--text); color: var(--ink); margin-bottom: 8px; }
.cols ul { list-style: none; }
.cols a { display: inline-block; color: #424245; line-height: 2; overflow-wrap: anywhere; }
.fine p + p { margin-top: 6px; }

/* A document page (the studio privacy index) */
.doc { padding-block: 72px 96px; }
.doc .inner { max-width: 720px; }
.doc h1 { font: 700 52px/1.05 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
.doc .lede { font-size: 20px; line-height: 1.5; color: var(--ink2); margin-top: 18px; }
.doc h2 { font: 650 26px/1.2 var(--display); letter-spacing: -0.012em; margin-top: 48px; }
.doc p { margin-top: 12px; color: var(--ink2); }
.doc p b { color: var(--ink); font-weight: 600; }
.policies { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.policies li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.policies img { width: 40px; height: 40px; border-radius: 9px; grid-row: span 2; }
.policies b { font-weight: 600; }
.policies .links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.policies .note { color: var(--ink2); font-size: 15px; }

@media (max-width: 900px) {
  .stage .grid, .maker .grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stage.flip .copy { order: 0; }
  .copy { max-width: none; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .nav nav { display: none; }
  .navrow { height: 50px; }
  .stage, .maker { scroll-margin-top: 50px; }
  .hero { padding-block: 44px 8px; }
  .hero h1 { font-size: 37px; line-height: 1.07; }
  .hero .sub { font-size: 18px; margin-top: 16px; }
  .shelfzone { padding-block: 24px 56px; }
  .shelf-inner { min-width: 520px; }
  .row, .board { padding-inline: 12px; }
  .item a, .item img { width: 84px; }
  .item img { height: 84px; border-radius: 19px; }
  .item a { transform: translateY(7px); border-radius: 19px; }
  .tag { font-size: 14px; }
  .stage { padding-block: 64px; }
  .copy .icon { width: 60px; height: 60px; border-radius: 14px; margin-bottom: 16px; }
  .copy h2 { font-size: 42px; }
  .copy .line { font-size: 24px; margin-top: 18px; }
  .copy .text { font-size: 17px; }
  .badges img { height: 42px; }
  .phone { width: 200px; border-radius: 38px; padding: 7px; }
  .phone img { border-radius: 31px; }
  .devices.two .phone { width: 47%; }
  .devices.two .phone:last-child { margin-left: -4%; margin-top: 44px; }
  .maker { padding-block: 64px; }
  .maker h2 { font-size: 36px; }
  .maker p { font-size: 17px; }
  .help li { grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 10px; font-size: 15px; }
  .help li img { width: 30px; height: 30px; }
  .doc { padding-block: 44px 64px; }
  .doc h1 { font-size: 38px; }
  .doc .lede { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
