/* Alternator Studio: company website. No external fonts or scripts, so the site makes no third-party requests. */

:root {
  color-scheme: light dark;

  --mark-left: #1F2A44;       /* studio mark: navy leg */
  --mark-right: #E5484D;      /* studio mark: coral leg */
  --link: #1A7A6D;
  --background: #F9FAFB;
  --surface: #FFFFFF;
  --text: #111318;
  --text-secondary: #4B4F58;
  --border: #E2E5E9;
  --remark-surface: #EEF7F6;
  --remark-border: rgba(26, 122, 109, 0.19);

  --content-width: 760px;
  --gutter: 16px;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mark-left: #E3E8F3;
    --mark-right: #F2555A;
    --link: #4DB6A6;
    --background: #0E1011;
    --surface: #161819;
    --text: #EAEBEE;
    --text-secondary: #A0A3AA;
    --border: #282B2E;
    --remark-surface: #1A2D2A;
    --remark-border: rgba(26, 122, 109, 0.45);
  }
}

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

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

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

.container {
  width: 100%;
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark-mark {
  flex: none;
  width: 22px;
  height: 22px;
}

.mark-left {
  fill: var(--mark-left);
}

.mark-right {
  fill: var(--mark-right);
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Hero */

.hero {
  padding: 72px 0 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 600px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 19px;
}

/* Sections */

.section {
  padding: 32px 0;
  scroll-margin-top: 64px;
}

h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
}

.card {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-style: normal;
}

/* Product card */

.product {
  padding: 24px;
  border: 1px solid var(--remark-border);
  border-radius: var(--radius);
  background: var(--remark-surface);
}

.product-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.product-icon {
  flex: none;
  display: block;
  width: 52px;
  height: 52px;
}

.product-tagline {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.status {
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid var(--remark-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.features {
  margin: 0 0 16px;
  padding-left: 20px;
}

.features li {
  margin-bottom: 6px;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--remark-border);
  list-style: none;
  font-size: 15px;
}

/* Footer */

.site-footer {
  margin-top: 32px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}

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

/* Small screens */

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

  .hero {
    padding: 48px 0 24px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 17px;
  }

  .site-nav {
    gap: 14px;
    font-size: 14px;
  }

  .wordmark {
    font-size: 17px;
  }

  .product {
    padding: 18px;
  }
}

@media (max-width: 400px) {
  .site-nav a[href="#company"] {
    display: none;
  }
}
