/* Shawn Data — Design System
   Typeface: -apple-system, Helvetica, sans-serif
   Palette: dark olive with sage green */

:root {
  --seaweed: 45, 47, 37;
  --laurel:  214, 225, 213;
  --bg:      rgb(var(--seaweed));
  --fg:      rgb(var(--laurel));
  --fg-soft: rgb(var(--laurel), .6);
  --rule:    rgb(var(--laurel), .35);
  --link:    rgb(var(--laurel));
  --link-h:  rgb(var(--laurel), .5);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 31.5px;
  background-color: var(--bg);
  color: var(--fg);
}

body {
  font-family: -apple-system, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--fg);
  padding: 72px 36px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: 3em;
  font-weight: 350;
  line-height: 1.2;
  color: var(--fg);
}

h2 {
  font-size: 2em;
  font-weight: 350;
  line-height: 1.2;
  color: var(--fg);
}

h3 {
  font-size: 1.4em;
  font-weight: 350;
  line-height: 1.3;
  color: var(--fg);
}

p {
  line-height: 1.6;
  font-weight: 300;
  color: var(--fg-soft);
}

/* Links */
a {
  color: var(--link);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  transition: color .3s cubic-bezier(.645, .045, .355, 1);
}

a:hover {
  color: var(--link-h);
}

/* Strong labels */
strong {
  font-weight: 400;
  color: var(--fg);
}

/* CTA buttons */
.cta-group {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 2em;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: .5em 1em;
  border: 1px solid var(--fg);
  text-decoration: none;
  color: var(--fg);
  transition: background-color .2s cubic-bezier(.645, .045, .355, 1), color .2s cubic-bezier(.645, .045, .355, 1);
}

.cta-primary:hover,
.cta-secondary:hover {
  background: var(--fg);
  color: var(--bg);
}

/* Lists */
ul, ol {
  padding-left: 1.5em;
  color: var(--fg-soft);
}

li {
  line-height: 1.6;
  margin-bottom: 0.4em;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--fg-soft);
}

th {
  font-weight: 350;
  color: var(--fg);
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

td {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Layout: site header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 144px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}

.site-header .brand {
  font-weight: 350;
  color: var(--fg);
  text-decoration: none;
}

.site-header .brand:hover {
  color: var(--link-h);
}

.site-header nav a {
  color: var(--link);
  text-decoration: underline;
}

/* Eyebrow */
.eyebrow {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 20px;
}

/* Hero */
.hero {
  margin-bottom: 40px;
}

.hero h1 {
  margin-bottom: 28px;
}

.lede {
  font-size: 1.15em;
  line-height: 1.6;
  color: var(--fg-soft);
}

/* Sections */
.section {
  margin-top: 144px;
}

.section h2 {
  margin-bottom: 24px;
}

.section h3 {
  margin-top: 2em;
  margin-bottom: .8em;
}

.section p + p {
  margin-top: 20px;
}

.section-divider {
  margin: 144px 0 0;
}

/* Featured list */
.featured-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.featured-list li {
  margin-bottom: 0;
}

.featured-item {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.featured-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.featured-item h3 {
  margin-bottom: 6px;
}

.featured-item h3 a {
  text-decoration: none;
  color: var(--fg);
}

.featured-item h3 a:hover {
  color: var(--link-h);
  text-decoration: underline;
}

.featured-item .summary {
  color: var(--fg-soft);
  margin-bottom: 8px;
}

.featured-item .host-label {
  font-size: 0.85em;
  color: var(--fg-soft);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  margin-top: 144px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.site-footer a {
  text-decoration: none;
  color: var(--fg-soft);
}

.site-footer .footer-brand {
  font-weight: 350;
  color: var(--fg);
}

/* Page header (inner pages) */
.page-header {
  margin-bottom: 48px;
}

.page-header h1 {
  margin-bottom: 0;
}

/* About page specific */
.about-section p + p {
  margin-top: 20px;
}

/* Services */
.service-section {
  margin-top: 56px;
}

.service-section h2 {
  margin-bottom: 20px;
}

.service-section p + p {
  margin-top: 16px;
}

/* AI Overview */
.ai-section {
  margin-top: 56px;
}

.ai-section h2 {
  margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 640px) {
  html {
    font-size: 20px;
  }

  body {
    padding: 48px 24px;
  }

  h1 {
    font-size: 2.6em;
  }

  h2 {
    font-size: 1.8em;
  }

  .lede {
    font-size: 1em;
  }

  .site-header {
    margin-bottom: 64px;
  }

  .section {
    margin-top: 64px;
  }

  .section-divider {
    margin: 64px 0 0;
  }

  .site-footer {
    margin-top: 64px;
  }
}
