/* ==========================================================================
   KIDO · Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-500);
}

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

img {
  height: auto;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

figure {
  margin: 0;
}

blockquote {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--amber-200);
  color: var(--navy-900);
}

/* --- Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: #4a2c02;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.8em 1.5em;
  border: 2px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease),
    background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
}

.btn--amber {
  --btn-bg: var(--amber);
  --btn-fg: #4a2c02;
  box-shadow: var(--shadow-amber);
}

.btn--amber:hover {
  --btn-bg: #f6b64a;
}

.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  box-shadow: 0 14px 26px -16px rgba(25, 71, 137, 0.85);
}

.btn--navy:hover {
  --btn-bg: var(--navy-700);
}

.btn--ghost {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  --btn-border: var(--navy-100);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  --btn-border: var(--navy-200);
  background: var(--navy-50);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.38);
}

.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-border: rgba(255, 255, 255, 0.7);
  --btn-fg: #fff;
}

.btn--sm {
  min-height: 42px;
  padding: 0.55em 1.1em;
  font-size: var(--fs-sm);
}

.btn--lg {
  min-height: 56px;
  padding: 0.95em 1.8em;
  font-size: var(--fs-md);
}

/* --- Small bits ------------------------------------------------------------ */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--amber);
}

.stars svg {
  fill: currentColor;
  stroke: none;
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-700);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(238, 168, 47, 0.2);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(63, 143, 127, 0.16);
}

@media (max-width: 640px) {
  .btn {
    min-height: 48px;
  }
}
