/* CloudAxis.AI — corporate / SaaS polish (teal/green brand) */
:root {
  --brand: #128c7e;
  --brand-hover: #0e7168;
  --brand-soft: rgba(18, 140, 126, 0.1);
  --brand-muted: rgba(18, 140, 126, 0.16);
  --accent: var(--brand);
  --accent-hover: var(--brand-hover);
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-subtle: #f2faf8;
  --surface: #ffffff;
  --border: #e2e8f0;
  --ring: rgba(18, 140, 126, 0.35);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  --max: 1140px;
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  z-index: 300;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; outline: 2px solid #fff; outline-offset: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.nav-brand:hover { opacity: 0.92; }

.nav-brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.nav-brand-text {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-links a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-muted);
}

main { min-height: 50vh; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero: soft gradient + subtle grid */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, var(--brand-muted), transparent 55%),
    linear-gradient(180deg, #f4faf8 0%, var(--bg) 55%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(18, 140, 126, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
  max-width: 18ch;
}
.hero .lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section {
  padding: 4rem 0;
}
.section-head {
  margin-bottom: 2rem;
}
.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.35rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem 1.75rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(18, 140, 126, 0.28);
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  color: var(--brand);
  padding: 0.5rem;
  background: var(--brand-soft);
  border-radius: 12px;
}

.facts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1.5rem 0 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.facts-strip li,
.facts-strip [role="listitem"] {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.product-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.1rem;
  max-width: 540px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.product-preview h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.product-preview p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.product-preview .logo-row {
  margin-bottom: 1.1rem;
}
.product-preview .logo-row img {
  height: 36px;
  width: auto;
  display: block;
}

.link-arrow {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}
.link-arrow:hover { color: var(--brand-hover); text-decoration: underline; }

.page-hero {
  padding: 3.25rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f4faf8 0%, var(--bg-subtle) 100%);
}
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.page-hero .sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.prose {
  padding: 2.75rem 0 4rem;
  max-width: 720px;
}
.prose.wide { max-width: 820px; }
.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.prose p, .prose li {
  color: var(--text);
  margin: 0 0 1rem;
}
.prose ul, .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--brand); font-weight: 500; }
.prose a:hover { color: var(--brand-hover); }
/* Prose link styles must not override button text (fixes invisible primary CTA). */
.prose a.btn { font-weight: 600; }
.prose a.btn-primary {
  color: #fff !important;
}
.prose a.btn-primary:hover {
  color: #fff !important;
}
.prose a.btn-secondary {
  color: var(--brand) !important;
}
.prose a.btn-secondary:hover {
  color: var(--brand-hover) !important;
}

.values-grid {
  display: grid;
  gap: 0;
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.value-item {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: 0; }
.value-item strong { display: block; margin-bottom: 0.35rem; color: var(--text); }
.value-item span { color: var(--text-muted); font-size: 0.9375rem; }

.feature-blocks {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}
.feature-block {
  border-left: 3px solid var(--brand);
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.feature-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.steps {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 1rem 0 2rem;
}
.steps li { margin-bottom: 0.5rem; color: var(--text); }

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1.5rem 0;
  font-weight: 600;
  color: var(--text);
}
.integrations span.badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.callout {
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--bg-subtle) 100%);
  border: 1px solid rgba(18, 140, 126, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff !important;
  border: 1px solid rgba(14, 90, 82, 0.35);
  box-shadow: 0 1px 2px rgba(18, 140, 126, 0.28);
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff !important;
  border-color: rgba(14, 90, 82, 0.45);
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.32);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--brand);
  background: var(--surface);
}
.btn-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  max-width: 520px;
}
.contact-block {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.contact-block strong { display: block; margin-bottom: 0.35rem; color: var(--text); }
.contact-block a { color: var(--brand); font-weight: 600; }
.contact-block a:hover { color: var(--brand-hover); }

address {
  font-style: normal;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #eaf5f2 100%);
  padding: 3.25rem 0 2rem;
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(200px, 1fr) 1fr;
  }
}

.footer-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.25rem;
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover {
  color: var(--brand);
  border-bottom-color: rgba(18, 140, 126, 0.4);
}

.footer-copy {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
