:root {
  --ink: #1a1714;
  --ink-soft: #4a433c;
  --chalk: #f3efe6;
  --board: #2a3228;
  --board-deep: #1c221a;
  --citrus: #d4e04f;
  --citrus-deep: #a8b82e;
  --font-display: "Literata", "Iowan Old Style", Georgia, serif;
  --font-body: "Sora", "Avenir Next", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 100% 70% at 0% 100%, #e8e2d4 0%, transparent 50%),
    linear-gradient(165deg, #f7f3ea 0%, #e4ddd0 55%, #d5cfc0 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  color: var(--chalk);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.header-links a {
  text-decoration: none;
  opacity: 0.92;
}

.header-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--chalk);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 34, 26, 0.35) 0%, rgba(28, 34, 26, 0.82) 72%),
    url("../images/Fix-It-Image.png") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 224, 79, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(243, 239, 230, 0.08) 0%, transparent 35%);
  pointer-events: none;
  animation: glow-pulse 10s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1%, -0.6%, 0); }
}

@keyframes glow-pulse {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.95;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--citrus);
  color: var(--board-deep);
}

.btn-primary:hover {
  background: #e0ea6a;
}

.btn-ghost {
  background: transparent;
  color: var(--chalk);
  box-shadow: inset 0 0 0 1.5px rgba(243, 239, 230, 0.5);
}

.btn-ghost:hover {
  background: rgba(243, 239, 230, 0.1);
}

.animate-rise {
  animation: rise 0.9s ease both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--board);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.feature-list {
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-top: 1px solid rgba(42, 50, 40, 0.14);
  color: var(--ink-soft);
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: 1px solid rgba(42, 50, 40, 0.14);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--citrus-deep);
}

.cta-band {
  padding: 1.75rem 0 0;
  text-align: left;
}

.cta-band p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.cta-band .btn-primary {
  color: var(--board-deep);
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem;
  }

  .hero-inner {
    padding-bottom: 3.25rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
