:root {
  --bg: #faf8f4;
  --bg-alt: #f0ebe2;
  --ink: #0f1b2d;
  --ink2: #3d4856;
  --muted: #7a8290;
  --rule: #e4dfd4;
  --accent: #c55a2e;
  --accent2: #1f3a5f;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }

/* ─── nav ─── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  position: sticky; top: 0; background: var(--ink); color: #fff; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.4px; color: #fff; }
.brand svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links a.current { color: #fff; }
.nav-cta {
  background: var(--accent); color: #fff; border: none;
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; border-radius: 2px; font-family: inherit;
  display: inline-block;
}
@media (max-width: 720px) {
  .nav { padding: 16px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ─── eyebrow ─── */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 24px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

/* ─── buttons ─── */
.btn-primary {
  background: var(--ink); color: #fff; border: none;
  padding: 15px 26px; font-size: 14px; font-weight: 600;
  cursor: pointer; border-radius: 2px; font-family: inherit;
  display: inline-block;
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule); padding: 15px 26px;
  font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 2px; font-family: inherit;
  display: inline-block;
}

/* ─── terminal ─── */
.term {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  background: #0f1b2d; color: #e8ebef; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 11px; color: rgba(255,255,255,0.5); }
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.td1 { background: #ff5f57 } .td2 { background: #febc2e } .td3 { background: #28c840 }
.term-bar .path { margin-left: 10px; font-size: 12px; color: rgba(255,255,255,0.55); }
.term-body { padding: 20px 22px; font-size: 13px; line-height: 1.8; }
.term .prompt .u, .term .u { color: #7dd3a0; }
.term .prompt .p, .term .p { color: rgba(255,255,255,0.4); }
.term .prompt .t, .term .t { color: #f5c97e; }
.term .out { color: rgba(255,255,255,0.75); }
.term .kw { color: #ff9a5a; }
.term .cm { color: rgba(255,255,255,0.35); }
.blink { display: inline-block; width: 7px; height: 14px; background: #ff9a5a; vertical-align: -2px; animation: blink 1s step-end infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── footer ─── */
footer {
  padding: 40px 64px 28px;
  background: var(--ink); color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
footer .brand { color: #fff; }
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: #fff; }
@media (max-width: 720px) { footer { padding: 32px 24px; } }

/* ═══════════════════════════════════════
   Home page
   ═══════════════════════════════════════ */

/* ─── hero ─── */
.hero { padding: 80px 64px 48px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
h1.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02; font-weight: 700;
  letter-spacing: -2.5px; margin: 0;
}
h1.hero-title em { font-style: italic; font-weight: 400; color: var(--accent2); }
.hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--ink2);
  max-width: 560px; margin-top: 28px; font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero-term-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.hero-term .term-body { min-height: 210px; }

@media (max-width: 900px) {
  .hero { padding: 48px 24px 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── what we do ─── */
.section { padding: 56px 64px 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 40px; flex-wrap: wrap; }
h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -1.3px; margin: 0; line-height: 1.05; max-width: 700px; }

.services {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.service { background: var(--bg); padding: 36px 32px; }
.service-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.service-icon { width: 36px; height: 36px; color: var(--accent); }
.service-num { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
.service h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.4px; margin: 0 0 14px; }
.service p { font-size: 15px; color: var(--ink2); line-height: 1.6; margin: 0; }

@media (max-width: 720px) {
  .section { padding: 40px 24px 64px; }
  .services { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
}

/* ─── partners strip ─── */
.partners-strip {
  padding: 72px 64px; background: var(--bg-alt);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.aws-badge {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--rule);
  padding: 24px 32px; border-radius: 2px; max-width: 480px;
  margin-top: 24px;
}
.aws-badge .mark { width: 64px; height: 64px; background: #232f3e; display: flex; align-items: center; justify-content: center; color: #ff9900; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.aws-badge .info { flex: 1; border-left: 1px solid var(--rule); padding-left: 20px; }
.aws-badge .info strong { font-size: 17px; font-weight: 600; }
.aws-badge .info div { font-size: 13px; color: var(--muted); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

@media (max-width: 720px) {
  .partners-strip { padding: 56px 24px; }
  .aws-badge { padding: 20px; gap: 16px; }
  .aws-badge .mark { width: 52px; height: 52px; font-size: 15px; }
}

/* ─── cta ─── */
.cta { background: var(--ink); color: #fff; padding: 88px 64px; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 600px; }
.cta p { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 16px; max-width: 480px; line-height: 1.55; }
.cta .btn-primary { background: var(--accent); padding: 18px 30px; font-size: 15px; }
@media (max-width: 720px) { .cta { padding: 64px 24px; } }

/* ═══════════════════════════════════════
   Contact page
   ═══════════════════════════════════════ */

.contact-hero { padding: 96px 64px 48px; max-width: 1180px; }
.contact-hero h1 {
  font-size: clamp(48px, 7vw, 88px); line-height: 1.0;
  font-weight: 700; letter-spacing: -3px; margin: 0;
}
.contact-hero h1 em { font-style: italic; font-weight: 400; color: var(--accent2); }
.lede {
  font-size: 19px; line-height: 1.55; color: var(--ink2);
  max-width: 600px; margin-top: 28px; font-weight: 400;
}

.channels { padding: 56px 64px 96px; max-width: 1180px; }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.channel {
  background: var(--card); padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  transition: background .15s ease;
}
.channel:hover { background: var(--bg-alt); }
.channel .ch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.channel .ch-icon { width: 36px; height: 36px; color: var(--accent); }
.channel .ch-num { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 1.2px; font-family: 'IBM Plex Mono', monospace; }
.channel h2 { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; margin: 0; }
.channel .primary { font-size: 28px; font-weight: 600; letter-spacing: -0.8px; color: var(--ink); line-height: 1.15; word-break: break-word; }
.channel .desc { font-size: 14px; color: var(--ink2); line-height: 1.55; margin-top: 4px; }
.channel .arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 12px; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.3px; }

@media (max-width: 900px) {
  .contact-hero { padding: 56px 24px 32px; }
  .channels { padding: 40px 24px 72px; }
  .channel-grid { grid-template-columns: 1fr; }
  .channel { padding: 32px 28px; }
  .channel .primary { font-size: 22px; }
}
