:root {
  --ink: #111617;
  --paper: #f4f1e9;
  --lime: #b8ff5a;
  --coral: #ff715b;
  --line: rgba(17, 22, 23, .14);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #090d0e; }
button, input { font: inherit; }
button { cursor: pointer; }
.demo-shell { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: var(--paper); color: var(--ink); }
.demo-site { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); transition: opacity 220ms ease, transform 220ms ease; }
.demo-shell[data-mode="business"] .creative-demo,
.demo-shell[data-mode="creative"] .business-demo { opacity: 0; pointer-events: none; transform: scale(.985); }
.demo-shell[data-mode="business"] .business-demo,
.demo-shell[data-mode="creative"] .creative-demo { opacity: 1; pointer-events: auto; transform: scale(1); }
.demo-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; padding: 0 4.5%; border-bottom: 1px solid var(--line); background: rgba(244,241,233,.94); backdrop-filter: blur(16px); z-index: 5; }
.demo-brand { color: inherit; text-decoration: none; font-weight: 950; letter-spacing: -.06em; font-size: 1.1rem; }
.demo-brand span { color: #5d8f1b; }
.demo-nav nav { display: flex; align-items: center; gap: 18px; }
.demo-nav nav button { border: 0; background: transparent; color: inherit; font-size: .76rem; font-weight: 780; }
.demo-nav nav button:hover { opacity: .6; }
.demo-nav .nav-action { padding: 9px 13px; border-radius: 999px; background: var(--ink); color: white; }
.demo-scroll { overflow: auto; scroll-behavior: smooth; overscroll-behavior: contain; }
.mini-hero { min-height: 74vh; display: grid; grid-template-columns: 1.25fr .75fr; gap: 8%; align-items: center; padding: 7% 6%; background: radial-gradient(circle at 88% 10%, rgba(184,255,90,.2), transparent 34%), var(--paper); }
.mini-hero-copy { max-width: 760px; }
.mini-eyebrow { margin: 0 0 14px; color: #5d8f1b; font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.mini-hero h1, .creative-hero h1 { margin: 0; max-width: 760px; font-size: clamp(2.35rem, 6vw, 5.2rem); line-height: .94; letter-spacing: -.07em; }
.mini-hero-copy > p:not(.mini-eyebrow), .creative-copy > p:not(.mini-eyebrow) { max-width: 630px; margin: 22px 0 0; color: #58605e; font-size: clamp(.86rem, 1.5vw, 1.06rem); line-height: 1.6; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mini-button { min-height: 42px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 9px; background: transparent; font-weight: 850; font-size: .76rem; }
.mini-button:hover { transform: translateY(-1px); }
.mini-button.primary { background: var(--ink); color: white; }
.mini-button.ghost { background: rgba(255,255,255,.35); }
.metric-card { align-self: center; padding: 24px; border: 1px solid rgba(17,22,23,.14); border-radius: 18px; background: #161b1c; color: white; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.metric-top { display: flex; justify-content: space-between; gap: 20px; color: #aeb6b3; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.status-dot { color: var(--lime); }
.metric-card strong { display: block; margin-top: 34px; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.07em; }
.metric-card p { color: #aeb6b3; font-size: .82rem; line-height: 1.45; }
.metric-bars { height: 76px; display: flex; align-items: end; gap: 8px; margin-top: 22px; }
.metric-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--lime); opacity: .86; }
.metric-bars i:nth-child(1) { height: 32%; }.metric-bars i:nth-child(2) { height: 48%; }.metric-bars i:nth-child(3) { height: 43%; }.metric-bars i:nth-child(4) { height: 72%; }.metric-bars i:nth-child(5) { height: 92%; }
.mini-section { padding: 7% 6%; border-top: 1px solid var(--line); }
.mini-section-heading span, .creative-heading span { color: #74807c; font-size: .66rem; font-weight: 900; letter-spacing: .16em; }
.mini-section-heading h2, .work-copy h2, .creative-heading h2, .media-section h2 { margin: 7px 0 0; font-size: clamp(1.7rem, 3.5vw, 3rem); letter-spacing: -.055em; line-height: 1; }
.mini-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.mini-card { min-height: 155px; padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.35); color: inherit; transition: transform 160ms ease, background 160ms ease; }
.mini-card:hover { transform: translateY(-3px); background: white; }
.mini-card span { display: block; margin-bottom: 24px; color: #648f2c; font-size: .65rem; font-weight: 900; }
.mini-card strong { display: block; font-size: 1rem; }
.mini-card p { margin: 7px 0 0; color: #69706e; font-size: .75rem; line-height: 1.45; }
.work-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: center; background: #e9e4d9; }
.work-copy p { color: #69706e; font-size: .82rem; line-height: 1.55; }
.text-link { border: 0; padding: 0; background: transparent; color: inherit; font-size: .76rem; font-weight: 850; }
.work-visual { min-height: 280px; padding: 16px; border-radius: 17px; background: #1b2021; box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.work-window { display: flex; gap: 5px; padding-bottom: 12px; }
.work-window span { width: 7px; height: 7px; border-radius: 50%; background: #737b78; }
.work-grid { height: 230px; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.work-grid i { display: block; border-radius: 9px; background: linear-gradient(135deg, #c9ff85, #65774d); }
.work-grid i:first-child { grid-row: 1 / 3; background: linear-gradient(145deg, #e8bd73, #604c31); }
.work-grid i:last-child { background: linear-gradient(145deg, #7a8e87, #2d3633); }

.creative-demo { background: #100f12; color: #f4efe8; }
.creative-nav { border-color: rgba(255,255,255,.12); background: rgba(16,15,18,.92); color: #f4efe8; }
.creative-brand span { color: var(--coral); }
.creative-nav .creative-action { background: var(--coral); color: #1a0f0e; }
.creative-hero { min-height: 76vh; display: grid; grid-template-columns: .95fr 1.05fr; gap: 6%; align-items: center; padding: 6% 6%; background: radial-gradient(circle at 82% 18%, rgba(255,113,91,.18), transparent 28rem), #100f12; }
.coral { color: var(--coral); }
.creative-copy > p:not(.mini-eyebrow) { color: #aaa3a6; }
.coral-button { border-color: var(--coral); background: var(--coral); color: #1a0f0e; }
.ghost.light { border-color: #4e484c; color: #f4efe8; background: transparent; }
.media-poster { position: relative; min-height: 330px; overflow: hidden; border: 1px solid #3a3438; border-radius: 17px; background: radial-gradient(circle at 68% 33%, rgba(255,113,91,.9), transparent 15%), linear-gradient(145deg, #46343a, #151317 55%); color: white; text-align: left; box-shadow: 0 26px 75px rgba(0,0,0,.34); }
.media-poster::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 13%, rgba(255,255,255,.025) 13% 13.4%); }
.poster-label, .poster-bottom { position: absolute; left: 18px; z-index: 2; font-size: .65rem; font-weight: 850; letter-spacing: .1em; }
.poster-label { top: 17px; }.poster-bottom { bottom: 17px; }
.play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); color: #171214; font-size: 1rem; transition: transform 160ms ease; }
.media-poster:hover .play-button { transform: translate(-50%, -50%) scale(1.06); }
.creative-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #302b2e; border-bottom: 1px solid #302b2e; }
.creative-strip button { min-height: 70px; border: 0; border-right: 1px solid #302b2e; background: transparent; color: #e5dedf; font-size: .69rem; font-weight: 900; letter-spacing: .13em; }
.creative-strip button:hover { background: var(--coral); color: #1a0f0e; }
.creative-section { padding: 7% 6%; }
.creative-heading span { color: var(--coral); }
.show-list { margin-top: 30px; border-top: 1px solid #383236; }
.show-list button { width: 100%; min-height: 60px; display: grid; grid-template-columns: 90px 1fr 1fr 24px; align-items: center; gap: 14px; border: 0; border-bottom: 1px solid #383236; background: transparent; color: inherit; text-align: left; }
.show-list button:hover { background: rgba(255,255,255,.035); }
.show-list b { color: var(--coral); font-size: .66rem; }.show-list span { font-weight: 800; font-size: .78rem; }.show-list em { color: #928a8e; font-size: .72rem; font-style: normal; }.show-list i { font-style: normal; }
.media-section { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; border-top: 1px solid #302b2e; }
.media-section p { color: #9d9599; font-size: .8rem; line-height: 1.55; }
.media-stack { border-top: 1px solid #393337; }
.media-stack button { width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; gap: 10px; align-items: center; min-height: 64px; border: 0; border-bottom: 1px solid #393337; background: transparent; color: inherit; text-align: left; }
.media-stack button:hover { color: var(--coral); }.media-stack span { color: #746c70; font-size: .65rem; }.media-stack strong { font-size: .78rem; }.media-stack i { font-style: normal; }

.demo-panel { position: absolute; z-index: 20; top: 50%; left: 50%; width: min(390px, calc(100% - 34px)); transform: translate(-50%, -50%); padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #111617; color: white; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.demo-panel[hidden] { display: none; }
.demo-panel h2 { margin: 0 0 10px; letter-spacing: -.04em; }.demo-panel > p:not(.mini-eyebrow) { margin: 0 0 18px; color: #a9b0ad; font-size: .78rem; line-height: 1.5; }.demo-panel label { display: grid; gap: 6px; margin-top: 10px; color: #dce1df; font-size: .7rem; font-weight: 750; }.demo-panel input { width: 100%; padding: 10px 11px; border: 1px solid #37403f; border-radius: 9px; background: #171d1e; color: white; outline: 0; }.demo-panel input:focus { border-color: var(--lime); }.demo-panel .panel-submit { width: 100%; margin-top: 14px; background: var(--lime); color: #111617; border-color: var(--lime); }.demo-panel small { display: block; margin-top: 10px; color: #79817e; font-size: .64rem; text-align: center; }.panel-close { position: absolute; top: 10px; right: 11px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #202728; color: white; font-size: 1.2rem; }
.demo-toast { position: absolute; z-index: 30; left: 50%; bottom: 16px; width: max-content; max-width: calc(100% - 30px); transform: translate(-50%, 16px); padding: 9px 12px; border-radius: 999px; background: rgba(17,22,23,.95); color: #edf1ef; font-size: .68rem; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; box-shadow: 0 10px 30px rgba(0,0,0,.24); }
.demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .demo-shell { min-height: 460px; }
  .demo-nav { min-height: 58px; padding-inline: 4%; }
  .demo-nav nav { gap: 8px; }
  .demo-nav nav button:not(.nav-action) { display: none; }
  .mini-hero, .creative-hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding: 10% 5%; }
  .metric-card, .media-poster { min-height: 220px; }
  .mini-card-grid { grid-template-columns: 1fr; }
  .mini-card { min-height: 0; }
  .work-section, .media-section { grid-template-columns: 1fr; }
  .creative-strip { grid-template-columns: repeat(2, 1fr); }
  .show-list button { grid-template-columns: 66px 1fr 20px; }
  .show-list em { display: none; }
}
