/* minfo.com: one stylesheet. Minfo Signal type (Cabinet Grotesk for the marks,
   display and H1; Satoshi for the rest) and Signal Orange for connection only. */
@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/cabinet-grotesk-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2a2a2c;
  --body: #3a3a3c;
  --muted: #5f5f64;
  --line: #dddddf;
  --orange: #f99d32;
  --shadow: rgb(80 55 25 / 0.35);
  --chip-bg: linear-gradient(180deg, #ffffff, #f4f1ec);
  --tile-bg: linear-gradient(180deg, #ffffff 0%, #f6f2ec 100%);
  --pill-bg: #2a2a2c;
  --pill-fg: #ffffff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0d0d0d; --surface: #161618; --ink: #ffffff; --body: #e4e4e6; --muted: #a1a1aa; --line: #3e3e42;
    --shadow: rgb(0 0 0 / 0.9);
    --chip-bg: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.04)), #1c1c1f;
    --tile-bg: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02)), #1c1c1f;
    --pill-bg: #ffffff; --pill-fg: #181613;
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0d0d0d; --surface: #161618; --ink: #ffffff; --body: #e4e4e6; --muted: #a1a1aa; --line: #3e3e42;
  --shadow: rgb(0 0 0 / 0.9);
  --chip-bg: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.04)), #1c1c1f;
  --tile-bg: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02)), #1c1c1f;
  --pill-bg: #ffffff; --pill-fg: #181613;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 'Satoshi', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; }

