/* Keen — keen.oyrial.com. Warm paper, deep teal, one brass accent. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2?v=65e5e7203b") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend.woff2?v=b9441676f8") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --paper: #f6f2ea;
  --paper-2: #fbf9f4;
  --ink: #0d1b1a;
  --ink-soft: #4a5a57;
  --ink-faint: #7d8a86;
  --teal: #0f5751;
  --teal-deep: #082f2c;
  --teal-night: #061f1d;
  --mint: #cfe6df;
  --brass: #a9793a;
  --brass-soft: #ecdcc1;
  --line: rgba(13, 27, 26, 0.09);
  --line-light: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 40px 80px -40px rgba(8, 47, 44, 0.28), 0 12px 30px -18px rgba(8, 47, 44, 0.18);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 350; font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* Paper grain, fixed so it never repaints with the scroll. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 420; letter-spacing: -0.02em; line-height: 1.04; margin: 0; font-variation-settings: "opsz" 144, "SOFT" 60; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--teal); font-variation-settings: "opsz" 144, "SOFT" 100; }
p { margin: 0; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 13vw, 176px) 0; position: relative; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 34em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); background: rgba(15, 87, 81, 0.07); box-shadow: inset 0 0 0 1px rgba(15, 87, 81, 0.12);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.dark .eyebrow { color: var(--mint); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-light); }

/* Floating island nav */
.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 20px; border-radius: 999px;
  background: rgba(251, 249, 244, 0.78); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -22px rgba(8, 47, 44, 0.35);
  max-width: calc(100% - 24px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; margin-right: 18px; }
.brand img { width: 28px; height: 28px; border-radius: 9px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: 14.5px; font-weight: 400; color: var(--ink-soft); padding: 9px 14px; border-radius: 999px; transition: color 0.5s var(--ease), background-color 0.5s var(--ease); }
.nav-links a:hover { color: var(--ink); background: rgba(13, 27, 26, 0.05); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform 0.6s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gutter);
  background: rgba(246, 242, 234, 0.9); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.menu-open .sheet { opacity: 1; visibility: visible; }
.sheet a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); text-decoration: none; letter-spacing: -0.02em; opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.menu-open .sheet a { opacity: 1; transform: none; }
.menu-open .sheet a:nth-child(2) { transition-delay: 0.06s; }
.menu-open .sheet a:nth-child(3) { transition-delay: 0.12s; }
.menu-open .sheet a:nth-child(4) { transition-delay: 0.18s; }
.menu-open .sheet a:nth-child(5) { transition-delay: 0.24s; }

