/* DreamLine shopfront. Plain CSS, no build step. */

@font-face {
  font-family: "Michroma";
  src: url("fonts/Michroma-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Share Tech Mono";
  src: url("fonts/ShareTechMono-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #04080c;
  --ink-2: #071019;
  --glass: #0a1823;
  --glass-2: #0d2231;
  --line: rgba(143, 244, 255, 0.12);
  --line-2: rgba(143, 244, 255, 0.22);
  --vfd: #8ff4ff;
  --vfd-2: #3fd9ff;
  --vfd-3: #1aa6ff;
  --text: #dbe6ec;
  --muted: #8ea2ae;
  --metal-ink: #1a2128;
  --radius: 18px;
  --wrap: 1200px;
  --gutter: 24px;
  --display: "Michroma", "Segoe UI", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, Consolas, monospace;
  --body: "Segoe UI Variable Text", "Segoe UI", -apple-system, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--vfd); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--vfd-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: #f2f8fb; margin: 0; letter-spacing: 0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: #c4d3db; max-width: 62ch; }
.muted { color: var(--muted); }

.readout {
  font-family: var(--mono);
  color: var(--vfd);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-shadow: 0 0 8px rgba(63, 217, 255, 0.55);
}
.label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--vfd-2);
  box-shadow: 0 0 6px var(--vfd-2), 0 0 14px rgba(63, 217, 255, 0.6);
}
.kw { font-family: var(--mono); color: var(--vfd); letter-spacing: 0.06em; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font: 400 13px/1 var(--display);
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border: 0;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-buy {
  background: linear-gradient(180deg, #8ff4ff 0%, #3fd9ff 55%, #22b9f0 100%);
  color: #021018;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 8px 28px rgba(26, 166, 255, 0.38), 0 0 40px rgba(63, 217, 255, 0.22);
}
.btn-buy:hover { color: #021018; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 10px 34px rgba(26, 166, 255, 0.5), 0 0 60px rgba(63, 217, 255, 0.35); }
.btn-buy .price-tag { font-family: var(--mono); font-size: 17px; letter-spacing: 0.04em; padding-left: 12px; border-left: 1px solid rgba(2, 16, 24, 0.25); }
/* Pre-launch: buttons shown but not clickable. Swap the span back to <a href=data-href> to go on sale. */
.btn.is-soon { opacity: 0.6; cursor: default; filter: saturate(0.6); }
.btn.is-soon:hover { transform: none; }
.btn-buy.is-soon:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 8px 28px rgba(26, 166, 255, 0.38), 0 0 40px rgba(63, 217, 255, 0.22); }
/* Trial button = the plugin's dark pill with its LED */
.btn-trial {
  background: linear-gradient(180deg, #2a3138 0%, #14191e 100%);
  color: var(--vfd);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 18px rgba(0, 0, 0, 0.45);
  text-shadow: 0 0 8px rgba(63, 217, 255, 0.5);
}
.btn-trial:hover { color: #c9fbff; }
.btn-trial .led {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #e9feff, #3fd9ff 55%, #0f7fc4);
  box-shadow: 0 0 8px #3fd9ff, 0 0 16px rgba(63, 217, 255, 0.6);
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 8, 12, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(4, 8, 12, 0.88); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font: 400 11px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: #a9bcc6;
}
.nav-links a:hover { color: var(--vfd); }
.nav-links a.btn-buy, .nav-links a.btn-buy:hover { color: #021018; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(26, 166, 255, 0.20), transparent 70%),
    radial-gradient(40% 35% at 50% 75%, rgba(63, 217, 255, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-logo { width: min(520px, 82vw); margin: 0 auto 20px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); }
.hero .readout { display: block; margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35;
  max-width: 30ch; margin: 0 auto 18px;
}
.hero .lede { margin: 0 auto 34px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin: 26px 0 0; padding: 0; list-style: none;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.facts li::before { content: "+ "; color: var(--vfd-2); }

.stage { perspective: 1800px; margin-top: 64px; }
.face {
  position: relative;
  max-width: 1160px; margin: 0 auto;
  transform: rotateX(var(--tilt, 14deg)) scale(var(--zoom, 0.94));
  transform-origin: 50% 100%;
  transition: transform 0.1s linear;
  will-change: transform;
}
.face img {
  width: 100%; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 50px 120px -20px rgba(0, 0, 0, 0.9), 0 0 120px rgba(26, 166, 255, 0.18);
}
/* a slow float: rises and sinks a few pixels with a slight sway, like it's hanging in the air (separate layer so the scroll tilt still works) */
/* The float itself is driven from main.js (several slow sine waves at unrelated speeds), so it never stops, jerks or visibly repeats. */
.float { will-change: transform; transform-style: preserve-3d; }
/* idle-scene loop, placed exactly over the display's picture area (measured on the 3200 x 1680 render) */
.face .idle {
  position: absolute;
  left: 14.125%; top: 13.2143%; width: 48.625%; height: 18.5714%;
  object-fit: fill; pointer-events: none;
}
.face .filter-loop {
  position: absolute;
  left: 1.40625%; top: 76.7857%; width: 57.1875%; height: 19.6429%;
  object-fit: fill; pointer-events: none;
}
.face .memo {
  position: absolute;
  left: 66.1458%; top: 30.5556%; width: 8.125%; height: 3.5714%;
  pointer-events: none;
}
.face::after {
  /* soft cyan floor reflection */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -60px; height: 80px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(63, 217, 255, 0.25), transparent 70%);
  filter: blur(10px); z-index: -1;
}


/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* what it does */
.what-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.big-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; }
.module-list {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none;
}
.module-list li {
  font: 400 11px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 18px; border-radius: 999px;
  background: linear-gradient(180deg, #232a31, #12171c);
  color: var(--vfd);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 0 0 1px rgba(0, 0, 0, 0.55);
  text-shadow: 0 0 6px rgba(63, 217, 255, 0.45);
}

/* glass display card */
.glass {
  position: relative;
  background: radial-gradient(120% 90% at 30% 0%, var(--glass-2), var(--glass) 55%, #050c12);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(143, 244, 255, 0.08), inset 0 0 40px rgba(0, 0, 0, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  padding: 28px;
}
.glass h3 { margin-bottom: 10px; }
.glass p:last-child { margin-bottom: 0; }
.glass .readout { display: block; margin-bottom: 12px; font-size: 13px; }

/* brushed metal panel */
.metal {
  position: relative;
  background-color: #cdd2d7;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.08)),
    url("img/brushed.webp");
  background-size: 100% 100%, 900px auto;
  color: var(--metal-ink);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.metal h2, .metal h3 { color: #182027; }
.metal .muted { color: #4b5862; }
.metal-label { font: 400 11px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: #46535d; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-media { order: 2; }
.feature-copy h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; }
.feature-copy ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature-copy li { position: relative; padding-left: 22px; margin-bottom: 10px; color: #c4d3db; }
.feature-copy li::before {
  content: ""; position: absolute; left: 2px; top: 0.68em; width: 8px; height: 2px; background: var(--vfd-2);
  box-shadow: 0 0 6px var(--vfd-2);
}
.shot {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 70px -25px rgba(0, 0, 0, 0.95), 0 0 70px rgba(26, 166, 255, 0.1);
}
.shot img { width: 100%; }
.shot-stack { display: grid; gap: 18px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 420px; }
.caption { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); margin-top: 10px; text-transform: uppercase; }
.media-narrow { max-width: 380px; margin: 0 auto; }

/* full-width drawer strip */
.wide-shot { margin-top: 18px; }

/* ---------- demos ---------- */
.demos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.demo { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.play {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #2a3138, #12171c);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(143, 244, 255, 0.06);
  display: grid; place-items: center; transition: box-shadow 0.2s, transform 0.15s;
}
.play:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(143, 244, 255, 0.2); }
.play:active { transform: scale(0.96); }
.play:focus-visible, .ab button:focus-visible, .wave:focus-visible { outline: 2px solid var(--vfd); outline-offset: 3px; }
.play svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: var(--vfd); }
.play .i-play { margin-left: 3px; }
.play .i-pause { display: none; }
.demo.is-playing .play .i-play { display: none; }
.demo.is-playing .play .i-pause { display: block; }
.demo.is-playing .play { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(63, 217, 255, 0.35), 0 0 22px rgba(63, 217, 255, 0.3); }
.demo.is-loading .play { opacity: 0.6; cursor: progress; }
.demo h3 { font-size: 14px; margin-bottom: 4px; }
.demo .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.demo > div { min-width: 0; }
.wave { display: flex; gap: 3px; align-items: center; height: 40px; margin-top: 10px; overflow: hidden; cursor: pointer; touch-action: manipulation; }
.wave i { flex: 1 1 0; background: rgba(143, 244, 255, 0.22); border-radius: 2px; min-width: 1px; transition: background 0.12s; }
.wave i.on { background: var(--vfd-2); }
.demo.is-dry .wave i { background: rgba(142, 162, 174, 0.28); }
.demo.is-dry .wave i.on { background: #b9c8d1; }
@media (max-width: 560px) { .wave { gap: 2px; } }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.ab { display: inline-flex; border-radius: 999px; padding: 3px; background: rgba(0, 0, 0, 0.35); box-shadow: 0 0 0 1px var(--line) inset; }
.ab button {
  border: 0; cursor: pointer; border-radius: 999px; padding: 8px 14px; min-height: 36px;
  font: 400 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--muted); background: transparent; transition: background 0.15s, color 0.15s;
}
.ab button.is-on { background: var(--vfd-2); color: #021018; box-shadow: 0 0 14px rgba(63, 217, 255, 0.35); }
.ab .ab-dry.is-on { background: #b9c8d1; box-shadow: none; }
.demo .time { font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }

/* presets */
.preset-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 18px; }
.preset-groups .glass { padding: 22px; }
.preset-groups ul { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; color: #b8c9d2; }
.preset-groups li { padding: 3px 0; }

/* ---------- licence + specs ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile .num { font-family: var(--mono); font-size: 46px; line-height: 1; color: var(--vfd); text-shadow: 0 0 14px rgba(63, 217, 255, 0.6); margin-bottom: 14px; }
.tile .num small { font-size: 18px; letter-spacing: 0.08em; margin-left: 4px; }
.tile h3 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.tile p { color: var(--muted); font-size: 15px; }
.licence-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }

.specs { padding: 48px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); vertical-align: top; font-size: 16px; }
.spec-table th { font: 400 11px/1.6 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: #46535d; width: 38%; padding-right: 16px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.no-mac { display: inline-block; margin-top: 6px; font-size: 14px; color: #4b5862; }

/* ---------- pricing ---------- */
.price-card { max-width: 760px; margin: 0 auto; text-align: center; padding: 56px 40px; }
.price { font-family: var(--mono); font-size: clamp(64px, 9vw, 96px); line-height: 1; color: var(--vfd); text-shadow: 0 0 22px rgba(63, 217, 255, 0.55); margin: 14px 0 8px; }
.price-note { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.todo-flag {
  display: inline-block; font: 400 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffd38a; border: 1px dashed rgba(255, 211, 138, 0.55); border-radius: 6px; padding: 2px 8px;
}

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font: 400 15px/1.5 var(--display); letter-spacing: 0.03em; color: #eef6f9;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--mono); color: var(--vfd); transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: #b8c9d2; max-width: 70ch; }

/* ---------- footer ---------- */
.footer { padding: 72px 0 48px; border-top: 1px solid var(--line); margin-top: 40px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 12px; }
.footer-brand strong { font: 400 14px/1.4 var(--display); letter-spacing: 0.14em; color: #e5eef2; text-transform: uppercase; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.legal { margin-top: 36px; font-size: 13px; color: #6d808b; }
.legal p { margin: 0 0 6px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.btn-trial .led { animation: breathe 2.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .face { transform: none !important; }
  .float { animation: none; }
  .btn-trial .led { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .preset-groups { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .section { padding: 84px 0; }
  .nav-links .hide-sm { display: none; }
  .what-grid, .feature, .licence-row { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-media { order: 0; }
  .feature { padding: 44px 0; }
  .demos { grid-template-columns: 1fr; }
  .stage { margin-top: 48px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav .wrap { height: 60px; }
  .nav-logo img { height: 24px; }
  .nav-links { gap: 14px; }
  .nav-links a.hide-xs { display: none; }
  .hero { padding-top: 44px; }
  .hero .readout { font-size: 12px; letter-spacing: 0.1em; }
  .media-narrow { max-width: 280px; }
  .wide-shot { display: none; }
  .stage { margin-top: 36px; }
  .cta .btn { width: 100%; }
  .facts { gap: 8px 18px; font-size: 13px; }
  .preset-groups { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .glass { padding: 22px; }
  .specs { padding: 28px 22px; }
  .spec-table th { width: 42%; }
  .price-card { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .big-two { grid-template-columns: 1fr; }
}
