:root {
  color-scheme: light;
  --page-bg: #f7f7f8;
  --text: #171717;
  --body-text: #545456;
  --muted: #646466;
  --line: #d9d9db;
  --control-line: #cdcdcf;
  --surface: #fff;
  --hover-bg: #f1f1f2;
  --button-bg: #24282b;
  --button-text: #fff;
  --button-hover: #444b50;
  --success: #356345;
  --error: #a43226;
  --focus: #70604e;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 48px;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header {
  position: relative;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: block;
  width: 310px;
  max-width: 70%;
  height: 48px;
  position: relative;
  flex-shrink: 0;
}

.eyebrow,
.footer {
  color: var(--muted);
  font-size: 12px;
}

main {
  flex: 1;
  display: block;
  padding: 44px 0 70px;
}

.eyebrow {
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.prototype-link {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  padding: 11px 17px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.prototype-link:hover {
  border-color: #777;
  background: var(--hover-bg);
}

.arrow { font-size: 18px; font-weight: 400; line-height: 1; }

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 5px;
}

.footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.footer a { text-underline-offset: 4px; }
.footer a:hover { color: var(--text); }

/* Small footer badge; the hit area remains comfortable on touch screens. */
.pageviews { position: relative; margin-left: auto; flex-shrink: 0; }
.pageviews-button { display: flex; align-items: center; min-height: 44px; padding: 8px 0 8px 8px; border: 0; background: transparent; color: #fff; cursor: pointer; font: 11px/20px Arial, Helvetica, sans-serif; }
.pageviews-badge { display: inline-flex; overflow: hidden; border-radius: 3px; }
.pageviews-label { padding: 0 6px; background: #1a201f; color: #fff; }
.pageviews-number { min-width: 32px; padding: 0 6px; background: #3ecf8e; color: #10271c; font-variant-numeric: tabular-nums; text-align: center; }
.pageviews-tooltip { position: absolute; z-index: 20; right: 0; bottom: calc(100% - 4px); width: max-content; max-width: min(290px, calc(100vw - 48px)); padding: 12px 14px; border: 1px solid var(--control-line); border-radius: 7px; background: var(--surface); color: var(--body-text); box-shadow: 0 6px 24px #0002; font: 12px/1.6 Arial, Helvetica, sans-serif; }
.pageviews-tooltip[hidden] { display: none; }

@media (max-width: 720px) {
  .page { padding: 0 24px; }
  .header { min-height: 100px; gap: 12px; }
  .wordmark { width: 255px; max-width: calc(100% - 140px); height: 40px; }
  .prototype-link { padding: 10px 12px; }
  .prototype-link .arrow { display: none; }
  .footer { flex-wrap: wrap; gap: 10px 24px; padding: 22px 0; }
}

@media (max-width: 380px) {
  .page { padding: 0 20px; }
  h1 { font-size: 35px; }
}

/* Company landing page and interest form. */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-actions > a { width: 168px; min-width: 0; }
.interest-link, .submit-interest { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 46px; border: 1px solid var(--button-bg); border-radius: 8px; padding: 11px 17px; background: var(--button-bg); color: var(--button-text); font: 600 14px/1.45 Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.interest-link:hover, .submit-interest:hover { background: var(--button-hover); }
.hero { display: grid; gap: 14px; }
.hero-intro { text-align: center; }
.hero-intro .eyebrow { margin-bottom: 18px; font-size: 11px; }
.hero-headline { display: grid; max-width: none; font-size: clamp(32px, 3.7vw, 56px); line-height: 1.15; letter-spacing: -.045em; }
/* All phrases occupy the same grid cell, reserving the tallest phrase's height. */
.hero-phrase { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.hero-phrase.is-active { opacity: 1; transform: translateY(0); }
#tricerep-cinematic-v3 { min-width: 0; width: 100%; margin: 0; }
.interest-section { margin-top: 66px; padding: 58px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; scroll-margin-top: 32px; }
.interest-intro { max-width: 470px; }
.interest-intro h2 { margin: 0 0 20px; font-size: clamp(30px,3vw,38px); font-weight: 500; letter-spacing: -.035em; }
.interest-intro p:not(.eyebrow) { color: var(--body-text); font-size: 16px; line-height: 1.7; margin: 14px 0 0; }
#interest-form label:not(.consent) { display: block; font-size: 13px; font-weight: 600; margin: 0 0 8px; }
#interest-form label span { font-weight: 400; }
#interest-form label:not(.consent) span { color: var(--muted); }
#interest-form input:not([type=checkbox]) { display: block; width: 100%; min-height: 46px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--surface); padding: 10px 12px; color: var(--text); font: 16px/1.4 Arial,Helvetica,sans-serif; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.65; color: var(--body-text); margin: 22px 0; cursor: pointer; }
.consent input { width: 17px; height: 17px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--button-bg); }
.consent a { text-underline-offset: 3px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { font-size: 13px; line-height: 1.65; margin: 12px 0 0; min-height: 22px; }
.form-status[data-state=success] { color: var(--success); }
.form-status[data-state=error] { color: var(--error); }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.footer { justify-content: flex-start; flex-wrap: wrap; gap: 14px 26px; }
.footer>span { margin-right: auto; }
.legal { max-width: 780px; margin: 0 auto; padding: 55px 0; font-size: 16px; line-height: 1.75; }
.legal h1 { font-size: 42px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 30px 0 8px; font-weight: 500; }
.legal p { color: var(--body-text); }
@media (max-width: 1080px) {
  .interest-section { gap: 44px; margin-top: 42px; }
}
@media (max-width: 720px) {
  .header { align-items: flex-start; flex-direction: column; gap: 22px; padding: 24px 0; }
  .wordmark { width: 270px; max-width: 100%; height: 42px; }
  .header-actions { width: 100%; gap: 10px; }
  .header-actions a { flex: 1; font-size: 13px; justify-content: center; padding: 10px 12px; }
  main { padding: 42px 0; }
  .hero { gap: 18px; }
  .hero-headline { font-size: clamp(22px, 6.8vw, 42px); }
  #tricerep-cinematic-v3 { margin: 0 -12px; width: calc(100% + 24px); }
  .interest-section { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .footer { font-size: 11px; gap: 14px 22px; }
  .footer>span { flex-basis: 100%; }
  .legal h1 { font-size: 34px; }
}
@media (max-width: 380px) {
  .header-actions a { font-size: 12px; padding: 10px 6px; }
  h1 { font-size: 35px; }
  .form-columns { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .hero-phrase { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-phrase { transition: none; transform: none; }
}

/* The local-time theme is applied before paint; the illustration follows the same palette. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #111110;
  --text: #eeede9;
  --body-text: #c2c0b8;
  --muted: #aaa79e;
  --line: #333330;
  --control-line: #484842;
  --surface: #20201e;
  --hover-bg: #2c2c29;
  --button-bg: #e9e7df;
  --button-text: #1c1c1a;
  --button-hover: #fff;
  --success: #80d6ad;
  --error: #ffa496;
  --focus: #87d3b0;
}
.about-section { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 48px; margin-top: 38px; padding-top: 36px; border-top: 1px solid var(--line); }
.about-section h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.about-section p { margin: 0; max-width: 760px; color: var(--body-text); font-size: 16px; line-height: 1.75; }
@media (min-width: 721px) and (max-width: 900px) {
  .header { gap: 14px; }
  .wordmark { width: 230px; height: 38px; }
  .header-actions { gap: 8px; }
  .header-actions a { font-size: 12px; padding: 10px; gap: 8px; }
}
@media (max-width: 720px) {
  .wordmark { max-width: 100%; }
  .about-section { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; padding-top: 30px; }
}
