/* =========================================================
   GTEAM — Software Services Landing Page (gteam.com.vn)
   Theme: Software house editorial
   Palette: neutral slate + near-black ink + indigo accent
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Neutrals */
  --bg:            #f6f7f9;   /* neutral light */
  --bg-alt:        #edeff3;   /* slightly deeper */
  --ink:           #0e1015;   /* near-black slate (dark sections) */
  --ink-2:         #15181f;   /* soft slate layer */
  --ink-3:         #1c2029;   /* card on dark */

  /* Text */
  --text:          #0e1015;
  --text-muted:    #5b6270;
  --text-faint:    #8b919c;
  --text-on-dark:  #e9eaef;
  --text-on-dark-muted: #9aa0ac;

  /* Borders */
  --border:        #e2e4ea;      /* on light */
  --border-dark:   #2a2e39;      /* on dark */

  /* Accent — indigo, used for CTA and highlights */
  --accent:        #5b53e8;
  --accent-hover:  #4a42d6;
  --accent-dark:   #3d35c0;
  --accent-soft:   rgba(91, 83, 232, 0.12);

  /* Brand — matches logo (icon.png) */
  --brand:         #00a2ff;

  /* Misc */
  --radius:        6px;
  --radius-lg:     10px;
  --radius-full:   999px;
  --container:     1160px;
  --header-h:      68px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  font-feature-settings: "ss01";
}
p { margin: 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 10000;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 120px 0;
  scroll-margin-top: var(--header-h);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-right: 32px;
}
.section-head.center .eyebrow {
  padding-right: 0;
  border-bottom: none;
  position: relative;
  padding-bottom: 0;
}
.section-head.center .eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 14px;
  opacity: 0.5;
}
.section-head.center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-left: 14px;
  opacity: 0.5;
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0 0 20px;
  font-weight: 500;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Dark section variant */
.on-dark { background: var(--ink); color: var(--text-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-on-dark); }
.on-dark .eyebrow { color: var(--text-on-dark-muted); border-color: var(--border-dark); }
.on-dark .section-sub { color: var(--text-on-dark-muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 247, 249, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 36px; width: 36px; object-fit: contain; }
.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand);
  white-space: nowrap;
}
.brand img {
  transition: transform 0.4s var(--ease);
}
.brand:hover img { transform: rotate(-8deg); }
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link.active::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 6px 20px -8px rgba(91, 83, 232, 0.6);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px -8px rgba(91, 83, 232, 0.7);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text);
}
.on-dark .btn-ghost {
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}
.on-dark .btn-ghost:hover { border-color: var(--text-on-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--text);
  transition: gap 0.3s var(--ease);
}
.text-link:hover { gap: 14px; }
.on-dark .text-link { color: var(--text-on-dark); border-color: var(--text-on-dark); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 140px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-text .hero-cta { padding-bottom: 4px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--text-muted);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero-proof .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}
.hero-proof strong {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------- Hero mockups (CSS/SVG composition) ---------- */
.hero-mockups {
  position: relative;
  width: 100%;
  height: 460px;
  isolation: isolate;
}
.hero-mockups::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background:
    radial-gradient(circle at 30% 35%, rgba(91, 83, 232, 0.22), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(56, 189, 248, 0.16), transparent 55%);
  filter: blur(10px);
  z-index: -1;
}
.mock {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -22px rgba(14, 16, 21, 0.35),
    0 0 0 1px rgba(91, 83, 232, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  animation: heroFloat 6.5s ease-in-out infinite;
  will-change: transform;
}
.mock:hover {
  transform: translateY(-8px);
  box-shadow:
    0 40px 80px -22px rgba(91, 83, 232, 0.4),
    0 0 0 1px rgba(91, 83, 232, 0.18);
  z-index: 5;
  animation-play-state: paused;
}
.mock-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.mock-url {
  flex: 1;
  height: 12px;
  margin-left: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
}
.mock-screen { padding: 16px; }
.mock-block {
  border-radius: 6px;
  background: linear-gradient(120deg, var(--accent-soft), rgba(56, 189, 248, 0.12));
  border: 1px solid var(--border);
}
.mock-line {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  margin-top: 9px;
}
.mock-line.short { width: 55%; }
.mock-line.accent { background: var(--accent); opacity: 0.55; width: 40%; }
.mock-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mock-row span {
  flex: 1;
  height: 34px;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

/* Browser mock */
.mock--browser {
  width: 360px;
  height: 248px;
  top: 22px;
  left: 0;
  animation-delay: 0s;
}
.mock--browser .mock-block { height: 80px; }

/* Server / status mock */
.mock--server {
  width: 232px;
  height: 132px;
  bottom: 24px;
  right: 0;
  background: var(--ink);
  border-color: var(--border-dark);
  animation-delay: 1.4s;
  padding: 16px 18px;
}
.mock--server .mock-server-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-on-dark);
}
.mock-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}
.mock--server .mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 44px;
  margin: 14px 0 10px;
}
.mock--server .mock-bars b {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  opacity: 0.85;
}
.mock--server .mock-bars b:nth-child(1) { height: 45%; }
.mock--server .mock-bars b:nth-child(2) { height: 75%; }
.mock--server .mock-bars b:nth-child(3) { height: 55%; }
.mock--server .mock-bars b:nth-child(4) { height: 90%; }
.mock--server .mock-bars b:nth-child(5) { height: 65%; }
.mock--server .mock-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.05em;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .mock { animation: none; }
}

