@font-face{font-family:"Michroma";src:url(fonts/michroma-latin-400-normal.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Outfit";src:url(fonts/outfit-latin-300-normal.woff2) format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Outfit";src:url(fonts/outfit-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Outfit";src:url(fonts/outfit-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}

/* The website wears the app's own clothes: the dark-mode ground with its dot
   grid, Liquid Glass surfaces, Outfit for every word anyone has to read and
   Michroma for the name and the headlines.

   The home page (client direction, 2026-10-05 → 10-13) opens on a full-screen
   photograph; scrolling slides the app's ground up over it, and the four
   screens sit together on one sheet of glass. Every other page is the same
   ground with the bar at the top and the prose in a column. */

:root {
  --bg: #0f131d;
  --bg-2: #151b26;
  --raised: #1e2531;
  --hairline: rgba(255, 255, 255, 0.08);
  --strong: rgba(255, 255, 255, 0.16);
  --text: #ededf2;
  --text-2: #b4b6c0;
  --text-3: #8d909c;

  /* Links and focus rings take Today's burgundy, lightened for contrast on the
     dark ground (ACCENT.burgundy in src/ui/theme/tokens.ts). */
  --accent: #e57aae;
  --accent-edge: rgba(201, 69, 127, 0.42);

  --display: "Michroma", "Outfit", system-ui, sans-serif;

  --gap: 20px;
  --radius: 22px;
  --radius-lg: 30px;

  /* The app's dot grid: one faint dot every 18px. */
  --dots: radial-gradient(rgba(255, 255, 255, 0.06) 1px, rgba(255, 255, 255, 0) 1.6px);
  --ground: linear-gradient(180deg, #0f131d 0%, #151b26 55%, #10141d 100%);

  /* Surfaces and buttons, so the light theme only has to restate these. */
  --tint: rgba(255, 255, 255, 0.04);
  --btn-bg: #ffffff;
  --btn-fg: #0b0d12;
  --btn-hover: #e9e9ee;
  --ghost-edge: rgba(255, 255, 255, 0.55);
  --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.035) 45%, rgba(255, 255, 255, 0.07) 100%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

/* The light theme: the home page's own Day palette (.T.L in site/pages/index.html),
   so a page opened from the home page does not change colour under the reader.
   It applies when chosen with the switch (class L, set by the script in the head
   from the same 'inqon-theme' choice the home page keeps), or, with JavaScript
   off, when the device is in light mode. */
:root.L {
  --bg: #f5f6f9;
  --bg-2: #eef0f5;
  --raised: #ffffff;
  --hairline: rgba(10, 12, 20, 0.1);
  --strong: rgba(10, 12, 20, 0.12);
  --text: #0d0f14;
  --text-2: #474a55;
  --text-3: #646775;
  --accent: #a82c63;
  --accent-edge: rgba(168, 44, 99, 0.45);
  --dots: radial-gradient(rgba(10, 12, 20, 0.07) 1px, rgba(10, 12, 20, 0) 1.6px);
  --ground: linear-gradient(180deg, #f7f8fb 0%, #eef0f5 55%, #f5f6f9 100%);
  --tint: rgba(10, 12, 20, 0.035);
  --btn-bg: #0d0f14;
  --btn-fg: #ffffff;
  --btn-hover: #2a2d36;
  --ghost-edge: rgba(10, 12, 20, 0.5);
  --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.78) 100%);
  --glass-edge: inset 0 1px 0 #ffffff, 0 18px 40px rgba(20, 24, 40, 0.07);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not(.D):not(.L) {
    --bg: #f5f6f9;
    --bg-2: #eef0f5;
    --raised: #ffffff;
    --hairline: rgba(10, 12, 20, 0.1);
    --strong: rgba(10, 12, 20, 0.12);
    --text: #0d0f14;
    --text-2: #474a55;
    --text-3: #646775;
    --accent: #a82c63;
    --accent-edge: rgba(168, 44, 99, 0.45);
    --dots: radial-gradient(rgba(10, 12, 20, 0.07) 1px, rgba(10, 12, 20, 0) 1.6px);
    --ground: linear-gradient(180deg, #f7f8fb 0%, #eef0f5 55%, #f5f6f9 100%);
    --tint: rgba(10, 12, 20, 0.035);
    --btn-bg: #0d0f14;
    --btn-fg: #ffffff;
    --btn-hover: #2a2d36;
    --ghost-edge: rgba(10, 12, 20, 0.5);
    --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.78) 100%);
    --glass-edge: inset 0 1px 0 #ffffff, 0 18px 40px rgba(20, 24, 40, 0.07);
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--dots), var(--ground);
  background-size: 18px 18px, 100% 100%;
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--raised);
  border-radius: 12px;
}

