/* A layered introduction using the app's original office artwork. */
:root {
  --scene-ink: #132d45;
  --scene-light: #dce8f5;
  --scene-ease: cubic-bezier(.22, 1, .36, 1);
}
.hero { grid-template-columns: 1fr 1fr; gap: 64px; min-height: 720px; padding-block: 62px 70px; }
.hero-copy { min-width: 0; }
.hero h1 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: clamp(44px, 4.5vw, 64px); line-height: 1.06; font-weight: 700; }
.hero .lead { font-size: 16px; max-width: 475px; }
.hero .eyebrow { font-size: 11px; letter-spacing: .12em; }
.hero-actions { gap: 23px; }
.hero-actions .button { min-height: 56px; padding-inline: 26px; box-shadow: 0 6px 18px #3154ce1c; }
.hero-footnote { font-size: 12px; max-width: 400px; line-height: 1.65; }
.hero-scene { --scene-x: 0; --scene-y: 0; position: relative; isolation: isolate; min-width: 0; height: 550px; }
.scene-backdrop { position: absolute; z-index: -2; inset: 0 0 48px; border-radius: 36px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #46627a 0%, #243e56 42%, var(--scene-ink) 78%); }
.scene-backdrop::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#dce8f52b .7px, transparent .7px); background-size: 22px 22px; opacity: .45; mask-image: linear-gradient(#000, transparent 90%); }
.scene-heading { position: absolute; top: 24px; left: 26px; right: 26px; display: flex; align-items: center; gap: 10px; color: var(--scene-light); }
.scene-heading p { font-size: 10px; letter-spacing: .13em; font-weight: 600; }
.scene-spark { font-size: 23px; color: #eabf8f; }
.scene-index { margin-left: auto; font-size: 10px; letter-spacing: .1em; opacity: .7; }
.scene-ring { position: absolute; z-index: -1; border: 1px solid #dce8f521; border-radius: 50%; pointer-events: none; }
.scene-ring-back { width: 80%; height: 70%; left: 10%; top: 10%; transform: translate3d(calc(var(--scene-x) * -5px), calc(var(--scene-y) * -4px), 0); }
.scene-ring-front { width: 62%; height: 53%; left: 19%; top: 18%; transform: translate3d(calc(var(--scene-x) * -9px), calc(var(--scene-y) * -7px), 0); }
.scene-office { position: absolute; margin: 0; width: 94%; left: 3%; top: 36px; transform: translate3d(calc(var(--scene-x) * 10px), calc(var(--scene-y) * 7px), 0); }
.scene-office img { width: 100%; filter: drop-shadow(0 22px 16px #081c3566); }
.scene-label { position: absolute; top: 88px; left: -18px; display: flex; align-items: center; gap: 10px; padding: 14px 17px; border: 1px solid #e3e8eb; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px #0c21351a; transform: translate3d(calc(var(--scene-x) * 17px), calc(var(--scene-y) * 12px), 0) rotate(-4deg); }
.scene-label > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #edf3ec; color: #256b5b; font-size: 21px; }
.scene-label strong, .scene-label div > span { display: block; }
.scene-label strong { font-size: 12px; letter-spacing: -.02em; }
.scene-label div > span { margin-top: 4px; font-size: 10px; color: var(--muted); }
.scene-invitation { position: absolute; left: 24px; right: 24px; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 23px; border: 1px solid #dce2e6; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px #172b4212; text-decoration: none; transform: translate3d(calc(var(--scene-x) * -6px), calc(var(--scene-y) * -4px), 0); transition: border-color .2s; }
.scene-invitation:hover { border-color: var(--blue); }
.scene-invitation > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.scene-invitation-icon { width: 43px; height: 49px; flex-shrink: 0; display: grid; place-items: center; color: var(--blue); background: #edf1fd; border-radius: 12px; font-family: Georgia, serif; font-size: 28px; }
.scene-invitation small { display: block; font-size: 9px; letter-spacing: .1em; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.scene-invitation strong { display: block; font-size: 18px; letter-spacing: -.04em; line-height: 1.25; }
.scene-invitation strong + span { display: block; font-size: 11px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.scene-arrow { margin-left: auto; color: var(--blue); font-size: 23px; }
@keyframes scene-enter { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: scene-enter .7s var(--scene-ease) both; }
  .hero-scene { animation: scene-enter .85s .1s var(--scene-ease) both; }
}
@media (max-width: 1100px) {
  .hero { gap: 38px; }
  .hero-scene { height: 505px; }
  .scene-office { top: 58px; }
  .scene-label { left: -8px; top: 90px; padding: 11px; }
  .scene-invitation { left: 16px; right: 16px; padding: 20px 16px; }
  .scene-invitation strong { font-size: 16px; }
}
@media (max-width: 900px) {
  .hero { gap: 30px; min-height: 650px; padding-block: 45px 55px; }
  .hero h1 { font-size: clamp(39px, 5.4vw, 49px); }
  .hero .lead { font-size: 15px; }
  .hero-scene { height: 450px; }
  .scene-heading { left: 18px; right: 18px; top: 18px; }
  .scene-heading p { font-size: 8px; }
  .scene-label { top: 75px; padding: 10px; }
  .scene-label strong { font-size: 11px; }
  .scene-label div > span { font-size: 9px; }
  .scene-office { top: 70px; }
  .scene-invitation { left: 12px; right: 12px; gap: 10px; padding: 18px 14px; }
  .scene-invitation-icon { display: none; }
  .scene-invitation strong + span { font-size: 11px; }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: 0; padding-block: 32px 35px; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 52px); line-height: 1.08; max-width: 520px; }
  .hero .eyebrow { font-size: 10px; line-height: 1.7; }
  .hero .lead { font-size: 15px; line-height: 1.75; margin-top: 20px; }
  .hero-actions { gap: 18px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero .store-links, .hero .store-links > span { font-size: 12px; }
  .hero-footnote { font-size: 12px; margin-top: 20px; }
  .hero-scene { width: min(100%, 440px); height: auto; aspect-ratio: .94; margin-inline: auto; }
  .scene-backdrop { border-radius: 26px; inset-block-end: 42px; }
  .scene-heading { top: 16px; left: 19px; right: 19px; }
  .scene-heading p { font-size: 9px; }
  .scene-office { top: 28px; width: 94%; left: 3%; }
  .scene-label { display: none; }
  .scene-invitation { left: 12px; right: 12px; padding: 20px 17px; }
  .scene-invitation-icon { display: grid; width: 34px; height: 42px; font-size: 24px; }
  .scene-invitation small { font-size: 8px; }
  .scene-invitation strong { font-size: 17px; }
  .scene-invitation strong + span { font-size: 11px; }
  .scene-arrow { font-size: 20px; }
  .pricing-note, .offices-section .small-print { font-size: 12px; }
}
@media (max-width: 360px) {
  .scene-invitation-icon { display: none; }
  .scene-invitation { padding: 16px 14px; }
  .scene-invitation strong { font-size: 16px; }
  .hero .eyebrow { letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .hero-scene { --scene-x: 0 !important; --scene-y: 0 !important; }
}

/* Keep the learning steps separate from the variable-height question. */
.study-section > .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
  align-items: end;
  max-width: none;
  margin-bottom: 32px;
}
.study-section > .section-heading > .eyebrow { grid-column: 1; margin-bottom: 18px; }
.study-section > .section-heading > h2 { grid-column: 1; }
.study-section > .section-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: 490px; }
.study-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.study-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; min-width: 0; }
.study-steps { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.study-steps li { flex-direction: column; gap: 18px; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.study-steps h3 { font-size: 20px; line-height: 1.3; }
.study-steps p { font-size: 14px; }
.study-copy > .button { justify-self: start; }
.study-copy > .small-print { max-width: 760px; margin: 0; font-size: 12px; }
.study-sample { width: 100%; padding: 36px; }
.sample-reading { max-width: 78ch; }
.sample-option { padding: 16px; font-size: 14px; }
.sample-note { font-size: 12px; }
@media (max-width: 900px) {
  .study-section > .section-heading { column-gap: 32px; }
  .study-steps { gap: 14px; }
  .study-steps li { padding: 20px; }
  .study-steps h3 { font-size: 18px; }
  .study-steps p { font-size: 13px; }
  .study-sample { padding: 28px; }
}
@media (max-width: 760px) {
  .study-section > .section-heading { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 26px; }
  .study-section > .section-heading > p:last-child { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .study-layout { gap: 28px; }
  .study-copy { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .study-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .study-steps li { flex-direction: row; gap: 16px; padding: 20px; }
  .study-steps h3 { font-size: 19px; }
  .study-copy > .button { justify-self: stretch; }
  .study-sample { padding: 24px 20px; }
  .sample-option { padding: 14px 12px; font-size: 13px; }
}