/* ---------- Services / Pillars ---------- */
#services { padding: 140px 0; background: var(--bg); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.pillar {
  padding: 48px 40px 52px;
  background: var(--bg);
  transition: background 0.4s var(--ease);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
}
.pillar.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background 0.4s var(--ease);
}
.pillar:hover { background: var(--bg-alt); }
.pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 28px;
  display: block;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 28px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.25;
}
.pillar p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ---------- Demo (compact grid) ---------- */
#demo { padding: 130px 0; background: var(--bg); }

.demo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(14, 16, 21, 0.2);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
              box-shadow 0.4s var(--ease);
  position: relative;
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  box-shadow: 0 24px 50px -24px rgba(91, 83, 232, 0.3);
}

.demo-frame {
  position: relative;
  height: 188px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.demo-body { padding: 14px 16px 16px; }

.demo-cap { padding: 16px 22px 22px; }
.demo-cap h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.25;
}
.product-tagline {
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Realistic mockups (with real text) */
.demo-frame { font-family: 'Inter', sans-serif; }
.demo-frame .mock-url {
  flex: 1;
  height: auto;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 8.5px;
  color: var(--text-faint);
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}

/* Website */
.dw { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; height: calc(100% - 30px); }
.dw-nav { display: flex; align-items: center; gap: 10px; font-size: 9px; color: var(--text-muted); }
.dw-nav b { color: var(--brand); font-size: 10px; font-weight: 700; margin-right: auto; }
.dw-hero {
  flex: 1;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-soft), rgba(56, 189, 248, 0.12));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.dw-title { font-family: 'Fraunces', serif; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.dw-desc { font-size: 8.5px; color: var(--text-muted); }
.dw-btn { margin-top: 2px; background: var(--accent); color: #fff; font-size: 8px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.dw-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dw-feats span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 7.5px;
  color: var(--text-muted);
  text-align: center;
  padding: 5px 2px;
}

/* Accounting table */
.dt { padding: 10px 12px; }
.dt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.dt-top b { font-size: 10px; color: var(--text); }
.dt-tag { font-size: 7.5px; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; }
.dt-tbl { width: 100%; border-collapse: collapse; font-size: 8px; }
.dt-tbl th {
  text-align: left;
  color: var(--text-faint);
  font-weight: 600;
  padding: 4px 6px;
  background: var(--bg-alt);
}
.dt-tbl th:nth-child(3), .dt-tbl th:nth-child(4),
.dt-tbl td:nth-child(3), .dt-tbl td:nth-child(4) { text-align: right; }
.dt-tbl td {
  padding: 4px 6px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dt-tbl .in  { color: #15803d; font-weight: 600; }
.dt-tbl .out { color: #b42318; font-weight: 600; }
.dt-sum td { background: var(--accent-soft); color: var(--text); font-weight: 700; border: none; }
.dt-sum td:last-child { text-align: right; color: var(--accent-dark); }

/* CRM kanban */
.demo-frame--kanban { background: var(--bg-alt); }
.dk { padding: 10px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dk-col { display: flex; flex-direction: column; gap: 6px; }
.dk-h {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--border);
}
.dk-col:last-child .dk-h { color: var(--accent-dark); border-color: var(--accent); }
.dk-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px 7px; }
.dk-card b { display: block; font-size: 8.5px; color: var(--text); }
.dk-card span { display: block; font-size: 7.5px; color: var(--text-muted); margin-top: 2px; }

/* Admin dashboard */
.demo-frame--admin { display: flex; }
.da-side {
  width: 84px;
  flex-shrink: 0;
  background: var(--ink);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.da-side b { color: #fff; font-size: 10px; font-weight: 700; margin-bottom: 4px; }
.da-side i { font-size: 8px; font-style: normal; color: var(--text-on-dark-muted); }
.da-side i.on { color: #fff; font-weight: 600; position: relative; }
.da-side i.on::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--accent);
}
.da-main { flex: 1; padding: 12px 14px; min-width: 0; }
.da-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.da-stats div { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 6px 7px; }
.da-stats div:first-child { background: linear-gradient(135deg, var(--accent-soft), rgba(56, 189, 248, 0.12)); }
.da-stats span { display: block; font-size: 7px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.da-stats b { display: block; font-size: 11px; color: var(--text); font-weight: 700; margin-top: 2px; }
.da-chh { font-size: 8px; color: var(--text-muted); margin: 10px 0 6px; }
.demo-chart { display: flex; align-items: flex-end; gap: 7px; height: 46px; }
.demo-chart b { flex: 1; border-radius: 2px 2px 0 0; background: var(--accent); opacity: 0.65; }
.demo-chart b:nth-child(1) { height: 40%; }
.demo-chart b:nth-child(2) { height: 70%; }
.demo-chart b:nth-child(3) { height: 50%; }
.demo-chart b:nth-child(4) { height: 85%; }
.demo-chart b:nth-child(5) { height: 60%; }
.demo-chart b:nth-child(6) { height: 78%; }

/* ---------- Process (on-dark timeline) ---------- */
#process { padding: 130px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  overflow: hidden;
}
.process-step {
  background: var(--ink);
  padding: 42px 34px 46px;
  position: relative;
}
.process-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.process-step p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---------- Commitments ---------- */
#commit { padding: 120px 0; background: var(--bg); }
.about-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 40px;
}
.commit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  max-width: 680px;
  margin: 0 auto 44px;
  padding: 0;
  text-align: left;
}
.commit-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  list-style: none;
}
.commit-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.commit-list strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.commit-list span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.quote-card {
  padding: 32px 36px 30px;
  background: var(--bg-alt);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  position: relative;
  text-align: left;
}
.quote-card blockquote {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

/* ---------- Contact ---------- */
#contact { padding: 110px 0; background: var(--bg); }
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.contact-headline em { font-style: italic; }
.contact-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 56px;
}
.contact-email {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 48px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-email:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.contact-info div {
  text-align: left;
}
.contact-info span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.contact-info strong {
  display: block;
  color: var(--text);
  font-weight: 500;
}
.contact-info a:hover { color: var(--accent-hover); }

/* ---------- Footer (on-dark) ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 80px 0 36px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand {
  max-width: 380px;
}
.footer-brand .brand-name { color: var(--brand); }
.footer-brand img { height: 36px; width: 36px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-on-dark-muted);
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-col a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  section { padding: 96px 0; }
  #services, #demo, #process, #commit, #contact { padding: 96px 0; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .demo-cards { gap: 20px; max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-mockups {
    height: 340px;
    max-width: 480px;
    margin: 0 auto;
  }
  .mock--browser { width: 320px; height: 218px; top: 12px; left: 0; }
  .mock--server { width: 210px; height: 122px; bottom: 10px; right: 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  section { padding: 72px 0; }
  #services, #demo, #process, #commit, #contact { padding: 72px 0; }

  .hero { padding: 56px 0 80px; }
  .hero-eyebrow { margin-bottom: 24px; font-size: 11px; }
  .hero-eyebrow::before { width: 24px; }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: none;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
  }
  .hero-cta { gap: 20px; }
  .hero-proof {
    margin-top: 48px;
    padding-top: 22px;
    gap: 10px 16px;
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .hero-proof .sep { display: none; }
  .hero-mockups { display: none; }

  .header-inner { gap: 12px; }
  .brand img { height: 32px; width: 32px; }
  .brand-name { font-size: 1.05rem; }
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px -20px rgba(14, 16, 21, 0.15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 1.05rem;
    color: var(--text);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-link::after { display: none; }

  .section-head { margin-bottom: 48px; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-sub { font-size: 0.98rem; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .section-head.center .eyebrow::before,
  .section-head.center .eyebrow::after { width: 20px; margin-left: 10px; margin-right: 10px; }

  .quote-card {
    padding: 28px 24px 26px;
  }
  .quote-card blockquote {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .about-lead { font-size: 0.98rem; line-height: 1.8; margin-bottom: 32px; }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .pillar { padding: 36px 28px 40px; }
  .pillar-num { margin-bottom: 20px; font-size: 0.8rem; }
  .pillar-icon { width: 32px; height: 32px; margin-bottom: 22px; }
  .pillar h3 { font-size: 1.35rem; margin-bottom: 12px; }
  .pillar p { font-size: 0.94rem; line-height: 1.7; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding: 34px 28px 38px; }
  .process-num { font-size: 2rem; margin-bottom: 16px; }
  .process-step h3 { font-size: 1.2rem; }

  .demo-cards { grid-template-columns: 1fr; max-width: 440px; gap: 20px; }
  .demo-frame { height: 196px; }
  .demo-cap { padding: 14px 18px 20px; }
  .demo-cap h3 { font-size: 1.15rem; }

  .contact-headline { font-size: clamp(1.7rem, 6vw, 2.2rem); margin-bottom: 18px; }
  .contact-sub { font-size: 0.98rem; margin-bottom: 40px; }
  .contact-email {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-bottom: 36px;
    word-break: break-all;
  }
  .contact-info {
    gap: 24px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
  }
  .contact-info div { text-align: center; }

  .site-footer { padding: 60px 0 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 0.78rem;
  }
  .footer-col h5 { margin-bottom: 16px; }

  .commit-list { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .text-link { justify-content: center; }

  .demo-cap { padding: 14px 16px 18px; }

  .contact-wrap { text-align: center; }
  .quote-card { padding: 28px 20px 24px; }
  .pillar { padding: 32px 24px 36px; }
  .process-step { padding: 30px 24px 34px; }
}

/* =========================================================
   Trust bar · Demo note · Pricing+FAQ · Contact form
   ========================================================= */

/* ---------- Trust bar ---------- */
.trust { padding: 56px 0; background: var(--bg); }
.trust-bar {
  list-style: none;
  margin: 0;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 48px -30px rgba(14, 16, 21, 0.22);
}
.trust-bar li { display: flex; gap: 14px; align-items: flex-start; }
.trust-bar svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.trust-bar strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.trust-bar span {
  display: block;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.5;
}

/* ---------- Demo note ---------- */
.demo-note {
  text-align: center;
  margin: 40px auto 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.demo-note a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.demo-note a:hover { border-color: var(--accent); }

/* ---------- Pricing callout + FAQ ---------- */
#pricing { padding: 120px 0; background: var(--bg); }
.pricing-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 32px 38px;
  background: linear-gradient(120deg, var(--accent-soft), rgba(56, 189, 248, 0.10));
  border: 1px solid rgba(91, 83, 232, 0.28);
  border-radius: 16px;
}
.pricing-callout h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.pricing-callout p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}
.pricing-callout .btn { flex-shrink: 0; }

.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-35%) rotate(225deg); }
.faq details p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 680px;
}
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 560px; margin: 0 auto 24px; text-align: left; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; margin-bottom: 16px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-faint); }
.contact-form .btn { width: 100%; }
.cf-hint {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.contact-alt {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 44px;
}
.contact-alt a { color: var(--accent); }
.contact-alt a:hover { color: var(--accent-hover); }

@media (max-width: 1024px) {
  .trust-bar { grid-template-columns: 1fr 1fr; gap: 20px 30px; }
}
@media (max-width: 768px) {
  .trust { padding: 40px 0; }
  .trust-bar { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  #pricing { padding: 72px 0; }
  .pricing-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
    gap: 20px;
  }
  .pricing-callout .btn { width: 100%; justify-content: center; }
  .pricing-callout p { max-width: none; }
  .faq summary { font-size: 0.98rem; }
  .cf-row { grid-template-columns: 1fr; }
}
