:root {
  --ink: #1b2a41;
  --sky: #eef5fa;
  --cloud: #ffffff;
  --sun: #f5b301;
  --sun-deep: #d99e00;
  --beak: #e8730c;
  --feather: #7e93a8;
  --line: #d8e4ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--sky);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, .brand {
  font-family: "Baloo 2", "Public Sans", sans-serif;
  line-height: 1.15;
}

a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
a:hover { color: var(--beak); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  padding: 20px 0;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--ink);
}
.brand .goose { margin-right: 6px; }
nav.top a {
  margin-left: 22px; font-size: .95rem; text-decoration: none; font-weight: 600;
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center; padding: 56px 0 72px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--sun) 62%);
}
.hero p.lede { font-size: 1.15rem; color: #33465e; max-width: 34ch; margin-bottom: 28px; }
.cta {
  display: inline-block; background: var(--sun); color: var(--ink);
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.05rem;
  padding: 13px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.cta:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

/* Phone */
.phone {
  background: var(--cloud); border: 2px solid var(--ink); border-radius: 28px;
  padding: 18px 16px 22px; max-width: 340px; margin-left: auto;
  box-shadow: 6px 6px 0 rgba(27,42,65,.15);
  transform: rotate(1.5deg);
}
.phone .contact {
  text-align: center; font-weight: 700; font-family: "Baloo 2", sans-serif;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.phone .contact small { display: block; font-family: "Public Sans"; font-weight: 400; color: var(--feather); font-size: .78rem; }
.msg {
  max-width: 85%; padding: 9px 14px; border-radius: 18px; margin-bottom: 10px;
  font-size: .92rem; opacity: 0; animation: pop .4s ease forwards;
}
.msg.in  { background: #e9eef4; border-bottom-left-radius: 6px; }
.msg.out { background: var(--sun); border-bottom-right-radius: 6px; margin-left: auto; }
.msg:nth-child(2) { animation-delay: .2s; }
.msg:nth-child(3) { animation-delay: .9s; }
.msg:nth-child(4) { animation-delay: 1.6s; }
.msg:nth-child(5) { animation-delay: 2.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Sections */
section.band { background: var(--cloud); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 64px 0; }
section.plain { padding: 64px 0; }
h2 { font-size: 2rem; margin-bottom: 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .num {
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1rem;
  background: var(--ink); color: var(--sun); width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { font-size: .97rem; color: #33465e; }

/* Form */
.invite { max-width: 560px; }
.invite p.note { color: #33465e; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  border: 2px solid var(--ink); border-radius: 10px; background: var(--cloud);
}
input:focus-visible, button:focus-visible, a:focus-visible, input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--beak); outline-offset: 2px;
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--sky); border: 2px dashed var(--feather); border-radius: 10px;
  padding: 14px; font-size: .92rem; margin-bottom: 20px;
}
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.smallprint { font-size: .85rem; color: var(--feather); margin-top: 14px; }

/* Footer */
footer {
  padding: 36px 0 48px; font-size: .9rem; color: #33465e;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer a { font-size: .9rem; }

/* Legal pages */
.doc { max-width: 720px; padding: 40px 0 80px; }
.doc h1 { font-size: 2.2rem; margin-bottom: 8px; }
.doc .updated { color: var(--feather); margin-bottom: 32px; font-size: .9rem; }
.doc h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.doc p, .doc li { color: #26374d; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 56px; }
  .phone { margin: 0 auto; transform: none; }
  .steps { grid-template-columns: 1fr; }
  nav.top a { margin-left: 14px; }
}
