/* TempoSuite website. Tokens first; light by default, dark by preference or toggle. Nunito is self-hosted (OFL,
   assets/fonts): the site makes no requests to other hosts. */
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(fonts/Nunito-400.ttf); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(fonts/Nunito-700.ttf); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(fonts/Nunito-900.ttf); }
:root {
  --navy: #0E1124;
  --navy-deep: #080a18;
  --teal: #0b8a68;
  --amber: #2EE6A6;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #13202e;
  --muted: #536274;
  --border: #dbe2ea;
  --accent: var(--navy);
  --accent-text: #ffffff;
  --link: #0a6f96;
  --code-bg: #eef2f7;
  --shadow: 0 1px 2px rgba(16, 32, 48, .06), 0 8px 24px rgba(16, 32, 48, .08);
  --radius: 14px;
  --maxw: 1180px;
  --font: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d1c; --surface: #141830; --surface-2: #1c2142; --text: #eef0fb; --muted: #a6acd0;
    --border: #2a3060; --accent: #2EE6A6; --accent-text: #0E1124; --link: #5fd6f7; --code-bg: #1c2142;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d1c; --surface: #141830; --surface-2: #1c2142; --text: #eef0fb; --muted: #a6acd0;
  --border: #2a3060; --accent: #2EE6A6; --accent-text: #0E1124; --link: #5fd6f7; --code-bg: #1c2142;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
code { font-family: var(--mono); font-size: .88em; background: var(--code-bg); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
pre { font-family: var(--mono); font-size: 13.5px; line-height: 1.5; background: var(--code-bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 550; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-btn { display: flex; align-items: center; gap: 8px; min-width: 200px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.search-btn kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .menu-btn { display: grid; }
  .search-btn { min-width: 0; }
  .search-btn span, .search-btn kbd { display: none; }
  .brand small { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 11px; font-weight: 650; text-decoration: none; border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #0E1124; box-shadow: 0 6px 18px rgba(46, 230, 166, .35); }
.btn-ghost { color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(43, 200, 245, .28), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, #05060f 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--amber); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; margin: 12px 0 18px; }
.hero p.lead { font-size: 19px; color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero .facts div { font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero .facts strong { display: block; font-size: 26px; color: #fff; letter-spacing: -.02em; }
.devices { position: relative; min-height: 360px; }
.device-tablet { background: #080a18; border-radius: 20px; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.device-tablet img { display: block; border-radius: 9px; }
.device-phone { position: absolute; width: 29%; right: -2%; bottom: -8%; background: #080a18; border-radius: 26px; padding: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.device-phone img { display: block; border-radius: 19px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .devices { margin-bottom: 30px; }
}

/* Sections */
section.band { padding: 72px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.eyebrow.dark { color: var(--teal); }
:root[data-theme="dark"] .eyebrow.dark { color: #2EE6A6; }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.card h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; font-weight: 650; font-size: 14px; color: var(--link); }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); }
:root[data-theme="dark"] .icon-tile { color: #2EE6A6; }
.icon-tile svg { width: 24px; height: 24px; }
.app-card img { border-radius: 10px; border: 1px solid var(--border); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.app-card .tag, .card.half .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Feature page */
.page-hero { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.025em; line-height: 1.1; margin: 10px 0 12px; }
.page-hero p { font-size: 19px; color: rgba(255, 255, 255, .85); max-width: 760px; margin: 0; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.feature-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 48px 16px; }
.feature-layout aside { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .feature-layout { grid-template-columns: 1fr; } .feature-layout aside { position: static; } }
.prose { font-size: 16.5px; }
.prose h1 { font-size: 34px; letter-spacing: -.02em; line-height: 1.15; }
.prose h2 { font-size: 24px; letter-spacing: -.01em; margin-top: 40px; padding-top: 6px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose h4 { font-size: 16px; }
.prose .anchor { opacity: 0; margin-left: -1em; padding-right: .3em; text-decoration: none; color: var(--muted); }
.prose h1:hover .anchor, .prose h2:hover .anchor, .prose h3:hover .anchor, .prose h4:hover .anchor { opacity: 1; }
.prose li { margin: 4px 0; }
.prose blockquote { margin: 16px 0; padding: 4px 18px; border-left: 4px solid var(--teal); background: var(--surface); border-radius: 0 10px 10px 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); font-weight: 650; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
.side-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.side-box h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery.tall { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.shot button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--surface-2); }
.shot.phone img { aspect-ratio: 9 / 16; }
.shot figcaption { padding: 10px 12px 12px; font-size: 14px; }
.shot figcaption strong { display: block; }
.shot figcaption span { color: var(--muted); font-size: 13px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 10, 18, .88); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.lightbox img { max-height: calc(100vh - 120px); object-fit: contain; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 16px; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }

/* Docs */
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; gap: 36px; padding: 32px 16px 64px; }
.docs-nav { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14.5px; }
.docs-nav h5 { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.docs-nav a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--text); text-decoration: none; }
.docs-nav a:hover { background: var(--surface-2); }
.docs-nav a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--link); font-weight: 650; }
.toc { position: sticky; top: 84px; align-self: start; font-size: 13.5px; max-height: calc(100vh - 100px); overflow-y: auto; }
.toc h5 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.toc a.l3 { padding-left: 12px; }
.toc a:hover, .toc a.active { color: var(--link); }
.doc-meta { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 48px; padding-top: 14px; }
@media (max-width: 1100px) { .docs-layout { grid-template-columns: 220px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 760px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; max-height: none; border-bottom: 1px solid var(--border); padding-bottom: 12px; } }

/* Training */
.season { margin-bottom: 44px; }
.season h2 { margin: 0 0 4px; font-size: 24px; }
.season > p { color: var(--muted); margin: 0 0 16px; }
.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.episode { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s ease; }
.episode:hover { transform: translateY(-2px); }
.episode .poster { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), #1c2142); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 16px; position: relative; }
.episode .poster small { opacity: .75; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.episode .poster b { font-size: 18px; line-height: 1.25; margin-top: 4px; }
.episode .poster .len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .55); font-size: 12px; padding: 2px 7px; border-radius: 6px; }
.episode .body { padding: 12px 14px 14px; font-size: 14px; color: var(--muted); }
.player { background: #000; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.chapters { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.chapters button { all: unset; cursor: pointer; display: flex; gap: 10px; padding: 6px 8px; border-radius: 7px; width: 100%; box-sizing: border-box; font-size: 14.5px; }
.chapters button:hover { background: var(--surface-2); }
.chapters time { font-family: var(--mono); color: var(--muted); min-width: 42px; }
.episode-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* Search */
.search-dialog { position: fixed; inset: 0; z-index: 150; background: rgba(4, 10, 18, .55); display: none; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.search-dialog.open { display: flex; }
.search-panel { width: min(680px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.search-panel input { width: 100%; border: 0; border-bottom: 1px solid var(--border); padding: 18px 20px; font: inherit; font-size: 18px; background: transparent; color: var(--text); outline: none; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-results a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a.sel { background: var(--surface-2); }
.search-results small { display: block; color: var(--muted); font-size: 12.5px; }
.search-results p { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-results mark { background: color-mix(in srgb, var(--amber) 55%, transparent); color: inherit; border-radius: 3px; }
.search-empty { padding: 22px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; }
.site-footer h5 { margin: 0 0 8px; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; padding: 2px 0; }
.site-footer a:hover { color: var(--link); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--teal) 15%, transparent); color: var(--teal); }
.callout { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.callout .card h3 { display: flex; gap: 10px; align-items: center; }

/* Sizing fixes: icons inside text-sized controls, and grid columns that must not grow to their widest table. */
.search-btn svg { width: 16px; height: 16px; flex: none; }
.callout .card h3 svg { width: 26px; height: 26px; flex: none; color: var(--teal); }
:root[data-theme="dark"] .callout .card h3 svg { color: #2EE6A6; }
.docs-layout > *, .feature-layout > * { min-width: 0; }
.prose a { overflow-wrap: anywhere; }
@media (max-width: 760px) { .docs-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .feature-layout { grid-template-columns: minmax(0, 1fr); } }
/* A phone screenshot among wide ones keeps the row's tile shape. */
.gallery:not(.tall) .shot.phone img { aspect-ratio: 16 / 10; object-fit: contain; }

/* Docs: a wider page, calmer inline code, and API tables as endpoint lists. */
.docs-layout { max-width: 1480px; grid-template-columns: 240px minmax(0, 1fr) 230px; }
.docs-layout .prose { font-size: 15.5px; }
.docs-layout .prose > p, .docs-layout .prose > ul, .docs-layout .prose > ol { max-width: 82ch; }
.prose code { overflow-wrap: break-word; font-size: .86em; padding: .05em .3em; }
.prose td code, .prose th code { white-space: normal; overflow-wrap: break-word; }
.endpoints { margin: 18px 0 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.ep { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.ep:last-child { border-bottom: 0; }
.ep:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.ep-sig { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.ep-path { font-size: 14px; font-weight: 600; background: none; padding: 0; color: var(--text); overflow-wrap: normal; word-break: normal; }
.ep-path-text { font-weight: 600; }
.ep-notes { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ep-notes code { color: var(--text); }
.ep-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.m { font: 700 11.5px/1 var(--mono); padding: 4px 7px; border-radius: 6px; letter-spacing: .02em; color: #fff; background: #607080; }
.m-get { background: #1e7d4f; } .m-post { background: #1d5fa8; } .m-put { background: #b06a00; } .m-patch { background: #7a4fb0; } .m-delete { background: #b3261e; } .m-ws { background: #00796b; }
@media (max-width: 1100px) { .docs-layout { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 760px) { .docs-layout { grid-template-columns: minmax(0, 1fr); } }

/* ===== Sales pages ===== */
.btn-sm { padding: 8px 14px; font-size: 14.5px; border-radius: 10px; }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(255, 200, 87, .45); }
.nav-cta { display: none; }
@media (max-width: 900px) { .header-cta { display: none; } .nav .nav-cta { display: block; background: var(--amber); color: #0E1124; font-weight: 700; text-align: center; margin-top: 6px; } }
.center { text-align: center; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.page-hero.center { text-align: center; padding: 72px 0 64px; }
.page-hero.center p { margin: 0 auto; }
.page-hero .eyebrow, .feature-hero .eyebrow { color: var(--amber); }

/* Proof chips */
.proof { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.proof li { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; }
.proof svg { width: 18px; height: 18px; flex: none; color: var(--teal); stroke-width: 2.6; }
:root[data-theme="dark"] .proof svg { color: #2EE6A6; }
.proof.on-dark li { color: rgba(255, 255, 255, .92); }
.proof.on-dark svg { color: var(--amber); }

/* Industries strip */
.industries { background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 0; }
.industries .wrap { display: flex; align-items: center; gap: 18px; }
.industries span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.industries ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.industries li { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
@media (max-width: 760px) { .industries .wrap { flex-direction: column; align-items: flex-start; } }

/* Alternating benefit rows */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.row.flip .row-text { order: 2; }
.row-text h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.025em; margin: 8px 0 14px; }
.row-text p.sub { font-size: 18px; color: var(--muted); margin: 0; line-height: 1.6; }
.more-link { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--link); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .row { grid-template-columns: minmax(0, 1fr); gap: 28px; } .row.flip .row-text { order: 0; } }

/* Device frames */
.frame { position: relative; }
.frame button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.frame img { display: block; width: 100%; }
.frame.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(16, 32, 48, .06), 0 24px 60px rgba(16, 32, 48, .16); }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.frame.phone { width: min(320px, 72%); margin: 0 auto; padding: 10px; border-radius: 34px; background: #080a18; box-shadow: 0 24px 60px rgba(16, 32, 48, .28); }
.frame.phone img { border-radius: 25px; }
:root[data-theme="dark"] .frame.browser { box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }

/* Feature hero */
.feature-hero { background: radial-gradient(900px 420px at 90% -20%, rgba(43, 200, 245, .28), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-deep) 70%); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.feature-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin: 10px 0 16px; }
.feature-hero .lead { font-size: 19px; color: rgba(255, 255, 255, .86); margin: 0; }
.feature-hero .cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.feature-hero .frame.browser { border-color: rgba(255, 255, 255, .12); }

/* Feature cards */
.feature-card h3 { font-size: 19px; line-height: 1.25; }
.feature-card .more { color: var(--teal); }
:root[data-theme="dark"] .feature-card .more { color: #2EE6A6; }
.app-card h3 { margin-top: -4px; }

/* Closing call to action */
.cta-band { background: radial-gradient(700px 300px at 15% 120%, rgba(46, 230, 166, .2), transparent 60%), linear-gradient(150deg, var(--navy), #05060f); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; letter-spacing: -.02em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 620px; font-size: 17px; }
.cta-band .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .proof { margin-top: 30px; }
/* Long pages (the console) are shown from the top, cropped to a screen's height. */
.frame.browser img { max-height: 680px; object-fit: cover; object-position: top; }
/* A section whose point no screenshot makes: a statement panel instead. */
.panel { border-radius: 18px; padding: 44px 40px; background: radial-gradient(500px 240px at 90% 0%, rgba(43, 200, 245, .3), transparent 60%), linear-gradient(150deg, var(--navy), #05060f); color: #fff; box-shadow: 0 24px 60px rgba(16, 32, 48, .16); }
.panel .icon-tile { background: rgba(255, 200, 87, .18); color: var(--amber); }
.panel p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -.015em; margin: 18px 0 0; font-weight: 600; }

/* TempoPiano is landscape-only: its screenshots sit in a sideways phone. */
.frame.phone.landscape { width: 100%; max-width: 640px; padding: 9px 12px; border-radius: 30px; }
.frame.phone.landscape img { border-radius: 20px; }
.device-phone.landscape { width: 50%; right: -4%; bottom: -16%; border-radius: 22px; padding: 7px 9px; }
.device-phone.landscape img { border-radius: 15px; }

/* The home page: TempoSuite's mark in the hero, the two halves of the suite, and the grouped feature grid. */
.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 900; font-size: 26px; letter-spacing: -.01em; }
.hero-brand svg { width: 48px; height: 48px; }
.grid.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 800px) { .grid.cols-2 { grid-template-columns: 1fr; } }
.card.half img { width: 100%; border-radius: 10px; border: 1px solid var(--border); aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.card.half h3 { margin: 4px 0 0; font-size: 21px; }
.half-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.half-list a { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 15px; }
.half-list a:hover { color: var(--link); }
.half-list svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
:root[data-theme="dark"] .half-list svg { color: #2EE6A6; }
section.group-head { padding-bottom: 8px; }
.grid-title { margin: 34px 0 14px; font-size: 20px; }
.grid-title:first-of-type { margin-top: 0; }