/* ---------- glass ------------------------------------------------------------ */

/* Liquid Glass, as the app's tab bar wears it: a pale sheet that blurs what is
   behind it, a bright top edge and a fainter bottom one. */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--strong);
  box-shadow: var(--glass-edge);
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--raised);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------- bar and footer ------------------------------------------------ */

.bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

/* On the home page the bar floats over the photograph. */
.home .bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  max-width: none;
  padding: clamp(18px, 3vw, 36px) clamp(20px, 4vw, 56px);
  animation: fadein 1.2s ease 0.9s both;
}

.wordmark {
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.22em;
  padding: 12px 0;
}

.wordmark:hover {
  text-decoration: none;
}

/* The wordmark is drawn, not typed: the logo's own letters (site/assets/icon.svg holds its Q). */
.logo {
  display: block;
  height: 18px;
  width: auto;
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
}

.bar nav,
.foot nav {
  display: flex;
  gap: 4px 22px;
  flex-wrap: wrap;
}

.bar nav a,
.foot nav a {
  color: var(--text-2);
  font-size: 15px;
  padding: 10px 0;
}

.home .bar nav a {
  color: #e6e6ea;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* The language switch: the same page in English or Ukrainian, as short as a theme button. */
.pill.lang {
  min-width: 44px;
  padding: 0 14px;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.pill:hover {
  text-decoration: none;
  filter: brightness(1.12);
}

@media (max-width: 560px) {
  .bar nav {
    display: none;
  }
}

/* The theme switch: one button that flips between dark and light, on every screen
   (client request, 2026-10-27 — the three-way group read as two buttons and an icon).
   Until it is tapped the page follows the device. The three-way group stays in the
   markup for the scripts and is never shown. */
.thm {
  display: none;
}

.thm button,
.thm-1 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: none;
  color: var(--text-3);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.thm button.on {
  background: var(--text);
  color: var(--bg);
}

.thm-1 {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--text);
}

.bar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Without JavaScript the switch could not do anything, so it is not shown. */
:root:not(.js) .thm,
:root:not(.js) .thm-1 {
  display: none;
}

.foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 14px;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-name {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.22em;
}

.fine {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  max-width: 70ch;
}

.fine a {
  color: var(--text-2);
}

/* "Don't count my visits": a link in looks, a button in kind, a full touch target. */
.stats-off {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.stats-off:disabled {
  text-decoration: none;
  cursor: default;
}

/* ---------- buttons -------------------------------------------------------- */

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.btn-primary:hover {
  background: var(--btn-hover);
}

.btn-ghost,
.btn-quiet {
  border-color: var(--ghost-edge);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--tint);
}

.btn[aria-disabled="true"] {
  background: var(--tint);
  color: var(--text-2);
  border-color: var(--hairline);
  cursor: default;
}

.note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-3);
}

/* ---------- inner pages ---------------------------------------------------- */

main.wide {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

main.prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 8px 20px 80px;
}

.home main.wide {
  max-width: none;
  padding: 0;
}

main.prose h1 {
  font-family: var(--display);
  font-size: clamp(24px, 4.6vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  margin: 24px 0 8px;
}

main.prose h2 {
  font-size: 22px;
  font-weight: 400;
  margin: 40px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

main.prose h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin: 24px 0 4px;
}

main.prose p,
main.prose li {
  color: var(--text-2);
}

main.prose strong {
  color: var(--text);
  font-weight: 400;
}

main.prose ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

main.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--text);
}

main.prose blockquote {
  margin: 20px 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--accent-edge);
}

main.prose hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 32px 0;
}

.scroll {
  overflow-x: auto;
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: var(--text-2);
}

th {
  color: var(--text-3);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* An address in a legal page: its lines are data, so they keep their breaks. */
.prose address {
  font-style: normal;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent-edge);
  background: var(--tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2);
  line-height: 1.7;
}

.inner section {
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
}

.eyebrow {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 14px;
}

