/* MIGMO brand fonts, self-hosted (no third-party requests). */
@font-face{font-family:Newsreader;src:url(fonts/Newsreader_400Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Newsreader;src:url(fonts/Newsreader_400Regular_Italic.ttf) format("truetype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Newsreader;src:url(fonts/Newsreader_500Medium.ttf) format("truetype");font-weight:500 900;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(fonts/AtkinsonHyperlegible_400Regular.ttf) format("truetype");font-weight:400 500;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(fonts/AtkinsonHyperlegible_700Bold.ttf) format("truetype");font-weight:600 900;font-display:swap}
:root {
  color-scheme: light;
  --ink: #211b2d;
  --ink-soft: #40384a;
  --muted: #746e7c;
  --canvas: #f7f5f9;
  --paper: #fffefc;
  --paper-alt: #f1eef4;
  --line: #ded9e6;
  --accent: #7654c6;
  --accent-bright: #8c6fdb;
  --accent-soft: #eee9ff;
  --plum: #17141f;
  --plum-raised: #211c2b;
  --teal: #2e6f64;
  --teal-soft: #e7f2ef;
  --berry: #c83f61;
  --cycle: #7d628d;
  --display: Newsreader, Georgia, serif;
  --sans: "Atkinson Hyperlegible", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 48px));
  --section-pad: clamp(92px, 11vw, 164px);
  --shadow-sm: 0 12px 32px rgba(42, 31, 57, .08);
  --shadow-lg: 0 40px 100px rgba(31, 23, 43, .16), 0 10px 32px rgba(31, 23, 43, .08);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eeeaf3;
  --ink-soft: #d6cedd;
  --muted: #b6afbd;
  --canvas: #17141f;
  --paper: #211c2b;
  --paper-alt: #2a2434;
  --line: #3a3345;
  --accent: #b6a2ff;
  --accent-bright: #c8baff;
  --accent-soft: #352a51;
  --plum: #100e16;
  --plum-raised: #211c2b;
  --teal: #84c8b7;
  --teal-soft: #263c38;
  --berry: #f08aa2;
  --cycle: #b99bc9;
  --shadow-sm: 0 14px 36px rgba(0, 0, 0, .22);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, .38), 0 10px 32px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

img,
svg { display: block; }

h1,
h2,
h3,
p { margin: 0; }

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
}

h2 {
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.045em;
}

