/* Sealorca public website styles
 * Base spacing unit: 8px
 * Palette: navy #0B1120, white #FFFFFF, accent blue #2563EB
 */

:root {
  --navy: #0b1120;
  --white: #ffffff;
  --blue: #2563eb;
  --text: #0b1120;
  --muted: #475569;
  --border: #e2e8f0;
  --bg: #ffffff;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(11, 17, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--navy);
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-link:hover {
  background: #f1f5f9;
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.button:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: #1d4ed8;
}

.button-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.hero {
  background: var(--navy);
  color: var(--white);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--space-6) + var(--space-2)) var(--space-2) var(--space-6);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--space-2);
}

.hero h1 {
  margin: 0 0 var(--space-2);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 var(--space-3);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-2) var(--space-6);
}

.stats-bar {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-2);
  margin-bottom: var(--space-4);
}

.stats-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: var(--space-4) 0;
}

.section-actions {
  margin-top: var(--space-2);
}

.section-header h2 {
  margin: 0 0 var(--space-1);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0 0 var(--space-3);
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: var(--space-2);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 200px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card .card-cta {
  margin-top: auto;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-2);
}

.logo-box {
  height: 56px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.accordion {
  display: grid;
  gap: var(--space-2);
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 0;
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  cursor: pointer;
  font-weight: 700;
}

.accordion-button:hover {
  background: #f8fafc;
}

.accordion-panel {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--muted);
  line-height: 1.7;
  display: none;
}

.accordion-item[data-open="true"] .accordion-panel {
  display: block;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-2);
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: var(--space-1);
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Breakpoints: 320, 375, 768, 1280 */
@media (max-width: 768px) {
  .nav-actions {
    gap: 10px;
  }
  .nav-link {
    display: none;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 1279px) {
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
