/* ============================================================
   Angstep — marketing site
   Clean professional SaaS, light. Teal accent, ink navy, mono data.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:          #0f1b2d;
  --ink-soft:     #3a4a60;
  --paper:        #f7f9fb;
  --white:        #ffffff;
  --accent:       #0b80a8;
  --accent-bright:#12b5d6;
  --accent-deep:  #075069;
  --amber:        #e8a317;
  --line:         #e3e9ef;
  --line-soft:    #eef2f6;
  --good:         #14916b;
  --shadow-sm:    0 1px 2px rgba(15,27,45,0.06), 0 2px 8px rgba(15,27,45,0.04);
  --shadow-md:    0 4px 14px rgba(15,27,45,0.08), 0 12px 40px rgba(15,27,45,0.06);
  --shadow-lg:    0 20px 60px rgba(11,128,168,0.14);
  --radius:       14px;
  --maxw:         1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

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

/* ---- Eyebrow label ---- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 18px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 15px;
  padding: 13px 26px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(11,128,168,0.28);
}
.btn-primary:hover { background: var(--accent-deep); color:#fff; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11,128,168,0.34); }
.btn-ghost {
  background: var(--white); color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,249,251,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family:'Space Grotesk',sans-serif;
  font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  position: relative; box-shadow: 0 4px 12px rgba(11,128,168,0.3);
  flex-shrink: 0;
}
.brand-mark::before, .brand-mark::after {
  content:''; position:absolute; background:#fff; border-radius:2px;
}
.brand-mark::before { width:3px; height:14px; left:10px; top:10px; opacity:0.9; }
.brand-mark::after  { width:3px; height:9px;  left:16px; top:15px;
  box-shadow: 6px -5px 0 #fff; opacity:0.9; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--line-soft); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 8px; }

.nav-phone { display: flex; align-items: center; gap: 6px; }
.nav-phone svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.nav-phone-mobile {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px; color: var(--ink-soft);
  margin-left: 6px; transition: all 0.15s;
}
.nav-phone-mobile:hover { color: var(--ink); background: var(--line-soft); }
.nav-phone-mobile svg { width: 18px; height: 18px; fill: currentColor; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--ink); }

/* ---- Hero ---- */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--ink-soft); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); display:flex; align-items:center; gap:8px; }
.hero-note::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--good); box-shadow:0 0 0 3px rgba(20,145,107,0.18); }

/* Hero visual: consolidation diagram */
.hero-visual {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.hv-title { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.18em;
  text-transform:uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.hv-row { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.hv-chip {
  flex:1; font-size:13px; font-weight:500; color:var(--ink-soft);
  background: var(--paper); border:1px solid var(--line); border-radius:8px;
  padding:10px 14px; text-decoration: line-through; text-decoration-color: rgba(232,163,23,0.7);
}
.hv-arrow { color: var(--accent); font-size: 22px; }
.hv-one {
  margin-top: 18px; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color:#fff; border-radius:10px; padding:18px 20px;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow: 0 10px 26px rgba(11,128,168,0.3);
}
.hv-one strong { font-family:'Space Grotesk',sans-serif; font-size:18px; }
.hv-one span { font-size:12px; opacity:0.85; font-family:'IBM Plex Mono',monospace; letter-spacing:0.1em; }

/* ---- Section scaffolding ---- */
.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--ink-soft); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: #cdd8e6; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .eyebrow { color: var(--accent-bright); }

/* ---- Feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-ico {
  width: 46px; height: 46px; border-radius: 11px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(18,181,214,0.16), rgba(11,128,168,0.1));
  margin-bottom: 18px; font-size: 22px;
}
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ---- Logos / trust strip ---- */
.strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--white); }
.strip-inner { display:flex; align-items:center; justify-content:space-between; gap:28px;
  padding: 26px 0; flex-wrap:wrap; }
.strip-stat { text-align:center; flex:1; min-width:140px; }
.strip-stat .n { font-family:'Space Grotesk',sans-serif; font-size:30px; font-weight:600; color:var(--accent); }
.strip-stat .l { font-size:13px; color:var(--ink-soft); }

/* ---- Comparison matrix ---- */
.matrix-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); background: var(--white); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 760px; }
table.matrix thead th {
  text-align: left; padding: 22px 20px; font-family:'Space Grotesk',sans-serif;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 2px solid var(--line); vertical-align: bottom;
}
table.matrix thead th.col-angstep {
  background: linear-gradient(180deg, rgba(18,181,214,0.1), rgba(18,181,214,0.02));
  color: var(--accent-deep); border-bottom-color: var(--accent);
  border-top-left-radius: 10px; border-top-right-radius: 10px;
}
.col-angstep .badge-us { display:block; font-family:'IBM Plex Mono',monospace; font-size:11px;
  letter-spacing:0.12em; color:var(--accent); margin-bottom:4px; }
