/* Beacon & Bold — marketing site
   Calm, trustworthy, typography-first */

:root {
  --bg: #f7f5f1;
  --bg-alt: #efece6;
  --surface: #ffffff;
  --ink: #1a1c1a;
  --ink-soft: #3d423d;
  --muted: #6b716b;
  --line: #ddd8ce;
  --accent: #1f4d3a;
  --accent-hover: #16382a;
  --accent-soft: #e4efe9;
  --featured: #1f4d3a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(26, 28, 26, 0.04), 0 8px 24px rgba(26, 28, 26, 0.06);
  --font-sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --max: 1080px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header:has(+ main) {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0.35rem 0.35rem 0 0 color-mix(in srgb, var(--accent) 35%, transparent);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
  background: var(--bg-alt);
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Typography helpers */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 500;
}

h3 {
  font-size: 1.2rem;
}

.section-intro,
.hero-lead {
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 20%, var(--line));
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

/* Hero */

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
}

.hero-inner {
  max-width: 40rem;
}

.hero-lead {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin: 1.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

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

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-intro {
  margin: 0;
  font-size: 1.05rem;
}

/* Cards */

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards-2 {
  grid-template-columns: 1fr;
}

.cards-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .cards-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card > p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.card-list li:last-child {
  padding-bottom: 0;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 0.15rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Packages */

.package .package-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  margin: 0.75rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.price-range {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price-period {
  font-size: 0.9rem;
  color: var(--muted);
}

.package-desc {
  margin: 0 0 1.25rem !important;
}

.package-featured {
  border-color: color-mix(in srgb, var(--featured) 35%, var(--line));
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--featured) 12%, transparent);
}

.package-featured .package-label {
  color: var(--accent);
}

.ad-spend-note {
  margin: 1rem 0 0 !important;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}

.packages-footnote {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* About */

.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
    gap: 3rem;
  }

  .about-copy {
    margin-bottom: 0;
  }
}

.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  max-width: 36rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.model-list {
  margin: 0;
  padding: 0;
}

.model-list > div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.model-list > div:last-child {
  padding-bottom: 0;
}

.model-list dt {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.model-list dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Contact */

.contact {
  text-align: center;
}

.contact-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.contact .section-intro {
  margin: 0.75rem auto 2rem;
}

.contact-hint {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.75rem;
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer-meta {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer-meta p {
  margin: 0 0 0.4rem;
}

.footer-meta a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1rem !important;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}

/* Focus */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

  .nav-toggle span {
    transition: none;
  }
}
