/* Shared page tokens keep the coming-soon site readable in either system theme. */
:root {
  color-scheme: light dark;
  --page: #f6f9fc;
  --surface: #edf3fa;
  --ink: #162b44;
  --muted: #485d74;
  --accent: #165ea9;
  --line: #c8d5e5;
  --label: #dceafa;
  --icon-edge: #527bac;
  --radius: 22px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #111e30;
    --surface: #17283f;
    --ink: #eef4fc;
    --muted: #b7c9df;
    --accent: #8ac8ff;
    --line: #3b526c;
    --label: #203d5b;
    --icon-edge: #719ac9;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #111e30;
  --surface: #17283f;
  --ink: #eef4fc;
  --muted: #b7c9df;
  --accent: #8ac8ff;
  --line: #3b526c;
  --label: #203d5b;
  --icon-edge: #719ac9;
}
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 1rem; line-height: 1.65; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 10px 18px; background: var(--page); z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { font-size: 1.6rem; font-weight: 750; letter-spacing: -.06em; text-decoration: none; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 32px; font-size: .95rem; font-weight: 600; }
nav a { text-decoration: none; padding-block: 12px; }
nav a:hover { color: var(--accent); text-decoration: underline; }
.hero { padding: 54px 0 46px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.75rem, 5.4vw, 4.5rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 750; }
h1 span { color: var(--accent); }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--surface); scroll-margin-top: 24px; display: flex; flex-direction: column; }
.product-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.app-icon { position: relative; display: block; width: 86px; height: 86px; flex-shrink: 0; overflow: hidden; border-radius: 22%; background: #102344; }
.app-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Clip the Editor export's built-in frame inside the same web frame as ChoreoWave. */
.app-icon .editor-art { transform: scale(1.14); }
.app-icon::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--icon-edge); border-radius: inherit; pointer-events: none; }
.product-type { margin: 0 0 3px; font-size: .875rem; color: var(--muted); }
h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.035em; line-height: 1.25; }
.product-lead { margin: 0 0 14px; font-size: 1.6rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 600; }
.product-copy { margin: 0; max-width: 43ch; color: var(--muted); }
.product-copy + .product-copy { margin-top: 14px; }
.features { margin: 24px 0 30px; padding-left: 20px; font-size: 1rem; }
.features li { padding-left: 4px; margin-block: 7px; }
.features li::marker { color: var(--accent); }
.availability { margin: auto 0 0; align-self: flex-start; display: inline-block; padding: 5px 12px; background: var(--label); color: var(--accent); border-radius: 7px; font-size: .875rem; font-weight: 650; }
.contact { margin-top: 64px; padding-block: 36px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact h2 { font-size: 1.8rem; }
.contact p { margin: 10px 0 0; color: var(--muted); }
.contact-link { color: var(--accent); font-weight: 650; font-size: 1.15rem; overflow-wrap: anywhere; }
.site-footer { padding-block: 28px 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: .875rem; }
.footer-brand { font-weight: 700; font-size: 1rem; color: var(--ink); }
.site-footer p { margin: 0; }
#theme-toggle { appearance: none; padding: 8px 0; border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1000px) {
  .product { padding: 25px; }
  .product-intro { gap: 12px; }
  .product-intro h2 { font-size: 1.3rem; }
  .app-icon { width: 72px; height: 72px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 14px; }
  .wordmark { font-size: 1.4rem; }
  nav { gap: 18px; font-size: .875rem; }
  .hero { padding: 40px 0 32px; }
  .products { grid-template-columns: 1fr; gap: 20px; }
  .product { padding: 26px; }
  .product-intro h2 { font-size: 1.45rem; }
  .product-lead { font-size: 1.45rem; }
  .contact { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 22px; }
  .contact h2 { font-size: 1.55rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .site-header { flex-wrap: wrap; padding-block: 16px 8px; }
  nav { width: 100%; justify-content: space-between; }
}
@media (max-width: 380px) {
  h1 { font-size: 2.4rem; }
  .product { padding: 22px; }
  .product-intro { gap: 10px; }
  .app-icon { width: 62px; height: 62px; }
  .product-intro h2 { font-size: 1.25rem; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  nav a, .contact-link { transition: color .18s ease; }
}