/* the minfo mark: orange m at 137.5%, so its x-height meets the cap height */
.wm { display: inline-block; flex-shrink: 0; font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif; font-weight: 800; letter-spacing: 0; white-space: nowrap; overflow-wrap: normal; word-break: normal; hyphens: none; }
.wm__m { color: var(--orange); font-size: 1.375em; line-height: 0; }
.wm--logo { font-size: 1.6rem; line-height: 1; text-decoration: none; }
.wm--sm { font-size: 1.15rem; }
.btn--primary .wm__m { color: #ffffff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.nav__in { max-width: 1400px; margin: 0 auto; padding: 12px max(16px, 2.5vw); display: flex; align-items: center; gap: 24px; }
.nav__logo { flex-shrink: 0; text-decoration: none; color: var(--ink); }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__link { padding: 10px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; white-space: nowrap; }
/* For Business: a dropdown with the four business pages (a <details>, so it works with no script) */
.nav__group { position: relative; }
.nav__group-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.nav__group-btn::-webkit-details-marker { display: none; }
.nav__chev { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nav__group[open] .nav__chev { transform: rotate(180deg); }
.nav__group[open] .nav__group-btn { color: var(--ink); }
.nav__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 50px -16px var(--shadow); }
.nav__sub { border-radius: 10px; }
.nav__link:hover, .nav__link--on { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__signin { padding: 10px 14px; text-decoration: none; font-weight: 700; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.iconbtn svg { width: 18px; height: 18px; }
.i-sun { display: none; }
:root[data-theme='dark'] .i-sun { display: block; }
:root[data-theme='dark'] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .i-sun { display: block; }
  :root:not([data-theme='light']) .i-moon { display: none; }
}
.nav__menu { display: none; }

/* hero */
.hero {
  max-width: 1400px; margin: 0 auto; padding: clamp(16px, 4vh, 48px) max(16px, 2.5vw);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 50%); gap: 24px; align-items: center;
  min-height: calc(100dvh - 70px);
}
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(249 157 50 / 0.4); background: rgb(249 157 50 / 0.1); color: #8a5200; font-size: 0.85rem; font-weight: 500; }
:root[data-theme='dark'] .badge { color: var(--orange); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .badge { color: var(--orange); } }
.badge__dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.title { margin: 0; font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif; font-weight: 800; font-size: clamp(2rem, min(4.6vw, 7vh), 4rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.title__muted { color: var(--muted); }
.title__line { display: block; }  /* the hero headline is one h1 in two lines */
/* the swapping word: a word box at the end of the title's last line, so the sentence reads on */
.pill { display: inline-block; margin-left: 0.12em; padding: 0.02em 0.32em 0.06em; border-radius: 0.2em; background: var(--pill-bg); color: var(--pill-fg); font-size: 0.86em; line-height: 1.1; letter-spacing: -0.02em; vertical-align: 0.06em; white-space: nowrap; }
.pill__word { display: inline-block; transition: opacity 0.35s ease, transform 0.35s ease; }
.pill__word--out { opacity: 0; transform: translateY(-8px); }
.hero__desc { margin: clamp(18px, 3.6vh, 40px) 0 clamp(20px, 3.6vh, 40px); max-width: 38rem; color: var(--body); font-size: clamp(0.95rem, 1.7vh, 1.12rem); }

/* the three steps: raised tiles, lit from above */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin-bottom: clamp(20px, 3.6vh, 40px); }
.tile { padding: clamp(10px, 1.6vh, 16px); border-radius: 14px; background: var(--tile-bg); border: 1px solid rgb(249 157 50 / 0.24); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 1px 2px rgb(0 0 0 / 0.08), 0 14px 28px -16px var(--shadow); transition: transform 0.3s ease, border-color 0.3s ease; }
.tile--live { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 0 0 3px rgb(249 157 50 / 0.16), 0 18px 34px -14px rgb(249 157 50 / 0.45); }
.tile { position: relative; padding: 10px 12px; outline: none; }
.tile__head { display: flex; align-items: center; gap: 10px; }
.tile:focus-visible { border-color: var(--orange); box-shadow: 0 0 0 3px rgb(249 157 50 / 0.35); }
.tile__icon { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 10px; color: var(--orange); background: linear-gradient(180deg, rgb(249 157 50 / 0.18), rgb(249 157 50 / 0.08)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 4px 10px -4px rgb(249 157 50 / 0.45); }
.tile__icon svg { width: 20px; height: 20px; }
.tile h3, .tile p.tile__title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.2; color: inherit; }  /* tile titles are not headings (heading order) */
.tile p:not(.tile__title) { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.4; color: var(--muted); }
/* on a computer the tile shows its heading only; the line opens below it on hover or
   keyboard focus, over the page, so nothing below moves. Phones keep the line in place. */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .tile p:not(.tile__title) {
    position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 5; margin: 0; padding: 10px 12px;
    border-radius: 12px; border: 1px solid rgb(249 157 50 / 0.45); background: var(--surface); color: var(--body);
    box-shadow: 0 18px 34px -14px var(--shadow); opacity: 0; transform: translateY(-4px); pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .tile:hover p:not(.tile__title), .tile:focus-visible p:not(.tile__title), .tile:focus-within p:not(.tile__title) { opacity: 1; transform: none; }
  .tile:hover { border-color: rgb(249 157 50 / 0.6); }
}

.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* App Store and Google Play: icon links in the top bar, over the phone */
.nav__stores { display: flex; gap: 8px; }
.nav__stores .store { width: 40px; height: 40px; border-radius: 10px; }
@media (max-width: 600px) { .nav__stores { display: none; } }  /* on a phone, Try minfo opens the store */
.store { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px var(--shadow); transition: transform 0.2s ease; }
.store:hover { transform: translateY(-2px); }
.store img { width: 100%; height: 100%; display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.btn--primary { background: var(--orange); color: #2a2a2c; box-shadow: 0 8px 30px -10px rgb(249 157 50 / 0.7); }
.btn--primary:hover { background: #e08c25; }

/* the phone scene */
.scene { position: relative; height: min(760px, calc(100dvh - 120px)); min-height: 520px; isolation: isolate; }
.scene__glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(40% 46% at 50% 50%, rgb(249 157 50 / 0.16), transparent 70%); }
.scene__signal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* rings travel inward to the phone: it is receiving (Minfo Signal) */
.ring { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(249 157 50 / 0.5); transform: translate(-50%, -50%) scale(1.06); opacity: 0; z-index: -1; animation: ring-in 3.9s ease-in infinite; }
.ring:nth-of-type(3) { animation-delay: 1.3s; }
.ring:nth-of-type(4) { animation-delay: 2.6s; }
@keyframes ring-in { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.06); } 70% { opacity: 0.55; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.62); } }

.phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: min(92%, 640px); aspect-ratio: 0.47; border-radius: 2.6rem; padding: 9px; background: linear-gradient(160deg, #3d3d42 0%, #1b1b1f 42%, #2a2a2f 100%); box-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 30px 60px -20px rgb(0 0 0 / 0.55); }
.phone__glass { position: relative; width: 100%; height: 100%; border-radius: 2.1rem; overflow: hidden; background: #141416; }
/* the real app, laid out at a real phone's 390 px and scaled to the glass (site.js sets the size) */
.phone__glass iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; background: #141416; }

.channels { position: absolute; inset: 0; pointer-events: none; }
.channel { position: absolute; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgb(249 157 50 / 0.6); background: var(--chip-bg); color: var(--ink); box-shadow: 0 10px 22px -10px var(--shadow); cursor: pointer; pointer-events: auto; transition: transform 0.25s ease, background 0.3s ease, color 0.3s ease; }
.channel:hover { transform: translateY(-2px) scale(1.06); border-color: var(--orange); }
.channel--on { background: var(--orange); border-color: var(--orange); color: #2a2a2c; box-shadow: 0 0 0 6px rgb(249 157 50 / 0.16), 0 10px 22px -10px var(--shadow); }
.channel__icon { width: 24px; height: 24px; }
.channel__label { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.75rem; font-weight: 700; color: var(--muted); pointer-events: none; }
.channel--on .channel__label, .channel:hover .channel__label { color: var(--ink); }
.channel[data-key='tv'] { left: 14%; top: 14%; }
.channel[data-key='cinema'] { left: 7%; top: 32%; }
.channel[data-key='online'] { left: 7%; top: 50%; }
.channel[data-key='radio'] { left: 14%; top: 68%; }
.channel[data-key='expo'] { left: 86%; top: 14%; }
.channel[data-key='talk'] { left: 93%; top: 32%; }
.channel[data-key='sign'] { left: 93%; top: 50%; }
.channel[data-key='shop'] { left: 86%; top: 68%; }

/* the channel card: opens fast, fades slowly once there was time to read it */
.card { position: absolute; left: 50%; bottom: -2%; z-index: 3; width: min(94%, 420px); padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 2px solid var(--orange); box-shadow: 0 24px 50px -16px var(--shadow); color: var(--muted); font-size: 0.85rem; line-height: 1.45; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity 1.2s ease, transform 1.2s ease, visibility 1.2s; }
.card--open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.2s; }
.card__title { margin: 0 0 2px; color: var(--ink); font-weight: 700; }
.card__text { margin: 0; }

/* a mouse over the phone or a channel becomes a fingertip; touch screens have no cursor */
@media (hover: hover) and (pointer: fine) {
  .phone, .channel {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='34' viewBox='0 0 26 34'%3E%3Cpath d='M13 1.5c6.4 0 11 5 11 11.5v10c0 5.6-4.9 9.5-11 9.5S2 28.6 2 23V13C2 6.5 6.6 1.5 13 1.5z' fill='%23141416' stroke='%23ffffff' stroke-opacity='.85' stroke-width='1.5'/%3E%3Cg fill='none' stroke='%23F99D32' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4.8 19v-6a8.2 8.2 0 0 1 16.4 0v9'/%3E%3Cpath d='M7.6 24v-11a5.4 5.4 0 0 1 10.8 0v7'/%3E%3Cpath d='M10.4 27V13a2.6 2.6 0 0 1 5.2 0v11'/%3E%3Cpath d='M13 14.5v14'/%3E%3C/g%3E%3C/svg%3E") 13 9, pointer;
  }
}

/* documents: privacy, terms, help, news */
.doc { max-width: 760px; margin: 0 auto; padding: 40px max(16px, 2.5vw) 64px; }
.doc h1 { font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 16px; }
.doc h2, .doc h3 { margin: 28px 0 8px; font-weight: 700; line-height: 1.3; }
.doc h2 { font-size: 1.4rem; }
.doc h3 { font-size: 1.15rem; }
.doc p, .doc li { color: var(--body); }
.doc a { color: var(--ink); font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.doc__date, .doc__kicker { color: var(--muted); font-size: 0.9rem; }
.doc__list { padding-left: 1.2rem; }
.doc__list li { margin-bottom: 10px; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot__in { max-width: 1400px; margin: 0 auto; padding: 24px max(16px, 2.5vw); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; }
.foot nav a { display: inline-block; padding-block: 5px; color: var(--muted); text-decoration: none; }  /* at least 24 px high to tap */
.foot nav a:hover { color: var(--ink); }
.foot__mail { color: var(--muted); }
.foot__rights { margin: 0 0 0 auto; color: var(--muted); font-size: 0.85rem; }

/* tablets and phones: text first, the phone below, the menu behind a button */
@media (max-width: 1049px) {
  .nav__links { display: none; position: absolute; top: 100%; right: max(16px, 2.5vw); flex-direction: column; min-width: 240px; padding: 8px; border-radius: 16px; background: var(--surface); box-shadow: 0 24px 50px -16px var(--shadow); }
  .nav--open .nav__links { display: flex; }
  .nav__menu { display: grid; }
  /* in the phone menu the business pages open in place, under For Business */
  .nav__group-btn { display: flex; justify-content: space-between; }
  .nav__panel { position: static; min-width: 0; padding: 0 0 4px 12px; border: 0; box-shadow: none; background: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .scene { height: 640px; }
}
@media (max-width: 560px) {
  .nav__signin { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .scene { height: 600px; margin: 0 -16px; }
  .channel { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .channel__icon { width: 20px; height: 20px; }
  .channel__label { font-size: 0.7rem; }
  .foot__rights { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
  .pill__word, .card, .tile, .channel { transition: none; }
}

/* the phone while the real app starts: a short message, then it fades away */
.phone__loading { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #1c1c1e; transition: opacity 0.35s ease, visibility 0.35s; }
.phone__loading--done { opacity: 0; visibility: hidden; }
/* the still Connect screen: sizes measured from the live app at 390 px wide (13 Nov 2026) */
.still { position: absolute; left: 0; top: 0; width: 390px; height: 860px; transform-origin: 0 0; font-family: 'Satoshi', system-ui, sans-serif; }
.still__dots { position: absolute; top: 30px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 9px; }
.still__dots i { width: 6px; height: 6px; border-radius: 3px; background: #6e6e73; }
.still__dots .still__dot--on { width: 18px; background: #f99d32; }
.still__sphere { position: absolute; left: 115px; top: calc(50% - 80px); width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 36% 28%, rgb(255 226 186 / 0.98) 0%, rgb(249 157 50 / 0.92) 38%, rgb(224 140 37 / 0.96) 78%, rgb(201 124 30) 100%);
  box-shadow: rgb(249 157 50 / 0.35) 0 22px 50px, rgb(40 36 30 / 0.16) 0 10px 24px, inset rgb(150 70 0 / 0.32) 0 -22px 44px, inset rgb(255 255 255 / 0.55) 0 14px 30px, inset rgb(255 255 255 / 0.35) 0 0 0 1px; }
.still__sphere::before { content: ''; position: absolute; left: 28.8px; top: 11.2px; width: 102.4px; height: 48px; border-radius: 50%; background: linear-gradient(rgb(255 255 255 / 0.78), rgb(255 255 255 / 0)); }
.still__mark { position: relative; display: grid; place-items: center; width: 110px; height: 110px; }
.still__mark > * { grid-area: 1 / 1; }
.still__pause { width: 50px; height: 50px; color: #2a2a2c; animation: still-pause 5s ease-in-out infinite; }
.still__logo { width: 110px; height: 110px; border-radius: 50%; opacity: 0; animation: still-logo 5s ease-in-out infinite; }
@keyframes still-pause { 0%, 38% { opacity: 1; } 50%, 88% { opacity: 0; } 100% { opacity: 1; } }
@keyframes still-logo { 0%, 38% { opacity: 0; transform: scale(0.9); } 50%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(0.9); } }
.still__wait { position: absolute; left: 0; right: 0; bottom: 80px; margin: 0; text-align: center; color: #a1a1aa; font-size: 15px; opacity: 0; transition: opacity 0.3s ease; }
.phone__loading--tapped .still__wait { opacity: 1; }
.still__scan { position: absolute; left: 13px; right: 12px; bottom: 18px; height: 41px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; border: 1.2px solid #3e3e42; background: #2a2a2c; color: #e4e4e6; font-size: 12.24px; font-weight: 600; }
.still__scan svg { color: #f99d32; }
@media (prefers-reduced-motion: reduce) { .still__pause { animation: none; opacity: 0; } .still__logo { animation: none; opacity: 1; } }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--orange); }

/* responsive fixes: images never overflow, the phone sits beside the text on tablets, smaller */
img, video, iframe:not(#app) { max-width: 100%; height: auto; }
.scene { overflow: clip; }
@media (max-width: 1049px) and (min-width: 600px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(240px, 42%); gap: 16px; align-items: center; }
  .scene { height: 520px; min-height: 0; }
  .phone { height: min(78%, 420px); }
  .channel { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .channel__icon { width: 18px; height: 18px; }
  .channel__label { display: none; }
}
@media (max-width: 599px) {
  .scene { height: 480px; min-height: 0; margin: 0; }
  .phone { height: min(80%, 400px); }
}
@media (max-width: 1049px) and (min-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* the main links always sit in the top bar; on tablets and phones they get their own row */
@media (max-width: 1049px) {
  .nav__in { flex-wrap: wrap; row-gap: 6px; }
  .nav__links, .nav--open .nav__links { display: flex; position: static; order: 10; flex: 1 0 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px 4px; min-width: 0; padding: 0; margin: 0; border-radius: 0; background: none; box-shadow: none; }
  .nav__menu { display: none; }
  .nav__group-btn { display: inline-flex; }
  .nav__panel { position: absolute; min-width: 220px; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 50px -16px var(--shadow); border-radius: 16px; }
  .nav__right { margin-left: auto; }
}
@media (max-width: 420px) { .nav__links .nav__link { font-size: 0.85rem; padding-inline: 8px; } }
@media (max-width: 480px) { .nav__links { flex-wrap: nowrap; justify-content: space-between; } .nav__links .nav__link { font-size: 0.8rem; padding-inline: 6px; white-space: nowrap; } .nav__chev { width: 12px; } }
@media (max-width: 480px) { .nav__links { gap: 0; } .nav .nav__links .nav__link { font-size: 0.74rem; padding: 6px 5px; letter-spacing: -0.01em; } .nav__links .nav__group-btn { gap: 2px; } }

/* the three tiles always sit side by side; the explanation shows on hover or tap */
.tiles, .tiles[class] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-width: none; }
.tile { cursor: default; }
.tile p:not(.tile__title) { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--orange); box-shadow: 0 18px 34px -14px var(--shadow); color: var(--body); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; pointer-events: none; }
.tile:hover p:not(.tile__title), .tile:focus p:not(.tile__title), .tile:focus-within p:not(.tile__title) { opacity: 1; visibility: visible; transform: none; }
.tile:hover { border-color: var(--orange); }
@media (max-width: 700px) {
  .tile__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tile h3, .tile p.tile__title { font-size: 0.85rem; }
  .tile p:not(.tile__title) { width: min(260px, 80vw); }
  .tile:nth-child(2) p:not(.tile__title) { left: 50%; transform: translateX(-50%); }
  .tile:nth-child(3) p:not(.tile__title) { left: auto; right: 0; }
}

/* the main links share the top line with the logo down to 640 px wide */
@media (max-width: 1049px) and (min-width: 640px) {
  .nav__in { flex-wrap: nowrap; gap: 12px; }
  .nav__stores { display: none; }
  .nav__links, .nav--open .nav__links { order: 0; flex: 1 1 auto; flex-wrap: nowrap; justify-content: center; }
  .nav .nav__links .nav__link { font-size: 0.85rem; padding-inline: 8px; white-space: nowrap; }
  .nav__right { margin-left: 0; }
}
.nav__signin { white-space: nowrap; }

/* /creators also loads the creator styles, which reuse --muted as a background colour; keep minfo's text grey */
.minfo-com .nav, .minfo-com .foot, .minfo-com .hero { --muted: #5f5f64; }
:root[data-theme='dark'] .minfo-com .nav, :root[data-theme='dark'] .minfo-com .foot, :root[data-theme='dark'] .minfo-com .hero { --muted: #a1a1aa; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .minfo-com :is(.nav, .foot, .hero) { --muted: #a1a1aa; } }

/* language switch */
.lang{position:relative}
.lang>summary{list-style:none;display:flex;align-items:center;gap:4px;width:auto;padding:0 8px;cursor:pointer}
.lang>summary::-webkit-details-marker{display:none}
.lang__flag{border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.12);object-fit:cover}
.lang__list{position:absolute;right:0;top:calc(100% + 8px);z-index:60;margin:0;padding:6px;list-style:none;width:220px;max-height:70vh;overflow:auto;border-radius:16px;border:1px solid var(--line,#DDDDDF);background:var(--surface,#fff);color:var(--ink);box-shadow:0 12px 32px rgba(0,0,0,.14)}
/* Translated labels must wrap rather than force the page wider than the device. */
.minfo-com :is(.title, .hero__text, .hero__desc, .badge, .btn, .doc, .tile, .foot) { overflow-wrap: anywhere; min-width: 0; }
.minfo-com .wm { letter-spacing: 0; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.minfo-com :is(.title, .hero__desc, .badge, .tile__title) { overflow-wrap: break-word; word-break: normal; }
.minfo-com .tile__title { min-width: 0; max-width: 100%; }
.minfo-com .btn { white-space: normal; text-align: center; max-width: 100%; padding-block: 10px; }
.minfo-com .pill { max-width: calc(100% - 0.12em); white-space: normal; overflow-wrap: anywhere; letter-spacing: 0; }
.minfo-com .pill__word { max-width: 100%; }
.minfo-com .grid > * { min-width: 0; }
.minfo-com :is(.display, .link-quiet) { overflow-wrap: anywhere; }
@media (max-width: 1049px) {
  .nav__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .nav__logo { justify-self: start; }
  .nav__right { grid-column: 2; grid-row: 1; flex-shrink: 0; }
  .nav__stores { display: none; }
  .nav .nav__links { grid-column: 1 / -1; grid-row: 2; }
  .nav .nav__links { flex-wrap: wrap; justify-content: center; }
  .nav .nav__links .nav__link { white-space: normal; letter-spacing: 0; }
  .nav__group { max-width: 100%; }
  .nav__panel { min-width: min(220px, 90vw); max-width: 90vw; }
  .nav__in > * { min-width: 0; }
}
.lang__opt{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px;border:0;border-radius:12px;background:none;color:inherit;font:inherit;font-weight:600;font-size:14px;text-align:left;cursor:pointer}
.lang__opt:hover,.lang__opt:focus-visible{background:rgba(138,138,142,.16)}
.lang__opt--on{background:rgba(249,157,50,.18)}
