:root {
  --navy: #101820;
  --ink: #101820;
  --blue: #0a66ff;
  --blue-deep: #084dcc;
  --teal: #0a66ff;
  --copper: #0a66ff;
  --sand: #f3f6f9;
  --paper: #ffffff;
  --white: #fff;
  --muted: #5b6773;
  --line: #e6ebf0;
  --kicker: #0a66ff;
  --lede: #3d4a57;
  --footer: #101820;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Libre Franklin", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.util { background: var(--navy); color: #c9d4e0; font-size: .75rem; letter-spacing: .04em; }
.util-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.util a:hover { color: #fff; }
header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; color: var(--navy); }
.mark { width: 34px; height: 34px; }
nav.primary { display: flex; gap: 10px; flex-wrap: wrap; font-size: .74rem; font-weight: 600; color: #3d4d5c; }
nav.primary a:hover, nav.primary a:focus, nav.primary a[aria-current="page"] { color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; font-weight: 700; font-size: .88rem; border: 0; cursor: pointer; border-radius: 2px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid #c5ced6; }
.btn-dark { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 8px 10px; font-weight: 700; }
.hero { background: #fff; color: var(--ink); position: relative; overflow: hidden; border-bottom: 3px solid var(--blue); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 72px 0 56px; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); margin-bottom: 16px; }
h1 { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.55rem); font-weight: 600; line-height: 1.12; max-width: 18ch; margin-bottom: 18px; }
.lede { color: var(--lede); font-size: 1.08rem; max-width: 54ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
.trust span { border-left: 2px solid var(--teal); padding-left: 10px; }
.art { position: relative; min-height: 380px; }
.panel { background: var(--sand); padding: 28px 0; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat strong { display: block; font-size: 1.7rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .84rem; }
section { padding: 76px 0; }
section, #contact, #hosting { scroll-margin-top: 92px; }
.sec-kicker { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
h2 { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 600; line-height: 1.2; margin-bottom: 12px; color: var(--navy); }
.sub { color: var(--muted); max-width: 68ch; margin-bottom: 32px; }
.sub a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.caps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.cap { background: #fff; border: 1px solid var(--line); padding: 22px; min-height: 180px; display: flex; flex-direction: column; gap: 8px; }
.cap:hover { border-color: var(--blue); }
.cap .n { font-size: .75rem; font-weight: 800; color: var(--copper); letter-spacing: .08em; }
.cap h3 { font-size: 1.05rem; color: var(--navy); }
.cap p { color: var(--muted); font-size: .92rem; flex: 1; }
.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8 { grid-column: span 3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sand { background: var(--sand); }
.navy { background: var(--sand); color: var(--ink); }
.navy h2 { color: var(--navy); }
.navy .sec-kicker { color: var(--blue); }
.navy .sub, .navy p { color: var(--muted); }
.navy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.list { display: grid; gap: 14px; }
.list article { border-top: 1px solid var(--line); padding-top: 14px; }
.list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.navy .list article { border-top-color: var(--line); }
.people { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.face { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white); }
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ind { background: #fff; border: 1px solid var(--line); padding: 18px; font-weight: 700; color: var(--navy); }
.ind a { display: block; }
footer { background: var(--footer); color: #9aa8b5; padding: 48px 0 24px; font-size: .9rem; border-top: 3px solid var(--blue); }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
footer a { color: #d7e2ec; }
footer a:hover { color: #fff; }
footer strong { color: #fff; display: block; margin-bottom: 8px; }
.copy { border-top: 1px solid #1b2a3a; padding-top: 16px; font-size: .8rem; }
.copy .legal-links { display: inline; }
.copy .legal-links a { color: #d7e2ec; }
.copy .legal-links a:hover { color: #fff; }
.legal { max-width: 76ch; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 1.2em; }
.legal .notice { background: var(--sand); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 24px; font-size: .9rem; color: var(--ink); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; font-size: .88rem; font-weight: 600; }
.legal-nav a { color: var(--blue); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .9rem; }
.legal-table th, .legal-table td { border-top: 1px solid var(--line); padding: 9px 0; text-align: left; vertical-align: top; }
.legal-table th { color: var(--navy); font-weight: 700; width: 34%; }
.page-hero { background: #fff; color: var(--ink); padding: 56px 0 48px; border-bottom: 3px solid var(--blue); }
.page-hero h1 { margin-bottom: 14px; max-width: 28ch; }
.about-hero h1 { max-width: 12em; margin-bottom: 18px; }
.stack-line { color: var(--navy); font-size: .78rem; font-weight: 600; letter-spacing: .02em; max-width: 62ch; margin: 0; line-height: 1.55; }
.stack-line a { color: var(--blue); }
.stack-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose .close-line { color: var(--navy); font-weight: 700; margin-top: 8px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.prose p { color: var(--muted); max-width: 72ch; margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); padding: 22px; }
.tile h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--navy); }
.tile p { color: var(--muted); font-size: .94rem; }
.related a { display: block; background: #fff; border: 1px solid var(--line); padding: 18px; }
.related a:hover { border-color: var(--blue); }
.navy .tile { background: #fff; border-color: var(--line); }
.navy .tile h3 { color: var(--navy); }
.navy .tile p { color: var(--muted); }
.steps { list-style: none; }
.steps li { border-top: 1px solid var(--line); padding: 16px 0; }
.steps strong { display: block; color: var(--navy); margin-bottom: 4px; }
.note { font-size: .92rem; color: var(--muted); }
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); list-style-position: outside; }
.faq details p { color: var(--muted); margin: 8px 0 0; font-size: .94rem; max-width: 68ch; }
.more-copy p { color: var(--muted); max-width: 72ch; margin-bottom: 14px; }
.aram-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
}
.aram-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: min(348px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 28px));
  height: auto;
  background: #ffffff; border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(16, 24, 32, .16);
  display: none; flex-direction: column;
  overflow: hidden;
}
.aram-panel:not([hidden]) { display: flex; }
.aram-hero {
  position: relative; flex: 0 0 220px; background: #101820; overflow: hidden;
}
.aram-rep-live { position: absolute; inset: 0; }
.aram-rep-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%;
  max-width: none; pointer-events: none;
}
.aram-rep-photo::-webkit-media-controls,
.aram-rep-photo::-webkit-media-controls-enclosure,
.aram-rep-photo::-webkit-media-controls-panel,
.aram-rep-photo::-webkit-media-controls-start-playback-button,
.aram-rep-photo::-webkit-media-controls-timeline,
.aram-rep-photo::-webkit-media-controls-timeline-container,
.aram-rep-photo::-webkit-media-controls-current-time-display,
.aram-rep-photo::-webkit-media-controls-time-remaining-display,
.aram-rep-photo::-webkit-media-controls-mute-button,
.aram-rep-photo::-webkit-media-controls-volume-slider,
.aram-rep-photo::-webkit-media-controls-fullscreen-button,
.aram-rep-photo::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
  pointer-events: none;
}
.aram-close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: #ffffff; color: var(--navy); font-size: 1.2rem; line-height: 1;
  cursor: pointer; box-shadow: 0 1px 4px rgba(16,24,32,.12);
}
.aram-close:hover { color: var(--blue); }
.aram-chrome { display: flex; background: #ffffff; padding: 4px 8px 0; }
.aram-tabs { display: flex; flex: 1; min-width: 0; }
.aram-panel > [role="tabpanel"]:not([hidden]) {
  display: flex; flex-direction: column; flex: 1; min-height: 0; background: #ffffff;
}
.aram-tab {
  flex: 1; background: #ffffff; border: 0; border-bottom: 2px solid transparent;
  padding: 8px 6px; font-weight: 800; font-size: .72rem; cursor: pointer; color: var(--muted);
}
.aram-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); background: #ffffff; }
.aram-name {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
}
.aram-intro { padding: 16px 20px 0; color: var(--lede); font-size: .92rem; line-height: 1.45; }
.aram-log { padding: 10px 16px; overflow: auto; flex: 1; min-height: 0; display: grid; align-content: start; gap: 6px; background: #ffffff; }
.aram-log:empty { display: none; }
.aram-log:not(:empty) { min-height: 72px; }
.aram-panel [role="tabpanel"]:has(.aram-log:not(:empty)) .aram-intro { display: none; }
.aram-msg { font-size: .8rem; padding: 7px 9px; white-space: pre-wrap; border-radius: 12px; }
.aram-user { background: var(--navy); color: #fff; justify-self: end; max-width: 92%; }
.aram-assistant { background: #ffffff; color: var(--ink); border: 1px solid #eceff2; }
.aram-assistant a { color: var(--blue); word-break: break-all; }
.aram-assistant a:hover { text-decoration: underline; }
.aram-form { display: grid; gap: 6px; padding: 8px 12px 8px; border-top: 1px solid #eceff2; background: #ffffff; }
.aram-ask {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 4px; border-top: 0; background: #ffffff;
}
.aram-ask input {
  flex: 1; min-width: 0; font: inherit; font-size: .88rem;
  padding: 11px 16px; border: 1px solid #e6ebf0; border-radius: 22px; background: #ffffff;
}
.aram-ask input:focus { outline: 2px solid #c5dcff; border-color: var(--blue); }
.aram-send {
  flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: #eceff2; color: var(--navy); cursor: pointer; display: grid; place-items: center;
}
.aram-send svg { width: 18px; height: 18px; }
.aram-send:hover { background: var(--blue); color: #fff; }
.aram-send:disabled { opacity: .4; cursor: wait; }
.aram-sales {
  display: flex; align-items: center; justify-content: center;
  margin: 12px 20px 0; padding: 11px 16px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .88rem;
  border-radius: 8px;
}
.aram-sales:hover { background: var(--blue-deep); }
.aram-note {
  margin: 0;
  padding: 6px 20px 16px;
  font-size: .62rem;
  line-height: 1.4;
  font-weight: 400;
  color: #8a949e;
  flex: 0 0 auto;
  background: #ffffff;
}
.aram-note a { color: inherit; text-decoration: underline; }
.aram-note a:hover { color: var(--blue); }
.aram-form textarea { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid #e8eaed; resize: vertical; background: #fff; }
.airam-studio {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal);
  max-width: 720px;
}
.airam-studio .aram-log { min-height: 220px; max-height: 420px; }
.airam-studio .aram-form { padding: 12px 16px 8px; }
.airam-studio .aram-note { padding: 0 16px 12px; }
.airam-studio .aram-msg { font-size: .8rem; padding: 7px 9px; }
.airam-studio .aram-form textarea { padding: 6px 8px; resize: vertical; }
.page-tabs { display: flex; gap: 0; margin: 0 0 16px; max-width: 720px; border-bottom: 1px solid var(--line); }
.page-tab {
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 10px 18px; font-weight: 800; font-size: .88rem; cursor: pointer; color: var(--muted);
}
.page-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--teal); }
.ai-cards {
  padding: 8px 12px 12px; overflow: auto; flex: 1; min-height: 0;
  display: grid; gap: 8px; align-content: start;
}
.ai-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ai-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  padding: 14px; color: #fff; min-height: 108px; text-decoration: none;
  border-radius: 16px;
}
.ai-board .ai-card {
  aspect-ratio: 3 / 4;
  min-height: 0;
  height: auto;
  padding: 24px 20px;
  border-radius: 28px;
}
.ai-card:hover { filter: brightness(1.06); }
.ai-card-kind { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.ai-card h3 { font-family: "Source Serif 4", Georgia, serif; font-size: .92rem; font-weight: 600; line-height: 1.3; margin: 0; }
.ai-board .ai-card h3 {
  font-size: 1.08rem;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-card-meta { font-size: .7rem; opacity: .88; }
.ai-cards-empty { color: var(--muted); font-size: .82rem; }
.ai-card-0 { background: #1254c8; }
.ai-card-1 { background: #147a73; }
.ai-card-2 { background: #b45a2a; }
.ai-card-3 { background: #0b3d96; }
.ai-card-4 { background: #071422; }
.ai-card-5 { background: #8a3d6b; }
@media (max-width: 980px) {
  .hero-grid, .split, .stats, .industries, .fgrid, .grid-3 { grid-template-columns: 1fr; }
  .ai-board { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; }
  nav.primary { display: none; }
  nav.primary.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); z-index: 50; }
  .menu-btn { display: inline-flex; }
  .nav { position: relative; }
  h1 { max-width: none; }
  .art { min-height: 240px; }
}
@media (max-width: 560px) {
  .ai-board { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ai-board .ai-card { padding: 16px 14px; border-radius: 22px; }
}
