/* btime.work — the app's own look: Theme.swift colours, white cards, pill buttons. */

:root {
  --bg: #F7F8FC;          /* Theme.bg */
  --panel: #FFFFFF;       /* Theme.panel */
  --panel2: #EDF0F7;      /* Theme.panel2 */
  --border: #E6EAF3;      /* Theme.border */
  --text: #11142A;        /* Theme.text */
  --muted: #5F6680;       /* Theme.muted, darkened to read well on the web */
  --accent: #2B39DE;      /* Theme.accent */
  --accent-soft: #E7EAFD; /* Theme.accentSoft */
  --green: #21B87A;       /* Theme.green */
  --orange: #E0781F;      /* overtime */
  --radius: 22px;
  --shadow: 0 6px 24px rgba(17, 20, 42, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section.wrap { margin-top: 64px; }
section.wrap > h2 { margin-bottom: 22px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; }
.sub, .note { color: var(--muted); font-size: 15px; }

/* ---- top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 248, 252, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 6px 14px; min-height: 62px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { border-radius: 9px; }
.links { margin-left: auto; display: flex; gap: 4px; }
.links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.links a:hover, .links a[aria-current] { background: var(--panel2); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); min-width: 190px; }
.lang li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.lang li a:hover { background: var(--panel2); }
.lang li a[aria-current] { color: var(--accent); background: var(--accent-soft); }

/* ---- buttons, tags, chips */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; box-shadow: 0 8px 20px rgba(43, 57, 222, .28); }
.btn:hover { filter: brightness(1.08); }
.get { margin: 26px 0 8px; }
.tag { display: inline-block; background: #FFF1E2; color: #A8520B; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; letter-spacing: .01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.chips li { background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 14px; font-weight: 600; color: var(--muted); }
.chips.big li { padding: 0; }
.chips.big a { display: block; padding: 10px 18px; text-decoration: none; font-size: 16px; }

/* ---- hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin-top: 56px !important; }
.hero .lead { margin-top: 18px; }
.hero-phone { display: flex; justify-content: center; }
.phone { background: var(--text); border-radius: 46px; padding: 9px; box-shadow: 0 30px 60px rgba(17, 20, 42, .22); width: 100%; max-width: 300px; }
.phone img { border-radius: 38px; width: 100%; }

/* ---- the row of screens */
.shots { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(20px, calc((100vw - 1040px) / 2)) 30px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.shot { flex: 0 0 auto; width: 236px; margin: 0; scroll-snap-align: center; }
.shot .phone { border-radius: 38px; padding: 7px; box-shadow: 0 16px 34px rgba(17, 20, 42, .16); }
.shot .phone img { border-radius: 31px; }
.shot figcaption { margin-top: 16px; text-align: center; }
.shot strong { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; }
.shot span { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; margin-top: 4px; }

/* ---- cards */
.card { background: var(--panel); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card h2 { margin-bottom: 14px; font-size: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card p + p { margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ticks, .nos { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 7px 0 7px 30px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.nos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nos li { background: #E4F7EE; color: #0F7A4E; font-weight: 700; font-size: 15px; padding: 7px 14px; border-radius: 999px; }
.promise a { font-weight: 600; }
.today .get { margin-top: 20px; }

.teaser { display: grid; gap: 6px; justify-items: start; text-decoration: none; color: var(--text); background: linear-gradient(135deg, var(--accent-soft), #fff 70%); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.teaser strong { font-size: 24px; letter-spacing: -0.02em; }
.teaser span:last-child { color: var(--muted); }
.teaser:hover { border-color: var(--accent); }

.intro { margin-top: 56px !important; }
.intro h1 { margin: 14px 0 16px; }
.final { text-align: center; padding-bottom: 20px; }
.final .lead { margin: 12px auto 0; }

/* ---- reading pages: support, privacy, terms */
.doc { max-width: 720px; padding-top: 48px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 10px; }
.doc h2 { font-size: 23px; margin: 40px 0 12px; }
.doc h3 { margin: 26px 0 8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.box { background: var(--panel); border-radius: 18px; padding: 18px 20px; margin: 22px 0; box-shadow: var(--shadow); }
.box strong { color: var(--accent); }
.box p:last-child { margin-bottom: 0; }
.box .get { margin: 14px 0 0; }
.faq { background: var(--panel); border-radius: 16px; padding: 14px 18px; margin: 10px 0; box-shadow: 0 2px 10px rgba(17, 20, 42, .04); }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { margin: 10px 0 2px; color: var(--muted); }

/* ---- foot */
.foot { margin-top: 80px; border-top: 1px solid var(--border); padding: 30px 0 44px; color: var(--muted); font-size: 14px; }
.foot p { margin: 6px 0; }
.foot-links, .foot-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.foot-links a { color: var(--text); font-weight: 600; text-decoration: none; }
.foot-langs a { color: var(--muted); text-decoration: none; }
.foot-langs a[aria-current] { color: var(--accent); font-weight: 600; }
.foot a:hover { text-decoration: underline; }

/* ---- the three trial home pages (idea A, B, C) */
.seg { margin-left: auto; display: flex; background: var(--panel2); border-radius: 999px; padding: 3px; }
.seg a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--muted); text-decoration: none; }
.seg a[aria-current] { background: var(--panel); color: var(--text); box-shadow: 0 1px 4px rgba(17, 20, 42, .12); }
.btn.small { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.preview-strip { background: #FFF6D6; color: #6B5300; font-size: 13px; padding: 7px 0; }
.preview-strip .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.preview-strip a { color: #6B5300; font-weight: 700; }
.preview-strip a[aria-current] { background: #6B5300; color: #FFF6D6; text-decoration: none; padding: 1px 9px; border-radius: 999px; }
.preview-strip span { margin-left: auto; }

.centre { text-align: center; }
.centre .lead, .centre .quiet { margin-left: auto; margin-right: auto; }
.centre .nos { justify-content: center; }
.top-gap { margin-top: 56px !important; }
.top-gap .lead { margin-top: 18px; }
.quiet { color: var(--muted); max-width: 36em; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.appcard { width: 100%; border-radius: 26px; box-shadow: 0 14px 34px rgba(17, 20, 42, .13); }

.held { position: relative; width: 100%; max-width: 380px; aspect-ratio: 400 / 780; margin: 0 auto; }
.held .hand { position: absolute; inset: 0; width: 100%; height: 100%; }
.held .phone { position: absolute; left: 15%; top: 0; width: 70%; max-width: none; z-index: 1; }
.held .hand.front { z-index: 2; }
.stack { position: relative; border-radius: 38px; overflow: hidden; }
.stack img { border-radius: 0; }
.stack img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.stack img.on { opacity: 1; }

.orbit { display: grid; grid-template-columns: 1fr minmax(0, 380px) 1fr; gap: 28px; align-items: center; margin-top: 48px; }
.float { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.float li { background: var(--panel); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 650; text-align: left; line-height: 1.3; }
.float b { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.float:first-child li:nth-child(odd), .float:last-child li:nth-child(even) { transform: translateX(-14px); }
.float:first-child li:nth-child(even), .float:last-child li:nth-child(odd) { transform: translateX(14px); }

.day-step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.day-step:nth-of-type(even) .pic { order: 2; }
.day-step h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.day-step p { color: var(--muted); max-width: 30em; }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pay .lead { margin: 12px 0 20px; }
.pay .nos { margin-bottom: 14px; }

.story { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 64px; }
.stage { position: sticky; top: 96px; align-self: start; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: .3; transition: opacity .4s ease; }
.step.on { opacity: 1; }
.step h2 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 19px; max-width: 26em; }
.inline-phone { display: none; }

.player { flex-direction: column; align-items: center; }
.caps { display: grid; margin-top: 14px; text-align: center; min-height: 58px; }
.caps p { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .5s ease; }
.caps p.on { opacity: 1; }
.caps strong { display: block; font-size: 18px; letter-spacing: -0.01em; }
.caps span { color: var(--muted); font-size: 15px; }
.dots { display: flex; gap: 7px; margin-top: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #C4CAD9; cursor: pointer; transition: width .3s ease, background .3s ease; }
.dots i.on { width: 22px; border-radius: 4px; background: var(--accent); }
.card.shown { padding: 14px 14px 22px; }
.card.shown .pic { background: var(--bg); border-radius: 16px; padding: 14px; margin-bottom: 16px; display: flex; align-items: center; min-height: 190px; }
.card.shown .appcard { border-radius: 14px; box-shadow: 0 6px 16px rgba(17, 20, 42, .1); }
.card.shown h3, .card.shown p { padding: 0 8px; }

@media (max-width: 860px) {
  .orbit { grid-template-columns: 1fr; }
  .float { display: none; }
  .day-step, .pay { grid-template-columns: 1fr; gap: 22px; }
  .day-step:nth-of-type(even) .pic { order: 0; }
  .story { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; margin-bottom: 48px; }
  .inline-phone { display: block; margin-top: 18px; align-self: center; width: 100%; max-width: 250px; }
  .held { max-width: 320px; }
  .btn.small { display: none; }
  .preview-strip span { margin-left: 0; }
}

/* ---- the user's sketch (idea D): icon buttons, Start button with its hint, carousel, news, downloads */
.btn.small.push { margin-left: auto; }
.pop { position: relative; }
.iconbtn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.iconbtn::-webkit-details-marker { display: none; }
.pop[open] .iconbtn { background: var(--accent); color: #fff; }
.pop ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); min-width: 200px; z-index: 5; }
.pop li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.pop li a:hover { background: var(--panel2); }
.pop li a[aria-current] { color: var(--accent); background: var(--accent-soft); }

.sk-hero { grid-template-columns: 1.1fr .9fr; align-items: center; }
.info { padding: 36px; border-radius: 32px; }
.info .lead { margin: 16px 0 0; font-size: clamp(18px, 2.2vw, 21px); }
.info .tip { color: #fff; font-size: 14px; }
.startrow { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.play { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: var(--accent); padding: 15px 26px 15px 22px; border-radius: 999px; box-shadow: 0 8px 20px rgba(43, 57, 222, .28); }
.play:hover { filter: brightness(1.08); }
.play .i-stop, .play .l-stop { display: none; }
.running .play .i-play, .running .play .l-start { display: none; }
.running .play .i-stop, .running .play .l-stop { display: inline; }
.running .play { background: var(--text); box-shadow: none; }
.tip { position: relative; margin: 0; background: var(--text); color: #fff; font-size: 14px; line-height: 1.45; padding: 11px 15px; border-radius: 14px; max-width: 300px; }
.tip::before { content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; background: var(--text); transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.sk-hero .phone { max-width: 290px; }
.live { display: inline-flex; align-items: center; gap: 9px; background: var(--panel); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow); margin-bottom: 16px; font-size: 15px; visibility: hidden; }
.running .live { visibility: visible; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.live span { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }

.carousel .track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 26px; margin: 0 -4px; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track > .card { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.carousel .pic { height: 210px; min-height: 0; justify-content: center; }
.carousel .appcard { width: auto; max-width: 100%; max-height: 100%; height: auto; object-fit: contain; }
.card.shown .num { margin: 0 8px 10px; }
.ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; }
.ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--panel); box-shadow: var(--shadow); font-size: 24px; line-height: 1; color: var(--accent); cursor: pointer; padding-bottom: 3px; }
.ctrl button:hover { background: var(--accent-soft); }
.ctrl .dots { margin: 0; }
.dots i[hidden] { display: none; }

.future { background: var(--accent-soft); border-radius: 40px; padding: 30px; display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 20px; align-items: center; }
.future h2 { padding-left: 10px; }
.news { display: block; text-decoration: none; color: var(--text); box-shadow: none; }
.news:hover { box-shadow: var(--shadow); }
.news h3 { margin: 12px 0 8px; }
.tag.blue { background: var(--accent); color: #fff; }

.getbox { background: var(--text); color: #fff; border-radius: 48px; padding: 44px 24px; text-align: center; }
.getbox .note { color: #A9B0C7; margin: 16px 0 0; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.btn.off { background: rgba(255, 255, 255, .1); box-shadow: none; color: #D5D9E6; display: inline-flex; align-items: center; gap: 10px; cursor: default; }
.btn.off small { background: #FFF1E2; color: #A8520B; font-size: 12px; padding: 3px 9px; border-radius: 999px; }

/* block 2 as the control of the whole demo: status, Start, the day line with its six stages */
.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; background: var(--bg); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #C4CAD9; }
.status .s-on, .status span { display: none; }
.running .status i { background: var(--green); }
.running .status .s-off { display: none; }
.running .status .s-on { display: inline; }
.running .status span { display: inline; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.startrow { margin-top: 16px; }
.line { list-style: none; display: flex; gap: 6px; padding: 0; margin: 28px 0 0; }
.line li { flex: 1; cursor: pointer; min-width: 0; }
.line i { display: block; height: 9px; border-radius: 5px; background: var(--panel2); transition: background .4s ease; }
.line li.done i { background: var(--accent); }
.line li.on i { background: var(--orange); }
.line span { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line li.on span { color: var(--text); font-weight: 700; }
.line li:hover i { background: var(--accent-soft); }
.line li.done:hover i { background: var(--accent); }
.info .now { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--text); }
@media (max-width: 600px) { .line span { display: none; } }

/* the real hand: a photograph (assets/hand/hand.jpg, 1200 x 1616) with the app's screens
   projected onto the phone's screen. Corner numbers from tools/measure-screen.swift;
   --k is the size of the photo on the page, 1 = 1200 px wide. */
.photo { --k: .35; position: relative; flex: 0 0 auto; width: calc(1200px * var(--k)); height: calc(1616px * var(--k)); border-radius: 36px; overflow: hidden; box-shadow: 0 18px 44px rgba(17, 20, 42, .16); background: #D9D6D0; }
.photo > img { width: 100%; height: 100%; display: block; }
.photo .stack { position: absolute; left: 0; top: 0; width: calc(476.0px * var(--k)); height: calc(1034.5px * var(--k)); border-radius: calc(70px * var(--k)); background: #000; overflow: hidden; transform-origin: 0 0;
  transform: matrix3d(0.977632, -0.014310, 0, calc(-0.000027510 / var(--k)), -0.014348, 0.987381, 0, calc(-0.000010905 / var(--k)), 0, 0, 1, 0, calc(381.6685 * var(--k)), calc(188.8486 * var(--k)), 0, 1);
  filter: brightness(.97) saturate(.95); }
.photo .stack img { width: 100%; height: 100%; object-fit: fill; }
.photo .stack img + img { transform: scale(1.04); transition: opacity .45s ease, transform .45s ease; }
.photo .stack img.on { transform: none; }
.photo .stack::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 30%); }
/* the second real hand: it comes in, touches the screen, and leaves (moved by ideas.js) */
.finger { position: absolute; left: 80%; top: 114%; width: 73.4%; height: auto; z-index: 3; pointer-events: none; transform: translate(-21.4%, -1.4%); transform-origin: 21.4% 1.4%;
  transition: left .65s cubic-bezier(.3, .7, .25, 1), top .65s cubic-bezier(.3, .7, .25, 1), transform .16s ease, filter .16s ease;
  filter: drop-shadow(-14px 18px 16px rgba(0, 0, 0, .32)) brightness(1.03) contrast(.93) saturate(.9); }
.finger.down { transform: translate(-21.4%, -1.4%) scale(.975); filter: drop-shadow(-5px 7px 7px rgba(0, 0, 0, .4)) brightness(1.03) contrast(.93) saturate(.9); }
.touch { position: absolute; left: 50%; top: 50%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(17, 20, 42, .1); transform: translate(-50%, -50%) scale(.3); opacity: 0; pointer-events: none; z-index: 2; }
.touch.on { animation: touch .55s ease-out; }
@keyframes touch { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }

/* the film of real hands using the phone (assets/hand/hand_<language>.mp4), in a rounded frame */
.film { width: 100%; max-width: 400px; border-radius: 36px; overflow: hidden; background: #0B0D16; box-shadow: 0 22px 50px rgba(17, 20, 42, .22); }
.film video { display: block; width: 100%; height: auto; }
@media (max-width: 440px) { .film { border-radius: 28px; } }

.sk-hero .caps { margin-top: 16px; }
/* the film shows one action, so the six stages and the dots are not shown */
.one .line, .one .now, .one .dots { display: none; }
@media (max-width: 440px) { .photo { --k: .275; border-radius: 28px; } }

.cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.cols .brand { font-size: 19px; margin-bottom: 10px; }
.cols .foot-links, .cols .foot-langs { flex-direction: column; gap: 9px; margin: 4px 0 0; }

@media (max-width: 860px) {
  .sk-hero { grid-template-columns: 1fr; }
  .info { padding: 26px; }
  .startrow { flex-direction: column; align-items: flex-start; }
  .tip::before { left: 28px; top: -6px; transform: rotate(45deg); }
  .carousel .track > .card { flex-basis: calc((100% - 18px) / 2); }
  .future { grid-template-columns: 1fr; border-radius: 30px; padding: 22px; }
  .getbox { border-radius: 34px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols > div { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .carousel .track > .card { flex-basis: 84%; }
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; text-align: left; gap: 34px; }
  .phone { max-width: 270px; }
}
@media (max-width: 600px) {
  section.wrap { margin-top: 48px; }
  .top { position: static; }
  .bar { padding-top: 10px; padding-bottom: 10px; }
  .links { order: 3; width: 100%; margin: 0 -8px; }
  .lang { margin-left: auto; }
  .grid, .grid.two, .split { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .shot { width: 210px; }
}
/* ---- the home page: the overview card, and three notes about what is coming */
.info .nos { margin: 22px 0 0; }
.info .get { margin: 24px 0 0; }
.info .note { margin: 12px 0 0; }
.future.three { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.future.three h2 { grid-column: 1 / -1; }
div.news:hover { box-shadow: none; }
@media (max-width: 860px) { .future.three { grid-template-columns: 1fr; } }
/* the maker's own accounts in the footer */
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; text-decoration: none; }
.social a:hover { background: var(--accent); color: #fff; }
/* where the header's download button is hidden (narrow screens), the two icon buttons keep to the right */
@media (max-width: 860px) { .bar details.pop:first-of-type { margin-left: auto; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
