:root {
  --bg-dark: #121315;
  --bg-red: #b71e1e;
  --bg-red-deep: #981717;
  --cream: #efe7da;
  --paper: #f5efe7;
  --muted: rgba(245, 239, 231, 0.82);
  --line: rgba(245, 239, 231, 0.75);
  --text-dark: #131313;
  --navy: #0a1c74;
  --orange: #ef5a2b;
  --orange-soft: #ff7a59;
  --radius-lg: 30px;
  --radius-xl: 42px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: white; color: black; padding: .75rem 1rem; z-index: 10; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cream), var(--orange-soft));
  box-shadow: 0 0 18px rgba(255, 122, 89, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
}

.container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.narrow { width: min(1180px, calc(100% - 56px)); }
.section { padding: 0; }
.red-section { background: radial-gradient(circle at 92% 68%, rgba(255,255,255,0.15), transparent 24%), linear-gradient(180deg, var(--bg-red), var(--bg-red-deep)); }
.dark-section { background: linear-gradient(180deg, #131416, #111214); }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
}

p { margin: 0; line-height: 1.45; }

.hero-top { background: #0f1013; }
.poster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 258px;
}

.poster-art {
  position: relative;
  min-height: 258px;
  overflow: hidden;
  background: #eadcc8;
}

.poster-copy {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 258px;
  overflow: hidden;
}

.copy-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px 18px;
  width: 62%;
}

.zem-mark {
  position: absolute;
  top: 50%;
  right: clamp(18px, 4vw, 56px);
  width: clamp(100px, 14vw, 180px);
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.2));
  will-change: transform, opacity, filter;
}

.poster-copy h1 {
  font-size: clamp(2rem, 2.2vw, 2.5rem);
  max-width: 14ch;
}

.poster-copy p {
  font-size: 0.78rem;
  max-width: 29ch;
  color: rgba(255,255,255,0.85);
}

