@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --cream: #faf8f4;
  --cream2: #f2efe8;
  --cream3: #e8e4dc;
  --white: #ffffff;
  --ink: #2a2420;
  --ink2: #5a5048;
  --ink3: #a09888;
  --yellow: #ffe600;
  --yellow-dk: #c0a800;
  --red: #ff2d3a;
  --green: #1dde6b;
  --green-dk: #15a050;
  --on-yellow: #1a1400;
  --on-red: #ffffff;
  --on-green: #063320;
  --border: 1px solid #e8e4dc;
  --border-dk: 2px solid #2a2420;
  --divider: 3px solid #2a2420;
  --radius-sm: 5px;
  --radius: 10px;
  --radius-lg: 16px;
  --font1: 'DM Sans Serif';
  --font2: 'Nunito';
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--cream2);
}
::-webkit-scrollbar-thumb {
  background: var(--cream3);
  border-radius: 3px;
}

/* NAV */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: var(--border-dk);
  height: 54px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  padding: 0 1.4rem;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: var(--border);
}
.nav-logo .dot {
  color: var(--yellow-dk);
  font-style: normal;
}
.nav-links {
  display: flex;
  list-style: none;
  height: 100%;
  flex: 1;
  padding-left: 0.5rem;
}
.nav-links li {
  height: 100%;
}
.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  color: var(--ink2);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-end {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-sign-in {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.1rem;
  color: var(--ink2);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-left: var(--border);
  transition: color 0.15s;
}
.nav-sign-in:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.4rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border-left: var(--border);
  transition: background 0.15s;
}
.nav-cta:hover {
  background: #3d3530;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    opacity 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}
.btn:active {
  transform: scale(0.97);
}
.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--on-yellow);
}
.btn-red {
  background: var(--red);
  color: var(--on-red);
}
.btn-green {
  background: var(--green);
  color: var(--on-green);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--cream3);
}
.btn-outline:hover {
  border-color: var(--ink);
}
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
}

/* PILLS */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.pill-yellow {
  background: #fff3a0;
  color: #7a6400;
}
.pill-red {
  background: #ffe5e7;
  color: #a00010;
}
.pill-green {
  background: #d8fce8;
  color: #0a5020;
}
.pill-ink {
  background: var(--cream2);
  color: var(--ink2);
  border: 1px solid var(--cream3);
}

/* INPUTS */
.field {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--cream3);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 0.9rem 0.75rem 2.5rem;
  outline: none;
  transition: border-color 0.15s;
}
.field:focus {
  border-color: var(--ink);
}
.field::placeholder {
  color: var(--ink3);
}
.field-plain {
  padding-left: 0.9rem;
}

/* SECTION HEADER */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: var(--border);
  background: var(--white);
}
.section-head h2 {
  font-size: 1rem;
  font-weight: 900;
}

/* FOOTER */
footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  border-top: var(--divider);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-col:last-child {
  border-right: none;
}
.footer-col h5 {
  font-family: 'DM Serif Display', serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col ul a {
  color: rgba(250, 248, 244, 0.5);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul a:hover {
  color: var(--cream);
}
.footer-brand-logo {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  letter-spacing: -0.03em;
  text-decoration: none;
  display: block;
  margin-bottom: 0.65rem;
}
.footer-brand-logo .dot {
  color: var(--yellow);
  font-style: normal;
}
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(250, 248, 244, 0.5);
  line-height: 1.65;
  max-width: 210px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(250, 248, 244, 0.4);
  font-weight: 600;
}
.footer-bottom b {
  color: var(--yellow);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col:nth-child(2) {
    border-right: none;
  }
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .footer-col:nth-child(4) {
    border-right: none;
  }
}
