/* web.inream.com — marketing page. */

:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --soft: #f3f1ec;
  --ink: #0d1424;
  --ink-2: #3b4456;
  --muted: #6b7385;
  --line: #e6e2d9;
  --green: #16a34a;
  --green-2: #22c55e;
  --teal: #2dd4bf;
  --navy: #0c1222;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
section { scroll-margin-top: 72px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 12px; border: 1.5px solid transparent; font: 700 15px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--green-2)); color: #03201c; box-shadow: 0 8px 22px rgba(34, 197, 94, 0.28); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(34, 197, 94, 0.36); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9c3b6; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 247, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -0.01em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 200deg, var(--teal), var(--green-2), #fbbf24, var(--teal)); }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 12px 0 56px; background: radial-gradient(900px 520px at 85% 0%, #dcfce7 0%, transparent 60%), radial-gradient(700px 420px at 0% 70%, #fef3c7 0%, transparent 60%); }
.hero-stack { display: flex; flex-direction: column; align-items: center; }
.hero-offer { text-align: center; margin: 14px 0 16px; }
h1 { margin: 0 auto 6px; max-width: 30ch; font-size: clamp(34px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--green); }
.lead { margin: 0 auto 14px; font-size: 18px; color: var(--ink-2); max-width: 64em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-actions .btn-lg { min-height: 48px; padding: 12px 22px; }

/* Hero stage: "You" and "AI" build a small site together. Sizes in cqw so it scales as one picture. */
.ws { width: min(700px, 100%); }
.ws-window { container-type: inline-size; aspect-ratio: 12 / 5; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 34px 80px -30px rgba(13, 20, 36, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.6); }
.ws-chrome { flex: none; display: flex; align-items: center; gap: 0.9cqw; height: 5.4cqw; padding: 0 2cqw; background: var(--soft); border-bottom: 1px solid var(--line); }
.ws-chrome i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #d9d3c7; }
.ws-url { margin-left: 2cqw; padding: 0.45cqw 2cqw; border-radius: 99px; background: var(--paper); font: 600 max(10px, 1.45cqw)/1 var(--sans); color: var(--muted); }
.ws-view { --accent: #0284c7; --accent-2: #075985; --accent-soft: #e0f2fe; --sun: #7dd3fc; --you: #7c3aed; --ai: #16a34a; position: relative; flex: 1; overflow: hidden; font-family: var(--sans); color: var(--ink); }
.ws-view.is-colored, .ws-view.is-final { --accent: #e9873a; --accent-2: #9a3f12; --accent-soft: #fdecdc; --sun: #fbbf24; }
.ws-view > * { position: absolute; }
.ws-view .ws-logo, .ws-view .ws-nav, .ws-view .ws-panel, .ws-view .ws-title, .ws-view .ws-btn, .ws-view .ws-img, .ws-view .ws-tag, .ws-view .ws-swatches { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), background-color .8s ease, color .8s ease, outline-color .25s ease, box-shadow .3s ease; }
.ws-view .ws-img *, .ws-view .ws-card b, .ws-view .ws-title em { transition: fill .8s ease, background-color .8s ease, color .8s ease; }
.ws-logo { left: 4%; top: 5.5%; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: var(--accent); }
.ws-nav { right: 4%; top: 6%; display: flex; gap: 2.4cqw; }
.ws-nav i { font: 600 max(9px, 1.35cqw)/1 var(--sans); font-style: normal; color: var(--ink-2); }
.ws-panel { left: 3%; top: 17%; width: 94%; height: 51%; border-radius: 1.6cqw; background: var(--accent-soft); }
.ws-title { left: 7%; top: 23%; font: 800 3.4cqw/1.1 var(--sans); letter-spacing: -0.03em; white-space: nowrap; }
.ws-title em { font: italic 400 3.9cqw/1 var(--serif); letter-spacing: 0; color: var(--accent-2); }
.ws-ink { inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ws-stroke { opacity: 1; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke .8s ease; }
.ws-btn { left: 7%; top: 54.5%; height: 9.5%; padding: 0 2.4cqw; display: flex; align-items: center; border-radius: 99px; background: var(--accent); color: #fff; font: 700 max(10px, 1.55cqw)/1 var(--sans); white-space: nowrap; }
.ws-img { left: 52%; top: 21%; width: 41%; height: 43%; border-radius: 1.4cqw; overflow: hidden; background: var(--accent); }
.ws-img svg { width: 100%; height: 100%; display: block; }
.ws-sun { fill: var(--sun); }
.ws-hill1 { fill: rgba(255, 255, 255, 0.35); }
.ws-hill2 { fill: var(--accent-2); }
.ws-swatches { left: 54%; top: 50%; z-index: 3; display: flex; gap: 1cqw; padding: 0.9cqw; border-radius: 99px; background: var(--paper); box-shadow: 0 6px 18px rgba(13, 20, 36, 0.22); opacity: 0; transform: translateY(10%) scale(.9); }
.ws-swatches i { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: var(--c); }
.ws-swatches i[data-ws-pick] { box-shadow: 0 0 0 0.35cqw #fff, 0 0 0 0.65cqw var(--c); }
.ws-card { --slot: 0; left: calc(3% + var(--slot) * 32.2%); top: 74%; width: 29.6%; height: 21%; display: flex; align-items: center; gap: 1.3cqw; padding: 0 1.3cqw; border-radius: 1.3cqw; background: var(--paper); border: 1px solid var(--line); }
.ws-view .ws-card { transition-property: opacity, transform, left, top, box-shadow, outline-color; transition-duration: .5s, .5s, .7s, .7s, .3s, .25s; transition-timing-function: ease, cubic-bezier(.2,.8,.2,1), cubic-bezier(.45,0,.25,1), cubic-bezier(.45,0,.25,1), ease, ease; }
.ws-card b { flex: none; width: 5.4cqw; height: 5.4cqw; border-radius: 1cqw; background: var(--accent); }
.ws-card[data-ws-card="1"] b { background: var(--sun); }
.ws-card[data-ws-card="2"] b { background: var(--accent-2); }
.ws-card > span { flex: 1; display: grid; gap: 0.9cqw; }
.ws-card i { display: block; height: 1.1cqw; border-radius: 1cqw; background: var(--ink); opacity: .8; width: 70%; }
.ws-card i + i { background: #d9d3c7; opacity: 1; width: 48%; }
.ws-card.is-lifted { z-index: 2; box-shadow: 0 16px 30px -10px rgba(13, 20, 36, 0.4); transform: rotate(-2deg) scale(1.05); }
.ws-tags { right: 8.5%; top: 24%; display: flex; flex-direction: column; align-items: flex-end; gap: 1cqw; }
.ws-tag { display: inline-flex; align-items: center; gap: 0.8cqw; padding: 0.8cqw 1.6cqw; border-radius: 99px; background: var(--navy); color: #fff; font: 700 max(10px, 1.6cqw)/1 var(--sans); box-shadow: 0 0 0 0.5cqw rgba(34, 197, 94, 0.3), 0 8px 18px -6px rgba(13, 20, 36, 0.45); }
.ws-tag::before { content: "✓"; color: #4ade80; }
/* Selection outline in the colour of whoever is working on the block. */
[data-ws-sel] { outline: 2px solid transparent; outline-offset: 0.5cqw; }
[data-ws-sel="ai"] { outline-color: var(--ai); }
[data-ws-sel="you"] { outline-color: var(--you); }
/* Figma-style cursors. */
.ws-cursor { left: 0; top: 0; z-index: 5; display: flex; align-items: flex-start; pointer-events: none; transition: left .7s cubic-bezier(.45,0,.25,1), top .7s cubic-bezier(.45,0,.25,1); }
.ws-cursor svg { width: 3cqw; min-width: 17px; height: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); transition: transform .15s ease; transform-origin: 6% 6%; }
.ws-cursor path { stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.ws-cursor b { margin: 2.6cqw 0 0 -0.6cqw; padding: 0.6cqw 1.4cqw; border-radius: 99px 99px 99px 0.4cqw; color: #fff; font: 700 max(11px, 1.8cqw)/1.15 var(--sans); white-space: nowrap; box-shadow: 0 4px 10px -2px rgba(13, 20, 36, 0.3); }
.ws-ai path { fill: var(--ai); } .ws-ai b { background: var(--ai); }
.ws-you path { fill: var(--you); } .ws-you b { background: var(--you); }
.ws-cursor.is-down svg { transform: scale(.8); }
/* Hidden states (the default, no-JS and reduced-motion picture is the finished site). */
.ws-view:not(.is-final):not(.s-head) :is(.ws-logo, .ws-nav, .ws-panel, .ws-title) { opacity: 0; transform: translateY(12%); }
.ws-view:not(.is-final):not(.s-head) .ws-panel { transform: scaleY(.85); }
.ws-view:not(.is-final):not(.s-btn) .ws-btn { opacity: 0; transform: translateY(30%); }
.ws-view:not(.is-final):not(.s-img) .ws-img { opacity: 0; transform: scale(.9); }
.ws-view:not(.is-final):not(.s-cards) .ws-card { opacity: 0; transform: translateY(24%); }
.ws-view:not(.is-final):not(.s-line-a) .ws-stroke-a, .ws-view:not(.is-final):not(.s-line-b) .ws-stroke-b { stroke-dashoffset: 1; opacity: 0; }
.ws-view:not(.is-final):not(.s-tags) .ws-tag { opacity: 0; transform: translateY(-30%) scale(.9); }
.ws-view.s-tags .ws-tag + .ws-tag { transition-delay: .25s; }
.ws-view.s-swatch .ws-swatches { opacity: 1; transform: none; }
.ws-view.s-line-a .ws-stroke-a, .ws-view.s-line-b .ws-stroke-b { transition: stroke-dashoffset .9s linear, stroke .8s ease; }
.ws-view.is-out > :not(.ws-cursor) { opacity: 0 !important; transition: opacity .5s ease !important; }
.ws-view.is-instant, .ws-view.is-instant * { transition: none !important; }
.ws-view.is-final .ws-cursor { transition: none; }
.ws-view.is-final .ws-ai { left: 32%; top: 44%; }
.ws-view.is-final .ws-you { left: 66%; top: 56%; }
.ws-view.is-final .ws-card[data-ws-card="0"] { --slot: 1; }
.ws-view.is-final .ws-card[data-ws-card="1"] { --slot: 2; }
.ws-view.is-final .ws-card[data-ws-card="2"] { --slot: 0; }

/* Growth calculator */
.calc { width: min(1040px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -30px rgba(13, 20, 36, 0.35); }
@media (min-width: 961px) {
  .calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "chart head" "chart result" "chart sliders" "note note"; column-gap: 34px; align-items: start; padding: 24px 28px 18px; }
  .calc-head { grid-area: head; } .calc-result { grid-area: result; } .sliders { grid-area: sliders; }
  .chart { grid-area: chart; margin: 0; }
  .calc-note { grid-area: note; }
}
.calc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.calc-head h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { appearance: none; border: 0; background: transparent; border-radius: 999px; padding: 7px 12px; font: 700 13px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; }
.seg button:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.calc-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc-gain strong { display: block; font-size: clamp(36px, 4.4vw, 48px); line-height: 1; letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.calc-gain span { font-size: 14px; color: var(--muted); font-weight: 600; }
.calc-payback { font-size: 13.5px; font-weight: 700; color: #065f46; background: #dcfce7; border-radius: 999px; padding: 6px 12px; }
.calc-payback:empty { display: none; }
.chart { margin: 12px 0 6px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart svg text { font: 600 11px var(--sans); fill: var(--muted); }
.chart [data-line], .chart [data-area], .chart [data-base], .chart [data-dot] { transition: d .45s ease, cx .45s ease, cy .45s ease; }
.chart [data-area] { transform-box: fill-box; transform-origin: 50% 100%; }
.chart-legend { display: flex; gap: 18px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.chart-legend span::before { content: ""; display: inline-block; width: 18px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 3px solid var(--green); }
.chart-legend .lg-now::before { border-top: 3px dashed #94a3b8; }
.sliders { display: grid; gap: 10px; margin-top: 14px; }
.slider span { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.slider b { color: var(--ink); font-variant-numeric: tabular-nums; }
.slider input { width: 100%; margin: 6px 0 0; accent-color: var(--green); height: 24px; cursor: pointer; }
.calc-note { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }

/* Sections */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #e8edf5; }
.h2 { margin: 0 0 34px; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; max-width: 22ch; }
.h2.center { margin-inline: auto; }
.sub { margin: -16px 0 0; font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.section-dark .sub { color: #aeb8c9; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 22px; counter-increment: step; }
.step h3 { margin: 16px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.step h3::before { content: counter(step) ". "; color: var(--green); }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.step-art { height: 150px; border-radius: 14px; background: var(--soft); position: relative; overflow: hidden; display: grid; place-items: center; }
.step-art.art-preview { display: block; padding: 14px; }
.art-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.art-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d0c4; }
.art-hero { display: block; width: 100%; height: 56px; border-radius: 10px; background: linear-gradient(120deg, #a78bfa, #f472b6, #fbbf24); margin-bottom: 10px; animation: shimmer 4s ease-in-out infinite alternate; background-size: 200% 100%; }
.art-lines i { display: block; height: 8px; border-radius: 4px; background: #e2ddd2; margin-bottom: 7px; }
.art-lines i:nth-child(2) { width: 80%; } .art-lines i:nth-child(3) { width: 55%; }
@keyframes shimmer { to { background-position: 100% 0; } }
.art-style { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; align-content: center; }
.art-style .dot { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.d1 { background: #6555c2; } .d2 { background: #b4532a; } .d3 { background: #121016; box-shadow: 0 0 0 2px var(--ink), 0 4px 12px rgba(0,0,0,.12) !important; }
.art-cta { flex-basis: 100%; text-align: center; }
.art-cta { display: inline-block; flex-basis: auto; margin-top: 6px; padding: 8px 14px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--green-2)); font-size: 13px; font-weight: 800; color: #03201c; }
.art-dns { display: flex; flex-direction: column; gap: 10px; }
.art-dns code { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--navy); color: #a7f3d0; padding: 10px 12px; border-radius: 10px; }
.art-ok { font-size: 13px; font-weight: 800; color: var(--green); }

/* Visibility */
.vis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.section-dark .h2 { color: #fff; }
.vis-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vis-list li { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 16px 18px; color: #c4cddb; font-size: 15.5px; }
.vis-list b { color: #fff; display: block; margin-bottom: 2px; }
.vis-list .vis-growth { border-color: rgba(45, 212, 191, 0.4); background: rgba(45, 212, 191, 0.08); }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; }
.case-num { margin: 0; font-family: var(--serif); font-size: 84px; line-height: 0.9; color: var(--green); }
.case-what { margin: 6px 0 12px; font-weight: 800; font-size: 17px; }
.case p:not(.case-num):not(.case-what) { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
.case a { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--green); text-decoration: none; }
.cases-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

/* Calculator CTA */
.calc-cta { margin: 18px 0 0; text-align: center; font-weight: 700; }
.calc-cta a { color: var(--green); text-decoration: none; border-bottom: 2px solid rgba(22, 163, 74, .3); }
.calc-cta a:hover { border-color: var(--green); }

/* Step 3 art */
.art-dns { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.art-url { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14px; box-shadow: 0 6px 18px rgba(13, 20, 36, .08); }
.art-lock { font-size: 12px; }
.art-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.art-chips span { font-size: 12px; font-weight: 800; color: #065f46; background: #dcfce7; border-radius: 999px; padding: 4px 9px; }

/* Visibility v2 */
.vis-grid { align-items: center; }
.vis-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.vis-points li { position: relative; padding-left: 34px; color: #c4cddb; font-size: 16px; }
.vis-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(45, 212, 191, .18); color: var(--teal); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.vis-points b { color: #fff; display: block; }
.vis-growth { margin: 22px 0 0; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(45, 212, 191, .4); background: rgba(45, 212, 191, .08); color: #c4cddb; font-size: 15px; }
.ai-demo { margin: 0; background: #fff; color: var(--ink); border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); position: relative; }
.ai-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--teal), var(--green-2), #fbbf24, var(--teal)); }
.ai-q { margin: 0 0 12px auto; max-width: 80%; width: fit-content; background: var(--soft); border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 15px; font-weight: 600; }
.ai-a { position: relative; min-height: 122px; }
.ai-typing { position: absolute; left: 0; top: 4px; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: ai-bounce 1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; } .ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.ai-text { margin: 0 0 10px; font-size: 15.5px; line-height: 1.55; }
.ai-text b { background: linear-gradient(transparent 60%, rgba(34, 197, 94, .28) 0); }
.ai-src { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #065f46; background: #dcfce7; border-radius: 999px; padding: 5px 10px; }
.ai-src::before { content: "↗"; }
.ai-demo figcaption { position: absolute; right: 16px; top: 16px; font-size: 11px; font-weight: 700; color: #9aa3b2; letter-spacing: .04em; text-transform: uppercase; }
.ai-demo .ai-text, .ai-demo .ai-src { opacity: 1; }
.ai-demo .ai-typing { opacity: 0; }
.ai-demo.play .ai-typing { animation: ai-show 6s infinite; }
.ai-demo.play .ai-text, .ai-demo.play .ai-src { animation: ai-answer 6s infinite; }
@keyframes ai-show { 0%, 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes ai-answer { 0%, 26% { opacity: 0; transform: translateY(6px); } 34%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ai-demo.play .ai-typing, .ai-demo.play .ai-text, .ai-demo.play .ai-src { animation: none; } }

/* Cases v2 */
.cases { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { padding: 0; overflow: hidden; }
.case-shot { position: relative; background: #0b0f1a; aspect-ratio: 900 / 600; overflow: hidden; }
.case-shot img { display: block; width: 100%; height: auto; }
.case-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; background: #1b2133; }
.case-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a4257; }
.case-bar em { margin-left: 10px; font: 600 11.5px var(--sans); font-style: normal; color: #9aa3b2; }
.case-art { background: linear-gradient(160deg, #eef4ff, #f6f0ff); }
.case-art .case-bar { background: #e3e8f4; } .case-art .case-bar i { background: #c3cadb; } .case-art .case-bar em { color: #6b7385; }
.la { position: absolute; inset: 30px 0 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 12%; }
.la-b { width: fit-content; max-width: 75%; padding: 10px 16px; border-radius: 18px; font-weight: 700; font-size: clamp(14px, 1.6vw, 18px); box-shadow: 0 6px 18px rgba(13, 20, 36, .08); }
.la-1 { background: #fff; border-radius: 18px 18px 18px 4px; }
.la-2 { align-self: flex-end; background: #4f6ef7; color: #fff; border-radius: 18px 18px 4px 18px; }
.la-3 { background: #fff; border-radius: 18px 18px 18px 4px; }
.la-btn { align-self: center; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: #4f6ef7; color: #fff; font-weight: 800; font-size: 14px; }
.case-body { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-nums { display: grid; gap: 10px; }
.case-nums p { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.case-nums strong { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--green); min-width: 2.1ch; }
.case-nums span { font-weight: 700; font-size: 16px; color: var(--ink); }
.case a { margin-top: auto; }
.cases-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }

@media (max-width: 860px) {
  .cases { grid-template-columns: 1fr; }
}

/* Pricing */
#pricing .irw-period-toggle { display: flex; width: max-content; margin: -14px auto 30px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--green); box-shadow: 0 24px 60px -24px rgba(22, 163, 74, 0.4); }
.price-badge { position: absolute; top: -13px; left: 24px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.price-card h3 { margin: 0 0 4px; font-size: 20px; }
.price-tag { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.price-figure { display: flex; align-items: baseline; gap: 6px; }
.price-figure strong { font-size: 44px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-figure span { color: var(--muted); font-weight: 600; }
.price-sub { margin: 2px 0 18px; font-size: 13.5px; color: var(--muted); }
.price-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.price-list li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.price-card .btn { margin-top: auto; }

/* Free preview form */
.preview-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--navy); color: #fff; border-radius: 28px; padding: 44px; }
.preview-box .h2 { color: #fff; margin-bottom: 26px; }
.preview-box .sub { color: #aeb8c9; }
.preview-form { display: grid; gap: 12px; }
.preview-form label span { display: block; font-size: 13px; font-weight: 700; color: #c4cddb; margin-bottom: 5px; }
.preview-form input { width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; padding: 12px 14px; font: 500 16px var(--sans); }
.preview-form input::placeholder { color: #7d889b; }
.preview-form input:focus { outline: none; border-color: var(--teal); }
.form-done { margin: 0; font-weight: 700; color: #86efac; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 2px 20px; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 28px 16px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--green); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 16px; color: var(--ink-2); }

.site-footer { padding: 30px 0 40px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding: 14px 0 56px; }
  .vis-grid, .preview-box { grid-template-columns: 1fr; gap: 30px; }
  .steps, .cases, .pricing-grid { grid-template-columns: 1fr; }
  .preview-box { padding: 28px 22px; }
  .hero-offer { margin: 16px 0 20px; }
  .chart svg text { font-size: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .lead { font-size: 16px; margin-bottom: 16px; }
  .hero-offer { margin: 16px 0 20px; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 48px; padding: 12px 12px; font-size: 15px; }
  .hero-actions .btn-primary { flex-grow: 1.6; }
  /* Phones: the chart right after the headline number; plan switch below it. */
  .calc { display: flex; flex-direction: column; }
  .calc-head { display: contents; }
  .calc-head h2 { order: 1; margin-bottom: 8px; }
  .calc-result { order: 2; }
  .chart { order: 3; }
  .seg { order: 4; margin-top: 8px; }
  .sliders { order: 5; }
  .calc-note { order: 6; }
  .ws-window { aspect-ratio: 16 / 11; border-radius: 14px; }
  .ws-title { font-size: 4.6cqw; top: 22%; }
  .ws-title em { font-size: 5.2cqw; }
  .ws-btn { font-size: max(10px, 2.6cqw); top: 53%; }
  .ws-nav i { font-size: max(9px, 2.2cqw); }
  .ws-cursor b { font-size: max(11px, 2.8cqw); }
  .ws-card b { width: 6.5cqw; height: 6.5cqw; }
  .calc { padding: 16px 14px 14px; border-radius: 20px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 6px; font-size: 12.5px; }
  .section { padding: 60px 0; }
  .case-num { font-size: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chart [data-line], .chart [data-area], .chart [data-base], .chart [data-dot] { transition: none; }
  .art-hero { animation: none; }
}

/* Demo touch (same as skills/inream-web-builder/demo-touch.html) */
  .demo-touch { position: fixed; left: 0; top: 0; z-index: 45; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255,255,255,0.88); box-shadow: 0 0 0 2px rgba(20,20,20,0.55), 0 6px 18px rgba(0,0,0,0.35); pointer-events: none; opacity: 0; transition: left .6s cubic-bezier(.4,0,.2,1), top .6s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .15s ease; }
  .demo-touch.on { opacity: 1; }
  .demo-touch.fast { transition: opacity .3s ease, transform .15s ease; }
  .demo-touch.tap { transform: scale(0.78); }
  .demo-touch::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.95); opacity: 0; }
  .demo-touch.tap::after { animation: demo-ripple .55s ease-out; }
  @keyframes demo-ripple { from { opacity: 1; transform: scale(0.6); } to { opacity: 0; transform: scale(2.3); } }
