/* ScaleOps Artificial Intelligence Private Limited — shared stylesheet */

:root {
  --bg: #fcfcfb;
  --surface: #ffffff;
  --text: #1c1c1a;
  --text-muted: #5c5c57;
  --rule: #e2e1dc;
  --accent: #1f4e5f;
  --accent-dark: #163b48;
  --focus: #163b48;
  --maxw: 720px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */

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

main {
  padding: 8px 0 72px;
}

section {
  margin-top: 44px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 20px;
}

.brand {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
}

.brand .brand-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ---------- Typography ---------- */

h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 48px 0 20px;
}

h2 {
  font-size: 1.1875rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 28px 0 8px;
}

p {
  margin: 0 0 18px;
}

.lede {
  font-size: 1.125rem;
  color: var(--text);
}

.muted {
  color: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

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

ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Cards / service blocks ---------- */

.services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services > li,
.block {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 24px;
}

.services > li:first-child {
  border-top: 1px solid var(--rule);
}

.services p:last-child,
.block p:last-child {
  margin-bottom: 0;
}

/* ---------- Definition-style data lists ---------- */

.data {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.data > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.data dt {
  flex: 0 0 190px;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.data dd {
  flex: 1 1 260px;
  margin: 0;
}

.data dd address {
  font-style: normal;
}

/* ---------- Form ---------- */

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #cfcec8;
  border-radius: 3px;
  padding: 9px 11px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #a9a8a1;
}

button.btn {
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 10px 20px;
  cursor: pointer;
}

button.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  padding: 32px 0 40px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-footer .footer-name {
  color: var(--text);
  font-weight: 600;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer address {
  font-style: normal;
}

.site-footer a {
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.footer-copy {
  margin-top: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    gap: 8px 18px;
  }

  h1 {
    font-size: 1.5rem;
    margin-top: 36px;
  }

  .data dt {
    flex-basis: 100%;
  }
}

.more {
  margin-top: 26px;
}

.site-footer address {
  margin: 0 0 8px;
}
