:root {
  --orange: #f04b23;
  --black: #0c0c0d;
  --ink: #171719;
  --paper: #ffffff;
  --soft: #f5f2ef;
  --muted: #75706d;
  --line: #ddd7d2;
  --content-max: 1180px;
  --gutter: 24px;
  --content: min(var(--content-max), calc(100% - (var(--gutter) * 2)));
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --section-space: clamp(64px, 6vw, 88px);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --text-support: clamp(1rem, 1.25vw, 1.18rem);
  --h1: clamp(3rem, 5.4vw, 5.4rem);
  --h2: clamp(2.25rem, 3.6vw, 3.65rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: sticky; z-index: 50; top: 0; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: var(--space-5); min-height: 76px; padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2)); color: white; background: rgba(12,12,13,.94); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.brand img { width: 174px; height: auto; }
.site-header nav { display: flex; justify-content: center; gap: var(--space-5); color: #bdbdbf; font-size: .875rem; font-weight: 600; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.client-access { color: #d7d7d9; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.client-access:hover, .client-access:focus-visible { color: white; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; color: var(--orange); border: 1px solid rgba(240,75,35,.55); border-radius: var(--radius-pill); font-size: .875rem; font-weight: 800; }

section { position: relative; padding-block: var(--section-space); }
section > * { width: var(--content); margin-right: auto; margin-left: auto; }
.section-dark { color: white; background: var(--black); }
.section-light { color: var(--ink); background: white; }
.section-soft { color: var(--ink); background: var(--soft); }
.kicker { margin: 0 0 var(--space-3); color: var(--orange); font-size: .78rem; font-weight: 800; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1; letter-spacing: -.045em; }
h1 { max-width: 720px; margin-bottom: var(--space-4); font-size: var(--h1); }
h2 { max-width: 820px; margin-bottom: var(--space-4); font-size: var(--h2); }
h3 { margin-bottom: var(--space-3); font-size: clamp(1.5rem, 2.3vw, 2.2rem); }
em { color: var(--orange); font-style: normal; }
.section-heading > p:last-child, .platform-copy > p:not(.kicker):not(.platform-disclaimer), .hero-text { max-width: 640px; color: var(--muted); font-size: var(--text-support); line-height: 1.55; }
.section-dark .section-heading > p:last-child, .section-dark .platform-copy > p:not(.kicker):not(.platform-disclaimer) { color: #aaa9ac; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--radius-pill); font-size: .95rem; font-weight: 800; line-height: 1; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.button-primary { color: #111; background: var(--orange); box-shadow: 0 12px 36px rgba(240,75,35,.2); }
.button-primary:hover, .button-primary:focus-visible { background: #ff5b32; transform: translateY(-2px); }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: var(--space-7); width: 100%; padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2)); overflow: hidden; }
.hero > * { min-width: 0; width: auto; margin: 0; }
.hero-text { margin-bottom: var(--space-5); color: #c0bfc2; }
.hero-visual { position: relative; }
.screen-frame { overflow: hidden; border: 1px solid #353539; border-radius: var(--radius-md); background: #222; box-shadow: 20px 20px 0 var(--orange); transform: rotate(1deg); }
.screen-frame img { width: 100%; }
.visual-note { display: block; margin-top: var(--space-5); color: #8d8d91; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.hero-line { position: absolute; right: 4%; bottom: -20%; width: 10px; height: 65%; margin: 0; background: var(--orange); transform: rotate(28deg); }

.problem .section-heading { margin-right: auto; margin-left: auto; }
.problem { overflow: hidden; }
.problem::after { content: ""; position: absolute; right: -130px; bottom: -180px; width: 360px; height: 360px; border: 2px solid var(--orange); border-radius: 50%; opacity: .3; }
.action-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.action-list span { padding: 9px 14px; color: #d1d1d3; border: 1px solid #3a3a3e; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 700; }
.problem-answer { margin-top: var(--space-6); font-size: clamp(1.35rem, 2.2vw, 2.1rem); line-height: 1.25; }
.problem-answer strong { color: var(--orange); }

.method-flow { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0; margin-top: var(--space-6); list-style: none; counter-reset: steps; }
.method-flow li { position: relative; padding: 24px 18px 24px 0; border-top: 3px solid var(--orange); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.method-flow li:not(:last-child)::after { content: "→"; position: absolute; top: 21px; right: 10px; color: var(--orange); }

.strategy-flow { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-5); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.strategy-flow i { color: var(--orange); font-style: normal; }
.screen-collage { display: grid; grid-template-columns: 1.28fr .72fr; gap: var(--space-3); margin-top: var(--space-5); }
.screen-stack { display: grid; gap: var(--space-3); }
.screen-card { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 14px 40px rgba(27,17,12,.08); }
.screen-card img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.screen-card figcaption { position: absolute; left: var(--space-3); bottom: var(--space-3); padding: 7px 11px; color: white; border-radius: var(--radius-pill); background: rgba(12,12,13,.82); font-size: .75rem; font-weight: 700; backdrop-filter: blur(8px); }
.screen-card-main { min-height: 430px; }
.screen-stack .screen-card { min-height: 208px; }

.operation-flow { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-5); padding: var(--space-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.operation-flow span { font-size: clamp(.9rem, 1.4vw, 1.14rem); font-weight: 800; }
.operation-flow i { color: var(--orange); font-style: normal; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-5); }
.data-grid .screen-card { aspect-ratio: 1.72; }
.context-note { margin-top: var(--space-4); color: var(--muted); font-size: .875rem; line-height: 1.5; text-align: center; }

.platform { display: grid; grid-template-columns: .58fr 1.42fr; align-items: center; gap: var(--space-7); width: 100%; padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2)); }
.platform > * { min-width: 0; width: auto; margin: 0; }
.platform-disclaimer { margin-top: var(--space-5); padding-left: var(--space-3); border-left: 3px solid var(--orange); font-size: .875rem !important; }
.platform-values { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: var(--space-4) 0; }
.platform-values span { padding: 9px 14px; color: #d0d0d2; border: 1px solid #3a3a3e; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-3); }
.gallery-tabs button { min-height: 40px; padding: 0 14px; color: #a7a7aa; border: 1px solid #38383c; border-radius: var(--radius-pill); background: transparent; font-size: .875rem; cursor: pointer; }
.gallery-tabs button[aria-selected="true"] { color: #111; border-color: var(--orange); background: var(--orange); }
.gallery-stage { overflow: hidden; border: 1px solid #38383c; border-radius: var(--radius-md); background: #222; box-shadow: 0 14px 40px rgba(0,0,0,.22); }
.gallery-stage img { width: 100%; transition: opacity .24s ease, transform .24s ease; }
.gallery-stage img.is-changing { opacity: .25; transform: scale(.985); }

.audience { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw; }
.audience > * { width: auto; margin: 0; }
.audience-statement { margin-left: max(24px, calc((100vw - 1180px) / 2)); }
.audience-points { margin-right: max(24px, calc((100vw - 1180px) / 2)); }
.audience-points div { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.audience-points span { color: var(--orange); font-size: .8rem; font-weight: 800; }
.audience-points strong { font-size: clamp(1.1rem, 2vw, 1.55rem); }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-5); margin-bottom: var(--space-5); }
.offer-grid article { min-height: 230px; padding: var(--space-5); border: 1px solid #343438; border-radius: var(--radius-md); background: #151517; }
.offer-grid article > span { color: #6f6f74; font-size: .8rem; }
.offer-label { margin: var(--space-5) 0 var(--space-2); color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.offer-grid article p:last-child { max-width: 420px; color: #9e9ea2; }

.closing { overflow: hidden; text-align: center; }
.closing::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 90px; background: var(--orange); }
.closing > img { width: min(250px, 54vw); margin-bottom: var(--space-6); }
.closing h2 { margin-left: auto; margin-right: auto; }
.signature { margin-top: var(--space-6); color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

footer { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2)); color: #747479; background: #070708; border-top: 1px solid #222226; font-size: .75rem; letter-spacing: .06em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header nav { display: none; }
  .header-actions { justify-self: end; }
  .hero, .platform { display: grid; grid-template-columns: 1fr; gap: var(--space-6); padding-inline: var(--gutter); }
  .hero > :not(.hero-line), .platform > * { width: 100%; margin-right: 0; margin-left: 0; }
  .hero-line { display: none; }
  .method-flow { grid-template-columns: 1fr; }
  .method-flow li { padding-left: 0; }
  .method-flow li:not(:last-child)::after { content: "↓"; right: 0; }
  .screen-collage { grid-template-columns: 1fr; }
  .screen-card-main { min-height: 380px; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --content: calc(100% - (var(--gutter) * 2));
    --section-space: 56px;
    --h1: clamp(2.6rem, 12vw, 3.8rem);
    --h2: clamp(2rem, 9.5vw, 2.9rem);
    --text-support: 1rem;
  }
  .site-header { grid-template-columns: 1fr; gap: var(--space-2); min-height: 68px; padding-block: 12px; padding-inline: var(--gutter); }
  .brand { min-width: 0; }
  .brand img { width: min(135px, 100%); }
  .header-actions { width: 100%; justify-content: space-between; }
  .client-access { font-size: .78rem; }
  .header-cta { min-height: 40px; padding: 0 14px; font-size: .75rem; white-space: nowrap; }
  .hero { gap: var(--space-6); }
  .kicker { margin-bottom: var(--space-2); font-size: .74rem; }
  h1, h2 { margin-bottom: var(--space-4); }
  .button { width: 100%; min-height: 52px; padding: 0 20px; }
  .screen-frame { box-shadow: 10px 10px 0 var(--orange); }
  .action-list { gap: 8px; }
  .problem-answer br { display: none; }
  .operation-flow { align-items: stretch; flex-direction: column; }
  .operation-flow i { transform: rotate(90deg); text-align: center; }
  .operation-flow span { padding: 12px; background: var(--soft); text-align: center; }
  .data-grid, .offer-grid { grid-template-columns: 1fr; }
  .data-grid .screen-card { aspect-ratio: 1.4; }
  .screen-card-main, .screen-stack .screen-card { min-height: 240px; }
  .strategy-flow { align-items: flex-start; flex-direction: column; }
  .strategy-flow i { transform: rotate(90deg); margin-left: 20px; }
  .gallery-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .gallery-tabs button { flex: 0 0 auto; }
  .offer-grid article { min-height: 220px; padding: var(--space-4); }
  .closing { padding-inline: var(--gutter); }
  footer { align-items: flex-start; flex-direction: column; padding: 22px 16px; }
}

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