h2.head {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

.lede {
  margin: 0 0 32px;
  color: var(--text-2);
  max-width: 60ch;
  font-size: 18px;
}

.faq {
  display: grid;
  gap: 4px;
}

details {
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
}

summary {
  cursor: pointer;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 44px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--text-3);
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 10px 0 2px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 68ch;
}

/* Partners: a grid of glass cards, and the press kit's facts as label / value rows. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
}

.card b {
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}

.facts {
  margin: 0;
  display: grid;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr;
  gap: 4px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.facts dt {
  color: var(--text-3);
  font-size: 14px;
}

.facts dd {
  margin: 0;
  color: var(--text-2);
}

@media (max-width: 480px) {
  .facts div {
    grid-template-columns: 1fr;
  }
}

/* Manifesto: a pill, a headline whose last words sweep through the four screens'
   colours, then seven numbered points and a signed note. Each point's number takes a
   screen's colour in turn (Today, Training, Food, Progress), from the app's tokens. */
:root {
  --c1: #e57aae;
  --c2: #f7894f;
  --c3: #9ccb7c;
  --c4: #9aa5f4;
}

:root.L {
  --c1: #8e1f52;
  --c2: #a43c15;
  --c3: #1d6841;
  --c4: #3441b0;
}

@media (prefers-color-scheme: light) {
  :root:not(.D):not(.L) {
    --c1: #8e1f52;
    --c2: #a43c15;
    --c3: #1d6841;
    --c4: #3441b0;
  }
}

main.wide .mf-head {
  padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
}

.mf-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--strong);
  border-radius: 999px;
  padding: 7px 14px;
}

.mf-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.18;
  margin: 28px 0 24px;
  color: var(--text);
}

.mf-title-s {
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0;
}

.mf-grad {
  background: linear-gradient(90deg, var(--c1), var(--c2) 38%, var(--c3) 66%, var(--c4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-head .lede {
  margin: 0;
  max-width: 62ch;
}

.mf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.mf-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8px 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--hairline);
}

.mf-num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  padding-top: 8px;
}

.mf-1 .mf-num { color: var(--c1); }
.mf-2 .mf-num { color: var(--c2); }
.mf-3 .mf-num { color: var(--c3); }
.mf-4 .mf-num { color: var(--c4); }

.mf-list h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.3;
  max-width: 16ch;
  color: var(--text);
}

.mf-list p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

.mf-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px 32px;
  padding: clamp(56px, 8vw, 96px) 0;
}

.inner .mf-why,
.inner .mf-close {
  border-top: 0;
}

.mf-why p {
  margin: 0 0 18px;
  color: var(--text-2);
}

.mf-sign {
  display: grid;
  gap: 2px;
  margin-top: 26px !important;
}

.mf-sign b {
  color: var(--text);
  font-weight: 500;
}

.mf-sign span {
  font-size: 14px;
  color: var(--text-3);
}

.inner section.mf-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  padding: clamp(72px, 10vw, 130px) 0;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 760px) {
  .mf-list li,
  .mf-why {
    grid-template-columns: 1fr;
  }
  .mf-list h2 {
    max-width: none;
  }
}

/* ---------- home: the photograph ------------------------------------------- */

/* The photograph stays put while the page's ground slides up over it. */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: hidden;
  height: min(100vh, 1100px);
  height: min(100svh, 1100px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px clamp(20px, 4vw, 56px) 80px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}

/* Dark enough for white type over the lifter, and fading into the ground. */
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 0.55) 65%,
    rgba(15, 19, 29, 0.92) 100%
  );
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  text-align: center;
}

