/* Lumin brochure sites (lumin-app.com and pro.lumin-app.com).
   Same colours and type as the Lumin app: warm paper, navy ink, plum actions,
   Merriweather headings over Josefin Sans. */

@font-face { font-family: "Josefin Sans"; src: url("fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("fonts/merriweather-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("fonts/merriweather-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #faf8f5;
  --paper-deep: #f3efe9;
  --line: #ebe6df;
  --line-strong: #ddd6cc;
  --ink: #2b3551;
  --ink-soft: #5e6375;
  --plum: #942e63;
  --plum-deep: #7a2551;
  --plum-tint: #f6ebf1;
  --night: #1f2740;
  --sans: "Josefin Sans", "Avenir Next", sans-serif;
  --serif: "Merriweather", Georgia, serif;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;
  --shadow: 0 18px 40px -22px rgba(31, 39, 64, 0.35), 0 2px 6px rgba(31, 39, 64, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--plum-tint); color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip:focus { left: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 3px 26px 0;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 1.0625rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 10px 22px -12px rgba(148, 46, 99, 0.7); }
.btn-primary:hover { background: var(--plum-deep); }
.btn-quiet { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-quiet:hover { border-color: var(--ink); }
.btn-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.wordmark span:first-child { font: 600 1.25rem/1 var(--sans); letter-spacing: 0.32em; padding-top: 4px; margin-right: -0.32em; }
.pro-pill { padding: 5px 9px 3px; border-radius: 999px; background: var(--plum-tint); color: var(--plum); font: 600 0.75rem/1 var(--sans); letter-spacing: 0.08em; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--ink-soft); padding: 12px 0 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--plum); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .login { font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 4px 8px; }
.header-actions .btn { min-height: 44px; padding-inline: 20px; font-size: 1rem; }
.phone-nav { display: none; }
.thumb-bar { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 780px); display: grid; align-items: end; overflow: hidden; background: var(--night); color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 1800ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 39, 64, 0.05) 30%, rgba(31, 39, 64, 0.78) 100%); }
.hero-copy { padding-block: 120px clamp(48px, 8vh, 88px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); max-width: 15ch; }
.hero p.lead { margin-top: 20px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 40ch; color: rgba(255, 255, 255, 0.92); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .small { margin-top: 16px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); }
.credit { font-size: 0.875rem; color: var(--ink-soft); }
.credit a { color: inherit; }
.hero .credit { position: absolute; right: var(--gutter); bottom: 18px; color: rgba(255, 255, 255, 0.75); }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* Sections */
section { padding-block: clamp(64px, 10vw, 120px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.section-head p { margin-top: 14px; font-size: 1.1875rem; color: var(--ink-soft); max-width: 56ch; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.tint { background: var(--paper-deep); }
.page-head { padding-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.page-head p { margin-top: 16px; font-size: 1.25rem; color: var(--ink-soft); max-width: 52ch; }

/* Photo and words, side by side */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story + .story { margin-top: clamp(56px, 8vw, 104px); }
.story.flip > figure { order: 2; }
.story figure { margin: 0; }
.story figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.story figcaption { margin-top: 10px; }
.story h2, .story h3 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); }
.story .body { max-width: 52ch; }
.story .body > * + * { margin-top: 16px; }
.story .body h4 { margin: 28px 0 0; font: 600 1.125rem/1.4 var(--sans); }
.story .body h4 + p { margin-top: 6px; }
.story .body p { color: var(--ink-soft); }
.story .body .price-line { color: var(--plum); font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; padding-top: 4px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 1rem/1 var(--sans); }
.steps h3 { margin-top: 18px; font-size: 1.5rem; }
.steps p { margin-top: 10px; color: var(--ink-soft); }

/* Feature picture */
.feature-shot { margin: 0; }
.feature-shot img { width: 100%; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feature-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.feature-list span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 1rem; }

/* Sample galleries */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.sample { position: relative; display: block; text-decoration: none; color: var(--ink); }
.sample img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.sample:hover img { transform: translateY(-4px); }
.sample-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.sample-meta b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; }
.sample-meta span { font-weight: 600; color: var(--plum); font-size: 1rem; white-space: nowrap; }
.sample-by { margin-top: 2px; }

/* Full-width photo band */
.band { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(70vh, 620px); color: #fff; overflow: hidden; background: #000; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%); }
.band .wrap { display: flex; justify-content: flex-end; }
.band-copy { max-width: 440px; }
.band h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.band p { margin-top: 14px; font-size: 1.1875rem; color: rgba(255, 255, 255, 0.9); }
.band .credit { position: absolute; right: var(--gutter); bottom: 18px; color: rgba(255, 255, 255, 0.7); }

/* Statement */
.statement { background: var(--ink); color: #fff; }
.statement h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); max-width: 18ch; }
.statement p { margin-top: 18px; font-size: 1.25rem; max-width: 52ch; color: rgba(255, 255, 255, 0.86); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(var(--plans, 2), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(min(var(--plans, 2), 2), minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.plan.recommended { border: 2px solid var(--plum); box-shadow: var(--shadow); }
.plan h2 { font-size: 1.5rem; }
.plan .price { margin-top: 18px; font-family: var(--serif); font-size: 2.75rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.plan .per { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 1.0625rem; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; margin-top: 1px; color: var(--plum); }
.plan .btn { margin-top: auto; width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 14px 20px 11px; text-wrap: balance; }
.plans-note { margin-top: 28px; color: var(--ink-soft); max-width: 70ch; }

/* Questions */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0 18px; cursor: pointer; list-style: none; font: 400 1.25rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: -4px; border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: rotate(45deg); transition: transform 200ms ease-out; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: var(--measure); }

/* Sign-up block */
.signup { background: var(--ink); color: #fff; }
.signup .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.signup .wrap > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.signup h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.signup p { margin-top: 16px; color: rgba(255, 255, 255, 0.86); max-width: 50ch; }
.signup .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.signup .small { margin-top: 14px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }

/* Footer */
.site-footer { background: var(--paper-deep); border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 1rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font: 600 0.9375rem/1.4 var(--sans); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--ink-soft); }
.site-footer li a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .about p { color: var(--ink-soft); max-width: 36ch; margin-top: 12px; }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 0.9375rem; }

/* Tablet */
@media (max-width: 1020px) {
  .site-nav { gap: 18px; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 1.0625rem; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-header .wrap { min-height: 60px; gap: 12px; }
  .site-nav, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .login { padding: 14px 4px 10px; }
  .phone-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .phone-nav::-webkit-scrollbar { display: none; }
  .phone-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 3px 16px 0; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
  .phone-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .thumb-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px -18px rgba(31, 39, 64, 0.6); }
  .thumb-bar .btn { width: 100%; }
  .hero { min-height: min(calc(100svh - 180px), 640px); }
  .hero-copy { padding-block: 96px 40px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero .credit, .band .credit { position: static; margin-top: 14px; }
  .story, .signup .wrap { grid-template-columns: 1fr; }
  .story.flip > figure { order: 0; }
  .steps, .samples, .feature-list, .plans, .site-footer .wrap { grid-template-columns: 1fr; }
  .band { min-height: 0; align-items: end; padding-top: 340px; }
  .band::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.7) 75%); }
  .band .wrap { justify-content: flex-start; }
  .signup .actions .btn { flex: 1 1 100%; }
  .site-footer li a { padding: 11px 0; }
}

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

/* The feature picture already labels each feature on wider screens; the list repeats them only on phones, where the picture is too small to read. */
@media (min-width: 761px) {
  .feature-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Phone: darker wash behind the hero words, and the sign-up bar waits until the hero's own button has scrolled away. */
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(31, 39, 64, 0.1) 0%, rgba(31, 39, 64, 0.62) 42%, rgba(31, 39, 64, 0.88) 100%); }
  .hero > img { object-position: 62% center; }
  .thumb-bar { transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1); }
  .thumb-bar.is-hidden { transform: translateY(110%); }
}
@media (max-width: 760px) {
  .hero > .credit { padding: 0 var(--gutter) 16px; margin: 0; }
}