/* Buttons: pill with a nested icon island */
.btn {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 16px/1 var(--sans); text-decoration: none; color: #fff; background: var(--teal-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 34px -18px rgba(8, 47, 44, 0.7);
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease);
}
.btn i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); transition: transform 0.6s var(--ease), background-color 0.6s var(--ease); }
.btn svg { width: 16px; height: 16px; }
.btn:hover { background: var(--teal); }
.btn:hover i { transform: translate(3px, -1px) scale(1.06); background: rgba(255, 255, 255, 0.2); }
.btn:active { transform: scale(0.98); }
.btn.small { padding: 5px 5px 5px 18px; font-size: 14.5px; gap: 10px; }
.btn.small i { width: 32px; height: 32px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost i { background: rgba(13, 27, 26, 0.06); }
.btn.ghost:hover { background: rgba(13, 27, 26, 0.04); }
.btn.light { background: var(--paper-2); color: var(--teal-deep); }
.btn.light i { background: rgba(8, 47, 44, 0.08); }
.btn.light:hover { background: #fff; }
.soon { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-faint); }
.soon b { font-weight: 500; color: var(--ink-soft); }

/* Double bezel: a tray with a plate set into it */
.bezel { padding: 8px; border-radius: 36px; background: rgba(13, 27, 26, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.bezel > .core { border-radius: 28px; background: var(--paper-2); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 1px 0 rgba(13, 27, 26, 0.04); height: 100%; overflow: hidden; }
.dark .bezel { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-light); }
.dark .bezel > .core { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1); }

.phone { width: min(330px, 78vw); padding: 9px; border-radius: 52px; background: linear-gradient(160deg, #1a2b29, #050d0c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), var(--shadow); }
.phone img { border-radius: 43px; width: 100%; aspect-ratio: 9 / 19.35; object-fit: cover; object-position: top; background: #f5f8f8; }

/* Hero */
.hero { overflow: clip; padding: clamp(150px, 20vw, 220px) 0 clamp(70px, 10vw, 130px); position: relative; }
.hero::after { content: ""; position: absolute; right: -12%; top: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 87, 81, 0.16), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin: 28px 0 30px; }
.hero h1 .eyebrow { display: flex; width: fit-content; margin-bottom: 28px; font-family: var(--sans); line-height: normal; font-variation-settings: normal; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 40px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
.hero-notes span { display: inline-flex; align-items: center; gap: 9px; }
.hero-notes svg { width: 17px; height: 17px; color: var(--teal); }
.hero-stage { position: relative; display: grid; justify-items: center; }
.hero-stage .phone { transform: rotate(2.5deg); }
.float-card { position: absolute; left: -6%; bottom: 12%; width: 230px; transform: rotate(-4deg); }
.float-card .core { padding: 18px 20px; }
.float-card small { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.float-card strong { font-family: var(--serif); font-size: 2.3rem; font-weight: 420; line-height: 1; letter-spacing: -0.02em; }
.float-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 6px; }

/* Marquee of everyday things */
.things { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.things div { display: flex; gap: 56px; width: max-content; animation: slide 46s linear infinite; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-style: italic; color: var(--ink-soft); white-space: nowrap; }
.things span::after { content: "·"; margin-left: 56px; color: var(--brass); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Section heads */
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.head h2 { margin-top: 24px; }

/* The daily ten: asymmetrical bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bento .bezel:nth-child(1) { grid-column: span 7; }
.bento .bezel:nth-child(2) { grid-column: span 5; }
.bento .bezel:nth-child(3) { grid-column: span 5; }
.bento .bezel:nth-child(4) { grid-column: span 7; }
.step { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; min-height: 300px; position: relative; }
.step .mins { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--teal); font-weight: 380; }
.step .mins sub { font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); vertical-align: baseline; margin-left: 8px; font-weight: 400; }
.step h3 { margin: auto 0 10px; padding-top: 34px; }
.step p { color: var(--ink-soft); font-size: 16.5px; max-width: 30em; }
.step .no { position: absolute; right: clamp(22px, 3vw, 36px); top: clamp(22px, 3vw, 34px); font-size: 12px; letter-spacing: 0.2em; color: var(--ink-faint); }
.step.tint { background: linear-gradient(150deg, #e6efe9, #f6f2ea 70%); }
.step.brass { background: linear-gradient(150deg, #f3e8d4, #fbf9f4 70%); }

/* Lessons: editorial list with a sticky picture */
.lessons { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lesson-pic { position: sticky; top: 110px; }
.lesson-pic .core { position: relative; aspect-ratio: 4 / 5; }
.lesson-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.9s var(--ease), transform 1.4s var(--ease); }
.lesson-pic img.on { opacity: 1; transform: none; }
.lesson-list { list-style: none; margin: 0; padding: 0; }
.lesson-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 12px; padding: 28px 0; border-top: 1px solid var(--line); cursor: default; transition: padding 0.7s var(--ease); }
.lesson-list li:last-child { border-bottom: 1px solid var(--line); }
.lesson-list .n { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-faint); padding-top: 12px; }
.lesson-list h3 { font-size: clamp(1.6rem, 2.9vw, 2.4rem); transition: color 0.6s var(--ease), transform 0.7s var(--ease); }
.lesson-list p { grid-column: 2; color: var(--ink-soft); font-size: 16.5px; }
.lesson-list li.on h3 { color: var(--teal); transform: translateX(8px); }
.lesson-list .how { display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-top: 8px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split .stage { display: grid; justify-items: center; position: relative; }
.split h2 { margin: 24px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16.5px; color: var(--ink-soft); }
.ticks li b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.ticks svg { width: 20px; height: 20px; color: var(--teal); margin-top: 4px; }
.dark .ticks li { border-color: var(--line-light); color: rgba(255, 255, 255, 0.66); }
.dark .ticks li b { color: #fff; }
.dark .ticks svg { color: var(--mint); }

/* Dark friends band */
.dark { background: var(--teal-night); color: #fff; border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.4vw, 20px); overflow: hidden; }
.dark::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 87, 81, 0.75), transparent 70%); pointer-events: none; }
.dark .wrap { position: relative; }
.dark em { color: var(--mint); }
.dark .lede { color: rgba(255, 255, 255, 0.68); }
.code-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 12px 18px; border-radius: 16px; font: 500 15px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.12em; color: var(--mint); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-light); }

/* Comfort grid */
.comfort { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.comfort .bezel:nth-child(1) { grid-column: span 5; grid-row: span 3; }
.comfort .bezel:nth-child(n + 2) { grid-column: span 7; }
.comfort .bezel:nth-child(3), .comfort .bezel:nth-child(4) { grid-column: span 7; }
.card { padding: clamp(26px, 3vw, 38px); }
.comfort .bezel:nth-child(1) .card { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 16.5px; }
.sizes { display: flex; align-items: baseline; gap: 22px; margin: 34px 0 40px; font-family: var(--serif); color: var(--teal); line-height: 1; }
.sizes span:nth-child(1) { font-size: 2.6rem; }
.sizes span:nth-child(2) { font-size: 4rem; }
.sizes span:nth-child(3) { font-size: 5.8rem; }
.row-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; }
.glyph { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: rgba(15, 87, 81, 0.08); color: var(--teal); }
.glyph svg { width: 24px; height: 24px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; height: 100%; }
.plan .tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.plan .price { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; margin: 26px 0 6px; font-weight: 400; }
.plan .per { font-size: 14.5px; color: var(--ink-faint); }
.plan p.note { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.plan.best { background: var(--teal-deep); color: #fff; }
.plan.best .tag { color: var(--brass-soft); }
.plan.best .per { color: rgba(255, 255, 255, 0.6); }
.plan.best p.note { border-color: var(--line-light); color: rgba(255, 255, 255, 0.72); }
.free-line { margin-top: 28px; font-size: 15px; color: var(--ink-faint); max-width: 52em; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { margin-top: 24px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: transform 0.6s var(--ease), background-color 0.6s var(--ease); }
summary i::before, summary i::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink); transition: transform 0.6s var(--ease); }
summary i::after { transform: rotate(90deg); }
details[open] summary i { transform: rotate(180deg); background: rgba(15, 87, 81, 0.08); }
details[open] summary i::after { transform: rotate(0deg); }
details p { color: var(--ink-soft); padding: 0 60px 28px 0; max-width: 44em; }

/* Closing + footer */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 14em; margin: 26px auto 34px; }
.closing .hero-cta { justify-content: center; }
footer { padding: 56px 0 44px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot a { text-decoration: none; transition: color 0.5s var(--ease); }
.foot a:hover { color: var(--teal); }
.fine { margin-top: 34px; font-size: 13px; color: var(--ink-faint); max-width: 62em; }

/* Plain document pages */
.doc { padding: clamp(140px, 18vw, 200px) 0 100px; }
.doc .wrap { width: min(800px, 100%); }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 22px 0 34px; }
.doc h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 52px 0 14px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p { margin: 14px 0; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc strong { color: var(--ink); font-weight: 500; }
.doc a { color: var(--teal); text-underline-offset: 3px; }
.doc .bezel { margin: 34px 0; }
.doc .card p:first-child { margin-top: 0; }

/* Entry motion: a slow, heavy rise */
.js [data-rise] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rise].in { opacity: 1; transform: none; }
.js .hero-stage .phone[data-rise] { transform: translateY(60px) rotate(6deg); }
.js .hero-stage .phone[data-rise].in { transform: rotate(2.5deg); }
.js .float-card[data-rise] { transform: translateY(40px) rotate(-9deg); }
.js .float-card[data-rise].in { transform: rotate(-4deg); }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .hero-grid, .head, .lessons, .split, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { margin-top: 26px; }
  .hero-stage .phone, .js .hero-stage .phone[data-rise].in { transform: none; }
  .float-card, .js .float-card[data-rise].in { position: relative; left: auto; bottom: auto; transform: none; width: 100%; max-width: 330px; margin-top: 18px; }
  .bento, .comfort, .plans { grid-template-columns: minmax(0, 1fr); }
  .bento .bezel, .comfort .bezel { grid-column: auto !important; grid-row: auto !important; }
  .step { min-height: 0; }
  .lesson-pic { position: relative; top: auto; }
  .lesson-pic .core { aspect-ratio: 4 / 3; }
  .split .stage { order: 2; }
  .dark { border-radius: 28px; margin: 0 8px; }
  details p { padding-right: 0; }
  .sizes span:nth-child(3) { font-size: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .things div { animation: none; }
  .js [data-rise], .js [data-rise].in { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Editorial campaign photograph, paired with an unaltered app preview. */
.campaign-stage { min-height: 650px; border-radius: 12px; overflow: hidden; isolation: isolate; background: var(--teal); }
.campaign-stage .campaign-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; }
.campaign-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #082f2c55, transparent 35%, #082f2ca8); z-index: -1; }
.campaign-eyebrow { position: absolute; top: 27px; left: 26px; right: 20px; width: fit-content; padding: 8px 12px; border-radius: 4px; background: #123e43e8; color: #fff; font-size: 13px; }
.campaign-stage .phone { width: 230px; position: absolute; bottom: 57px; left: 26px; padding: 6px; border-radius: 31px; }
.campaign-stage .phone img { border-radius: 25px; }
.campaign-caption { position: absolute; bottom: 20px; left: 26px; color: #fff; font-size: 13px; }
@media (max-width: 600px) { .campaign-stage { min-height: 600px; } .campaign-stage .phone { width: 210px; left: 22px; } }
[hidden]{display:none!important}
.doc .byline { margin: 6px 0 0; font-size: 14px; color: var(--ink-faint); }

/* Guide answers and real app examples. */
.short-answer { border-left: 3px solid var(--ink); padding: 12px 18px; margin: 20px 0; background: var(--paper-2); }
.guide-screenshot { margin: 32px 0; }
.guide-screenshot img { display: block; width: min(100%, 300px); height: auto; border-radius: 18px; }
.guide-screenshot figcaption { max-width: 600px; margin-top: 12px; font-size: .9em; }
@media print { .guide-screenshot { display: none; } }

/* Matching pairs game (brain-games page): big words, no timer */
.pairs { margin: 1.2rem 0 1.6rem; }
.pairs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; }
.pairs-grid.pairs-8, .pairs-grid.pairs-10 { grid-template-columns: repeat(4, 1fr); }
.pair-card { min-height: 76px; border: 2px solid var(--teal); border-radius: 12px; background: var(--teal); color: var(--paper); font: 600 1.15rem/1.2 var(--sans); cursor: pointer; padding: 6px; overflow-wrap: anywhere; }
.pair-card.up { background: #fff; color: var(--ink); }
.pair-card.done { background: var(--mint); color: var(--teal-deep); border-color: var(--mint); cursor: default; }
.pair-card:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.pairs-status { min-height: 1.6em; font-size: 1.1rem; margin-top: .8rem; }
@media (max-width: 420px) { .pair-card { font-size: 1rem; min-height: 64px; } }