table.matrix tbody td {
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft); font-size: 15px;
  color: var(--ink-soft); vertical-align: top;
}
table.matrix tbody td.feat { color: var(--ink); font-weight: 500; }
table.matrix tbody td.col-angstep {
  background: rgba(18,181,214,0.05); color: var(--ink); font-weight: 500;
}
table.matrix tbody tr:hover td { background: var(--line-soft); }
table.matrix tbody tr:hover td.col-angstep { background: rgba(18,181,214,0.1); }
.yes { color: var(--good); font-weight: 600; }
.no  { color: #b04a4a; }
.partial { color: var(--amber); }
.tick { display:inline-flex; align-items:center; gap:7px; }
.tick svg { width:17px; height:17px; flex-shrink:0; }
.placeholder-name { font-style: italic; color: var(--ink-soft); }
.matrix-foot { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ---- Deep feature blocks ---- */
.feat-block { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center;
  padding: 56px 0; border-bottom: 1px solid var(--line); }
.feat-block:last-child { border-bottom: none; }
.feat-block.flip .feat-text { order: 2; }
.feat-text h3 { font-size: 26px; margin-bottom: 14px; }
.feat-text p { color: var(--ink-soft); margin-bottom: 16px; }
.feat-list { list-style:none; }
.feat-list li { padding-left: 28px; position: relative; margin-bottom: 10px; font-size: 15px; }
.feat-list li::before { content:''; position:absolute; left:0; top:7px; width:16px; height:16px;
  background: var(--accent); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feat-visual {
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 24px; min-height: 220px;
}
.fv-label { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--ink-soft); margin-bottom:16px; }
.fv-bar { display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:9px;
  margin-bottom:9px; font-size:14px; border:1px solid var(--line); }
.fv-bar .dot { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.fv-bar.crit { background: rgba(176,74,74,0.06); border-color: rgba(176,74,74,0.25); }
.fv-bar.crit .dot { background:#b04a4a; }
.fv-bar.med  { background: rgba(232,163,23,0.07); border-color: rgba(232,163,23,0.3); }
.fv-bar.med .dot { background:var(--amber); }
.fv-bar.ok   { background: rgba(20,145,107,0.06); border-color: rgba(20,145,107,0.25); }
.fv-bar.ok .dot { background:var(--good); }
.fv-bar .grow { flex:1; }
.fv-bar .tag { font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-soft); }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--ink), #16294180); position:relative; overflow:hidden; }
.cta-band .wrap { position:relative; z-index:1; text-align:center; padding: 76px 28px; }
.cta-band h2 { color:#fff; font-size: clamp(28px,3.5vw,40px); margin-bottom:16px; }
.cta-band p { color:#b9c6d6; font-size:18px; max-width:560px; margin:0 auto 30px; }
.cta-glow { position:absolute; width:600px; height:600px; border-radius:50%;
  background: radial-gradient(circle, rgba(18,181,214,0.22), transparent 70%);
  top:-260px; right:-180px; }

/* ---- Contact ---- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items:start; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size: 14px; font-weight:500; margin-bottom: 7px; color:var(--ink); }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 15px; border:1px solid var(--line); border-radius:9px;
  font-family:'Inter',sans-serif; font-size:15px; color:var(--ink); background:var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color:var(--accent); box-shadow: 0 0 0 3px rgba(18,181,214,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-aside { background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); }
.contact-item { display:flex; gap:14px; padding: 16px 0; border-bottom:1px solid var(--line-soft); }
.contact-item:last-child { border-bottom:none; }
.contact-item .ci-ico { width:40px;height:40px;border-radius:10px;flex-shrink:0;
  background: linear-gradient(135deg, rgba(18,181,214,0.16), rgba(11,128,168,0.1));
  display:flex;align-items:center;justify-content:center;font-size:18px; }
.contact-item .ci-label { font-size:13px; color:var(--ink-soft); }
.contact-item .ci-value { font-weight:500; font-size:15px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color:#8da3bb; padding: 56px 0 32px; }
.footer-top { display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color:#fff; margin-bottom:14px; }
.footer-brand p { font-size:14px; color:#8da3bb; }
.footer-cols { display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4 { color:#fff; font-size:13px; font-family:'IBM Plex Mono',monospace;
  letter-spacing:0.14em; text-transform:uppercase; margin-bottom:16px; font-weight:500; }
.footer-col a { display:block; color:#8da3bb; font-size:15px; margin-bottom:11px; }
.footer-col a:hover { color:#fff; }
.footer-bottom { padding-top:24px; display:flex; justify-content:space-between; gap:16px;
  flex-wrap:wrap; font-size:13px; color:#65788e; }

/* ---- Reveal animation ---- */
.reveal { opacity:0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior:auto; }
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .feat-block, .feat-block.flip { grid-template-columns: 1fr; gap: 28px; }
  .feat-block.flip .feat-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { display: none; position: absolute; top: 70px; left:0; right:0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-toggle { display: block; }
  .nav-phone-mobile { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .strip-inner { gap: 20px; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 60px 0; }
}
/* Pricing table minimal styles */
.pricing-section { margin: 2rem 0; }
.pricing-table { width:100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 0.75rem 1rem; border: 1px solid #e1e1e1; text-align: left; }
.pricing-table thead th { background:#f7f7f7; font-weight:600; }
.pricing-table td:nth-child(2), .pricing-table td:nth-child(3) { text-align: right; white-space:nowrap; }
