/* Caldera corp site. Dark, technical, quiet; ember orange is reserved for actions and the mark's glow. */
:root {
  --bg: #07080a;
  --bg-2: #0c0d10;
  --surface: #111216;
  --surface-2: #16181d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f2ef;
  --ink-2: #b9bbc1;
  --muted: #8a8d95;
  --silver-1: #e6e7ea;
  --silver-2: #8d9097;
  --ember: #ff7a1a;
  --ember-2: #f05f05;
  --ember-deep: #a24a04;
  --ember-glow: rgba(255, 122, 26, 0.22);
  --radius: 14px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px / 1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ember);
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus {
  left: 8px;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}
.brand img.wm {
  width: 153px;
  height: 16px;
  border-radius: 0;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.header-cta {
  display: flex;
  gap: 8px;
}
.menu {
  display: none;
  margin-left: auto;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 15px;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] .menu-panel {
  display: grid;
}
.menu-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 68px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px;
  gap: 4px;
}
.menu-panel a {
  text-decoration: none;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.menu-panel .btn {
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 960px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
}
.btn.ember {
  background: linear-gradient(180deg, var(--ember), var(--ember-2));
  border-color: transparent;
  color: #140700;
  box-shadow: 0 8px 30px -10px var(--ember-glow);
}
.btn.ember:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ff8a33, var(--ember));
}
.btn.lg {
  padding: 14px 22px;
  font-size: 16px;
}

/* ---- type ---- */
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 750;
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 720;
}
h3 {
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.01em;
}
.chrome {
  background: linear-gradient(180deg, var(--silver-1) 20%, var(--silver-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font: 600 12px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}
.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 680px;
}
.muted {
  color: var(--muted);
}
p {
  margin: 0 0 14px;
}

/* ---- sections ---- */
section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
section.first {
  border-top: 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.grid {
  display: grid;
  gap: 16px;
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .g3,
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
}
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 16px;
}
.card .num {
  font: 600 13px var(--mono);
  color: var(--ember);
  letter-spacing: 0.08em;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--ember);
  border-radius: 2px;
}
.pill {
  display: inline-block;
  font: 600 11px / 1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.pill.live {
  color: var(--ember);
  border-color: rgba(255, 122, 26, 0.45);
}

/* ---- hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 104px;
  border-top: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 820px;
  height: 820px;
  background: url("/assets/caldera-hero.jpg") center / contain no-repeat;
  opacity: 0.55;
  mix-blend-mode: lighten;
  pointer-events: none;
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.hero .wrap {
  position: relative;
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 1.02;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  max-width: 900px;
}
.path {
  display: block;
  text-decoration: none;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: rgba(17, 18, 22, 0.72);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.path:hover {
  border-color: rgba(255, 122, 26, 0.5);
  transform: translateY(-2px);
}
.path b {
  display: block;
  font-size: 19px;
  margin-bottom: 4px;
}
.path span {
  color: var(--ink-2);
  font-size: 15px;
}
.path .go {
  color: var(--ember);
  font-weight: 650;
  font-size: 15px;
  margin-top: 10px;
  display: inline-block;
}
@media (max-width: 640px) {
  .paths {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 72px 0 64px;
  }
  .hero::before {
    width: 520px;
    height: 520px;
    inset: -8% -40% auto auto;
    opacity: 0.4;
  }
}

/* ---- flow diagram ---- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow > li {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.flow > li:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}
.flow > li:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}
.flow > li + div {
  border-left: 0;
}
.flow > li::after {
  content: "→";
  position: absolute;
  right: -9px;
  top: 22px;
  color: var(--ember);
  font-weight: 700;
  z-index: 1;
}
.flow > li:last-child::after {
  content: none;
}
.flow b {
  display: block;
  font-size: 16px;
  margin: 6px 0 6px;
}
.flow span {
  color: var(--ink-2);
  font-size: 14px;
  display: block;
}
.flow .tag {
  font: 600 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flow .ours {
  border-color: rgba(255, 122, 26, 0.35);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.08), var(--surface));
}
@media (max-width: 960px) {
  .flow {
    grid-template-columns: 1fr;
  }
  .flow > li,
  .flow > li:first-child,
  .flow > li:last-child {
    border-radius: 0;
    border-left: 1px solid var(--line);
  }
  .flow > li:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .flow > li:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .flow > li + div {
    border-top: 0;
  }
  .flow .ours {
    border-color: var(--line);
  }
  .flow > li::after {
    content: "↓";
    right: 18px;
    top: auto;
    bottom: -13px;
  }
}

/* ---- split two-audience block ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split .card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.split .card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.split .card .list {
  margin: 8px 0 26px;
}
@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---- brands ---- */
.brand-card {
  display: flex;
  gap: 18px;
  align-items: center;
}
.brand-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 6px;
  flex: none;
}
.brand-badge img {
  width: 100%;
  height: 100%;
}

/* ---- spec table ---- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec th,
.spec td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec th {
  color: var(--muted);
  font-weight: 600;
  width: 32%;
}
.spec td {
  color: var(--ink-2);
}
.code {
  font: 13px / 1.6 var(--mono);
  background: #050506;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow-x: auto;
  color: #c9cbd1;
  white-space: pre;
}
.code .k {
  color: #9aa4b2;
}
.code .s {
  color: #f0b37e;
}

/* ---- page header (inner pages) ---- */
.page-head {
  padding: 96px 0 56px;
  border-top: 0;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -160px;
  width: 520px;
  height: 520px;
  background: url("/assets/caldera-hero.jpg") center / contain no-repeat;
  opacity: 0.28;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(closest-side, #000 50%, transparent);
  pointer-events: none;
}
.page-head .wrap {
  position: relative;
}

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  background: radial-gradient(600px 220px at 50% 100%, rgba(255, 122, 26, 0.16), transparent 70%);
}
.cta-band .hero-ctas {
  justify-content: center;
}

/* ---- forms ---- */
.form {
  display: grid;
  gap: 14px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .form .row {
    grid-template-columns: 1fr;
  }
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 550;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.form textarea {
  min-height: 140px;
  resize: vertical;
}
.form .err {
  color: #ff9b7a;
  font-size: 13px;
}
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 26, 0.4);
  background: rgba(255, 122, 26, 0.08);
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-2);
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.foot-grid h4 {
  font: 600 12px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.foot-grid a {
  display: block;
  text-decoration: none;
  color: var(--ink-2);
  padding: 3px 0;
}
.foot-grid a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.foot-grid a:hover {
  color: var(--ink);
}
.foot-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The vertical tiles (Home: Verticals): three across, two on phones. */
.tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- phones (Oct 24 mobile pass) ---- */
@media (max-width: 640px) {
  /* Tighter rhythm: desktop-sized gaps made the page feel stretched. */
  section {
    padding: 48px 0;
  }
  .section-head {
    margin-bottom: 26px;
  }
  /* The ring sits in the corner, faint, so the headline reads cleanly over it. */
  .hero::before {
    width: 340px;
    height: 340px;
    inset: -40px -150px auto auto;
    opacity: 0.22;
  }
  /* Short cards (one word, one line) go two by two instead of a long single column. */
  .g4.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g4.compact .card {
    padding: 18px;
  }
  /* An odd number of tiles in two columns: the last one ("Your vertical") spans the row instead of sitting alone. */
  .tiles > :last-child {
    grid-column: 1 / -1;
  }
}

/* Legal pages (privacy policy, terms): long reading text, smaller section headings. */
.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--ink-2);
  line-height: 1.65;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--ember);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
