:root {
  color-scheme: light;
  --night: #0b1528;
  --night-deep: #08101f;
  --white: #f6f9ff;
  --muted-dark: #bac7dd;
  --ink: #111c2e;
  --muted: #4f5e72;
  --paper: #f3f6fb;
  --line: #dce4f0;
  --accent: #b4effa;
  --max: 1216px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 750; letter-spacing: -.068em; line-height: 1.02; }
em { font-style: normal; }
:focus-visible { outline: 3px solid #3681f7; outline-offset: 5px; }
.skip { position: fixed; left: 12px; top: 10px; z-index: 10; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(var(--max), calc(100% - 84px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 5; color: var(--white); background: #0b1528f5; border-bottom: 1px solid #8bacd52c; backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 136px; height: auto; }
.nav nav, .footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 42px); font-size: .88rem; font-weight: 650; color: var(--muted-dark); }
.nav nav a:hover, .footer a:hover { color: white; }
.nav-cta { display: inline-flex; align-items: center; gap: 13px; border: 1px solid #6e91c171; border-radius: 100px; padding: 9px 16px; font-size: .87rem; font-weight: 720; white-space: nowrap; transition: border-color .2s ease, background .2s ease; }
.nav-cta:hover { background: #244266; border-color: #9fd8f5; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--white); padding: 66px 0 0; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero::before { background: radial-gradient(ellipse at 84% 33%, #254b82 0%, #172742 30%, transparent 59%), radial-gradient(ellipse at 65% 93%, #231d41 0%, transparent 55%); }
.hero::after { opacity: .36; background-image: linear-gradient(90deg, #b7d1ff1e 1px, transparent 1px), linear-gradient(#b7d1ff1e 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 35%, black, transparent 63%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 760; text-transform: uppercase; letter-spacing: .135em; line-height: 1.5; color: #2b5894; }
.hero .eyebrow, .price-box .eyebrow { color: var(--accent); }
.eyebrow span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px #b4effa75; }
.hero h1 { font-size: clamp(3.25rem, 5.3vw, 5.05rem); margin: 20px 0 24px; text-wrap: pretty; }
.hero h1 em { display: block; color: var(--accent); }
.intro { max-width: 475px; color: var(--muted-dark); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; }
.hero-actions, .price-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 10px; padding: 10px 17px; font-size: .9rem; font-weight: 750; transition: transform .23s ease, background .23s ease, border-color .23s ease; }
.button:hover { transform: translateY(-3px); }
.button.primary { background: #c5f2fb; color: #101c33; }
.button.primary:hover { background: white; }
.button.outline { border-color: #a5bce265; color: var(--white); }
.button.outline:hover { background: #9bc1fb23; border-color: #c7d8f4; }
.hero-figure { position: relative; min-width: 0; }
.hero-preview { position: relative; display: block; height: clamp(355px, 37.5vw, 525px); perspective: 1300px; isolation: isolate; }
.hero-halo { position: absolute; z-index: -1; inset: 15% 8% 12%; border-radius: 50%; background: radial-gradient(ellipse, #90cbff50, #4053ba19 52%, transparent 72%); filter: blur(24px); }
.hero-sheet { position: absolute; width: 49%; height: auto; border: 1px solid #a9d4eb88; box-shadow: 0 22px 72px #03091798, 0 4px 9px #050b13a8; border-radius: 5px; transition: transform .55s cubic-bezier(.2,.75,.2,1); animation: sheet-in .85s cubic-bezier(.2,.75,.2,1) backwards; }
.hero-sheet-front { top: 2%; left: 15%; transform: rotate(-11deg); --rest-angle: -11deg; }
.hero-sheet-back { top: 11%; left: 43%; transform: rotate(13deg); --rest-angle: 13deg; animation-delay: .09s; }
.hero-preview:hover .hero-sheet-front { transform: translate(-6px,-7px) rotate(-13deg); }
.hero-preview:hover .hero-sheet-back { transform: translate(7px,-4px) rotate(16deg); }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(26px) rotate(0); }
  to { opacity: 1; transform: rotate(var(--rest-angle)); }
}
.hero-open, .case-open { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; }
.arrow-ne { position: relative; display: inline-block; flex: 0 0 auto; width: .72em; height: .72em; }
.arrow-ne::before { content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: left center; }
.arrow-ne::after { content: ""; position: absolute; top: 0; right: 0; width: 58%; height: 58%; border-top: 1.5px solid; border-right: 1.5px solid; }
.hero-open { position: absolute; bottom: 6%; right: 8%; color: #14233a; background: #e7f7ff; box-shadow: 0 9px 24px #04102566; }
.hero-figure figcaption { position: relative; text-align: center; margin-top: -3px; color: var(--muted-dark); font-size: .83rem; }
.hero-figure figcaption span { margin-inline: 4px; }
.offer-strip { margin-top: 58px; border-top: 1px solid #a7c5f345; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.offer-strip div { min-height: 110px; display: flex; flex-direction: column; justify-content: center; padding: 19px clamp(10px, 2vw, 30px); border-right: 1px solid #a7c5f345; }
.offer-strip div:first-child { padding-left: 0; }
.offer-strip div:last-child { border-right: 0; }
.offer-strip strong { font-size: clamp(1.4rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -.05em; }
.offer-strip span { margin-top: 5px; color: var(--muted-dark); font-size: .86rem; }
.section { padding-block: clamp(68px, 8.5vw, 122px); }
.section h2 { font-size: clamp(2.6rem, 5.1vw, 4.9rem); }
.section-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 36px; margin-bottom: 36px; }
.section-head h2, .workflow h2, .price-box h2 { margin-top: 13px; }
.section-head > p, .workflow-copy > p:last-child { max-width: 415px; color: var(--muted); font-size: 1.03rem; line-height: 1.68; }
.cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.case { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 7px 25px #1937610c; }
.case-visual { display: grid; place-items: center; height: clamp(208px, 22vw, 307px); position: relative; isolation: isolate; overflow: hidden; background: var(--case-ink); }
.case-visual::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(112deg, var(--case-ink), transparent 94%); opacity: .52; }
.case-photo { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.case-cover { width: auto; height: 81%; border: 1px solid #ffffff78; border-radius: 3px; box-shadow: 0 15px 32px #06061294; transform: rotate(-7deg); transition: transform .45s cubic-bezier(.2,.75,.2,1); }
.case-visual:hover .case-photo { transform: scale(1.06); }
.case-visual:hover .case-cover { transform: translateY(-3px) rotate(-3deg) scale(1.04); }
.case-open { position: absolute; top: 13px; right: 13px; width: 34px; height: 34px; background: var(--case-accent); color: var(--case-ink); font-size: 1rem; }
.case-visual:focus-visible { outline-offset: -5px; outline-color: white; }
.case-body { display: flex; flex-direction: column; flex: 1; padding: clamp(17px, 2vw, 27px); }
.case-category { font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #375d90; }
.case h3 { margin-top: 5px; font-size: clamp(1.38rem, 2.8vw, 2.15rem); line-height: 1.12; letter-spacing: -.05em; }
.case-sponsor { font-size: .87rem; margin-top: 6px; color: var(--muted); }
.case-tagline { margin-top: 13px; margin-bottom: 15px; color: var(--muted); font-size: .93rem; }
.case-tags { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 19px; }
.case-tags li { padding: 3px 7px; border: 1px solid #dbe5f0; background: #f5f8fc; color: #35445b; font-size: .72rem; line-height: 1.45; border-radius: 5px; }
.case-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 15px; }
.case-actions a { font-weight: 760; font-size: .87rem; color: #184481; }
.case-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.workflow { border-block: 1px solid var(--line); background: white; }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 6vw, 92px); align-items: start; }
.workflow h2 { font-size: clamp(2.5rem, 4.7vw, 4.55rem); }
.workflow h2 em { color: #285d9b; }
.workflow-copy > p:last-child { margin-top: 22px; }
.steps { list-style: none; padding: 0; margin: 2px 0 0; }
.steps li { display: grid; grid-template-columns: 47px 1fr; align-items: start; gap: 16px; padding: 23px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #d3e3f8; background: #edf5ff; color: #28578d; font-size: .75rem; font-weight: 780; border-radius: 50%; }
.steps h3 { font-size: 1.19rem; line-height: 1.3; letter-spacing: -.03em; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.price-box { overflow: hidden; position: relative; isolation: isolate; color: var(--white); background: var(--night); border-radius: 22px; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(20px, 5vw, 70px); padding: clamp(29px, 5.3vw, 75px); }
.price-box::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 95% 5%, #2d5182, transparent 66%); }
.price-box h2 { font-size: clamp(2.3rem, 4.55vw, 4.7rem); }
.price-copy > p:not(.eyebrow) { max-width: 460px; color: var(--muted-dark); margin-top: 15px; }
.price-detail { border: 1px solid #acc7f154; background: #c2d5ff12; padding: clamp(18px, 3vw, 35px); border-radius: 15px; }
.price-detail h3 { margin: 0 0 14px; font-size: 1.35rem; }
.price-detail ul { padding: 0; margin: 0; list-style: none; }
.price-detail li { position: relative; padding: 10px 0 10px 23px; border-top: 1px solid #aac6ef40; color: #edf3ff; font-size: .9rem; }
.price-detail li::before { content: "✓"; position: absolute; left: 1px; color: var(--accent); }
.footer { background: var(--night-deep); color: var(--white); }
.footer-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.viewer { border: 1px solid #8fabc85c; color: var(--white); background: #121e33; border-radius: 17px; width: min(720px,calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; box-shadow: 0 24px 100px #020615bc; overflow: auto; }
.viewer::backdrop { background: #061021cc; backdrop-filter: blur(9px); }
.viewer[open] { animation: viewer-in .25s ease-out both; }
@keyframes viewer-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.viewer-head, .viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; }
.viewer-head h2 { font-size: clamp(1.28rem, 3.4vw, 1.8rem); margin-top: 3px; letter-spacing: -.045em; }
.viewer .eyebrow { color: var(--accent); font-size: .62rem; }
.viewer button { display: grid; place-items: center; border: 1px solid #9dbce369; color: var(--white); background: #d5e2f414; cursor: pointer; height: 37px; width: 37px; border-radius: 8px; font-size: 1.12rem; padding: 0; }
.viewer button:hover:enabled { background: #d5e2f435; }
.viewer button:disabled { opacity: .35; cursor: default; }
.viewer-page { background: #07101f; display: grid; place-items: center; padding: 10px; }
.viewer-page img { display: block; height: min(67dvh, 740px); width: auto; object-fit: contain; border-radius: 3px; }
.viewer-pages { display: flex; align-items: center; gap: 8px; }
.viewer-count { font-size: .79rem; min-width: 48px; text-align: center; color: var(--muted-dark); }
.viewer-download { color: var(--accent); font-size: .88rem; font-weight: 740; }
.viewer-download:hover { text-decoration: underline; text-underline-offset: 4px; }
.motion [data-reveal] { opacity: .42; transform: translateY(18px); transition: transform .65s cubic-bezier(.2,.75,.2,1), opacity .65s ease; }
.motion [data-reveal].shown { opacity: 1; transform: none; }
@media (min-width: 801px) {
  .cases article:nth-child(2), .steps li:nth-child(2) { transition-delay: .07s; }
  .cases article:nth-child(3), .steps li:nth-child(3) { transition-delay: .14s; }
}
@media (max-width: 990px) {
  .wrap { width: calc(100% - 56px); }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(3rem, 6.4vw, 4.8rem); }
  .hero-preview { height: clamp(290px, 39vw, 420px); }
  .case-visual { height: clamp(170px, 23vw, 255px); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 38px); }
  .nav { min-height: 63px; }
  .brand img { width: 112px; }
  .nav nav { display: none; }
  .nav-cta { padding: 7px 12px; }
  .hero { padding-top: 42px; }
  .hero-grid, .section-head, .workflow-grid, .price-box { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.4rem, 9.6vw, 4.6rem); margin-top: 14px; max-width: 630px; }
  .hero-grid { gap: 35px; }
  .hero-preview { width: min(100%, 490px); height: auto; aspect-ratio: 1.13; margin-inline: auto; }
  .hero-sheet { width: 51%; }
  .hero-sheet-front { left: 14%; }
  .hero-sheet-back { left: 41%; }
  .hero-figure figcaption { margin-top: 6px; }
  .offer-strip { margin-top: 29px; }
  .offer-strip div { min-height: 104px; }
  .offer-strip span { font-size: .73rem; line-height: 1.42; }
  .section-head { gap: 14px; margin-bottom: 24px; }
  .cases { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .case-visual { height: clamp(183px, 30vw, 260px); }
  .case h3 { font-size: clamp(1.4rem,4.4vw,2rem); }
  .workflow-grid { gap: 27px; }
  .footer-inner { padding-block: 23px; }
  .footer nav { gap: 8px 15px; justify-content: flex-end; }
}
@media (max-width: 490px) {
  .hero-actions, .price-actions { gap: 8px; }
  .button { padding-inline: 12px; gap: 8px; }
  .cases { grid-template-columns: 1fr; }
  .case-visual { height: clamp(210px, 62vw, 300px); }
  .case-body { padding: 19px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.offer-strip .free-highlight strong { color: #b9f4e2; }
.price-box h2 em { color: #b9f4e2; font-style: normal; }
.price-box::before { background: radial-gradient(ellipse at 95% 5%, #37315a, transparent 72%); }
.price-actions .primary { color: #122e2a; background: #b9f4e2; }
.price-actions .primary:hover { background: #e0fff5; }
