/* T2 Software LLC — brand palette lifted from the logo artwork
   ink #252628 · paper #F3F4F4 · mint #84F4A1 · violet #957AEB */

:root {
  --bg: #1a1b1d;
  --surface: #252628;
  --surface-2: #2b2d30;
  --border: #34363a;
  --border-bright: #45484d;
  --text: #f3f4f4;
  --muted: #a4a9ae;
  --mint: #84f4a1;
  --violet: #957aeb;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #a6f7bb; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--mint); color: #14161a; padding: 12px 20px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 27, 29, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; padding: 14px 0; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; padding-bottom: 4px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.nav a.cta {
  color: #14161a; background: var(--mint); padding: 8px 16px;
  border-radius: 999px; font-weight: 600;
}
.nav a.cta:hover { background: #a6f7bb; }

@media (max-width: 700px) {
  .site-header .wrap { justify-content: center; padding-top: 4px; }
  .brand { padding-bottom: 6px; }
  .nav { width: 100%; justify-content: center; gap: 18px; padding-bottom: 12px; flex-wrap: wrap; }
  html { scroll-padding-top: 128px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 11vw, 120px) 0 clamp(48px, 8vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -220px 0 auto -10%;
  width: 120%; height: 620px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 52% at 22% 34%, rgba(132, 244, 161, 0.15), transparent 70%),
    radial-gradient(34% 48% at 74% 26%, rgba(149, 122, 235, 0.16), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.hero p.lede { font-size: clamp(1.04rem, 2vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.hero h1 .accent {
  background: linear-gradient(96deg, var(--mint), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.97rem;
  text-decoration: none; border: 1px solid transparent; transition: all 0.15s ease;
}
.btn-primary { background: var(--mint); color: #14161a; }
.btn-primary:hover { background: #a6f7bb; color: #14161a; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-bright); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); background: var(--surface); color: var(--text); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 92px) 0; border-top: 1px solid var(--border); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
/* :not(.kicker) matters — a bare `.section-head p` outranks `.kicker` and would
   flatten both its violet colour and its spacing. */
.section-head p:not(.kicker) { color: var(--muted); }
.section-head p:not(.kicker):last-child { margin-bottom: 0; }
.kicker {
  font-size: 0.79rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--violet); margin: 0 0 14px;
}

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0; }
.card .icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border);
}
.card .icon svg { width: 20px; height: 20px; }

/* numbered process list */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { padding-top: 20px; border-top: 2px solid var(--border); }
.steps .num { font-size: 0.79rem; font-weight: 700; color: var(--mint); letter-spacing: 0.09em; }
.steps h3 { margin: 8px 0 7px; font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* founders */
.people { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.person { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.person .avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; color: #14161a;
  background: linear-gradient(135deg, var(--mint), var(--violet));
}
.person .name { font-weight: 620; }
.person .role { color: var(--muted); font-size: 0.9rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-card .label {
  font-size: 0.77rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.contact-card a { font-weight: 550; word-break: break-word; }
.contact-card address { font-style: normal; color: var(--text); line-height: 1.7; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 52px 0 40px; background: #161719; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 34px; }
/* width:auto is required — without it the intrinsic width attribute wins and the logo stretches */
.footer-top img { height: 26px; width: auto; margin-bottom: 14px; }
.footer-legal { color: var(--muted); font-size: 0.9rem; max-width: 42ch; }
.footer-legal address { font-style: normal; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  color: var(--muted); font-size: 0.86rem;
}

/* ---------- legal / content pages ---------- */
.page-head { padding: clamp(52px, 7vw, 80px) 0 8px; }
.page-head .updated { color: var(--muted); font-size: 0.92rem; margin: 0; }
.prose { padding: 28px 0 clamp(56px, 8vw, 88px); max-width: 74ch; }
.prose h2 { font-size: 1.28rem; margin: 2.1em 0 0.6em; }
.prose h2:first-of-type { margin-top: 0.6em; }
.prose p, .prose li { color: #d7dade; }
.prose ul { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--text); }

.notfound { padding: clamp(80px, 14vw, 150px) 0; text-align: center; }
.notfound p { color: var(--muted); }
.notfound .actions { justify-content: center; }

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