/* Star Hero AI — the company site. Tokens from starhero-ops-kit/brand/tokens.json. */
@font-face { font-family: Sora; src: url(/fonts/Sora.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/Manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #14161c;
  --ink-soft: #2b2e38;
  --rule: #3a3e4a;
  --mist: #9a9fae;
  --starlight: #f2efe6;
  --sea: #3fb8a6;
  --gold: #fbb63d;
  --crimson: #d5305a;
  --blue: #1976d2;
  --display: Sora, "Helvetica Neue", Arial, sans-serif;
  --text: Manrope, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--starlight);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sea); }
a:hover { color: var(--starlight); }
img { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.mono, .eyebrow, .label {
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
.eyebrow { color: var(--sea); }
.label { color: var(--mist); }
.muted { color: var(--mist); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sea); color: var(--ink); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; z-index: 10; }

/* header + footer */
header.site .wrap, footer.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
header.site .wrap { padding-block: 24px; }
header.site .home, footer.site .home { display: flex; align-items: center; min-height: 44px; }
header.site img { height: 34px; width: auto; }
.links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.links a {
  display: inline-block; padding: 12px 0; color: var(--mist); text-decoration: none;
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.links a:hover, .links a[aria-current] { color: var(--starlight); }
footer.site { border-top: 1px solid var(--ink-soft); margin-top: auto; }
footer.site .wrap { padding-block: 40px 48px; }
footer.site img { height: 24px; width: auto; }
footer.site .links a { color: var(--starlight); font-size: 12px; padding: 8px 0; }
footer.site .legal { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: var(--mist); }

/* hero */
.hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 0; overflow: hidden; }
.hero .wrap { display: flex; flex-direction: column; gap: 28px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: 0.98; max-width: 1100px; }
.hero .lede, .lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--mist); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 8px; }
.button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--sea); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px;
}
.button:hover { background: var(--starlight); color: var(--ink); }
.textlink { display: inline-flex; align-items: center; min-height: 52px; padding: 0 8px; color: var(--starlight); font-weight: 700; font-size: 16px; text-underline-offset: 4px; }
.textlink:hover { color: var(--sea); }
.limb { display: block; width: 100%; height: clamp(200px, 25vw, 320px); }

/* sections */
section { padding-block: 96px; }
section.raised { background: var(--ink-soft); padding-block: 48px 112px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head .title { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.08; }
.section-head p { color: var(--mist); max-width: 420px; }

/* products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; gap: 24px; padding: 32px; min-height: 320px;
  background: var(--ink); border: 1px solid var(--rule); border-top-width: 4px; border-radius: 20px;
  color: var(--starlight); text-decoration: none;
}
.card:hover { border-color: var(--mist); border-top-color: var(--hue); color: var(--starlight); }
.card { border-top-color: var(--hue); }
.card .mark { width: 64px; height: 64px; border-radius: 15px; }
.card .mark svg { display: block; }
.card .text { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card h3 { font-size: 26px; letter-spacing: -0.02em; }
.card p { color: var(--mist); }
.card .domain, .arrow {
  display: flex; align-items: center; gap: 8px; color: var(--sea);
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.04em;
}
.card:hover .domain { color: var(--starlight); }

/* two-column prose + facts */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split > .prose { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.split > .facts { flex: 1 1 320px; }
.prose h2 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.08; }
.prose p { font-size: 18px; line-height: 1.6; color: var(--mist); }
.prose p.more { padding-top: 8px; }
.facts { display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 24px; align-content: start; font-size: 16px; }
.facts > * { padding: 16px 0; border-top: 1px solid var(--ink-soft); }
.facts > dt { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); padding-top: 18px; margin: 0; }
.facts > dd { margin: 0; }
.facts > :nth-last-child(-n+2) { border-bottom: 1px solid var(--ink-soft); }
section.rule { border-top: 1px solid var(--ink-soft); }
.email { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -0.02em; color: var(--sea); text-underline-offset: 6px; overflow-wrap: anywhere; }
.email:hover { color: var(--starlight); }

/* inner pages */
.page-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 0; }
.page-head .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; max-width: 900px; }
.principles { display: flex; flex-direction: column; }
.principles > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--ink-soft); }
.principles > div:last-child { border-bottom: 1px solid var(--ink-soft); }
.principles .n { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--mist); padding-top: 4px; }
.principles h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.principles p { color: var(--mist); font-size: 16px; }
.list { display: flex; flex-direction: column; }
.list > a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 24px 0; border-top: 1px solid var(--ink-soft); color: var(--starlight); text-decoration: none; }
.list > a:last-child { border-bottom: 1px solid var(--ink-soft); }
.list > a:hover h3 { color: var(--sea); }
.list .mark { width: 48px; height: 48px; border-radius: 11px; }
.list .text { flex: 1 1 280px; min-width: 0; }
.list h3 { font-size: 22px; letter-spacing: -0.02em; }
.list p { color: var(--mist); font-size: 16px; }

/* legal and long text */
.legal-page { max-width: 760px; padding-block: 64px 112px; }
.legal-page h2 { font-size: 26px; letter-spacing: -0.02em; margin-top: 48px; margin-bottom: 12px; }
.legal-page p, .legal-page li { font-size: 17px; line-height: 1.65; color: var(--starlight); margin-bottom: 14px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page .updated { color: var(--mist); }

@media (max-width: 720px) {
  section { padding-block: 72px; }
  .facts { grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; }
  .card { min-height: 0; padding: 28px; }
}

/* small additions */
.domain { display: flex; align-items: center; gap: 8px; color: var(--sea); font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; }
.split > .principles { flex: 1 1 420px; }
.split > .list { flex: 1 1 420px; }
.contact-block { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.contact-block p { color: var(--mist); line-height: 1.6; }