.pretitle {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.hero h1 {
  margin: 0;
  max-width: 1000px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(25px, 4.3vw, 60px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-sub {
  margin: 0;
  max-width: 600px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  font-weight: 400;
  color: #d4d4d4;
  text-wrap: pretty;
}

.hero-copy .btn {
  margin-top: 6px;
}

.hero-foot {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(12px, 2.4vw, 30px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0 24px;
  font-size: 14px;
  font-weight: 500;
}

.hero-foot p {
  margin: 0;
  padding: 12px 0;
  color: #e6e6e6;
}

.hero-foot nav {
  display: flex;
  gap: 22px;
}

.hero-foot a {
  color: #fff;
  padding: 12px 0;
}

/* ---------- home: everything below the photograph --------------------------- */

/* A strip that fades from clear to the ground, so the ground rises over the
   photograph instead of cutting across it. */
.after {
  position: relative;
  z-index: 1;
  padding-top: clamp(200px, 34vw, 380px);
  background: linear-gradient(to bottom, rgba(15, 19, 29, 0) 0, var(--bg) clamp(200px, 34vw, 380px));
}

.ground {
  background-color: var(--bg);
  background-image: var(--dots), var(--ground);
  background-size: 18px 18px, 100% 100%;
  padding-bottom: 1px;
}

.features {
  padding: clamp(40px, 8vw, 120px) 0 clamp(64px, 9vw, 130px);
}

/* One sheet of glass under all four phones (client request, 2026-10-13). */
.showcase {
  position: relative;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  border-radius: clamp(32px, 3.6vw, 48px);
  overflow: hidden;
  padding: clamp(52px, 6vw, 88px) 0 clamp(44px, 5vw, 72px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 40px 90px rgba(0, 0, 0, 0.45);
}

.sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0) 65%);
  background-size: 260% 100%;
  background-position: 120% 0;
}

.shots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 48px);
  padding: 0 clamp(20px, 3vw, 48px);
}

.shot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 270px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The phones step up and down; the captions below stay on one line. */
.screen {
  position: relative;
  width: 82%;
  margin-top: var(--o);
  margin-bottom: calc(88px - var(--o));
}

/* The screen's own colour, glowing faintly through the glass under it. */
.glow {
  position: absolute;
  inset: 10% -18% 14%;
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--tint), rgba(0, 0, 0, 0));
  animation-delay: var(--delay);
}

.screen img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(18px, 2.2vw, 30px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.6);
}

.shot figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

.shot h3 {
  margin: 14px 0 0;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.35;
  font-weight: 500;
  text-wrap: balance;
}

.shot p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-2);
  text-wrap: pretty;
}

/* On a phone the four screens become a row to swipe through, one at a time. */
@media (max-width: 860px) {
  .showcase {
    width: calc(100% - 24px);
    padding: 44px 0 36px;
  }

  .shots {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 11vw 8px;
    scrollbar-width: none;
  }

  .shots::-webkit-scrollbar {
    display: none;
  }

  .shot {
    flex: 0 0 72vw;
    max-width: 300px;
    scroll-snap-align: center;
  }

  .screen {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.teasers {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 28px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) 24px clamp(56px, 8vw, 110px);
}

.teaser {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
}

.badge {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d0d0d6;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
}

.teaser h2,
.data h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
  text-wrap: balance;
}

.teaser p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}

.teaser .btn {
  margin-top: auto;
  min-height: 48px;
  font-size: 15px;
}

.data {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px clamp(64px, 9vw, 120px);
}

.data h2 {
  margin-bottom: 28px;
}

.promise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
}

.promise div {
  display: grid;
  gap: 6px;
  align-content: start;
}

.promise b {
  font-weight: 500;
  font-size: 17px;
}

.promise p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

.closing {
  border-top: 1px solid var(--hairline);
  padding: clamp(72px, 10vw, 140px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.closing h2 {
  font-size: clamp(22px, 3.4vw, 46px);
  letter-spacing: 0.02em;
}

.closing .note {
  margin: 0;
}

/* ---------- motion ------------------------------------------------------------ */

/* All of it stops for Reduce Motion: the rule at the top of the file. */

@keyframes zoomout {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes breathe {
  0% { opacity: 0.35; transform: scale(0.92); }
  100% { opacity: 0.8; transform: scale(1.06); }
}

@keyframes sheen {
  0%, 55% { background-position: 120% 0; }
  100% { background-position: -60% 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translateY(var(--d)); }
  to { transform: translateY(calc(var(--d) * -1)); }
}

/* The opening: the photograph eases back, the words arrive one after another. */
.in-zoom { animation: zoomout 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.in-fade { animation: fadein 1.2s ease 0.9s both; }
.in-1 { animation: fadeup 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
.in-2 { animation: fadeup 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
.in-3 { animation: fadeup 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s both; }
.in-4 { animation: fadeup 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.95s both; }

.glow { animation: breathe 5.5s ease-in-out infinite alternate; animation-delay: var(--delay); }
.sheen { animation: sheen 12s ease-in-out infinite; }

/* Scroll-linked motion only where the browser can tie it to the scroll; elsewhere
   everything simply stands still. */
@supports (animation-timeline: view()) {
  @media (min-width: 861px) {
    .shot {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }

    .drift {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
  }

  @media (max-width: 860px) {
    .shots {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
