/* Apptimist Labs: brushed steel, sapphire and copper, in light and dark. */

:root {
  --text: #222a2f;
  --text-secondary: #5e6a72;
  --background: #e9ecee;
  --surface: rgba(255, 255, 255, 0.55);
  --border: #b8c1c7;
  --accent: #2e4a60;
  --copper-edge: #3f1e0c;
  --copper-mid: #6e3818;
  --copper-peak: #a35e2c;
  --steel: repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.18) 0 1px,
      rgba(0, 0, 0, 0.025) 1px 3px
    ),
    linear-gradient(180deg, #eef1f3, #e2e6e9);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8ecef;
    --text-secondary: #9aa5ad;
    --background: #15181b;
    --surface: rgba(255, 255, 255, 0.05);
    --border: #3c454c;
    --accent: #7fa6c9;
    --copper-edge: #2e1608;
    --copper-mid: #5e2f14;
    --copper-peak: #975428;
    --steel: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.025) 0 1px,
        rgba(0, 0, 0, 0.06) 1px 3px
      ),
      linear-gradient(180deg, #1a1e22, #121518);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  background-image: var(--steel);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.labs {
  color: var(--text-secondary);
  font-weight: 500;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

/* Hero */

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

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

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.coming {
  display: inline-block;
  margin: 28px 0 0;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font-size: 15px;
}

/* Sections */

h2 {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 600;
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.approach,
.contact {
  padding: 40px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.contact p {
  margin: 0 0 8px;
}

.email {
  font-size: 20px;
  font-weight: 600;
}

/* Footer with the copper band */

.site-footer {
  margin-top: 48px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(
    180deg,
    var(--copper-edge) 0%,
    var(--copper-mid) 30%,
    var(--copper-peak) 50%,
    var(--copper-mid) 70%,
    var(--copper-edge) 100%
  );
  padding: 22px 24px 26px;
  position: relative;
}

.site-footer .band {
  position: absolute;
  inset: 7px 0 auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
}

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

.site-footer .small {
  font-size: 13px;
  opacity: 0.85;
}

/* Plain text pages (privacy, terms, 404) */

.page {
  max-width: 720px;
  padding: 48px 0;
}

.page h1 {
  font-size: clamp(30px, 5vw, 40px);
  margin-bottom: 16px;
}
