:root {
  --paper: #fffaf6;
  --paper-2: #f8f0eb;
  --ink: #20182d;
  --muted: #6c6472;
  --plum: #6f294f;
  --plum-dark: #4c1836;
  --berry: #9b3b6c;
  --rose: #f6dce8;
  --pink: #df4c95;
  --sage: #6a9187;
  --sage-soft: #e5f0ed;
  --gold: #d6a34c;
  --line: rgba(32, 24, 45, 0.14);
  --shadow: 0 30px 80px rgba(74, 30, 56, 0.16);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 16px; background: #fff; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(111, 41, 79, 0.14);
  border-radius: 22px;
  background: rgba(255, 250, 246, 0.88);
  box-shadow: 0 14px 40px rgba(64, 27, 50, 0.09);
  backdrop-filter: blur(18px);
}
.brand img { width: 178px; height: 47px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; justify-content: center; gap: clamp(16px, 2.2vw, 34px); }
.main-nav a { color: var(--muted); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--plum); }
.header-cta, .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.header-cta { background: var(--plum); color: #fff; font-size: 0.9rem; }
.header-cta:hover, .button:hover { transform: translateY(-2px); }
.menu-button { display: none; background: none; border: 0; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  min-height: 960px;
  padding: 170px max(24px, calc((100vw - var(--max)) / 2)) 90px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 62px;
  background:
    radial-gradient(circle at 82% 19%, rgba(223, 76, 149, 0.16), transparent 28%),
    radial-gradient(circle at 8% 72%, rgba(106, 145, 135, 0.15), transparent 25%),
    var(--paper);
}
.eyebrow { margin: 0 0 16px; color: var(--sage); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.6rem, 6.1vw, 6.65rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.45rem, 4.4vw, 4.8rem); }
h3 { font-size: 1.35rem; }
.hero-lede { max-width: 660px; margin: 0 0 34px; color: var(--muted); font-size: clamp(1.08rem, 1.45vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-primary { background: var(--plum); color: #fff; box-shadow: 0 12px 26px rgba(111, 41, 79, 0.2); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.58); color: var(--ink); }
.button-secondary.on-dark { border-color: rgba(255,255,255,0.28); background: transparent; color: #fff; }
.proof-line { margin-top: 54px; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.proof-line strong, .proof-line span { display: block; }
.proof-line strong { color: var(--plum); font-family: "Manrope", sans-serif; }
.proof-line span { margin-top: 4px; color: var(--muted); font-size: 0.76rem; line-height: 1.35; }

.hero-visual { position: relative; min-height: 690px; }
.hero-orbit { position: absolute; width: 610px; height: 610px; top: 10px; right: -28px; border-radius: 50%; border: 1px solid rgba(111, 41, 79, 0.16); }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 64px; border: inherit; border-radius: inherit; }
.hero-orbit::after { inset: 138px; }
.phone { position: absolute; padding: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.6); border-radius: 34px; background: #1e1828; box-shadow: var(--shadow); }
.phone img { width: 100%; height: 100%; border-radius: 27px; object-fit: cover; }
.phone-main { z-index: 2; width: 318px; height: 650px; top: 12px; left: 70px; transform: rotate(-3deg); }
.phone-side { z-index: 1; width: 245px; height: 510px; top: 94px; right: 4px; transform: rotate(7deg); opacity: 0.96; }
.folu-cutout { position: absolute; z-index: 4; width: 172px; right: -6px; bottom: -20px; filter: drop-shadow(0 20px 20px rgba(58, 26, 44, 0.18)); }
.floating-note { position: absolute; z-index: 5; left: -28px; bottom: 28px; width: 280px; padding: 18px 20px; border: 1px solid rgba(111, 41, 79, 0.12); border-radius: 18px; background: rgba(255,255,255,0.92); box-shadow: 0 20px 50px rgba(54, 24, 42, 0.14); color: var(--muted); font-size: 0.9rem; }
.floating-note span { display: block; margin-bottom: 4px; color: var(--plum); font-weight: 800; }

.section-pad { padding: 120px max(24px, calc((100vw - var(--max)) / 2)); }
.section-intro { max-width: 900px; margin-bottom: 64px; }
.section-intro p:last-child { max-width: 690px; color: var(--muted); font-size: 1.1rem; }
.problem-section { border-top: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 90px; }
.problem-statement { padding-right: 24px; }
.problem-statement p { color: var(--muted); }
.problem-statement .large-copy { margin-top: 0; color: var(--ink); font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.45; }
.needs-list { border-top: 1px solid var(--line); }
.needs-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.needs-list span { color: var(--pink); font-family: "Manrope", sans-serif; font-weight: 800; }
.needs-list p { margin: 0; color: var(--muted); }
.needs-list strong { color: var(--ink); }

.product-section { overflow: hidden; background: var(--plum-dark); color: #fff; }
.section-intro.light .eyebrow { color: #ebadcc; }
.section-intro.light p:last-child { color: rgba(255,255,255,0.68); }
.screen-stage { position: relative; min-height: 650px; display: flex; align-items: flex-end; gap: 24px; }
.screen-card { flex: 0 0 auto; }
.screen-card > p { margin: 0 0 10px; color: rgba(255,255,255,0.66); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.screen-card-mobile { width: 210px; transform: translateY(45px); }
.screen-card-mobile.featured { width: 245px; transform: translateY(0); }
.device-frame { padding: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,0.25); border-radius: 29px; background: #1a1521; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.device-frame img { width: 100%; border-radius: 23px; }
.screen-card-web { width: 620px; align-self: center; margin-left: 18px; }
.browser-frame { overflow: hidden; border: 1px solid rgba(255,255,255,0.2); border-radius: 18px; background: #fff; box-shadow: 0 35px 70px rgba(0,0,0,0.28); }
.browser-bar { height: 26px; padding: 9px 12px; display: flex; gap: 5px; background: #ece7ea; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #bdb5bb; }
.capability-row { margin-top: 84px; padding-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; border-top: 1px solid rgba(255,255,255,0.15); }
.capability-row strong, .capability-row span { display: block; }
.capability-row strong { margin-bottom: 8px; color: #fff; font-family: "Manrope", sans-serif; }
.capability-row span { color: rgba(255,255,255,0.62); font-size: 0.88rem; }

.impact-section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 90px; background: var(--sage-soft); }
.impact-copy { position: sticky; top: 130px; align-self: start; }
.impact-copy p:last-child { color: var(--muted); font-size: 1.08rem; }
.impact-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.impact-points article { min-height: 270px; padding: 34px; border: 1px solid rgba(106,145,135,0.3); border-radius: 24px; background: rgba(255,255,255,0.66); }
.impact-number { display: block; margin-bottom: 60px; color: var(--sage); font-weight: 800; }
.impact-points p { color: var(--muted); }

.folu-section { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 90px; }
.folu-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.folu-sun { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: var(--rose); }
.folu-art img { position: relative; z-index: 1; max-height: 500px; filter: drop-shadow(0 24px 34px rgba(83,35,62,0.16)); }
.folu-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.safety-note { margin-top: 34px; padding: 22px 24px; border-left: 4px solid var(--gold); background: #fff7e8; }
.safety-note strong, .safety-note span { display: block; }
.safety-note span { margin-top: 4px; color: var(--muted); }

.recognition-section { display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: 80px; background: #241a2e; color: #fff; }
.award-photo { position: relative; }
.award-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border: 1px solid rgba(235,173,204,0.45); border-radius: 24px; }
.award-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 34px 70px rgba(0,0,0,0.35); }
.award-copy .eyebrow { color: #ebadcc; }
.award-kicker { margin: 0 0 12px; color: var(--gold); font-weight: 800; }
.award-lede { color: rgba(255,255,255,0.78); font-size: 1.16rem; }
.award-copy blockquote { margin: 34px 0 0; padding: 22px 0 22px 24px; border-left: 2px solid #ebadcc; color: rgba(255,255,255,0.66); }

.closing-section { min-height: 640px; padding: 100px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 70px; overflow: hidden; background: linear-gradient(130deg, var(--plum) 0%, var(--plum-dark) 100%); color: #fff; }
.closing-copy { max-width: 820px; }
.closing-copy .eyebrow { color: #efb7d1; }
.closing-copy p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,0.7); font-size: 1.12rem; }
.closing-section > img { max-height: 510px; justify-self: end; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25)); }
footer { padding: 34px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 0.84rem; }
footer img { width: 150px; }
footer p:nth-child(2) { flex: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .menu-button { display: block; justify-self: end; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 860px; }
  .hero-visual { width: min(700px, 100%); margin: 0 auto; }
  .screen-stage { flex-wrap: wrap; justify-content: center; min-height: auto; }
  .screen-card-mobile, .screen-card-mobile.featured { transform: none; }
  .screen-card-web { width: min(800px, 100%); margin: 36px 0 0; }
  .capability-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .section-pad { padding-top: 88px; padding-bottom: 88px; }
  .problem-grid, .impact-section, .folu-section, .recognition-section { grid-template-columns: 1fr; gap: 54px; }
  .impact-copy { position: static; }
  .closing-section { grid-template-columns: 1fr 220px; }
  .hero-orbit { width: 520px; height: 520px; }
  .phone-main { left: 22px; }
  .phone-side { right: 8px; }
}

@media (max-width: 620px) {
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 60px; padding: 7px 8px 7px 13px; border-radius: 17px; }
  .brand img { width: 138px; height: 40px; }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { grid-column: 2; }
  .hero { min-height: 0; padding-top: 130px; padding-bottom: 80px; }
  h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .proof-line { grid-template-columns: 1fr; gap: 16px; }
  .proof-line > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .hero-visual { min-height: 570px; margin-top: 12px; }
  .hero-orbit { width: 460px; height: 460px; right: -120px; }
  .phone-main { width: 252px; height: 520px; left: 4px; }
  .phone-side { width: 180px; height: 385px; top: 78px; right: -24px; }
  .folu-cutout { width: 120px; right: -8px; bottom: 4px; }
  .floating-note { left: 25px; bottom: -14px; width: 250px; }
  .section-intro { margin-bottom: 44px; }
  .impact-points { grid-template-columns: 1fr; }
  .impact-points article { min-height: 220px; }
  .impact-number { margin-bottom: 34px; }
  .screen-card-mobile, .screen-card-mobile.featured { width: calc(50% - 8px); }
  .screen-card-mobile:nth-child(3) { display: none; }
  .capability-row { grid-template-columns: 1fr; }
  .folu-art { min-height: 440px; }
  .folu-sun { width: 360px; height: 360px; }
  .folu-art img { max-height: 400px; }
  .award-photo::after { display: none; }
  .closing-section { min-height: 680px; grid-template-columns: 1fr; padding-bottom: 0; }
  .closing-section > img { max-height: 310px; justify-self: center; margin-top: -20px; }
  footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
