@import url("fonts.css");
@import url("tokens.css");

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo__image {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.site-logo__text {
  line-height: 1.2;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Handwritten accent — brand touches (not body copy) */
.font-accent {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.font-accent :is(strong, b),
.site-logo__text :is(strong, b) {
  font-weight: 400;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  border: none;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(10, 178, 133, 0.26);
  transition: background-color 0.18s ease, transform 0.18s ease;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-1px);
  color: var(--white);
}

.btn small {
  font-weight: 400;
  font-size: 0.82rem;
  opacity: 0.92;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(10, 178, 133, 0.2);
}

.btn--lg {
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
}

.site-header__cta {
  display: none;
}

@media (min-width: 768px) {
  .site-header__cta {
    display: inline-flex;
    flex-direction: row;
    white-space: nowrap;
  }
}

.card {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: var(--card-pad);
  background: var(--white);
  border: var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.section {
  padding-block: var(--card-gap);
}

.section--tight {
  padding-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.1;
  text-align: center;
  max-width: 20ch;
  margin: 20px auto 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  text-align: center;
  margin: 0 0 0.6em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.75rem auto;
  max-width: 40rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.65em;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-muted);
}

@media (max-width: 767px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 0.75rem;
  }

  .site-nav {
    width: 100%;
  }

  :root {
    --header-offset: 8.5rem;
  }
}
