:root {
  color-scheme: light;
  --ink: #19213b;
  --muted: #48506a;
  --accent: #4e30a6;
  --accent-hover: #3a2381;
  --canvas: #f8f6fc;
  --line: #dfd9ec;
  --font: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1.125rem/1.5 var(--font); }
a { color: inherit; }
:focus-visible { outline: 3px solid #653cd0; outline-offset: 5px; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(75rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; transform: translateY(-160%); padding: .7rem; background: white; }
.skip:focus { transform: none; }

.site-header { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1.16; }
.brand strong { font-size: 1.12rem; font-weight: 800; letter-spacing: .03em; }
.brand-product { display: block; color: var(--muted); font-size: .875rem; margin-top: .2rem; }
.brand-mark { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .22rem; width: 2.65rem; height: 2.65rem; padding-left: .64rem; border-radius: .8rem; background: var(--accent); }
.brand-mark i { display: block; width: 1.32rem; height: .16rem; background: #fff; border-radius: .25rem; }
.brand-mark i:nth-child(2) { width: 1.06rem; }
.brand-mark i:nth-child(3) { width: .8rem; }
.site-header nav { display: flex; align-items: center; gap: 1.9rem; font-size: 1rem; font-weight: 650; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 3rem; text-decoration: none; }
.nav-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.nav-pilot { border: 1px solid #c7b8e2; border-radius: .7rem; padding-inline: 1.2rem; color: var(--accent); }
.nav-pilot:hover { background: #efe9ff; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.6rem, 5vw, 4.7rem) 3.7rem; }
.hero-copy { padding-bottom: .35rem; }
.audience { font-size: .98rem; line-height: 1.4; color: #4d328d; font-weight: 720; margin-bottom: 1rem; }
h1 { font-size: clamp(2.9rem, 4.25vw, 4.2rem); font-weight: 780; line-height: 1.04; letter-spacing: -.06em; }
h1 span { color: var(--accent); }
.keep-together { white-space: nowrap; }
.lead { max-width: 31rem; color: var(--muted); font-size: clamp(1.14rem, 1.65vw, 1.38rem); line-height: 1.55; margin-block: 1.25rem 1.65rem; }
.button { font-weight: 720; text-decoration: none; min-height: 3.6rem; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.55rem; line-height: 1.2; border-radius: .78rem; }
.button-primary { color: white; background: var(--accent); box-shadow: 0 .7rem 1.4rem #4e30a62b; }
.button-primary:hover { background: var(--accent-hover); }
.contact-label { color: var(--muted); font-size: .94rem; margin-left: .85rem; white-space: nowrap; }
.hero-visual { position: relative; background: #e5dff1; border: 1px solid #ede7f3; border-radius: 1.55rem; overflow: hidden; isolation: isolate; box-shadow: 0 1.25rem 3.1rem #29234024; }
.hero-visual img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center 46%; }
.result-card { position: absolute; bottom: .95rem; left: .95rem; display: flex; align-items: center; gap: .75rem; background: #fff; padding: .78rem .95rem; margin-right: .95rem; border-radius: .9rem; box-shadow: 0 .4rem 1.6rem #24223b35; }
.result-card strong, .result-card div > span { display: block; }
.result-card strong { font-size: 1rem; line-height: 1.25; }
.result-card div > span { color: var(--muted); font-size: .875rem; margin-top: .25rem; }
.result-icon { flex: 0 0 2.45rem; width: 2.45rem; height: 2.45rem; display: grid; align-content: center; gap: .22rem; padding-inline: .6rem; background: #eee8fb; border-radius: .62rem; }
.result-icon i { height: .12rem; border-radius: .2rem; background: #5f3bb3; }
.result-icon i:last-child { width: 68%; }

.workflow { padding-block: 2rem 2.85rem; scroll-margin-top: 1rem; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); letter-spacing: -.038em; line-height: 1.15; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.15rem 1.3rem; }
.steps h3 { font-size: 1.22rem; line-height: 1.25; }
.steps p { font-size: 1.06rem; margin-top: .55rem; color: var(--muted); }
.pilot-wrap { padding-bottom: 1.6rem; }
.pilot { display: flex; justify-content: space-between; align-items: center; column-gap: 1.4rem; row-gap: 1rem; padding: clamp(1.35rem, 3vw, 2.5rem); background: #282047; color: #fff; border-radius: 1.3rem; }
.pilot p { margin-top: .6rem; color: #e6dff7; font-size: 1.07rem; }
.button-light { background: #fff; color: #352467; flex: 0 0 auto; }
.button-light:hover { background: #eadfff; }
.pilot .button:focus-visible { outline-color: #d2bfff; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding-block: .9rem 1.7rem; color: var(--muted); font-size: .95rem; }
.site-footer a { color: var(--ink); font-weight: 750; text-underline-offset: .2em; }
.demo-page { max-width: 50rem; padding-block: clamp(2rem, 5vw, 4rem) 2.4rem; }
.demo-requirements { color: var(--muted); margin-block: .7rem 2rem; }
.demo-instructions { margin-block: 1rem 1.3rem; padding-inline-start: 1.6rem; }
.demo-instructions li + li { margin-top: .7rem; }
.demo-note { color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: .9rem 1rem; }
.button-secondary { color: var(--accent); background: #fff; border: 1px solid #c7b8e2; }
.button-secondary:hover { background: #f2edff; }
.guide-nav { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; margin-bottom: 1.4rem; }
.guide-nav a { display: inline-flex; align-items: center; min-height: 3rem; color: var(--accent); font-weight: 650; text-underline-offset: .2em; }
.demo-guide { display: grid; gap: 1rem; }
.demo-guide section { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.2rem, 4vw, 2rem); scroll-margin-top: 1rem; }
.demo-guide h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.demo-guide p { overflow-wrap: break-word; }
.demo-guide .demo-note { background: var(--canvas); }
.guide-details { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .25rem; }
.guide-details summary { cursor: pointer; color: var(--accent); font-weight: 700; min-height: 3rem; padding-block: .7rem; }
.guide-details p + p { margin-top: .8rem; }
.guide-folder { background: var(--canvas); border-radius: .8rem; margin: .85rem 0; padding: 1rem; }
.guide-folder figcaption { font-weight: 750; }
.guide-folder ul { list-style: none; margin: .3rem 0 0; padding-inline-start: .65rem; overflow-wrap: anywhere; }
.guide-folder li { border-inline-start: 1px solid var(--line); padding: .15rem 0 .15rem .7rem; }
.guide-folder li span { display: block; color: var(--muted); }

@media (max-width: 67rem) {
  .wrap { width: min(70rem, calc(100% - 3rem)); }
  .desktop-break { display: none; }
}
@media (max-width: 55rem) {
  .hero { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2rem; }
  .hero-copy { max-width: 40rem; }
  .hero-visual img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.4rem; }
  .site-header nav { gap: .5rem; }
  .site-header nav .nav-link { display: none; }
  .nav-pilot { padding-inline: .9rem; }
  h1 { font-size: clamp(2.7rem, 10.8vw, 3.2rem); }
  .audience { font-size: .875rem; }
  .hero { gap: 1.45rem; }
  .hero-visual { border-radius: 1.12rem; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .result-card { bottom: .55rem; left: .55rem; margin-right: .55rem; padding: .6rem .68rem; gap: .55rem; }
  .result-card strong { font-size: .93rem; }
  .result-card div > span { font-size: .83rem; }
  .result-icon { flex-basis: 2.1rem; width: 2.1rem; height: 2.1rem; padding-inline: .5rem; }
  .pilot { flex-direction: column; align-items: stretch; }
  .pilot .button { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
