@charset "UTF-8";

/* Shared foundations */
:root {
  --paper: #f8f6f0;
  --ink: #252823;
  --muted: #697065;
  --mint: #dce8d3;
  --mint-dark: #45664b;
  --line: #dedfd6;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --entrance-ease: cubic-bezier(.16, 1, .3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: default; opacity: .5; }
:where(button, a, input, summary):focus-visible { outline: 3px solid #438355; outline-offset: 5px; }
::selection { background: var(--mint); color: var(--ink); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
img { display: block; max-width: 100%; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; top: 10px; left: 10px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation and actions */
.site-header { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: #f8f6f0eb; backdrop-filter: blur(20px); box-shadow: 0 1px 0 #2528230d; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 680; letter-spacing: -.8px; }
.brand img { filter: drop-shadow(0 3px 3px #0002); }
.brand-period { color: #69816a; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 550; }
.nav-links > a:not(.button) { transition: color .2s; }
.nav-links > a:not(.button):hover { color: var(--mint-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 16px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button svg { width: 18px; height: 18px; }
.button-dark { background: var(--ink); color: var(--paper); box-shadow: 0 4px 10px #28292310, inset 0 1px 0 #ffffff14; }
.button-dark:hover:not(:disabled) { background: #3b4537; box-shadow: 0 8px 20px #28292320; }
.button-small { min-height: 42px; padding: 11px 16px; border-radius: 10px; font-size: 13px; }
.text-button { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; }
.play-circle { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #cdd1c6; border-radius: 50%; transition: background .2s, transform .3s var(--ease); }
.play-circle svg { width: 14px; height: 14px; fill: currentColor; stroke-width: 0; }
.text-button:hover .play-circle { background: var(--mint); transform: scale(1.08); }

/* Hero */
.hero { padding-top: 68px; }
.hero-copy { padding: 0 38px 54px; }
h1 { margin: 0; font-size: clamp(52px, 6.3vw, 88px); font-weight: 650; line-height: 1.055; letter-spacing: -.066em; }
.headline-line { display: block; }
.hero-bottom { margin-top: 32px; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.compatibility { display: flex; align-items: center; gap: 9px; margin: 15px 0 0; color: var(--muted); font-size: 11px; }
.compatibility a { text-underline-offset: 4px; }
.compatibility a:hover { text-decoration: underline; }
.intro { animation: rise-in .95s var(--delay, 0ms) var(--entrance-ease) both; }

/* The geometry of this section is shared with the scroll sequence in demo.js. */
.demo-story { --demo-top: 100px; --demo-height: min(680px, calc(100svh - 124px)); position: relative; scroll-margin-top: var(--demo-top); }
.demo-story.scroll-story { height: calc(var(--demo-height) + 160svh); }
.scroll-story .experience { position: sticky; top: var(--demo-top); }
.experience { position: relative; isolation: isolate; height: var(--demo-height); min-height: 400px; overflow: hidden; border: 1px solid #dfe3d8; border-radius: 26px; background: #e9ede3; box-shadow: inset 0 1px 0 #fff, 0 24px 50px -38px #3b49344d; }
.experience-wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 0%, #e1e8cf, transparent 60%), radial-gradient(ellipse at 90% 100%, #d3dde4, transparent 60%), radial-gradient(ellipse at 50% 40%, #f8faf3, transparent 55%); }
.stage { position: absolute; inset: 0 20px 96px 0; z-index: 2; pointer-events: none; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.stage canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .4s cubic-bezier(.4, 0, .2, 1); }
.stage.ready canvas { opacity: 1; }
.model-fallback { position: absolute; top: 8%; left: 7%; width: 80%; height: 85%; object-fit: contain; filter: drop-shadow(0 18px 20px #0002); pointer-events: none; transition: opacity .4s cubic-bezier(.4, 0, .2, 1); }
.stage.ready .model-fallback { opacity: 0; }
/* The closed lid that stands in until the first real frame. It is a render of the same model in
   the same pose, laid over the canvas, so the handover is a dissolve between two identical stills:
   the entrance holds that pose until this has gone (POSTER_HANDOVER in demo-preview.js). It
   carries its own shadow and must not be given another. */
.model-poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transition: opacity .3s linear; }
.stage.ready .model-poster, .experience[data-state="unavailable"] .model-poster { opacity: 0; }

/* A compact, native-style look selector. The model itself has no pointer interaction. */
.preset-panel { position: absolute; z-index: 5; top: 50%; right: 26px; width: 214px; padding: 15px; transform: translateY(-60%); border: 1px solid #ffffffe6; border-radius: 17px; background: #fafbf6db; box-shadow: 0 12px 30px -16px #2c3c343a, inset 0 1px 0 #fff; backdrop-filter: blur(24px); animation: panel-in .9s .35s var(--entrance-ease) both; }
.panel-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; border-bottom: 1px solid #7f8d7024; font-size: 13px; font-weight: 650; }
.panel-title > span { display: flex; align-items: center; gap: 7px; }
.panel-actions { display: flex; align-items: center; gap: 7px; }
.play-effect { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #74846b30; border-radius: 50%; background: #ffffffa6; color: #526d52; transition: background .2s; }
.play-effect:hover:not(:disabled) { background: #fff; }
.play-effect svg { width: 15px; height: 15px; fill: currentColor; stroke-width: 1.2; }
.toggle { position: relative; width: 31px; height: 19px; padding: 2px; border: 0; border-radius: 20px; background: #6c9168; transition: background .2s; }
.toggle::before { content: ""; position: absolute; inset: -10px -3px; }
.toggle > span { display: block; width: 15px; height: 15px; border-radius: 50%; background: #fff; transform: translateX(12px); box-shadow: 0 1px 3px #0002; transition: transform .2s; }
.toggle[aria-checked="false"] { background: #adb1a8; }
.toggle[aria-checked="false"] > span { transform: translateX(0); }
.panel-label { color: #626e5b; font-size: 10px; font-weight: 550; }
.preset-panel > .panel-label { margin: 15px 6px 8px; }
.looks { display: grid; gap: 4px; padding: 0; margin: 0; border: 0; }
.looks button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 45px; padding: 7px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; transition: background .2s, border-color .2s; }
.looks button:hover { background: #fff8; }
.looks button[aria-pressed="true"] { border-color: #dfe5d7; background: #fff; box-shadow: 0 2px 4px #33442a06; }
.looks button > span:nth-child(2) { font-size: 12px; font-weight: 550; }
.look-orb { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px #ffffff70, 0 2px 3px #0001; flex-shrink: 0; }
.duo { background: conic-gradient(from 60deg, #224525, #c6e3b5, #faf4be, #44613b, #224525); }
.subtle { background: conic-gradient(from 120deg, #9cbeab, #e1f0d7, #a6c6b2, #9cbeab); }
.dramatic { background: conic-gradient(from 200deg, #14261c, #87b87a, #515955, #1d3424, #14261c); }
.frost { background: linear-gradient(145deg, #edf3ef, #9eafbd, #ebf1eb); }
.look-check { width: 14px; height: 14px; margin-left: auto; color: var(--mint-dark); opacity: 0; }
.looks button[aria-pressed="true"] .look-check { opacity: 1; }

.demo-controls { position: absolute; z-index: 6; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 25px; width: min(450px, calc(100% - 52px)); padding: 13px 20px; transform: translateX(-50%); border: 1px solid #ffffffdf; border-radius: 15px; background: #fbfcf4cf; box-shadow: 0 6px 20px #4f5c4309; backdrop-filter: blur(25px); }
.slider-wrap { flex: 1; min-width: 0; padding-top: 4px; }
.slider-wrap input { display: block; width: 100%; height: 24px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: ew-resize; }
.slider-wrap input::-webkit-slider-runnable-track { height: 4px; border-radius: 20px; background: linear-gradient(to right, #6b8967 var(--filled, 100%), #cfd8c7 var(--filled, 100%)); }
.slider-wrap input::-moz-range-track { height: 4px; border-radius: 20px; background: linear-gradient(to right, #6b8967 var(--filled, 100%), #cfd8c7 var(--filled, 100%)); }
.slider-wrap input::-webkit-slider-thumb { appearance: none; width: 19px; height: 19px; margin-top: -7.5px; border: 1px solid #e0e6d9; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #40553a30; }
.slider-wrap input::-moz-range-thumb { width: 18px; height: 18px; border: 1px solid #e0e6d9; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #40553a30; }
.range-labels { display: flex; justify-content: space-between; color: #626e5b; font-size: 10px; }
.preview-message, .noscript-message { position: absolute; z-index: 4; left: 28px; bottom: 122px; max-width: 240px; color: #596650; font-size: 12px; pointer-events: none; }
.preview-message { display: none; }
/* Kept in the page so a screen reader still hears how the preview is getting on, but not drawn
   while it is merely loading: the closed lid says that better than the word "loading" does. */
.js .preview-message { display: block; opacity: 0; transition: opacity .3s; }
.experience[data-state="unavailable"] .preview-message { opacity: 1; }

/* FAQ and the final purchase link */
h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -.05em; }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; margin-top: clamp(24px, 3vw, 48px); padding: 58px 38px 0; border-top: 1px solid var(--line); }
.faq-intro > p { max-width: 23ch; margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.faq-intro a { text-decoration: underline; text-underline-offset: 4px; }
.faq-list details { border-bottom: 1px solid var(--line); scroll-margin-top: 115px; }
.faq-list details:first-child summary { padding-top: 5px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; font-size: 15px; font-weight: 550; line-height: 1.5; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 18px; height: 18px; color: #77816e; transition: transform .3s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-answer { font-size: 14px; line-height: 1.8; color: var(--muted); }
.faq-answer p { margin: 0; padding: 0 24px 24px 0; }
.faq-answer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-list details[open] .faq-answer { animation: answer-in .3s var(--ease); }

/* A centered purchase action leads into the large, fading wordmark. */
.site-footer { padding-top: clamp(88px, 9vw, 144px); overflow: hidden; text-align: center; }
.footer-purchase { display: flex; justify-content: center; padding-inline: 24px; }
.footer-purchase .button { min-height: 58px; padding: 17px 28px; font-size: 16px; box-shadow: 0 16px 28px -15px #20241f66, inset 0 1px 0 #ffffff14; }
.footer-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 28px; margin-top: clamp(64px, 7vw, 112px); padding-inline: 24px; color: var(--muted); font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { max-width: 760px; margin: 14px auto 0; padding-inline: 24px; color: #858b7e; font-size: 10px; line-height: 1.6; }
/* The wordmark continues below the page edge; frost builds over its lower half. */
.footer-signature {
  position: relative;
  isolation: isolate;
  height: .68em;
  margin-top: clamp(32px, 4vw, 64px);
  overflow: hidden;
  font-size: clamp(100px, 27vw, 440px);
  user-select: none;
  pointer-events: none;
}
.footer-wordmark {
  width: max-content;
  margin-inline: auto;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.065em;
  white-space: nowrap;
  color: #d5dace;
  background: linear-gradient(#d5dace 15%, #e0e5d9 58%, var(--paper) 95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-signature::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  backdrop-filter: blur(.018em);
  -webkit-backdrop-filter: blur(.018em);
  mask-image: linear-gradient(transparent, #000 85%);
  -webkit-mask-image: linear-gradient(transparent, #000 85%);
}

/* Motion stays brief; revealed sections stay visible when revisited. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--delay, 0ms) ease-out, transform .95s var(--delay, 0ms) var(--entrance-ease); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } 65% { opacity: 1; } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 56px); }
  .hero-copy { padding-inline: 20px; }
  .hero { padding-top: 48px; }
  .preset-panel { right: 20px; width: 205px; }
  .faq-section { gap: 50px; padding-inline: 20px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .nav { height: 76px; }
  .brand { font-size: 21px; }
  .nav .brand img { width: 31px; height: 31px; }
  .nav-links { gap: 20px; }
  .nav-links > a:not(.button) { font-size: 12px; }
  .button-small { font-size: 12px; padding: 10px 13px; min-height: 40px; }
  .hero { padding-top: 38px; }
  .hero-copy { padding: 0 8px 35px; }
  h1 { font-size: clamp(43px, 8.3vw, 64px); }
  .hero-bottom { margin-top: 24px; }
  .hero-actions { flex-wrap: wrap; gap: 16px 22px; }
  .hero-actions .button { min-height: 50px; padding: 14px 17px; font-size: 13px; gap: 9px; }
  .hero-actions .button svg { width: 16px; height: 16px; }
  .text-button { font-size: 13px; }
  .compatibility { font-size: 10px; }
  .demo-story { --demo-top: 88px; --demo-height: min(700px, calc(100svh - 108px)); }
  .experience { min-height: 420px; border-radius: 20px; }
  .stage { inset: 0 -2% 255px; }
  .preset-panel { top: auto; bottom: 108px; left: 18px; right: 18px; width: auto; padding: 12px; transform: none; border-radius: 14px; }
  .panel-title { padding-bottom: 10px; }
  .preset-panel > .panel-label { display: none; }
  .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 9px; }
  .looks button { flex-direction: column; gap: 7px; padding: 8px 2px; text-align: center; }
  .looks button > span:nth-child(2) { font-size: 10px; white-space: nowrap; }
  .look-check { display: none; }
  .demo-controls { bottom: 18px; width: calc(100% - 36px); gap: 18px; padding: 12px 15px; border-radius: 13px; }
  .preview-message, .noscript-message { left: 20px; bottom: 295px; font-size: 11px; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; padding: 35px 8px 0; }
  .faq-intro h2 { font-size: 36px; }
  .faq-intro h2 br { display: none; }
  .faq-intro > p { max-width: none; margin-top: 12px; font-size: 13px; }
  .faq-list summary { font-size: 14px; padding-block: 20px; }
  .faq-answer { font-size: 13px; }
  .site-footer { padding-top: 72px; }
  .footer-purchase .button { min-height: 52px; font-size: 14px; }
  .footer-links { gap: 8px 22px; margin-top: 64px; font-size: 11px; }
  .footer-legal { font-size: 9px; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 28px); }
  .hero-copy { padding-inline: 4px; }
  .nav-links > a:not(.button) { display: none; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding-inline: 14px; font-size: 12px; }
  .text-button { gap: 7px; font-size: 12px; }
  .play-circle { width: 30px; height: 30px; }
}

@media (max-height: 559px) {
  .demo-story { --demo-height: 610px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-copy { opacity: 1 !important; transform: none !important; }
  .demo-story.scroll-story { height: auto; }
  .scroll-story .experience { position: relative; top: auto; }
}