.shape, .curve, .dot { position: absolute; }
.shape.black.corner { width: 180px; height: 180px; left: -42px; top: -34px; background: #090909; border-radius: 50%; }
.shape.cream.wave { width: 220px; height: 220px; left: -48px; bottom: -70px; background: #f4e6d0; border-radius: 48% 58% 0 0; transform: rotate(-10deg); }
.shape.orange.tall { width: 132px; height: 240px; left: 112px; top: 40px; background: linear-gradient(180deg, #ef6d43, #d53b22); border-radius: 120px 120px 0 0; }
.shape.orange.arc { width: 188px; height: 188px; right: 18px; top: -10px; background: linear-gradient(180deg, #f58969, #d93f1c); border-radius: 44px; }
.shape.black.blob { width: 158px; height: 158px; right: 86px; bottom: -18px; background: #0b0b0b; border-radius: 50%; }
.curve { border: 2px solid rgba(44, 36, 30, 0.5); border-color: transparent transparent rgba(44, 36, 30, 0.55) transparent; border-radius: 50%; }
.curve.one { width: 180px; height: 180px; left: -10px; top: 0; transform: rotate(22deg); }
.curve.two { width: 220px; height: 220px; left: 88px; top: -24px; transform: rotate(-18deg); }
.curve.three { width: 220px; height: 220px; left: 8px; bottom: -82px; transform: rotate(16deg); }
.dot { border-radius: 50%; background: #f2552f; }
.dot.one { width: 18px; height: 18px; left: 102px; top: 64px; }
.dot.two { width: 10px; height: 10px; left: 188px; top: 114px; background: #111; }
.dot.three { width: 12px; height: 12px; left: 70px; bottom: 74px; }

.hero-cta-section { padding: 64px 0 40px; }
.cta-wrap { display: flex; justify-content: center; }
.big-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(760px, 78vw);
  padding: 20px 30px;
  border-radius: 22px;
  background: #0a227f;
  color: #ede7de;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  will-change: transform;
}

.big-cta::before,
.button-white::before {
  content: '';
  position: absolute;
  inset: -75%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 42%);
  opacity: 0;
  transform: translate3d(var(--glow-x, 0), var(--glow-y, 0), 0);
  transition: opacity 300ms ease;
}

.big-cta:hover::before,
.button-white:hover::before { opacity: 1; }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro-block { padding: 82px 0 20px; }
.text-col.lined { max-width: 420px; }
.line { width: 240px; height: 1px; background: var(--line); margin-bottom: 44px; }
.line.bottom { margin-top: 42px; margin-bottom: 0; }
.text-col h2 { font-size: clamp(3rem, 4vw, 4.4rem); max-width: 11ch; }
.text-col p { margin-top: 28px; max-width: 30ch; font-size: 1rem; color: rgba(255,255,255,0.88); }
.visual-col { display: flex; justify-content: center; }
.circle-frame {
  position: relative;
  width: min(420px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  will-change: clip-path;
}

.circle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity, filter;
}

.image-sheen {
  position: absolute;
  inset: -25%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 229, 0.35) 50%, transparent 62%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.laptop-scene { background: radial-gradient(circle at 35% 20%, rgba(255,120,120,0.25), transparent 26%), linear-gradient(135deg, #a41d29, #221f24 78%); }
.scene-bg { position: absolute; inset: 0; background: radial-gradient(circle at 40% 76%, #eadbc7 0 22%, transparent 23%); }
.desk { position: absolute; inset: auto -10% -2% -10%; height: 36%; background: linear-gradient(180deg, #f0ddc4, #dfccb4); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.laptop { position: absolute; }
.laptop.main { width: 54%; height: 42%; left: 26%; top: 38%; transform: rotate(-15deg); }
.laptop.small { width: 38%; height: 30%; left: 55%; top: 26%; transform: rotate(10deg); }
.laptop .screen { position: absolute; left: 8%; right: 8%; top: 0; height: 68%; border-radius: 8px 8px 4px 4px; border: 7px solid #202126; background: linear-gradient(135deg, #241c33, #1838af 45%, #ee4e54); }
.laptop .screen.pink { background: linear-gradient(135deg, #2f2436, #ff9ba4 60%, #f0d0d4); }
.laptop .screen.code::before { content: ''; position: absolute; inset: 18% 14%; background: linear-gradient(180deg, rgba(255,255,255,0.2) 8%, transparent 8% 16%, rgba(255,120,90,0.7) 16% 20%, transparent 20% 28%, rgba(255,255,255,0.25) 28% 32%, transparent 32% 38%, rgba(255,120,90,0.6) 38% 42%, transparent 42%); }
.laptop .base { position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(180deg, #44464b, #22242a); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }

.features-section { padding: 62px 0 72px; }
.center-title { text-align: center; font-size: clamp(3rem, 3.4vw, 4rem); margin-bottom: 70px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.feature-item { text-align: left; }
.burst { font-size: 3rem; text-align: center; margin-bottom: 28px; transform-origin: center; }
.feature-item h3 { font-size: 1.18rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.2; }
.feature-item p { font-size: 0.98rem; color: rgba(255,255,255,0.92); }
.divider { width: 100%; height: 1px; background: var(--line); margin-top: 56px; }

.story-section { padding: 64px 0 34px; }
.story-layout { gap: 30px; }
.left-story { max-width: 400px; }
.left-story h2 { text-align: center; max-width: none; font-size: clamp(3.2rem, 4vw, 4.8rem); }
.left-story p { margin-top: 32px; max-width: 32ch; }
.mini-dot { border-radius: 50%; }
.mini-dot.a { width: 3.4%; height: 3.4%; left: 14%; top: 15%; background: #111; }
.mini-dot.b { width: 4.6%; height: 4.6%; left: 80%; bottom: 20%; background: #ef5e36; }
.code-layout { padding: 46px 0; }
.small-red-card { position: absolute; width: 16%; height: 18%; right: 12%; bottom: 18%; background: linear-gradient(135deg, #1e1e1e, #8e1116); border-radius: 8px; }
.code-copy { max-width: 420px; }
.code-copy h2 { font-size: clamp(3.2rem, 4vw, 4.8rem); text-align: center; }
.code-copy p { margin-top: 28px; max-width: 31ch; }

.method-section { padding: 60px 0 36px; }
.method-copy h2 { font-size: clamp(3.2rem, 4vw, 4.6rem); }
.method-copy p { max-width: 34ch; }
.final-cta { padding: 84px 0 72px; }
.centered-cta { text-align: center; }
.centered-cta h2 { font-size: clamp(3.3rem, 4vw, 4.6rem); }
.centered-cta p { margin: 26px auto 34px; max-width: 42ch; color: rgba(255,255,255,0.85); }
.button-white {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6f0e8;
  color: #b12623;
  padding: 15px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  will-change: transform;
}

.motion-ready .reveal-copy,
.motion-ready .feature-item,
.motion-ready .circle-frame,
.motion-ready .divider,
.motion-ready .line {
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-progress { display: none; }
  .big-cta,
  .button-white,
  .circle-frame,
  .poster-art * { will-change: auto !important; }
}

.contact-section { padding: 0 0 40px; }
.contact-wrapper .divider.bottom { margin-top: 22px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; padding-top: 42px; }
.contact-form {
  background: #efe7de;
  color: var(--text-dark);
  border: 3px solid #b92622;
  border-radius: 22px;
  padding: 24px 20px 18px;
}
.contact-form h2 { font-size: 2rem; margin-bottom: 12px; }
.contact-form label {
  display: block;
  font-size: 0.76rem;
  margin-bottom: 4px;
  color: rgba(19,19,19,0.78);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(19,19,19,0.35);
  padding: 8px 0 10px;
  margin-bottom: 12px;
}
.contact-form button {
  display: block;
  width: 100%;
  border: none;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #c92a27;
  color: white;
}
.contact-form small { display: block; margin-top: 8px; font-size: 0.58rem; color: rgba(19,19,19,0.6); text-align: center; }
.icons-panel {
  background: #ece4db;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 54px;
  color: #ef6a57;
  font-size: 3rem;
  text-align: center;
}

@media (max-width: 980px) {
  .poster-grid,
  .split-section,
  .features-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .poster-copy h1,
  .poster-copy p,
  .text-col.lined,
  .left-story,
  .code-copy,
  .method-copy { max-width: none; }

  .text-col h2,
  .left-story h2,
  .code-copy h2,
  .method-copy h2,
  .centered-cta h2 { max-width: none; }

  .big-cta { min-width: 0; width: 100%; }
  .copy-inner { width: 65%; }
  .features-grid { gap: 28px; }
  .feature-item { max-width: 540px; margin: 0 auto; }
  .icon-grid { gap: 34px; font-size: 2.4rem; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 26px, 1180px); }
  .copy-inner { width: 68%; padding: 20px 18px 16px; }
  .zem-mark { right: 12px; width: clamp(90px, 27vw, 118px); }
  .hero-cta-section { padding-top: 26px; }
  .intro-block, .features-section, .story-section, .code-section, .method-section, .final-cta { padding-left: 0; padding-right: 0; }
  .big-cta { padding: 14px 20px; border-radius: 16px; }
  .line { width: 160px; margin-bottom: 26px; }
  .line.bottom { margin-top: 26px; }
  .split-section { gap: 28px; }
  .text-col p, .left-story p, .code-copy p, .method-copy p, .poster-copy p { font-size: 0.92rem; }
  .icon-grid { gap: 26px 28px; font-size: 2rem; }
}
