/* Takelight: stylesheet for every page of the site. "A TV studio."
 * Warm off-white walls, ink-navy type and control-room bands, cobalt for actions, tally red only for the recording
 * light. Familjen Grotesk, with Overpass Mono for every time and for the slate card. Tokens follow
 * products/takelight/extension/src/ui/theme.css. Light only. */

@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/FamiljenGrotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/OverpassMono-latin.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --canvas: #FAF7F2;
  --surface: #FFFFFF;
  --sunken: #EDE6D9;
  --ink: #14213D;
  --ink-2: #434E6B;
  --line: #E2DACB;
  --line-strong: #B8AE9A;
  --brand: #2348D5;
  --brand-hover: #1A38AD;
  --brand-ink: #2348D5;
  --on-brand: #FFFFFF;
  --brand-soft: #E4EAFB;
  --rec: #D7263D;
  --stage: #14213D;
  --stage-2: #1E2F57;
  --on-stage: #FAF7F2;
  --on-stage-2: #B9C2D9;
  --stage-line: #2D3E66;
  --focus: #2348D5;
  --focus-stage: #9DB1F7;
  --muted: #434E6B;
  --font: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --font-time: "Overpass Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --shadow: 0 2px 4px rgb(20 33 61 / 0.1), 0 14px 34px -12px rgb(20 33 61 / 0.35);
  --clapper: repeating-linear-gradient(115deg, var(--canvas) 0 14px, var(--stage) 14px 28px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--canvas); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; color: var(--on-brand); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.4rem); line-height: 1.0; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.6rem); line-height: 1.08; margin-bottom: 12px; }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0; }

/* header: the studio door sign, with a clapper stripe underneath */
.site-header { background: var(--canvas); color: var(--ink); position: relative; padding-bottom: 10px; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--clapper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; padding: 6px 0; }
.nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 0.3em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 12px 22px; border-radius: var(--radius-sm); border: 0; background: var(--brand); color: var(--on-brand); font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 120ms ease, transform 120ms ease; }
.btn:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn:active { transform: translateY(1px); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn.quiet:hover { background: var(--sunken); color: var(--ink); }

/* hero: the studio floor. One take, two outputs, side by side under the slate */
.hero, .guide-hero { background: var(--canvas); color: var(--ink); }
.hero { padding: 56px 0 0; text-align: left; }
.hero-top { max-width: 860px; margin: 0; }
.hero h1 { margin-bottom: 22px; }
.hero .lede, .guide-hero .lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); max-width: 38rem; margin: 0 0 28px; }
.hero .cta-row, .guide-hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: flex-start; }
.hero a:not(.btn), .guide-hero a:not(.btn) { color: var(--brand-ink); font-weight: 600; }
.hero .cta-note, .guide-hero .cta-note { margin-top: 18px; font-size: 1rem; color: var(--ink-2); }
/* the tally lamp: fades on when the page loads, then stays lit */
.tally { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8E9C 0 18%, var(--rec) 55%); box-shadow: 0 0 10px 1px rgb(215 38 61 / 0.5); margin-right: 8px; vertical-align: 0.05em; animation: lamp-on 600ms ease-out both; }
@keyframes lamp-on { from { opacity: 0; box-shadow: 0 0 0 0 rgb(215 38 61 / 0); } to { opacity: 1; } }
.eyebrow { display: inline-flex; align-items: center; margin-bottom: 18px; font-family: var(--font-time); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }

.takes { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; margin: 92px 0 -84px; max-width: 1040px; text-align: left; align-items: start; }
/* the slate card over both outputs: one take, two deliverables */
.takes::before { content: "TAKE 03   \00B7   09 Oct   \00B7   2:41"; white-space: pre; position: absolute; left: 0; top: -58px; z-index: 3; background: var(--stage); color: var(--on-stage); font-family: var(--font-time); font-weight: 700; font-size: 1.05rem; padding: 18px 20px 10px; border-radius: var(--radius-xs); background-image: var(--clapper); background-size: 100% 8px; background-repeat: no-repeat; background-color: var(--stage); }
.take { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--stage); color: var(--on-stage); }
.take-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; font-weight: 600; font-size: 0.95rem; }
.take-bar .tc { font-family: var(--font-time); font-variant-numeric: tabular-nums; opacity: 0.85; font-weight: 500; font-size: 0.85rem; }
.take img { width: 100%; }
.take figcaption { padding: 12px 16px 14px; font-size: 0.98rem; color: var(--on-stage-2); }
.take.paper { background: #fff; color: var(--ink); box-shadow: var(--shadow), inset 0 6px 0 var(--stage); }
.take.paper .take-bar { background: var(--canvas); border-bottom: 1px solid var(--line); padding-top: 16px; }
.take.paper .take-view { max-height: 400px; overflow: hidden; position: relative; }
.take.paper .take-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); }
.take.paper figcaption { color: var(--ink-2); }
.hero + section { padding-top: 150px; }

