:root {
  --studio-ink: #14213d;
  --studio-ink-soft: #31425d;
  --studio-paper: #f8f6f1;
  --studio-white: #ffffff;
  --studio-muted: #667085;
  --studio-line: #e4e1da;
  --studio-bronze: #b4834a;
  --app-accent: #2f5d8c;
  --app-accent-dark: #14213d;
  --app-accent-soft: #e8eef3;
  --app-radius: 26px;
  --app-shell: 1160px;
  --app-shadow: 0 24px 64px rgba(20,33,61,.13);
  --app-ease: cubic-bezier(.2,.75,.25,1);
  --app-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--studio-paper); }
body { margin: 0; color: var(--studio-ink); background: var(--studio-paper); font-family: var(--app-font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; line-height: 1.02; letter-spacing: -.055em; }
.app-shell { width: min(var(--app-shell), calc(100% - 48px)); margin: 0 auto; }

.app-nav { position: sticky; top: 0; z-index: 50; background: rgba(248,246,241,.9); border-bottom: 1px solid rgba(20,33,61,.08); backdrop-filter: blur(18px); transition: box-shadow .3s var(--app-ease), background .3s var(--app-ease); }
.app-nav.is-scrolled { background: rgba(248,246,241,.97); box-shadow: 0 12px 34px rgba(20,33,61,.08); }
.app-nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.app-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.app-brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 8px 22px rgba(20,33,61,.12); }
.app-brand strong { display: block; font-size: 1rem; letter-spacing: -.035em; }
.app-brand small { display: block; margin-top: 1px; color: var(--studio-muted); font-size: .62rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.app-nav-links { display: flex; align-items: center; gap: 26px; }
.app-nav-links a { color: var(--studio-ink-soft); font-size: .78rem; font-weight: 700; text-decoration: none; }

.app-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 19px; color: var(--studio-ink); background: var(--studio-white); border: 1px solid var(--studio-line); border-radius: 999px; box-shadow: 0 10px 28px rgba(20,33,61,.06); font-size: .8rem; font-weight: 800; text-decoration: none; transition: transform .2s var(--app-ease), box-shadow .2s var(--app-ease), background .2s var(--app-ease); }
.app-button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,33,61,.11); }
.app-button-primary { color: var(--studio-white) !important; background: linear-gradient(135deg, var(--app-accent), var(--app-accent-dark)); border-color: transparent; }
.app-nav-cta { min-height: 42px; padding: 10px 16px; }

.app-eyebrow { margin-bottom: 18px; color: var(--app-accent); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.app-hero { padding: 82px 0 72px; background: radial-gradient(circle at 86% 6%, rgba(130,149,139,.15), transparent 25rem), radial-gradient(circle at 4% 80%, rgba(180,131,74,.09), transparent 23rem); }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); gap: 78px; align-items: center; }
.app-hero-icon { width: 76px; height: 76px; margin-bottom: 30px; border-radius: 20px; box-shadow: 0 18px 42px rgba(20,33,61,.16); }
.app-hero h1 { max-width: 760px; font-size: clamp(3.2rem, 6vw, 6.4rem); font-weight: 700; }
.app-hero h1 em { color: var(--app-accent); font-style: normal; }
.app-lede { max-width: 620px; margin: 28px 0; color: var(--studio-muted); font-size: 1.08rem; }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.app-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--studio-line); }
.app-proof div { min-width: 110px; }
.app-proof strong { display: block; font-size: 1.25rem; letter-spacing: -.04em; }
.app-proof span { color: var(--studio-muted); font-size: .7rem; }

.app-hero-visual { position: relative; min-height: 640px; overflow: hidden; background: radial-gradient(circle at 70% 16%, rgba(255,255,255,.16), transparent 24%), linear-gradient(145deg, var(--app-accent), var(--app-accent-dark)); border-radius: 34px; box-shadow: var(--app-shadow); isolation: isolate; }
.app-hero-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background: repeating-radial-gradient(circle at 78% 42%, transparent 0 43px, rgba(255,255,255,.28) 44px 45px); }
.app-device { position: absolute; left: 50%; top: 58px; width: min(57%, 345px); height: 660px; overflow: hidden; border: 9px solid rgba(255,255,255,.88); border-radius: 43px 43px 0 0; box-shadow: 0 34px 70px rgba(9,18,36,.38); transform: translateX(-50%) rotate(2deg); }
.app-device img { width: 100%; height: 104%; object-fit: cover; object-position: top center; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.02); transition: transform .2s linear; }
.app-float { position: absolute; z-index: 2; width: 190px; padding: 17px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.6); border-radius: 18px; box-shadow: 0 18px 46px rgba(9,18,36,.22); backdrop-filter: blur(12px); }
.app-float strong { display: block; margin-bottom: 5px; color: var(--studio-ink); font-size: .86rem; }
.app-float span { display: block; color: var(--studio-muted); font-size: .67rem; line-height: 1.4; }
.app-float-one { left: 26px; top: 112px; }
.app-float-two { right: 24px; bottom: 88px; }

