/* ============================================================
   GLMediaCMS — marketing site
   Clean, light, product-forward. Monochrome canvas + one accent.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-soft-2: #EEF1F5;
  --ink: #0B0C0F;
  --ink-2: #3A3F49;
  --ink-3: #6A7280;
  --muted: #8A919E;
  --line: #E6E9EF;
  --line-2: #D7DBE3;

  --accent: #F5860B;          /* product amber — fills, dots, highlights */
  --accent-ink: #B45906;      /* readable amber for text/links on white */
  --accent-soft: #FFF3E4;
  --accent-soft-2: #FBE0BF;
  --btn-ink: #1C1303;         /* near-black text used on amber buttons */

  --dark: #0C0D12;
  --dark-2: #16171E;

  --shadow-xs: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,0.08), 0 1px 2px rgba(16,24,40,0.04);
  --shadow-md: 0 6px 16px -4px rgba(16,24,40,0.10), 0 2px 6px -2px rgba(16,24,40,0.06);
  --shadow-lg: 0 24px 48px -16px rgba(16,24,40,0.18);
  --shadow-xl: 0 40px 80px -24px rgba(16,24,40,0.28);

  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--dark); color: #E9EAEE; }
.divider { border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.display { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.038em; font-weight: 800; }
h2.h { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.03em; }
h3.h { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.3rem); color: var(--ink-3); line-height: 1.55; font-weight: 400; }
p { color: var(--ink-3); }
strong { color: var(--ink); font-weight: 600; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p, .bg-dark .lede { color: #A9AEBB; }

.accent-text { color: var(--accent-ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow--muted { color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.nav__inner { max-width: 1240px; margin-inline: auto; padding: 0.85rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; letter-spacing: -0.03em; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__links > li { position: relative; }
.nav__links a { display: inline-flex; align-items: center; font-size: 0.94rem; font-weight: 500; color: var(--ink-2); padding: 0.5rem 0.8rem; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links a.active { color: var(--accent-ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 0.4rem; }

/* mega menu */
.has-menu > a::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-left: 0.5rem; margin-top: -3px; opacity: 0.5; transition: transform 0.25s; }
.has-menu:hover > a::after { transform: rotate(-135deg); margin-top: 2px; }
.megamenu {
  position: absolute; top: calc(100% + 10px); left: -0.5rem; width: 600px; padding: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s var(--ease);
}
.has-menu:hover .megamenu, .has-menu:focus-within .megamenu { opacity: 1; visibility: visible; transform: none; }
.megamenu a { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.8rem; border-radius: 12px; transition: background 0.18s; }
.megamenu a:hover { background: var(--bg-soft); }
.megamenu .mm-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.megamenu .mm-t { font-family: var(--font-display); font-weight: 700; font-size: 0.94rem; color: var(--ink); line-height: 1.3; }
.megamenu .mm-d { font-size: 0.8rem; color: var(--ink-3); margin-top: 0.15rem; line-height: 1.4; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em; padding: 0.72rem 1.35rem; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: transform 0.18s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--btn-ink); box-shadow: 0 1px 2px rgba(16,24,40,0.1), 0 8px 18px -8px rgba(245,134,11,0.6); }
.btn--primary:hover { background: #E67908; transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(245,134,11,0.7); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink-3); background: var(--bg-soft); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #23252d; transform: translateY(-1px); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--lg { padding: 0.9rem 1.7rem; font-size: 1.02rem; }
.btn--onlight-ghost { background: transparent; color: var(--ink); }
.btn--onlight-ghost:hover { background: var(--bg-soft); }
.bg-dark .btn--secondary { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.18); }
.bg-dark .btn--secondary:hover { background: rgba(255,255,255,0.12); }
.btn__arrow { transition: transform 0.2s var(--ease); display: inline-flex; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.tlink { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent-ink); font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; }
.tlink svg { transition: transform 0.2s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(2rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1;
  background: radial-gradient(720px 320px at 50% -60px, var(--accent-soft), transparent 70%); }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.4rem 0.35rem 0.85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: 0.85rem; color: var(--ink-2); margin-bottom: 1.8rem; }
.hero__badge .tag { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 0.74rem; padding: 0.15rem 0.55rem; border-radius: 999px; }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero .lede { max-width: 56ch; margin: 1.4rem auto 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2.2rem; }
.hero__note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Product frame (browser/app mock) ---------- */
.frame { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xl); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.frame__dots { display: flex; gap: 0.4rem; }
.frame__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: block; }
.frame__url { margin-left: 0.6rem; flex: 1; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 0.25rem 0.7rem; font-size: 0.76rem; color: var(--muted); }
.hero__frame { max-width: 1000px; margin: clamp(2.5rem,5vw,3.5rem) auto 0; position: relative; }
.shot { display: block; width: 100%; height: auto; }

/* App mock internals */
.app { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; background: #fff; text-align: left; }
.app__side { border-right: 1px solid var(--line); padding: 1rem 0.8rem; background: var(--bg-soft); }
.app__logo { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--ink); padding: 0.3rem 0.5rem 1rem; }
.app__nav { display: grid; gap: 0.1rem; }
.app__nav a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 8px; font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }
.app__nav a svg { width: 16px; height: 16px; }
.app__nav a.on { background: var(--accent-soft); color: var(--accent); }
.app__main { padding: 1.1rem 1.3rem; overflow: hidden; }
.app__top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.app__search { flex: 1; max-width: 280px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.75rem; font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.app__chip { font-size: 0.72rem; padding: 0.28rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); background: #fff; }
.app__chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.app__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.vthumb { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.vthumb__img { aspect-ratio: 16/9; position: relative; background: var(--tb, linear-gradient(135deg,#dfe4ee,#c3cad8)); }
.vthumb__dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,0.72); color: #fff; font-size: 0.64rem; font-weight: 600; padding: 0.05rem 0.35rem; border-radius: 4px; }
.vthumb__play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; }
.vthumb__meta { padding: 0.5rem 0.6rem 0.65rem; }
.vthumb__meta b { display: block; font-size: 0.76rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.vthumb__meta span { font-size: 0.66rem; color: var(--muted); }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); }
.logos span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--muted); opacity: 0.75; }
.logos-label { text-align: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }

/* ---------- Section head ---------- */
.shead { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.shead--center { margin-inline: auto; text-align: center; }
.shead .lede { margin-top: 1rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
a.card { display: block; }
.card__ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.16rem; margin-bottom: 0.45rem; }
.card p { font-size: 0.96rem; color: var(--ink-3); }
.card .tlink { margin-top: 1rem; }

.card--soft { background: var(--bg-soft); border-color: transparent; }
.card--dark { background: var(--dark-2); border-color: rgba(255,255,255,0.08); }
.card--dark h3 { color: #fff; } .card--dark p { color: #A9AEBB; }
.card--accent { background: var(--accent); border-color: var(--accent); }
.card--accent h3 { color: var(--btn-ink); }
.card--accent p { color: #3a2a08; }
.card--accent .card__ico { background: rgba(0,0,0,0.12); color: var(--btn-ink); }

/* ---------- Feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { border-radius: var(--r-lg); overflow: hidden; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); }
.feature-list .tick { flex: none; margin-top: 1px; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature-list .tick svg { width: 13px; height: 13px; }

/* media panel — a soft framed illustrative block */
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.panel--pad0 { padding: 0; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: left; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.bg-dark .stat__num { color: #fff; }
.stat__label { font-size: 0.92rem; color: var(--ink-3); margin-top: 0.5rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; }
.step__n { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; margin-bottom: 0.9rem; }
.step h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.9rem; color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 26px; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 50% -20px, rgba(245,134,11,0.55), transparent 70%); opacity: 0.8; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #AEB3C0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; background: var(--bg-soft); }
.footer__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 2.5rem; }
.footer h5 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 700; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.94rem; color: var(--ink-3); transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__desc { color: var(--ink-3); font-size: 0.94rem; max-width: 32ch; margin-top: 0.9rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

/* ---------- Page hero (child pages) ---------- */
.phero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); position: relative; }
.phero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 400px; z-index: -1; background: radial-gradient(620px 260px at 30% -40px, var(--accent-soft), transparent 70%); }
.phero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; letter-spacing: -0.035em; }
.phero .lede { max-width: 58ch; margin-top: 1.3rem; }
.breadcrumb { font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-3); } .breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 500; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); background: #fff; }
.pill--accent { background: var(--accent-soft); border-color: var(--accent-soft-2); color: var(--accent-ink); }

/* ---------- Bullet blocks (child page content) ---------- */
.bl { display: grid; gap: 0.7rem; }
.bl li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; color: var(--ink-2); }
.bl li svg { flex: none; margin-top: 3px; color: var(--accent); width: 18px; height: 18px; }

/* ---------- Pricing ---------- */
.ptable { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.ptier { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.9rem; }
.ptier--feature { border-color: var(--accent); box-shadow: 0 20px 44px -20px rgba(245,134,11,0.45); }
.ptier__badge { position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--btn-ink); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.25rem 0.8rem; border-radius: 999px; }
.ptier__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.ptier__desc { font-size: 0.9rem; color: var(--ink-3); margin-top: 0.3rem; min-height: 2.6em; }
.ptier__price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--ink); margin: 1rem 0 0.2rem; }
.ptier__price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.ptier ul { display: grid; gap: 0.7rem; margin: 1.4rem 0; }
.ptier li { display: flex; gap: 0.55rem; font-size: 0.92rem; color: var(--ink-2); align-items: flex-start; }
.ptier li svg { flex: none; margin-top: 3px; color: var(--accent); width: 16px; height: 16px; }
.ptier .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.35rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.faq__q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq__q .plus::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq__q .plus::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity 0.25s; }
.faq__item.open .plus::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding-bottom: 1.35rem; color: var(--ink-3); max-width: 72ch; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.96rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   Product UI mockups — CSS renditions of the real app
   (dark theme, amber accent), used in place of screenshots
   ============================================================ */