h3 { line-height: 1.25; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad { padding-block: var(--section-pad); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 65%, white);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  color: #f4effa;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled,
.site-header.solid-header {
  position: fixed;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: 0 8px 30px rgba(31, 23, 43, .05);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.wordmark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
}

html[data-theme="dark"] .wordmark-mark { color: #17141f; }

.wordmark-mark { overflow: hidden; background: none; border-radius: 10px; }
.wordmark-mark img { display: block; width: 100%; height: 100%; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active-link::after { transform: scaleX(1); transform-origin: left; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-button,
.menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 20%, transparent);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.theme-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-button .sun-icon { display: none; }
html[data-theme="dark"] .theme-button .sun-icon { display: block; }
html[data-theme="dark"] .theme-button .moon-icon { display: none; }

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 999px;
  background: #f4effa;
  color: #211b2d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-header.is-scrolled .header-cta,
.site-header.solid-header .header-cta {
  background: var(--accent);
  color: #fff;
}

html[data-theme="dark"] .site-header.is-scrolled .header-cta,
html[data-theme="dark"] .site-header.solid-header .header-cta { color: #17141f; }

.menu-button { display: none; position: relative; }
.menu-button span:not(.sr-only) { position: absolute; width: 17px; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.menu-button span:nth-child(2) { top: 16px; }
.menu-button span:nth-child(3) { top: 23px; }
.menu-button[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 74px;
  left: 20px;
  right: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.mobile-menu a { display: block; padding: 12px; border-radius: 10px; font-weight: 650; text-decoration: none; }
.mobile-menu a:hover { background: var(--accent-soft); }

/* Shared */
.kicker,
.section-index,
.card-label,
.article-meta {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.kicker > span { width: 28px; height: 1px; background: currentColor; }
.kicker-on-dark { color: #b6a2ff; }

.section-index { color: var(--accent); }
.section-index-on-dark { color: #b6a2ff; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-light { background: #f4effa; color: #211b2d; box-shadow: 0 14px 34px rgba(0,0,0,.16); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: #f4effa; }

.section-heading,
.blog-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.section-heading .section-index,
.blog-heading .section-index { margin-bottom: 24px; }
.section-heading > p { max-width: 430px; padding-bottom: 8px; color: var(--muted); font-size: 17px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 920px;
  padding: 155px 0 44px;
  background: #17141f;
  color: #f4effa;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(118,84,198,.08), transparent 38%, rgba(118,84,198,.06));
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(182,162,255,.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one { width: 720px; height: 720px; right: -290px; top: -220px; }
.hero-orbit-two { width: 430px; height: 430px; left: -300px; bottom: -130px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.hero-copy { padding-bottom: 42px; }
.hero-copy h1 {
  max-width: 780px;
  margin-top: 26px;
  font-size: clamp(4.4rem, 7.7vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.06em;
}

.hero-copy h1 em,
.closing-inner h2 em {
  color: #b6a2ff;
  font-weight: 400;
}

.hero-intro {
  max-width: 600px;
  margin-top: 34px;
  color: #c6becd;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.platform-note { margin-top: 56px; color: #948b9d; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.platform-list { display: flex; align-items: center; gap: 9px; margin-top: 11px; color: #d9d2df; }
.platform-list i { width: 3px; height: 3px; border-radius: 50%; background: #7654c6; }

.hero-product {
  position: relative;
  width: min(500px, 100%);
  min-height: 675px;
  display: grid;
  place-items: center;
  justify-self: center;
  perspective: 1200px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 344px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 48px;
  background: #0f0d14;
  box-shadow: 0 50px 110px rgba(0,0,0,.5), 0 15px 45px rgba(118,84,198,.18);
  transform: rotateY(-5deg) rotateX(1deg);
  transition: transform .24s ease-out;
}

.phone-speaker { position: absolute; z-index: 4; top: 17px; left: 50%; width: 76px; height: 23px; border-radius: 99px; background: #0f0d14; transform: translateX(-50%); }

.phone-screen {
  min-height: 646px;
  overflow: hidden;
  padding: 28px 15px 14px;
  border-radius: 40px;
  background: #f7f5f9;
  color: #211b2d;
  font-family: var(--sans);
}

.app-topbar { display: flex; align-items: center; justify-content: space-between; }
.app-mini-logo { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 17px; font-weight: 600; }
.app-mini-logo i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: #7654c6; box-shadow: inset 0 0 0 7px #7654c6; }
.app-mini-logo i::after { content: "m"; display: grid; place-items: center; color: #fff; font: 600 15px var(--display); }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #ded9e6; border-radius: 10px; background: #fff; color: #7654c6; font-size: 12px; font-weight: 800; }

.app-greeting { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 19px; }
.app-greeting > div small { color: #7654c6; font-size: 7px; font-weight: 800; letter-spacing: .11em; }
.app-greeting h2 { margin-top: 4px; font-family: var(--sans); font-size: 21px; font-weight: 750; line-height: 1.12; letter-spacing: -.04em; }
.app-greeting time { width: 43px; height: 48px; display: grid; place-items: center; align-content: center; border: 1px solid #ded9e6; border-radius: 13px; background: #fff; line-height: 1; }
.app-greeting time small { color: #7654c6; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.app-greeting time strong { margin-top: 3px; font-size: 17px; }

.calendar-card { overflow: hidden; margin-top: 13px; border: 1px solid #ded9e6; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(33,27,45,.07); }
.calendar-card::before { content: ""; display: block; height: 3px; background: #7654c6; }
.calendar-title { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px; }
.month-tile { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eee9ff; color: #7654c6; font-size: 13px; font-weight: 800; }
.calendar-title > span:nth-child(2) { display: grid; }
.calendar-title small { color: #746e7c; font-size: 6px; font-weight: 800; letter-spacing: .1em; }
.calendar-title strong { margin-top: -2px; font-size: 11px; }
.calendar-title b { margin-left: auto; color: #746e7c; font-size: 17px; font-weight: 500; }
.week-labels,
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding-inline: 9px; }
.week-labels { margin-top: 4px; }
.week-labels span { color: #908997; font-size: 7px; text-align: center; }
.calendar-days { margin-top: 3px; }
.calendar-days > span { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid transparent; border-radius: 8px; font-size: 8px; }
.calendar-days .outside { color: #c3bdc8; }
.calendar-days .unknown::after { content: ""; position: absolute; bottom: 4px; width: 7px; height: 1px; border-radius: 2px; background: #9a929f; }
.calendar-days .migraine::after { content: "▮▮"; position: absolute; bottom: 2px; font-size: 4px; line-height: 1; }
.calendar-days .migraine.mild { background: #e8f1f7; border-color: #7190aa; color: #416b8c; }
.calendar-days .migraine.mild::after { content: "▮"; }
.calendar-days .migraine.medium { background: #eee9ff; border-color: #8c6fdb; color: #7654c6; }
.calendar-days .migraine.heavy { background: #ffe8ec; border-color: #d26a81; color: #b02f54; }
.calendar-days .migraine.heavy::after { content: "▮▮▮"; }
.calendar-days .cycle { box-shadow: inset 0 -2px 0 #7d628d; }
.calendar-days .today { outline: 1.5px solid #211b2d; outline-offset: -2px; }
.calendar-days i { position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; display: grid; place-items: center; border-radius: 3px; background: #29354c; color: #fff; font-size: 4px; font-style: normal; font-weight: 800; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 7px; border-top: 1px solid #ded9e6; }
.app-stats span { padding: 8px; border-right: 1px solid #ded9e6; }
.app-stats span:last-child { border-right: 0; }
.app-stats strong { display: block; font-size: 14px; line-height: 1; }
.app-stats small { display: block; margin-top: 4px; color: #746e7c; font-size: 5.5px; font-weight: 800; line-height: 1.2; }
.app-log-button { width: 100%; height: 42px; margin-top: 11px; border: 0; border-radius: 12px; background: #7654c6; color: #fff; font-size: 10px; font-weight: 750; }
.app-log-button span { font-size: 17px; vertical-align: -1px; }
.app-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; margin: 13px -5px -5px; color: #8f8797; font-size: 6px; font-weight: 700; text-align: center; }
.app-nav .active { color: #7654c6; }
.app-nav .nav-plus { width: 38px; height: 38px; display: grid; place-items: center; justify-self: center; border-radius: 12px; background: #7654c6; color: #fff; font-size: 18px; transform: translateY(-6px); }

.floating-card {
  position: absolute;
  z-index: 5;
  min-width: 218px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(222,217,230,.8);
  border-radius: 17px;
  background: rgba(255,254,252,.96);
  color: #211b2d;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}

.floating-card-top { top: 80px; right: -18px; }
.floating-card-bottom { left: -24px; bottom: 88px; }
.floating-card strong,
.floating-card small { display: block; }
.floating-card strong { font-size: 11px; line-height: 1.35; }
.floating-card small { margin-top: 2px; color: #746e7c; font-size: 8px; }
.floating-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: #eee9ff; color: #7654c6; }
.floating-icon-teal { background: #e7f2ef; color: #2e6f64; }
.floating-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-footnote { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #9e95a7; font-size: 12px; }
.hero-footnote span { color: #b6a2ff; font-size: 10px; font-weight: 800; letter-spacing: .1em; }

/* Statement */
.statement { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 180px 1fr; gap: clamp(40px, 8vw, 120px); }
.display-quote { max-width: 900px; font-family: var(--display); font-size: clamp(2.8rem, 5.2vw, 5.1rem); line-height: 1.04; letter-spacing: -.04em; }
.statement-copy { max-width: 650px; margin-top: 40px; color: var(--muted); font-size: 18px; }

/* Experience */
.experience { background: var(--canvas); }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.experience-card { position: relative; overflow: hidden; min-height: 650px; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-sm); }
.card-number { position: absolute; z-index: 4; top: 20px; left: 20px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 10px; font-weight: 800; }
.mini-interface { width: 76%; align-self: end; justify-self: center; padding: 25px 23px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--canvas); box-shadow: 0 22px 55px rgba(37,28,50,.12); }
.quick-card { background: linear-gradient(to bottom, var(--accent-soft) 0 58%, var(--paper) 58%); }
.detail-card { background: linear-gradient(to bottom, color-mix(in srgb, var(--cycle) 12%, var(--paper)) 0 58%, var(--paper) 58%); }
.mini-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.mini-top span { color: var(--accent); font-weight: 800; }
.mini-top small { font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.mini-interface > h3 { margin-top: 20px; font-size: 23px; letter-spacing: -.03em; }
.phase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
.phase-grid span { min-height: 76px; display: grid; align-content: center; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); font-size: 10px; font-weight: 700; }
.phase-grid b { color: var(--accent); font-size: 17px; }
.phase-grid .selected { border: 2px solid var(--accent); background: var(--accent-soft); }
.mini-button { height: 40px; display: grid; place-items: center; margin-top: 13px; border-radius: 11px 11px 0 0; background: var(--accent); color: #fff; font-size: 10px; font-weight: 750; }
html[data-theme="dark"] .mini-button { color: #17141f; }
.detail-interface { padding-bottom: 26px; }
.timeline-row { display: grid; grid-template-columns: 4px 1fr; gap: 14px; margin-top: 20px; }
.timeline-row i { border-radius: 99px; background: var(--line); }
.timeline-row.current i { background: var(--accent); }
.timeline-row span { display: grid; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.timeline-row small { color: var(--muted); font-size: 8px; font-weight: 800; }
.timeline-row strong { margin-top: 3px; font-size: 13px; }
.timeline-row b { margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 500; }
.medicine-row { margin: 12px 0 0 18px; padding: 11px; border-radius: 10px; background: var(--paper-alt); font-size: 9px; }
.medicine-row em { float: right; color: var(--teal); font-style: normal; font-weight: 800; }
.card-copy { min-height: 195px; padding: 31px 34px 34px; background: var(--paper); }
.card-label { color: var(--accent); }
.card-copy h3 { margin-top: 10px; font-family: var(--display); font-size: 31px; font-weight: 500; letter-spacing: -.03em; }
.card-copy > p:last-child { max-width: 440px; margin-top: 12px; color: var(--muted); }

/* Phase section */
.phases-section { position: relative; overflow: hidden; background: #17141f; color: #f4effa; }
.phases-section::after { content: ""; position: absolute; width: 600px; height: 600px; left: -420px; bottom: -260px; border: 1px solid rgba(182,162,255,.15); border-radius: 50%; }
.phases-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); align-items: center; }
.phases-copy h2 { margin-top: 27px; }
.phases-copy > p:nth-of-type(2) { max-width: 490px; margin-top: 30px; color: #bcb4c4; }
.phase-tabs { display: grid; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.16); }
.phase-tabs button { min-height: 58px; display: grid; grid-template-columns: 48px 1fr; align-items: center; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; color: #7e7587; text-align: left; cursor: pointer; }
.phase-tabs button span { font-family: var(--display); font-size: 20px; }
.phase-tabs button[aria-selected="true"] { color: #f4effa; }
.phase-tabs button[aria-selected="true"] span::after { content: "→"; float: right; color: #b6a2ff; }
.phase-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.phase-orbit { position: absolute; inset: 5%; display: grid; place-items: center; border: 1px solid rgba(182,162,255,.16); border-radius: 50%; }
.phase-orbit::before,
.phase-orbit::after { content: ""; position: absolute; border: 1px solid rgba(182,162,255,.12); border-radius: 50%; }
.phase-orbit::before { width: 72%; height: 72%; }
.phase-orbit::after { width: 44%; height: 44%; }
.phase-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #7654c6; box-shadow: 0 0 0 5px rgba(118,84,198,.13); }
.phase-orbit span:nth-child(1) { top: 14%; right: 22%; }
.phase-orbit span:nth-child(2) { left: 5%; top: 48%; }
.phase-orbit span:nth-child(3) { right: 8%; bottom: 21%; }
.phase-content { position: relative; z-index: 2; width: min(360px, 80%); padding: 37px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(33,28,43,.92); box-shadow: 0 35px 80px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.phase-symbol { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: #352a51; color: #b6a2ff; font-size: 26px; }
.phase-content .card-label { margin-top: 26px; color: #b6a2ff; }
.phase-content h3 { margin-top: 8px; font-family: var(--display); font-size: 35px; font-weight: 500; }
.phase-content > p:not(.card-label) { margin-top: 15px; color: #bcb4c4; }
.phase-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.phase-tags span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d7d0dc; font-size: 10px; }

/* Patterns */
.patterns { background: var(--paper); }
.pattern-canvas { position: relative; min-height: 650px; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; padding: clamp(38px, 6vw, 72px); border: 1px solid var(--line); border-radius: 34px; background: var(--canvas); box-shadow: var(--shadow-sm); }
.pattern-canvas::before { content: ""; position: absolute; width: 340px; height: 340px; top: -190px; right: -120px; border: 55px solid color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 50%; }
.observation-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.pattern-copy-block h3 { max-width: 500px; margin-top: 21px; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.pattern-copy-block p { max-width: 430px; margin-top: 25px; color: var(--ink-soft); font-size: 18px; }
.pattern-copy-block small { display: block; max-width: 420px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); }
.cycle-chart { position: relative; z-index: 2; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-sm); }
.cycle-labels,
.cycle-line { display: grid; grid-template-columns: 48px repeat(6, 1fr) 50px; align-items: center; gap: 7px; }
.cycle-labels { margin-bottom: 12px; color: var(--muted); font-size: 9px; text-align: center; }
.cycle-labels span:first-child { grid-column: 2; }
.cycle-line { min-height: 74px; border-top: 1px solid var(--line); }
.cycle-line b { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.cycle-line span { position: relative; min-height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--cycle) 13%, transparent); }
.cycle-line span.attack::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.cycle-line em { color: var(--muted); font-size: 9px; font-style: normal; text-align: right; }
.pattern-stat { position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow-sm); }
.pattern-stat strong { color: var(--accent); font-family: var(--display); font-size: 25px; }
.pattern-stat span { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .09em; line-height: 1.3; }
.pattern-stat-one { right: 5%; top: 9%; }
.pattern-stat-two { right: 30%; bottom: 6%; }

/* Reports */
.reports { background: var(--canvas); }
.report-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 140px); align-items: center; }
.report-copy .section-index { margin-bottom: 25px; }
.report-copy > p:nth-of-type(2) { max-width: 500px; margin-top: 29px; color: var(--muted); font-size: 17px; }
.check-list { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); }
.check-list span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 12px; font-weight: 800; }
.care-note { max-width: 500px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.report-stack { position: relative; min-height: 650px; display: grid; place-items: center; }
.report-paper { position: relative; z-index: 2; width: min(520px, 88%); min-height: 605px; padding: 40px 38px 32px 45px; border: 1px solid var(--line); border-radius: 8px; background: #fffefc; color: #211b2d; box-shadow: var(--shadow-lg); transform: rotate(1.6deg); }
.report-paper-back { position: absolute; z-index: 1; background: var(--accent-soft); transform: rotate(-5deg) translate(-13px, 8px); box-shadow: none; }
.paper-spine { position: absolute; inset: 0 auto 0 0; width: 6px; background: #7654c6; }
.paper-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 19px; border-bottom: 1px solid #ded9e6; }
.paper-header span { display: flex; align-items: center; gap: 7px; color: #7654c6; font-family: var(--display); font-size: 19px; font-weight: 700; }
.paper-header i { width: 10px; height: 10px; border-radius: 3px; background: #7654c6; }
.paper-header small { color: #746e7c; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.paper-title { display: flex; justify-content: space-between; gap: 18px; margin-top: 24px; }
.paper-title span strong,
.paper-title span small { display: block; }
.paper-title span strong { font-size: 18px; }
.paper-title span small { margin-top: 3px; color: #746e7c; font-size: 10px; }
.paper-title > b { color: #7654c6; font-size: 21px; text-align: right; }
.paper-title > b small { display: block; color: #746e7c; font-size: 6px; letter-spacing: .1em; }
.paper-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-block: 1px solid #ded9e6; }
.paper-metrics span { padding: 18px 8px; border-right: 1px solid #ded9e6; }
.paper-metrics span:last-child { border-right: 0; }
.paper-metrics strong { display: block; font-family: var(--display); font-size: 27px; }
.paper-metrics small { display: block; margin-top: 4px; color: #746e7c; font-size: 6px; font-weight: 800; line-height: 1.4; letter-spacing: .08em; }
.paper-section { padding-block: 20px; border-bottom: 1px solid #ded9e6; }
.paper-section > b { color: #7654c6; font-size: 7px; letter-spacing: .12em; }
.paper-section p { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; color: #5f5767; font-size: 10px; }
.paper-section p strong { color: #211b2d; }
.paper-footer { position: absolute; left: 45px; right: 30px; bottom: 20px; display: flex; justify-content: space-between; gap: 15px; color: #8c8491; font-size: 6px; }
.paper-footer span { font-weight: 800; letter-spacing: .08em; }

/* Platforms */
.platforms { overflow: hidden; background: #17141f; color: #f4effa; }
.platform-heading { max-width: 880px; text-align: center; margin-inline: auto; }
.platform-heading .section-index { margin-bottom: 26px; }
.platform-heading > p:last-child { max-width: 560px; margin: 28px auto 0; color: #bcb4c4; font-size: 17px; }
.devices { min-height: 490px; display: flex; align-items: end; justify-content: center; gap: 22px; margin-top: 90px; perspective: 1400px; }
.device { padding: 6px; border: 1px solid rgba(255,255,255,.22); background: #0f0d14; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.device-screen { overflow: hidden; height: 100%; background: #f7f5f9; color: #211b2d; }
.device-phone { width: 150px; height: 300px; border-radius: 25px; transform: translateY(20px) rotateY(5deg); }
.device-phone .device-screen { padding: 26px 12px 12px; border-radius: 19px; }
.device-tablet { width: 330px; height: 250px; border-radius: 18px; transform: rotateY(-3deg); }
.device-tablet .device-screen { display: grid; grid-template-columns: 67px 1fr; border-radius: 12px; }
.device-desktop { width: 470px; height: 300px; border-radius: 16px; transform: translateY(-28px); }
.device-desktop .device-screen { border-radius: 10px; }
.desktop-stand { width: 160px; height: 44px; margin: 0 auto -49px; border-radius: 0 0 60px 60px; background: linear-gradient(to bottom, #26212e, #0f0d14); clip-path: polygon(35% 0,65% 0,75% 100%,25% 100%); }
.device-logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: #7654c6; color: #fff; font-family: var(--display); font-weight: 700; }
.device-line { height: 7px; border-radius: 99px; background: #d8d2df; }
.device-line.wide { width: 65%; }
.device-card { min-height: 65px; margin-top: 15px; border: 1px solid #ded9e6; border-radius: 12px; background: #fff; }
.device-card.purple { background: #eee9ff; border-color: #cfc1fa; }
.tablet-side { display: grid; align-content: start; gap: 18px; padding: 18px 15px; border-right: 1px solid #ded9e6; }
.tablet-side i,
.desktop-layout aside i { width: 100%; height: 5px; border-radius: 99px; background: #d8d2df; }
.tablet-main { padding: 25px; }
.tablet-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.desktop-bar { height: 26px; display: flex; gap: 5px; align-items: center; padding: 0 10px; background: #eae6ee; }
.desktop-bar span { width: 6px; height: 6px; border-radius: 50%; background: #b7b0bd; }
.desktop-layout { display: grid; grid-template-columns: 90px 1fr; height: calc(100% - 26px); }
.desktop-layout aside { display: grid; align-content: start; gap: 18px; padding: 18px; border-right: 1px solid #ded9e6; }
.desktop-layout > div { padding: 24px; }
.desktop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.platform-names { display: flex; justify-content: center; gap: 11px; margin-top: 60px; }
.platform-names span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #a9a0b1; font-size: 10px; font-weight: 700; }

/* Principles */
.principles { background: var(--paper); }
.principles-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 150px); }
.principles-grid h2 { margin-top: 22px; }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principle-list article > span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.principle-list h3 { font-family: var(--display); font-size: 27px; font-weight: 500; letter-spacing: -.02em; }
.principle-list p { margin-top: 8px; color: var(--muted); }

/* Blog preview */
.blog-preview { background: var(--canvas); }
.blog-heading { align-items: end; }
.blog-heading .text-link { justify-self: end; margin-bottom: 8px; }
.article-grid { display: grid; grid-template-columns: 1.12fr .94fr .94fr; gap: 18px; }
.article-card { overflow: hidden; display: grid; grid-template-rows: 270px auto; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-art { position: relative; overflow: hidden; display: grid; place-items: center; background: var(--accent-soft); }
.article-card > div:last-child { position: relative; min-height: 220px; padding: 26px; }
.article-meta { color: var(--accent); font-size: 9px; }
.article-card h3 { margin-top: 14px; padding-right: 20px; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.025em; }
.article-arrow { position: absolute; right: 25px; bottom: 22px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .2s ease; }
.article-card:hover .article-arrow { transform: translate(3px, -3px); }
.report-art { background: #211c2b; }
.report-art .art-page { position: absolute; width: 150px; height: 190px; border-radius: 5px; background: #fffefc; box-shadow: 0 18px 35px rgba(0,0,0,.26); }
.report-art .art-page:first-child { transform: translate(-25px, 8px) rotate(-8deg); background: #dcd0ff; }
.report-art .art-page:nth-child(2) { transform: translate(20px, 13px) rotate(4deg); }
.report-art i { position: relative; z-index: 2; width: 88px; height: 5px; border-radius: 99px; background: #7654c6; box-shadow: 0 24px 0 #ded9e6, 0 44px 0 #ded9e6, 0 64px 0 #ded9e6; transform: translate(20px, -30px) rotate(4deg); }
.pulse-art { background: var(--teal-soft); }
.pulse-art i { position: relative; width: 180px; height: 80px; display: block; background: none; }
.pulse-art i::before { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--teal); transform: translateY(-50%); }
.pulse-art i::after { content: ""; position: absolute; left: 30%; top: 50%; width: 70px; height: 55px; border-left: 3px solid var(--teal); border-top: 3px solid var(--teal); transform: translateY(-18px) skewX(-30deg) rotate(45deg); }
.pulse-art span { position: absolute; bottom: 32px; right: 35px; color: var(--teal); font-family: var(--display); font-size: 32px; }
.cycle-art { grid-template-columns: repeat(5, 38px); gap: 9px; background: color-mix(in srgb, var(--cycle) 12%, var(--paper)); }
.cycle-art span { position: relative; height: 110px; border-radius: 18px; background: color-mix(in srgb, var(--cycle) 20%, transparent); }
.cycle-art span:nth-child(2)::after,
.cycle-art span:nth-child(4)::after { content: ""; position: absolute; left: 50%; top: 45%; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); transform: translate(-50%,-50%); }

/* Closing */
.closing-cta { position: relative; overflow: hidden; min-height: 680px; display: grid; place-items: center; padding-block: 100px; background: #17141f; color: #f4effa; text-align: center; }
.closing-orbit { position: absolute; width: 760px; height: 760px; border: 1px solid rgba(182,162,255,.13); border-radius: 50%; }
.closing-orbit::before,
.closing-orbit::after { content: ""; position: absolute; inset: 16%; border: 1px solid rgba(182,162,255,.11); border-radius: inherit; }
.closing-orbit::after { inset: 34%; }
.closing-inner { position: relative; z-index: 2; }
.large-mark { width: 54px; height: 54px; margin: 0 auto 21px; border-radius: 18px; }
.closing-inner .section-index { margin-bottom: 25px; }
.closing-inner h2 { font-size: clamp(4rem, 8vw, 8rem); }
.closing-inner > p:not(.section-index) { margin-top: 25px; color: #bcb4c4; font-size: 18px; }
.closing-actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 36px; }

/* Footer */
.site-footer { padding: 72px 0 25px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.2fr; gap: 48px; }
.footer-grid > div:first-child > p { margin-top: 16px; color: var(--muted); font-size: 13px; }
.footer-grid h3 { margin-bottom: 13px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a,
.footer-grid span { display: block; width: fit-content; margin-top: 7px; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid > div:last-child p { max-width: 300px; color: var(--muted); font-size: 12px; }
.footer-grid .wordmark { display: inline-flex; margin-top: 0; color: var(--ink); font-size: 25px; }
/* Instagram: icon only, with a 44 px tap target; the icon lines up with the text above. */
.footer-grid a.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 6px 0 0 -11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* Blog page */
.blog-page { background: var(--paper); }
.blog-page .site-header { color: var(--ink); }
.blog-hero { padding: 190px 0 115px; border-bottom: 1px solid var(--line); background: var(--canvas); }
.blog-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; }
.blog-hero h1 { margin-top: 27px; font-size: clamp(4rem, 7vw, 7.2rem); line-height: .91; letter-spacing: -.055em; }
.blog-hero-grid > p { max-width: 470px; padding-bottom: 10px; color: var(--muted); font-size: 18px; }
.blog-list { background: var(--paper); }
.editorial-list { border-top: 1px solid var(--line); }
.editorial-article { scroll-margin-top: 120px; display: grid; grid-template-columns: 80px 170px 1fr; gap: 42px; padding: 55px 0; border-bottom: 1px solid var(--line); }
.article-number { color: var(--accent); font-family: var(--display); font-size: 28px; }
.article-category { color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
.article-category span { color: var(--muted); font-size: 8px; }
.article-body h2 { max-width: 830px; font-size: clamp(2.5rem, 4.5vw, 4.6rem); line-height: 1; }
.article-lede { max-width: 730px; margin-top: 24px; color: var(--muted); font-size: 18px; }
.article-body details { margin-top: 28px; }
.article-body summary { width: fit-content; display: flex; align-items: center; gap: 13px; color: var(--accent); font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.article-body summary::-webkit-details-marker { display: none; }
.article-body summary span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .2s ease; }
.article-body details[open] summary span { transform: rotate(45deg); }
.article-content { max-width: 740px; display: grid; gap: 17px; margin-top: 28px; padding-left: 24px; border-left: 3px solid var(--accent); color: var(--ink-soft); }
.blog-note { padding: 42px 0; background: var(--accent-soft); }
.blog-note .shell { display: grid; grid-template-columns: 190px 1fr; gap: 50px; }
.blog-note span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.blog-note p { max-width: 780px; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-button { display: grid; }
  .hero { padding-top: 135px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy .kicker,
  .platform-list,
  .hero-actions { justify-content: center; }
  .hero-intro { margin-inline: auto; }
  .hero-product { margin-top: 18px; }
  .hero-footnote { margin-top: 30px; }
  .statement-grid { grid-template-columns: 120px 1fr; }
  .pattern-canvas { grid-template-columns: 1fr; padding-bottom: 110px; }
  .pattern-stat-one { top: 4%; }
  .pattern-stat-two { right: 8%; bottom: 4%; }
  .report-grid { grid-template-columns: 1fr; }
  .report-copy { max-width: 720px; }
  .devices { transform: scale(.82); transform-origin: center bottom; margin-inline: -120px; }
  .principles-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-featured { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .article-featured > div:last-child { min-height: 270px; }
  .blog-hero-grid { grid-template-columns: 1fr; }
  .editorial-article { grid-template-columns: 60px 130px 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 34px, 1180px); --section-pad: 90px; }
  h2 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .site-header.is-scrolled,
  .site-header.solid-header { position: fixed; }
  .header-inner { min-height: 72px; }
  .header-cta { display: none; }
  .wordmark { font-size: 22px; }
  .wordmark-mark { width: 34px; height: 34px; }
  .section-heading,
  .blog-heading { grid-template-columns: 1fr; gap: 28px; }
  .blog-heading .text-link { justify-self: start; }
  .hero { min-height: auto; padding: 120px 0 34px; }
  .hero-copy h1 { font-size: clamp(3.7rem, 18vw, 6.2rem); }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .platform-note { margin-top: 42px; }
  .platform-list { flex-wrap: wrap; }
  .hero-product { min-height: 615px; transform: scale(.92); margin: -5px 0 -25px; }
  .phone-frame { transform: none; }
  .floating-card-top { right: -4px; }
  .floating-card-bottom { left: -4px; }
  .hero-footnote { align-items: flex-start; text-align: left; }
  .statement-grid { grid-template-columns: 1fr; gap: 30px; }
  .display-quote { font-size: clamp(2.5rem, 12vw, 4rem); }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 610px; }
  .mini-interface { width: 82%; }
  .phases-grid { grid-template-columns: 1fr; }
  .phase-visual { min-height: 480px; }
  .pattern-canvas { min-height: auto; padding: 34px 22px 110px; }
  .cycle-chart { padding: 18px 12px; }
  .cycle-labels,
  .cycle-line { grid-template-columns: 34px repeat(6, 1fr) 34px; gap: 4px; }
  .cycle-line em { font-size: 7px; }
  .pattern-stat-one { position: relative; top: auto; right: auto; width: fit-content; margin-top: -25px; }
  .report-paper { width: 94%; padding-inline: 30px 25px; }
  .paper-footer { left: 30px; }
  .devices { min-height: 390px; margin: 60px -210px 0; transform: scale(.63); }
  .platform-names { margin-top: 0; flex-wrap: wrap; }
  .article-grid { grid-template-columns: 1fr; }
  .article-featured { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 270px auto; }
  .article-card > div:last-child,
  .article-featured > div:last-child { min-height: 210px; }
  .closing-inner h2 { font-size: clamp(3.5rem, 18vw, 6rem); }
  .closing-actions { flex-direction: column; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .blog-hero { padding: 145px 0 80px; }
  .blog-hero h1 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .editorial-article { grid-template-columns: 55px 1fr; gap: 18px; }
  .article-category { grid-column: 2; grid-row: 1; align-self: center; }
  .article-body { grid-column: 1 / -1; }
  .blog-note .shell { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .hero-product { width: 108%; margin-left: -4%; transform: scale(.86); }
  .floating-card { min-width: 190px; }
  .floating-card-top { right: -14px; }
  .floating-card-bottom { left: -14px; }
  .experience-card { min-height: 570px; }
  .mini-interface { width: 90%; padding-inline: 16px; }
  .card-copy { padding-inline: 24px; }
  .phase-content { width: 88%; padding: 28px; }
  .phase-orbit { inset: 12% 0; }
  .pattern-copy-block p { font-size: 16px; }
  .pattern-stat-two { right: 18px; }
  .report-stack { min-height: 560px; margin-inline: -20px; }
  .report-paper { min-height: 535px; padding-top: 30px; }
  .paper-metrics strong { font-size: 22px; }
  .paper-section { padding-block: 14px; }
  .paper-footer { display: block; }
  .paper-footer span { display: block; margin-top: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .phone-frame { transform: none !important; }
}

/* Real app screenshots (17 Oct 2026) in the phone, the two "how it works" cards and the report sheet. */
.app-shot { display: block; width: 100%; height: auto; }
.phone-screen.shot { padding: 0; background: #17141f; box-shadow: 0 0 0 1px rgba(201,184,255,.22), 0 30px 90px rgba(118,84,198,.45); }
.mini-interface.shot { padding: 0; overflow: hidden; max-height: 420px; background: #17141f; }
.report-paper.shot { padding: 0; overflow: hidden; min-height: 0; }
