/* SmallRun holding page styles. Plain CSS, no build step. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #14323B;
  --teal-deep: #0F272E;
  --teal-raised: #1A3D47;
  --line: rgba(205, 220, 224, 0.16);
  --amber: #F2A93B;
  --amber-hover: #F6BC63;
  --white: #FFFFFF;
  --muted: #CDDCE0;
  --max: 68rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--teal);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--amber); text-underline-offset: 0.2em; }
a:hover { color: var(--amber-hover); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--amber);
  color: var(--teal);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.wordmark-text {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
}
.wordmark-text .small { color: var(--white); }
.wordmark-text .run { color: var(--amber); }
.wordmark-bars { margin-top: 0.3rem; width: 1.75rem; height: auto; }

.site-nav ul {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--white); text-decoration: underline; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--amber);
  color: var(--teal);
  font-weight: 650;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--amber-hover); color: var(--teal); }

/* Hero */
.hero { padding: clamp(4rem, 14vw, 9rem) 0 clamp(4.5rem, 12vw, 8rem); }
.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.hero h1 .accent { color: var(--amber); }
.hero .lede {
  margin: 1.75rem 0 2.5rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.55;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  border-top: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0 0 2.5rem;
  max-width: 22ch;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.problems {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.problems li {
  background: var(--teal-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}
.problems .num {
  display: block;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.problems h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 650;
}
.problems p { margin: 0; color: var(--muted); font-size: 1rem; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 500;
}
.features li::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--amber);
  transform: translateY(-0.1rem);
}

/* Manufacturers */
.makers-panel {
  background: var(--teal-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(2rem, 6vw, 3.5rem);
}
.makers-panel h2 { margin-bottom: 1rem; }
.makers-panel p:not(.eyebrow) {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--white); }

/* Privacy notice and other text pages */
.prose { padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(3.5rem, 9vw, 6rem); }
.prose .wrap { max-width: 46rem; }
.prose h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.prose .updated { margin: 0 0 2.5rem; color: var(--muted); font-size: 0.9375rem; }
.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--white); font-weight: 600; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--amber); }

/* Small screens */
@media (max-width: 30rem) {
  .site-nav a { font-size: 0.875rem; }
  .wordmark-text { font-size: 1.4rem; }
  .site-footer ul { flex-direction: column; }
  .button { width: 100%; text-align: center; }
}