/* the product window, with viewfinder corner marks */
.shot { position: relative; margin: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.shot img, .shot video { width: 100%; height: auto; display: block; }
.frame { position: relative; }
.frame::after {
  --m: var(--ink); --len: 16px; --w: 3px;
  content: ""; position: absolute; inset: -9px; pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / var(--len) var(--w) no-repeat,
    linear-gradient(var(--m), var(--m)) 0 0 / var(--w) var(--len) no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / var(--len) var(--w) no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / var(--w) var(--len) no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / var(--len) var(--w) no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / var(--w) var(--len) no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / var(--len) var(--w) no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / var(--w) var(--len) no-repeat;
}
.frame > .shot { position: relative; z-index: 1; }
.frame.pair { display: grid; gap: 22px; }

/* sections */
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
section.ground { background: var(--surface); }
.label { display: inline-block; font-family: var(--font-time); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); margin-bottom: 10px; padding: 3px 10px; background: var(--sunken); border-radius: var(--radius-xs); }
.sub { color: var(--ink-2); font-size: 1.1rem; max-width: 42rem; margin-bottom: 28px; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feature.flip .frame, .feature.flip .shot { order: -1; }
.feature.narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); }
.feature.narrow .frame { max-width: 420px; justify-self: center; width: 100%; }
.feature .frame { padding: 0; }

.stack .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; max-width: 900px; margin-bottom: 36px; }
.stack .ticks li { max-width: none; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; max-width: 36rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); }
.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: var(--radius-xs); background: var(--brand); color: var(--on-brand); font-size: 0.72rem; font-weight: 700; line-height: 1.6; vertical-align: 0.1em; }

/* pricing */
.price-table { width: 100%; max-width: 860px; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.price-table th:first-child, .price-table td:first-child { padding-left: 0; width: 42%; }
.price-table thead th { font-size: 0.95rem; color: var(--ink-2); font-weight: 700; }
.price-table tbody th { font-weight: 500; }
.price-table .yes { color: var(--brand-ink); font-weight: 600; }
.price-table .no { color: var(--ink-2); }
.price-table tfoot th, .price-table tfoot td { border-bottom: 0; padding-top: 22px; }
.price { font-family: var(--font-time); font-weight: 700; font-size: 2rem; line-height: 1.1; margin: 0 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.price small { font-family: var(--font); font-weight: 600; font-size: 0.9rem; letter-spacing: 0; color: var(--ink-2); margin-left: 0.1em; }
.price-note { color: var(--ink-2); font-size: 0.9rem; margin: 0 0 12px; }
.price-table .btn { display: flex; width: 100%; max-width: 240px; margin: 0 0 8px; }
.table-note { color: var(--ink-2); max-width: 46rem; margin-top: 20px; }

/* faq */
.faq { max-width: 46rem; margin: 24px 0 0; }
.faq dt { font-weight: 700; font-size: 1.1rem; margin-top: 24px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); }

/* footer */
.site-footer { padding: 48px 0 0; background: var(--stage); color: var(--on-stage); border-top: 7px solid transparent; border-image: var(--clapper) 7 0 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); gap: 28px 48px; padding-bottom: 28px; }
.footer-col h2 { font-family: var(--font); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: var(--on-stage-2); margin: 0 0 8px; }
.footer-col a { display: block; color: var(--on-stage); text-decoration: none; padding: 4px 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.trademark { border-top: 1px solid var(--stage-line); padding: 18px 0 40px; color: var(--on-stage-2); font-size: 0.9rem; }
.trademark a { color: var(--on-stage); }

/* privacy policy and other text pages */
main.doc { max-width: 760px; margin: 0 auto; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); margin-bottom: 16px; }
.doc h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--sunken); padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.doc a { overflow-wrap: anywhere; }

/* 404 */
.notfound { padding-top: 88px; padding-bottom: 96px; max-width: 720px; margin: 0 auto; }
.notfound h1 { margin-bottom: 12px; }
.notfound p { color: var(--ink-2); font-size: 1.15rem; margin-bottom: 28px; }
.notfound .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* guide pages: /guide/ and /guide/<slug> */
.guide-hero { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.guide-hero .wrap, .guide-body { max-width: 808px; }
.guide-hero .eyebrow { margin-bottom: 14px; }
.guide-hero .wrap { margin: 0 auto; }
.guide-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.3rem); margin-bottom: 16px; }
.guide-hero .lede { max-width: 40rem; font-size: 1.15rem; }
.guide-body { padding-top: 44px; padding-bottom: 72px; }
.guide-body > h2:first-child { margin-top: 0; }
.nb { white-space: nowrap; }
.guide-body .asof { display: inline-block; margin-left: 6px; padding: 0 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-family: var(--font-time); font-size: 0.78rem; font-weight: 600; letter-spacing: 0; line-height: 1.7; vertical-align: 0.25em; white-space: nowrap; }

/* a numbered walk-through with pictures */
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps > li { position: relative; counter-increment: step; margin: 0 0 30px; padding-left: 54px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-xs); background: var(--stage); color: var(--on-stage); font-family: var(--font-time); font-weight: 700; font-size: 1.1rem; }
.steps h3 { margin: 6px 0 8px; }
.steps p { margin: 0 0 12px; }