/* Keep the newborn clear of the words on wide screens. */
@media (min-width: 761px) { .band > img { width: 62%; } .band::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, #000 62%); } }

/* Video: words beside a phone playing an upright clip full screen, as Lumin's swipe-up viewer does. */
.video-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.video-split .section-head { margin-bottom: 0; }
.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; max-width: 58ch; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.points svg { width: 20px; height: 20px; margin-top: 2px; color: var(--plum); }
.points b { font-weight: 600; color: var(--ink); }
.points span { color: var(--ink-soft); }
.night { background: var(--night); color: #fff; }
.night .section-head p, .night .points span { color: rgba(255, 255, 255, 0.8); }
.night .points b { color: #fff; }
.night .points svg { color: #e7a9c8; }
.night .phone { box-shadow: inset 0 0 0 1.5px #4a5372, 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 90px -30px rgba(0, 0, 0, 0.85); }
.phone-video .phone-screen { background: #000; color: #fff; }
.phone-video .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-video .phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, 0.6) 100%); }
.phone-video .ph-status, .vid-sound, .vid-hint, .vid-progress { position: absolute; z-index: 1; }
.phone-video .ph-status { top: 0; left: 0; right: 0; }
.phone-video .ph-status i { background: #000; }
.vid-sound { top: 52px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); font: 600 0.75rem/1 var(--sans); }
.vid-sound svg { width: 15px; height: 15px; margin-top: -2px; }
.vid-hint { left: 0; right: 0; bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 0.75rem/1 var(--sans); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); animation: nudge 2.6s ease-in-out infinite; }
.vid-hint svg { width: 20px; height: 20px; }
.vid-progress { left: 20px; right: 20px; bottom: 20px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
.vid-progress i { display: block; width: 38%; height: 100%; border-radius: inherit; background: #fff; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.video-split .phone { width: min(290px, 72vw); }
@media (max-width: 760px) { .video-split { grid-template-columns: 1fr; } }

/* A phone showing a Lumin gallery, drawn the way the app looks today. */
.phone { justify-self: center; width: min(310px, 76vw); margin: 0; aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 50px; background: #0d111d; box-shadow: inset 0 0 0 1.5px #3a4157, 0 40px 80px -30px rgba(0, 0, 0, 0.7); transform: rotate(-3deg); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0 30px; font: 600 0.8125rem/1 var(--sans); }
.ph-status i { width: 86px; height: 24px; border-radius: 999px; background: #0d111d; margin-right: 34px; }
.ph-head { display: flex; align-items: center; gap: 6px; padding: 16px 16px 0 10px; }
.ph-head svg { width: 20px; height: 20px; flex: none; }
.ph-head b { display: block; font: 400 1.0625rem/1.2 var(--serif); }
.ph-head small { display: block; margin-top: 2px; font-size: 0.75rem; color: var(--ink-soft); }
.ph-chips { display: flex; gap: 6px; padding: 12px 14px 10px; overflow: hidden; }
.ph-chips span { flex: none; padding: 7px 11px 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font: 600 0.75rem/1 var(--sans); }
.ph-chips span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ph-grid { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; align-items: start; padding: 0 12px; }
.ph-grid > div { display: grid; gap: 5px; }
.ph-grid img { width: 100%; object-fit: cover; border-radius: 5px; }
.ph-nav { display: flex; padding: 8px 8px 18px; background: var(--ink); border-radius: 18px 18px 0 0; }
.ph-nav span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; border-radius: 10px; color: #c9cede; font: 600 0.625rem/1 var(--sans); }
.ph-nav span.on { color: #fff; background: #414b67; }
.ph-nav svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .phone { transform: none; } }

/* Product-led opening: a laptop and a phone showing real Lumin screens. */
.hero-product { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); background: radial-gradient(120% 80% at 85% 20%, #fff 0%, var(--paper) 55%, var(--paper-deep) 100%); }
.hero-product-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-product h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 14ch; }
.hero-product .lead { margin-top: 20px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--ink-soft); max-width: 40ch; }
.hero-product .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-product .small { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-soft); }
.devices { position: relative; padding: 0 0 8% 0; animation: rise 1200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
/* Scaled with transform rather than zoom: Safari sizes zoomed boxes differently and the phone's menu spilled out. */
.devices { --phone-scale: 0.56; }
.devices .phone { position: absolute; right: -4%; bottom: -2%; width: 300px; transform-origin: 100% 100%; transform: scale(var(--phone-scale)) rotate(4deg); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.laptop { width: 86%; }
.lap-lid { padding: 2.2% 2.2% 0; border-radius: 18px 18px 0 0; background: #0d111d; box-shadow: inset 0 0 0 1.5px #3a4157; }
.lap-screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px 6px 0 0; background: var(--paper); display: flex; flex-direction: column; font-size: clamp(7px, 0.78vw, 11px); }
.lap-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #d9dbe2 0%, #b9bcc7 60%, #9fa3b0 100%); box-shadow: 0 30px 50px -24px rgba(31, 39, 64, 0.55); position: relative; }
.lap-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: #a6aab6; }
.lap-bar { display: flex; align-items: center; gap: 0.5em; padding: 0.7em 1em; background: #ece8e1; border-bottom: 1px solid var(--line); }
.lap-bar i { width: 0.8em; height: 0.8em; border-radius: 50%; background: #d4cec5; }
.lap-bar span { margin-left: 1.2em; flex: 0 1 40%; padding: 0.35em 1em 0.2em; border-radius: 999px; background: #fff; color: var(--ink-soft); font: 600 1em/1 var(--sans); }
.lap-client { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.lap-cover { position: relative; height: 62%; color: #fff; }
.lap-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.lap-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(31, 39, 64, 0.65)); }
.lap-cover b { position: absolute; z-index: 1; left: 4%; bottom: 20%; font: 400 2.6em/1 var(--serif); }
.lap-cover small { position: absolute; z-index: 1; left: 4%; bottom: 9%; font: 600 1.05em/1 var(--sans); opacity: 0.9; }
.lap-grid { display: grid; gap: 0.5em; padding: 0.8em 1em; }
.lap-grid.five { grid-template-columns: repeat(5, 1fr); }
.lap-grid.four { grid-template-columns: repeat(4, 1fr); }
.lap-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.4em; }
.lap-pro { flex: 1; min-height: 0; display: grid; grid-template-columns: 22% 1fr; }
.lap-pro aside { display: flex; flex-direction: column; gap: 0.6em; padding: 1em; border-right: 1px solid var(--line); background: var(--paper-deep); }
.lap-pro aside b { font: 600 1em/1 var(--sans); letter-spacing: 0.25em; }
.lap-pro aside em { font-style: normal; color: var(--plum); letter-spacing: 0.05em; }
.lap-pro aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.5em; margin: 0.4em 0; }
.lap-pro aside span { padding: 0.55em 0.7em 0.35em; border-radius: 0.6em; font: 600 1em/1 var(--sans); color: var(--ink-soft); }
.lap-pro aside span.on { background: var(--plum-tint); color: var(--plum); }
.lap-main { min-width: 0; overflow: hidden; padding: 1.2em 1.2em 0; }
.lap-title { display: flex; align-items: center; gap: 0.6em; }
.lap-title b { margin-right: auto; font: 400 2.1em/1 var(--serif); }
.lap-title span { padding: 0.75em 1.2em 0.55em; border-radius: 999px; font: 600 1em/1 var(--sans); white-space: nowrap; }
.lap-title .q { background: #fff; border: 1px solid var(--line-strong); }
.lap-title .p { background: var(--plum); color: #fff; }
.lap-tabs { display: flex; gap: 1.6em; margin: 1.2em 0 0.4em; border-bottom: 1px solid var(--line); font: 600 1.05em/1 var(--sans); color: var(--ink-soft); }
.lap-tabs span { padding-bottom: 0.6em; }
.lap-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--plum); }
.lap-main .lap-grid { padding: 0.8em 0; }

@media (max-width: 760px) {
  .hero-product-grid { grid-template-columns: 1fr; }
  .hero-product .actions .btn { flex: 1 1 100%; }
  .devices { margin-top: 8px; padding-bottom: 14%; }
  .devices { --phone-scale: 0.45; }
  .devices .phone { right: 0; }
  .laptop { width: 88%; }
}
@media (prefers-reduced-motion: reduce) { .devices { animation: none; } }
/* On Lumin Pro the phone sits at the left, so the Deliver button on the laptop stays in view. */
.devices-pro .laptop { margin-left: auto; }
.devices-pro .phone { left: -4%; right: auto; transform-origin: 0 100%; transform: scale(var(--phone-scale)) rotate(-4deg); }
.lap-title b { font-size: 1.8em; white-space: nowrap; }

/* Parallax photo bands: the photo drifts more slowly than the page, like the original sites. */
.pband { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(78vh, 720px); padding-block: 96px; color: #fff; text-align: center; background: var(--night); }
.pband-media { position: absolute; inset: -18% 0; z-index: -2; }
.pband-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.pband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23, 28, 46, 0.38); }
.pband-copy { max-width: 900px; }
.pband h2 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.pband p { margin-top: 18px; font: 600 clamp(1rem, 1.5vw, 1.25rem)/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }
.pband .credit { position: absolute; right: var(--gutter); bottom: 16px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 760px) {
  .pband { min-height: 72vh; }
  .pband .credit { left: var(--gutter); text-align: left; }
}
.pband p.credit { margin: 0; font: 400 0.875rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.pband-copy p:not(.credit) { max-width: 46ch; margin-inline: auto; }

/* Both openings fill the first screen the same way; the client heading is only four words, so it runs larger. */
.hero-product { display: grid; align-items: center; min-height: min(calc(100vh - 73px), 860px); }
.hero-product-client h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); max-width: none; white-space: nowrap; }
@media (max-width: 760px) {
  .hero-product { min-height: 0; }
  .hero-product-client h1 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
}

[hidden] { display: none !important; }
