/* Otoma Technology — shared styles */

:root {
  --navy: #14213d;
  --navy-soft: #2b3a5c;
  --orange: #e8772e;
  --orange-dark: #c95f1a;
  --cream: #f6f4ef;
  --white: #ffffff;
  --line: #e3dfd5;
  --text: #1f2633;
  --muted: #5a6273;
  --radius: 14px;
  --max: 1120px;
  --heading: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-small {
  font-size: 0.92rem;
  padding: 0.55em 1.1em;
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--orange);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-intro {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}
.eyebrow {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

/* Hero */
.hero {
  padding: 96px 0 88px;
}
.hero h1 {
  max-width: 820px;
}
.hero h1 .accent {
  color: var(--orange);
}
.hero-lead {
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.section:not(.section-alt) .card {
  background: var(--white);
}
.card p {
  color: var(--muted);
  margin: 0;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}

/* Industries */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tags li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 500;
  color: var(--navy);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-top: 3px solid var(--navy);
  padding-top: 20px;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}

/* Data panel */
.data-panel {
  background: var(--navy);
  color: #d9deea;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.data-panel h2 { color: var(--white); }
.data-panel .eyebrow { color: var(--orange); }
.data-panel a { color: var(--white); }
.data-panel .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.data-panel .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.check-list strong { color: var(--white); }

/* Contact */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact-card dt {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-card dd {
  margin: 2px 0 0;
  font-weight: 500;
  color: var(--navy);
}
.legal-name {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b9c1d3;
  padding: 28px 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }

/* Privacy policy page */
.policy {
  padding: 64px 0 88px;
}
.policy .container {
  max-width: 780px;
}
.policy-meta {
  color: var(--muted);
  margin-bottom: 40px;
}
.policy h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  padding-top: 8px;
}
.policy ul {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.policy li { margin-bottom: 0.4em; }
.policy-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.policy-summary p:last-child { margin: 0; }
.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-top: 24px;
}
.toc ol {
  margin: 0;
  padding-left: 1.3em;
  columns: 2;
  column-gap: 32px;
}
.toc li { break-inside: avoid; }
.placeholder {
  background: #ffe9b3;
  padding: 0 4px;
  border-radius: 4px;
}

/* Mobile */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 56px; }
  .container { padding: 0 16px; }
  .data-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .data-panel { padding: 32px 24px; }
  .contact-card { padding: 24px; }
  .card { padding: 24px; }
  .toc ol { columns: 1; }
  .logo { font-size: 1.05rem; gap: 8px; white-space: nowrap; }
  .logo-mark { width: 30px; height: 30px; }
}