.ui {
  --ui-bg:#0B0D12; --ui-panel:#15171F; --ui-panel2:#1B1E28;
  --ui-line:rgba(255,255,255,0.08); --ui-line2:rgba(255,255,255,0.14);
  --ui-text:#EDEFF3; --ui-dim:#8B929E; --ui-amber:#F5A623;
  --ui-green:#2FBF71; --ui-blue:#4EA1FF; --ui-purple:#B98BFF; --ui-orange:#F5883B;
  background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-xl); color: var(--ui-text);
  font-family: var(--font-body); font-size: 12px; line-height: 1.4;
}
.ui * { box-sizing: border-box; }
.ui__topbar { display:flex; align-items:center; gap:0.55rem; padding:0.6rem 0.85rem; border-bottom:1px solid var(--ui-line); background:rgba(255,255,255,0.015); }
.ui__icobtn { width:26px; height:26px; border-radius:7px; border:1px solid var(--ui-line); display:grid; place-items:center; color:var(--ui-dim); flex:none; }
.ui__icobtn svg { width:14px; height:14px; }
.ui__searchbar { flex:1; height:28px; border-radius:8px; border:1px solid var(--ui-line); background:rgba(255,255,255,0.03); display:flex; align-items:center; justify-content:center; gap:0.4rem; color:var(--ui-dim); font-size:11px; }
.ui__searchbar svg { width:13px; height:13px; }
.ui__body { padding:0.95rem 1.05rem 1.1rem; }
.ui__pagehead { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:0.9rem; }
.ui__eyebrow { font-size:9px; letter-spacing:0.14em; color:var(--ui-dim); font-weight:700; }
.ui__title { font-family:var(--font-display); font-weight:800; font-size:15px; margin-top:0.2rem; letter-spacing:-0.01em; }
.ui__title span { color:var(--ui-dim); font-weight:500; font-size:12px; }
.ui__redact { display:inline-block; width:70px; height:9px; border-radius:3px; background:rgba(255,255,255,0.12); vertical-align:middle; margin-right:0.4rem; }
.ui__btn-amber { background:var(--ui-amber); color:#231400; font-weight:700; font-size:11px; padding:0.45rem 0.9rem; border-radius:8px; flex:none; }
.ui__toolbar { display:flex; gap:0.45rem; margin-bottom:0.9rem; flex-wrap:wrap; }
.ui__select, .ui__chip { border:1px solid var(--ui-line); border-radius:8px; padding:0.38rem 0.65rem; font-size:11px; color:var(--ui-text); display:inline-flex; align-items:center; gap:0.35rem; background:rgba(255,255,255,0.02); }
.ui__chip svg, .ui__select svg { width:13px; height:13px; color:var(--ui-dim); }

/* library grid */
.ui__grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:0.7rem; }
.ui__vcard { border:1px solid var(--ui-line); border-radius:10px; overflow:hidden; background:var(--ui-panel); }
.ui__thumb { aspect-ratio:16/9; position:relative; background:var(--g,linear-gradient(135deg,#2b3550,#141a2b)); }
.ui__thumb::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 42%, rgba(255,255,255,0.10), transparent 60%); }
.ui__dur { position:absolute; right:6px; bottom:6px; background:rgba(0,0,0,0.78); color:#fff; font-size:9px; font-weight:600; padding:1px 5px; border-radius:4px; z-index:1; }
.ui__vmeta { padding:0.5rem 0.55rem 0.6rem; }
.ui__vrow { display:flex; align-items:center; gap:0.4rem; }
.ui__avatar { width:18px; height:18px; border-radius:50%; background:linear-gradient(135deg,var(--ui-amber),#c9700f); color:#231400; font-size:9px; font-weight:700; display:grid; place-items:center; flex:none; }
.ui__vtitle { flex:1; height:9px; border-radius:3px; background:rgba(255,255,255,0.13); }
.ui__vsub { font-size:9.5px; color:var(--ui-dim); margin-top:0.4rem; }
.ui__tags { display:flex; gap:0.3rem; margin-top:0.45rem; }
.ui__tags span { font-size:8px; letter-spacing:0.05em; color:var(--ui-dim); border:1px solid var(--ui-line); border-radius:4px; padding:1px 5px; }

/* stat cards */
.ui__stats4 { display:grid; grid-template-columns:repeat(4,1fr); gap:0.55rem; margin-bottom:0.7rem; }
.ui__stat { border:1px solid var(--ui-line); border-radius:10px; padding:0.65rem 0.7rem; background:var(--ui-panel); }
.ui__stat .l { font-size:10px; color:var(--ui-dim); display:flex; justify-content:space-between; align-items:center; }
.ui__stat .l svg { width:13px; height:13px; opacity:0.7; }
.ui__stat .v { font-family:var(--font-display); font-weight:800; font-size:18px; margin-top:0.3rem; letter-spacing:-0.02em; }
.ui__stat .s { font-size:9px; color:var(--ui-dim); margin-top:0.15rem; }
.ui__stat .s.up { color:var(--ui-green); font-weight:600; }

/* charts */
.ui__charts2 { display:grid; grid-template-columns:1fr 1fr; gap:0.55rem; }
.ui__chartcard { border:1px solid var(--ui-line); border-radius:10px; padding:0.75rem; background:var(--ui-panel); }
.ui__charthead { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:0.5rem; gap:0.5rem; }
.ui__chartcard .ct { font-size:12px; font-weight:700; }
.ui__chartcard .cs { font-size:9.5px; color:var(--ui-dim); margin-top:0.1rem; }
.ui__toggle { display:flex; border:1px solid var(--ui-line); border-radius:7px; overflow:hidden; flex:none; }
.ui__toggle span { font-size:9px; padding:0.24rem 0.48rem; color:var(--ui-dim); }
.ui__toggle span.on { background:var(--ui-amber); color:#231400; font-weight:700; }
.ui__chart { width:100%; height:74px; display:block; }
.ui__legend { display:flex; gap:0.7rem; flex-wrap:wrap; margin-bottom:0.5rem; }
.ui__legend span { font-size:9.5px; color:var(--ui-dim); display:inline-flex; align-items:center; gap:0.3rem; }
.ui__legend i { width:8px; height:8px; border-radius:2px; display:inline-block; }

/* analytics columns + breakdown bars */
.ui__exp { display:flex; gap:0.32rem; }
.ui__exp span { font-size:9.5px; border:1px solid var(--ui-line); border-radius:6px; padding:0.25rem 0.45rem; color:var(--ui-dim); }
.ui__cols { display:grid; grid-template-columns:132px 1fr; gap:0.6rem; }
.ui__vlist { border:1px solid var(--ui-line); border-radius:10px; padding:0.4rem; background:var(--ui-panel); display:grid; gap:0.25rem; align-content:start; }
.ui__vitem { display:flex; align-items:center; gap:0.4rem; padding:0.32rem 0.4rem; border-radius:6px; }
.ui__vitem.sel { background:rgba(255,255,255,0.05); }
.ui__vitem .nm { flex:1; height:7px; border-radius:3px; background:rgba(255,255,255,0.12); }
.ui__vitem .badge { font-size:8px; font-weight:700; color:#231400; border-radius:4px; padding:0px 4px; }
.ui__dot { width:8px; height:8px; border-radius:2px; flex:none; }
.ui__bars { display:grid; gap:0.55rem; }
.ui__bar .top { display:flex; justify-content:space-between; font-size:10px; margin-bottom:0.28rem; color:var(--ui-text); }
.ui__bar .top .n { color:var(--ui-dim); }
.ui__bar .track { height:6px; border-radius:4px; background:rgba(255,255,255,0.06); overflow:hidden; }
.ui__bar .fill { height:100%; border-radius:4px; }
.ui__panelrow { display:grid; grid-template-columns:1fr 1fr; gap:0.55rem; }
.ui__mini { border:1px solid var(--ui-line); border-radius:10px; padding:0.7rem 0.75rem; background:var(--ui-panel); }
.ui__mini .h { font-size:11px; font-weight:700; margin-bottom:0.55rem; display:flex; align-items:center; gap:0.35rem; }
.ui__mini .h svg { width:13px; height:13px; color:var(--ui-dim); }

/* editor (timeline) mock */
.ed__stage { aspect-ratio:16/8.2; border-radius:10px; position:relative; overflow:hidden; background:linear-gradient(135deg,#243049,#12151f); border:1px solid var(--ui-line); }
.ed__stage::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 45%, rgba(255,255,255,0.10), transparent 62%); }
.ed__play { position:absolute; inset:0; margin:auto; width:44px; height:44px; border-radius:50%; background:rgba(0,0,0,0.45); border:1px solid rgba(255,255,255,0.35); display:grid; place-items:center; z-index:1; }
.ed__play::after { content:""; width:0; height:0; border-left:12px solid #fff; border-top:8px solid transparent; border-bottom:8px solid transparent; margin-left:3px; }
.ed__time { position:absolute; left:10px; bottom:8px; font-size:9px; color:rgba(255,255,255,0.85); font-variant-numeric:tabular-nums; z-index:1; }
.ed__toolbar { display:flex; align-items:center; gap:0.4rem; margin:0.7rem 0; }
.ed__toolbar .sp { flex:1; }
.ed__tool { width:24px; height:24px; border-radius:6px; border:1px solid var(--ui-line); display:grid; place-items:center; color:var(--ui-dim); }
.ed__tool svg { width:12px; height:12px; }
.ed__timeline { border:1px solid var(--ui-line); border-radius:10px; background:var(--ui-panel); padding:0.55rem 0.6rem; position:relative; }
.ed__ruler { display:flex; justify-content:space-between; font-size:8px; color:var(--ui-dim); margin-bottom:0.4rem; padding:0 2px; }
.ed__track { height:26px; border-radius:6px; background:rgba(255,255,255,0.03); margin-bottom:0.4rem; position:relative; display:flex; gap:3px; padding:3px; overflow:hidden; }
.ed__track:last-child { margin-bottom:0; }
.ed__clip { height:100%; border-radius:4px; background:linear-gradient(135deg,#2f3a58,#222a40); border:1px solid rgba(255,255,255,0.10); flex:none; }
.ed__clip.sel { border-color:var(--ui-amber); box-shadow:0 0 0 1px var(--ui-amber); }
.ed__clip.aud { background:repeating-linear-gradient(90deg, rgba(245,166,35,0.55) 0 2px, rgba(245,166,35,0.15) 2px 4px); }
.ed__ph { position:absolute; top:4px; bottom:4px; width:2px; background:var(--ui-amber); z-index:2; }
.ed__ph::before { content:""; position:absolute; top:-4px; left:-3px; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid var(--ui-amber); }

/* AI mock */
.ai__card { border:1px solid var(--ui-line); border-radius:10px; background:var(--ui-panel); padding:0.85rem; }
.ai__head { display:flex; align-items:center; gap:0.45rem; margin-bottom:0.65rem; }
.ai__badge { width:22px; height:22px; border-radius:6px; background:rgba(245,166,35,0.16); color:var(--ui-amber); display:grid; place-items:center; }
.ai__badge svg { width:13px; height:13px; }
.ai__title { font-size:11.5px; font-weight:700; }
.ai__title .sub { color:var(--ui-dim); font-weight:500; }
.ai__line { height:7px; border-radius:3px; background:rgba(255,255,255,0.09); margin-bottom:0.4rem; }
.ai__p { font-size:10.5px; color:var(--ui-text); margin-bottom:0.5rem; }
.ai__p b { color:#fff; }
.ai__flag { display:flex; gap:0.4rem; align-items:flex-start; font-size:10px; padding:0.5rem 0.6rem; border-radius:8px; margin-top:0.5rem; }
.ai__flag.warn { background:rgba(245,166,35,0.10); color:#f3c98a; border:1px solid rgba(245,166,35,0.25); }
.ai__flag.good { background:rgba(47,191,113,0.10); color:#9fe6c1; border:1px solid rgba(47,191,113,0.22); }
.ai__chat { margin-top:0.6rem; display:grid; gap:0.4rem; }
.ai__q { justify-self:end; max-width:80%; background:var(--ui-amber); color:#231400; font-size:10px; font-weight:600; padding:0.4rem 0.6rem; border-radius:10px 10px 3px 10px; }
.ai__a { justify-self:start; max-width:88%; background:rgba(255,255,255,0.05); border:1px solid var(--ui-line); font-size:10px; padding:0.4rem 0.6rem; border-radius:10px 10px 10px 3px; color:var(--ui-text); }
.ai__input { display:flex; align-items:center; gap:0.4rem; margin-top:0.5rem; border:1px solid var(--ui-line); border-radius:9px; padding:0.4rem 0.55rem; color:var(--ui-dim); font-size:10px; }
.ai__input .send { margin-left:auto; width:20px; height:20px; border-radius:6px; background:var(--ui-amber); color:#231400; display:grid; place-items:center; }
.ai__input .send svg { width:11px; height:11px; }

/* captions / transcription mock */
.cap__stage { aspect-ratio:16/9; border-radius:10px; position:relative; overflow:hidden; background:linear-gradient(135deg,#2a3350,#141a2b); border:1px solid var(--ui-line); }
.cap__stage::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 40%, rgba(255,255,255,0.10), transparent 60%); }
.cap__cc { position:absolute; left:50%; bottom:12px; transform:translateX(-50%); background:rgba(0,0,0,0.72); color:#fff; font-size:10.5px; padding:0.25rem 0.6rem; border-radius:5px; white-space:nowrap; }
.cap__lang { position:absolute; right:8px; top:8px; display:flex; align-items:center; gap:0.3rem; background:rgba(0,0,0,0.55); border:1px solid rgba(255,255,255,0.15); border-radius:6px; padding:0.22rem 0.45rem; font-size:9px; color:#fff; }
.cap__side { border:1px solid var(--ui-line); border-radius:10px; background:var(--ui-panel); padding:0.6rem; margin-top:0.6rem; }
.cap__langs { display:flex; gap:0.35rem; flex-wrap:wrap; margin-bottom:0.6rem; }
.cap__langs span { font-size:9.5px; border:1px solid var(--ui-line); border-radius:999px; padding:0.2rem 0.55rem; color:var(--ui-dim); }
.cap__langs span.on { background:rgba(245,166,35,0.15); border-color:rgba(245,166,35,0.4); color:var(--ui-amber); }
.cap__line { display:flex; gap:0.5rem; padding:0.32rem 0; align-items:flex-start; }
.cap__ts { font-size:9px; color:var(--ui-amber); font-variant-numeric:tabular-nums; flex:none; padding-top:2px; }
.cap__tx { flex:1; height:7px; border-radius:3px; background:rgba(255,255,255,0.10); margin-top:3px; }
.cap__tx.short { max-width:60%; }

@media (max-width: 520px) {
  .ui__stats4 { grid-template-columns:1fr 1fr; }
  .ui__cols { grid-template-columns:1fr; }
  .ui__vlist { display:none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.reveal[data-d="3"] { transition-delay: 0.18s; }

/* utility */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 1.6rem; } .mt-3 { margin-top: 2.4rem; }
.maxw-sm { max-width: 620px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 0.7rem var(--gutter) 1.2rem; gap: 0.1rem; }
  .nav.open .nav__links a { padding: 0.75rem 0.5rem; }
  .megamenu { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 0 0.5rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav.open .megamenu { display: grid; }
  .has-menu > a::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev .split__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ptable { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .form .row { grid-template-columns: 1fr; }
  .app__grid { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
