/* Plainsteady palette, from the brand kit */
:root {
  --ink: #14213d;
  --paper: #f4f1ea;
  --white: #ffffff;
  --teal: #1f7a6b;
  --teal-dark: #175e52;
  --amber: #e0a030;
  --line: #d9d4c7;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 4vw, 1.75rem);
}

h3 {
  font-size: 1.125rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

a {
  color: var(--teal);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--teal-dark);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

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

.brand {
  display: inline-block;
}

.brand img {
  display: block;
  height: 48px;
  width: auto;
}

section {
  padding: 2.5rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
}

/* Decorative 3D lattice. Empty and hidden unless the script switches it on. */
/* On phones the band's space is reserved from first paint on every path
   (3D, reduced motion, no WebGL, low power), so nothing below it shifts. */
.hero-visual {
  display: block;
  height: 10rem;
  margin-top: 0.5rem;
  pointer-events: none;
}

.hero-visual canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 60rem) {
  .hero .wrap > * {
    max-width: 34rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-visual.is-active {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% + 13rem);
    width: 22rem;
    height: auto;
    margin: 0;
  }
}

.lead {
  font-size: 1.1875rem;
}

.small {
  font-size: 0.9375rem;
}

.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.price {
  font-size: 1.25rem;
}

.price strong {
  font-size: 2rem;
}

.steps li {
  margin-bottom: 0.5rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
}

.card p {
  margin: 0;
}

.contact {
  background: var(--ink);
  color: var(--paper);
}

.contact a {
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact .button-light {
  color: var(--ink);
}

.button-light:hover {
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  margin: 0 0 0.25rem;
}

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