.app-section { padding: 112px 0; }
.app-section-soft { background: #f0ede6; }
.app-section-head { max-width: 780px; margin-bottom: 56px; }
.app-section-head h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); }
.app-section-head p:last-child { max-width: 650px; margin: 24px 0 0; color: var(--studio-muted); font-size: 1rem; }

.app-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-benefit { min-height: 300px; display: flex; flex-direction: column; padding: 28px; background: var(--studio-white); border: 1px solid var(--studio-line); border-radius: var(--app-radius); box-shadow: 0 16px 42px rgba(20,33,61,.07); }
.app-benefit:first-child { color: var(--studio-white); background: linear-gradient(145deg, var(--app-accent), var(--app-accent-dark)); border-color: transparent; }
.app-benefit-number { align-self: flex-end; color: inherit; font-size: .66rem; font-weight: 800; opacity: .7; }
.app-benefit h3 { margin-top: auto; font-size: 1.65rem; }
.app-benefit p { margin: 14px 0 0; color: inherit; font-size: .84rem; opacity: .7; }

.app-tour { display: block; }
.app-tour-top { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: 84px; align-items: end; margin-bottom: 82px; }
.app-tour-copy h2 { font-size: clamp(2.8rem, 4.5vw, 4.8rem); }
.app-tour-copy > p { max-width: 530px; margin: 24px 0 0; color: var(--studio-muted); }
.app-steps { border-top: 1px solid var(--studio-line); }
.app-step { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--studio-line); }
.app-step > span { padding-top: 3px; color: var(--studio-bronze); font-size: .68rem; font-weight: 800; }
.app-step strong { display: block; margin-bottom: 4px; }
.app-step p { margin: 0; color: var(--studio-muted); font-size: .82rem; }
.app-gallery-head { max-width: 620px; margin: 0 auto 30px; text-align: center; }
.app-gallery-head .app-eyebrow { margin-bottom: 12px; }
.app-gallery-head h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.app-gallery-head > p:last-child { margin: 12px 0 0; color: var(--studio-muted); font-size: .9rem; }
.app-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.app-gallery-three { max-width: 860px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: auto; }
.app-gallery figure { min-width: 0; margin: 0; }
.app-gallery img { width: 100%; height: auto; aspect-ratio: 900 / 1947; object-fit: cover; border: 6px solid rgba(255,255,255,.94); border-radius: 26px; box-shadow: 0 20px 48px rgba(20,33,61,.13); transform: translate3d(0, var(--parallax-y, 0px), 0); transition: transform .2s linear, box-shadow .25s var(--app-ease); }
.app-gallery figure:hover img { box-shadow: 0 28px 62px rgba(20,33,61,.18); }
.app-gallery figcaption { display: flex; gap: 9px; align-items: baseline; padding: 14px 5px 0; color: var(--studio-ink-soft); font-size: .76rem; font-weight: 750; }
.app-gallery figcaption span { color: var(--studio-bronze); font-size: .62rem; font-weight: 800; }

.app-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-guide-card { min-height: 210px; display: flex; flex-direction: column; padding: 24px; background: rgba(255,255,255,.9); border: 1px solid var(--studio-line); border-radius: 22px; text-decoration: none; transition: border-color .2s var(--app-ease), transform .2s var(--app-ease), box-shadow .2s var(--app-ease); }
.app-guide-card:hover { border-color: var(--app-accent); transform: translateY(-4px); box-shadow: 0 18px 42px rgba(20,33,61,.09); }
.app-guide-card span { color: var(--app-accent); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-guide-card h3 { margin-top: auto; font-size: 1.3rem; }
.app-guide-card p { margin: 10px 0 0; color: var(--studio-muted); font-size: .78rem; }

.app-faq-list { max-width: 840px; }
.app-faq-list details { margin-bottom: 10px; overflow: hidden; background: var(--studio-white); border: 1px solid var(--studio-line); border-radius: 18px; }
.app-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 24px; cursor: pointer; list-style: none; font-weight: 750; }
.app-faq-list summary::-webkit-details-marker { display: none; }
.app-faq-list summary::after { content: "+"; color: var(--app-accent); font-size: 1.35rem; }
.app-faq-list details[open] summary::after { content: "−"; }
.app-faq-answer { padding: 0 24px 22px; color: var(--studio-muted); font-size: .9rem; }
.app-faq-answer p { margin: 0; }
.app-faq-answer a { color: var(--app-accent-dark); font-weight: 700; }

