@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..800;1,9..144,400..800&family=Outfit:wght@300..700&display=swap');

:root {
  --pine: #0f3b2e;
  --pine-deep: #082119;
  --pine-soft: #1c5a46;
  --berry: #c8243c;
  --berry-deep: #9b1529;
  --gold: #f2c14e;
  --gold-soft: #ffe7a8;
  --cream: #fff8ec;
  --ink: #1f2a24;
  --muted: #6b7a71;
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(4, 20, 14, .55);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--body);
  color: var(--cream);
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(242, 193, 78, .22), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(200, 36, 60, .25), transparent 60%),
    linear-gradient(180deg, var(--pine) 0%, var(--pine-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#snow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.wrap { position: relative; z-index: 1; }

/* lights garland across the top */
.lights {
  position: relative; z-index: 2;
  display: flex; justify-content: space-around;
  padding: 0 8px; height: 34px;
  background: radial-gradient(120% 40px at 50% -14px, transparent 70%, rgba(0,0,0,.35) 71%, transparent 74%) repeat-x;
  background-size: 90px 34px;
}
.lights span {
  width: 11px; height: 17px; margin-top: 12px;
  border-radius: 50% 50% 45% 45%;
  animation: twinkle 2.4s ease-in-out infinite;
}
.lights span:nth-child(4n+1) { background: var(--berry); --g: var(--berry); }
.lights span:nth-child(4n+2) { background: var(--gold); --g: var(--gold); animation-delay: .6s; }
.lights span:nth-child(4n+3) { background: #4fd18b; --g: #4fd18b; animation-delay: 1.2s; }
.lights span:nth-child(4n)   { background: #6cc6ff; --g: #6cc6ff; animation-delay: 1.8s; }
@keyframes twinkle {
  0%, 100% { opacity: 1; box-shadow: 0 4px 16px 2px var(--g); }
  50% { opacity: .35; box-shadow: none; }
}

.eyebrow {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft); opacity: .9; margin: 0 0 10px;
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 11vw, 76px);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0;
}
h1 em { font-style: italic; color: var(--gold); font-weight: 600; }

.btn {
  appearance: none; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body);
  padding: 16px 22px; border-radius: 999px;
  background: var(--berry); color: #fff;
  box-shadow: 0 8px 0 var(--berry-deep), 0 14px 30px -10px rgba(200,36,60,.8);
  transition: transform .12s, box-shadow .12s, background .2s;
}
.btn:hover { background: #d92d47; }
.btn:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--berry-deep); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost {
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #d8d2c4;
}
.btn.ghost:hover { background: #f3ecdf; }
.btn.small { padding: 9px 14px; font-size: 14px; box-shadow: none; }
.btn.small:active { transform: translateY(1px); }

input, textarea {
  font: 500 16px var(--body); color: var(--ink);
  width: 100%; padding: 14px 16px;
  border-radius: 14px; border: 1.5px solid #e2dccf; background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,193,78,.3); }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 15px; opacity: 0; transition: .25s; z-index: 50; max-width: 90vw; white-space: pre-line;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--berry-deep); }

.confetti { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 40; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* company name keeps its own casing ("iCON") inside the uppercase eyebrow */
.eyebrow .brand {
  text-transform: none; letter-spacing: .06em;
  font-family: var(--display); font-weight: 800; font-size: 1.35em;
  color: var(--gold); vertical-align: -.06em;
}
