/* OrdoCore — B2B trust landing */

:root {
  --bg: #08090c;
  --bg-elevated: #0f1117;
  --bg-card: #12151c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eaef;
  --text-muted: #8b919e;
  --text-subtle: #5c6370;
  --accent: #6b8cae;
  --accent-soft: rgba(107, 140, 174, 0.12);
  --accent-hover: #7fa0c4;
  --radius: 10px;
  --radius-lg: 14px;
  --max-width: 1120px;
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0c10;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0a0c10;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */

.hero {
  position: relative;
  padding-block: clamp(5rem, 12vw, 8rem) var(--section-pad);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(107, 140, 174, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(107, 140, 174, 0.06), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1rem;
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero-benefit {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-subtle);
  max-width: 52ch;
}

/* Sections */

section {
  padding-block: var(--section-pad);
}

section + section {
  border-top: 1px solid var(--border);
}

.section-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  max-width: 58ch;
}

/* Cards grid */

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

.card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pain list */

.pain-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pain-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-block {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.service-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.service-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-closing {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 48ch;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

/* Why bullets */

.why-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.why-list li {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Contact */

.contact-section {
  background: var(--bg-elevated);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-aside p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-aside a {
  font-weight: 500;
}

.contact-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-links p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
}

.form-success.visible {
  display: block;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.footer-brand span {
  color: var(--text-subtle);
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Legal pages */

.legal-page main {
  padding-block: clamp(3rem, 8vw, 5rem) 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-page .legal-updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.legal-page .legal-content {
  max-width: 42rem;
  color: var(--text-muted);
}

.legal-page .legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.legal-page .legal-content p {
  margin: 0 0 1rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-back:hover {
  color: var(--text);
}

.legal-notice {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}

.legal-notice p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
}
