/* The Fifth Star — placeholder site styles. System fonts only, no external requests. */

:root {
  --navy: #14213d;
  --navy-soft: #2b3a5c;
  --text-muted: #4a5568;
  --gold: #e3a82b;
  --gold-deep: #c98f14;
  --bg: #faf8f3;
  --bg-alt: #f1ede3;
  --card: #ffffff;
  --line: #e2dccd;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow p {
  max-width: 42em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.star {
  fill: var(--gold);
  stroke: var(--gold-deep);
  stroke-width: 1;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Hero */

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

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 21ch;
}

.lede {
  font-size: 1.1875rem;
  color: var(--navy-soft);
  max-width: 38em;
  margin-bottom: 32px;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--gold-deep);
  transition: background-color 0.15s ease;
}

.button:hover {
  background: #edb947;
}

/* Sections */

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.large {
  font-size: 1.1875rem;
  color: var(--navy-soft);
}

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

.cards {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}

.card p {
  color: var(--navy-soft);
}

.icon {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 60px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.steps h3 {
  margin-bottom: 0.25em;
}

.steps p {
  color: var(--navy-soft);
}

.steps-note {
  margin-top: 32px;
  max-width: 46em;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  gap: 32px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 28px 24px;
}

.contact-card a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #e6e9f0;
  padding: 40px 0 48px;
  font-size: 0.9375rem;
}

.site-footer a {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: var(--gold);
}

.business {
  font-style: normal;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.business p {
  margin-bottom: 6px;
}

.business strong {
  color: #fff;
}

.business ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.business li {
  margin-bottom: 4px;
}

.business a {
  overflow-wrap: anywhere;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 8px;
}

.small {
  font-size: 0.875rem;
  color: #c9cfdc;
}

.privacy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.875rem;
  color: #c9cfdc;
  max-width: 46em;
}

.privacy strong {
  color: #fff;
}

.privacy a {
  overflow-wrap: anywhere;
}

/* Larger screens */

@media (min-width: 720px) {
  .hero {
    padding: 96px 0 104px;
  }

  .section {
    padding: 88px 0;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .steps li {
    padding-left: 0;
    padding-top: 60px;
  }

  .split {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
  }
}