.app-cta-wrap { padding: 0 12px 12px; }
.app-cta { min-height: 460px; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; padding: 70px max(28px, calc((100% - var(--app-shell))/2)); color: var(--studio-white); background: radial-gradient(circle at 82% 8%, rgba(255,255,255,.14), transparent 22%), radial-gradient(circle at 12% 100%, rgba(180,131,74,.25), transparent 26%), linear-gradient(135deg, var(--app-accent), var(--app-accent-dark)); border-radius: 32px; box-shadow: var(--app-shadow); }
.app-cta h2 { max-width: 760px; font-size: clamp(3rem, 6vw, 6rem); }
.app-cta-copy { max-width: 360px; }
.app-cta-copy p { color: rgba(255,255,255,.74); }

.app-footer { padding: 64px 0 28px; color: #c8d0dc; background: #101b33; }
.app-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; padding-bottom: 54px; }
.app-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.app-footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.app-footer-brand strong { color: var(--studio-white); }
.app-footer p { max-width: 34ch; color: #aeb8c7; font-size: .84rem; }
.app-footer h3 { margin-bottom: 16px; color: var(--studio-white); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.app-footer nav { display: flex; flex-direction: column; gap: 10px; }
.app-footer a { color: #dce2ea; font-size: .82rem; text-decoration: none; }
.app-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #96a3b6; font-size: .72rem; }

/* Shared motion hooks */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 3px; pointer-events: none; background: linear-gradient(90deg, var(--studio-bronze), var(--app-accent)); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; }
.motion-ready .motion-reveal { opacity: 0; filter: blur(5px); transition: opacity .75s var(--app-ease) var(--reveal-delay, 0ms), filter .75s var(--app-ease) var(--reveal-delay, 0ms), transform .9s var(--app-ease) var(--reveal-delay, 0ms); }
.motion-ready .motion-reveal:not(.tilt-surface) { transform: translate3d(0, 30px, 0) scale(.985); }
.motion-ready .motion-reveal.tilt-surface { --reveal-y: 30px; }
.motion-ready .motion-reveal.is-visible { opacity: 1; filter: none; }
.motion-ready .motion-reveal.is-visible:not(.tilt-surface) { transform: none; }
.motion-ready .motion-reveal.is-visible.tilt-surface { --reveal-y: 0px; }
.motion-ready .motion-reveal.is-visible.is-settled.tilt-surface { transition: transform .24s var(--app-ease), box-shadow .32s var(--app-ease); }
.tilt-surface { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px; transform: perspective(1100px) translate3d(0, calc(var(--tilt-lift) + var(--reveal-y, 0px)), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; will-change: transform; }
.tilt-surface:hover { --tilt-lift: -4px; }

@media (max-width: 940px) {
  .app-hero-grid, .app-cta { grid-template-columns: 1fr; }
  .app-hero-grid { gap: 52px; }
  .app-hero-copy { max-width: 760px; }
  .app-hero-visual { min-height: 600px; }
  .app-tour-top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 68px; }
  .app-tour-copy { max-width: 680px; }
  .app-gallery { display: flex; gap: 16px; margin-inline: -24px; padding: 0 24px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(20,33,61,.22) transparent; }
  .app-gallery-three { max-width: none; }
  .app-gallery figure { flex: 0 0 min(31vw, 255px); scroll-snap-align: start; }
  .app-benefits, .app-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .app-cta { gap: 30px; }
  .app-footer-grid { grid-template-columns: 1fr 1fr; }
  .app-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .app-shell { width: min(100% - 34px, var(--app-shell)); }
  .app-nav-inner { min-height: 68px; gap: 12px; }
  .app-brand, .app-brand span { min-width: 0; }
  .app-brand small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-nav-cta { flex: none; white-space: nowrap; }
  .app-nav-links > a:not(.app-nav-cta) { display: none; }
  .app-hero { padding: 56px 0 62px; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .app-hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .app-hero-icon { width: 64px; height: 64px; }
  .app-proof { gap: 20px; }
  .app-hero-visual { min-height: 520px; }
  .app-device { top: 48px; width: 64%; height: 540px; }
  .app-float { width: 155px; padding: 13px; }
  .app-float-one { left: 12px; top: 90px; }
  .app-float-two { right: 12px; bottom: 38px; }
  .app-section { padding: 84px 0; }
  .app-benefits, .app-guide-grid { grid-template-columns: 1fr; }
  .app-benefit { min-height: 260px; }
  .app-tour { gap: 52px; }
  .app-tour-top { margin-bottom: 58px; }
  .app-gallery-head { margin-bottom: 24px; }
  .app-gallery { gap: 12px; margin-inline: -17px; padding-inline: 17px; }
  .app-gallery figure { flex-basis: min(74vw, 255px); }
  .app-gallery img { border-width: 4px; border-radius: 22px; }
  .app-cta-wrap { padding-inline: 5px; }
  .app-cta { min-height: 520px; padding: 52px 24px; border-radius: 24px; }
  .app-footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .app-footer-grid > div:first-child { grid-column: auto; }
  .app-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .motion-ready .motion-reveal { opacity: 1; filter: none; transform: none; }
}