/* product pictures */
.pic { margin: 22px 0 30px; }
.pic .frame { margin: 9px; max-width: 560px; }
.pic.tall .frame { max-width: 400px; }
.pic .frame::after { --m: var(--ink-2); }
.pic figcaption { margin-top: 14px; color: var(--ink-2); font-size: 0.9rem; max-width: 34rem; }

/* comparison table */
.compare { width: 100%; margin: 20px 0 10px; border-collapse: collapse; table-layout: fixed; font-size: 0.97rem; }
.compare caption { text-align: left; padding-bottom: 8px; color: var(--ink-2); font-size: 0.9rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; font-weight: 400; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.compare thead th { font-size: 0.95rem; font-weight: 700; color: var(--ink-2); border-bottom: 2px solid var(--line-strong); }
.compare tbody th { width: 22%; padding-left: 0; font-weight: 600; }
.compare thead th:first-child { padding-left: 0; }
.compare .us { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); }
.compare-src { margin: 0 0 16px; color: var(--ink-2); font-size: 0.9rem; }

/* closing panel and related guides */
.doc .cta { margin: 48px 0 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.doc .cta h2 { margin: 0 0 8px; }
.doc .cta p { color: var(--ink-2); }
.doc .cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 14px; }
.doc .cta .note { margin: 0; font-size: 0.85rem; }
.doc .guide-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 16px 0 0; }
.doc .guide-list li { margin: 0; }
.doc .guide-list a { display: block; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.doc .guide-list a:hover { border-color: var(--brand); }
.doc .guide-list b { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--brand-ink); }
.doc .guide-list span { display: block; margin-top: 2px; color: var(--ink-2); font-size: 0.95rem; }
.more { margin-top: 44px; }
.more h2 { margin-top: 0; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .feature, .feature.narrow { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.flip .frame, .feature.flip .shot { order: 0; }
  .stack .ticks { grid-template-columns: minmax(0, 1fr); }
  section { padding: 56px 0; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 16px; }
  .hero .lede, .guide-hero .lede { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero .btn, .guide-hero .btn { width: 100%; }

  /* the pricing table stacks: one block per feature, then one block per plan */
  .price-table, .price-table thead, .price-table tbody, .price-table tfoot, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; max-width: none; }
  .price-table thead { display: none; }
  .price-table tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td, .price-table th:first-child, .price-table td:first-child { padding: 0; border: 0; width: 100%; }
  .price-table tbody th { font-weight: 600; margin-bottom: 6px; }
  .price-table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
  .price-table tbody td::before { content: attr(data-label); color: var(--ink-2); font-weight: 400; }
  .price-table tfoot tr { padding: 20px 0 0; }
  .price-table tfoot th, .price-table tfoot th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
  .price-table tfoot td { padding: 0 0 20px; }
  .price-table tfoot td::before { content: attr(data-label); display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
  .price-table tfoot .btn { max-width: none; }
}

@media (max-width: 640px) {
  .guide-hero { padding: 28px 0 36px; }
  .guide-body { padding-top: 32px; padding-bottom: 56px; }
  .nav { gap: 4px 14px; }
  .steps > li { padding-left: 0; }
  .steps > li::before { position: static; margin-bottom: 8px; }
  .doc .cta { padding: 20px; }
  .doc .cta .btn { width: 100%; }

  /* the comparison table stacks: one block per row, each side labelled */
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare caption { display: block; }
  .compare tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td, .compare tbody th { padding: 0; border: 0; width: 100%; }
  .compare tbody th { margin-bottom: 8px; }
  .compare td { margin-top: 6px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
  .compare .us { padding: 8px 10px; border-radius: var(--radius-xs); }
}

/* a dark band inside the page: the control room */
.stage-band { background: var(--stage); color: var(--on-stage); border-bottom: 0; }
.stage-band .label { background: var(--stage-2); }
.stage-band .label, .stage-band .sub { color: var(--on-stage-2); }
.stage-band a { color: #B7C5FA; }
.stage-band .ticks li::before { background: #9DB1F7; }
.stage-band .tag { background: #9DB1F7; color: var(--stage); }
.stage-band .shot { box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.7); }
.wide-shot { margin-top: 36px; max-width: 760px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.stack-shots { display: grid; gap: 24px; }
@media (min-width: 901px) { .duo > div:first-child { position: sticky; top: 24px; } }

@media (max-width: 900px) {
  .hero { padding: 40px 0 0; }
  .takes { grid-template-columns: minmax(0, 1fr); margin-bottom: -60px; }
  .hero + section { padding-top: 110px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
}

/* store-soon */
.btn.store-soon, .btn.store-soon:hover { background: transparent; color: inherit; border-style: dashed; opacity: .6; cursor: default; filter: none; box-shadow: none; transform: none }
.footer-col .store-soon { display: block; padding: 4px 0; opacity: .6; cursor: default }
.updated { margin: 6px 0 14px; color: var(--ink-2); font-size: 0.9rem; }
.guide-hero .updated { color: var(--ink-2); }

/* changelog: one article per release, version and date on one line */

