/* Double Quack Ltd — shared styles.
   Palette borrowed from the Plate Mate "Joyful" language: warm cream,
   forest green, sage, coral, butter. Calm and friendly, not corporate. */

:root {
  --bg: #FBFAF5;
  --ink: #0E1C14;
  --paper: #F3EFE4;
  --sage: #DCE8D5;
  --sage-deep: #B8CDAB;
  --green: #2F6F52;
  --green-deep: #1E4A35;
  --coral: #D96C57;
  --butter: #F0C969;
  --muted: #7C8A83;
  --line: rgba(14, 28, 20, 0.10);
  --radius: 20px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand svg { display: block; }

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--green); }

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--green-deep); }

.btn-soft {
  background: var(--sage);
  color: var(--green-deep) !important;
}

.btn-soft:hover { background: var(--sage-deep); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: var(--sage);
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  max-width: 18ch;
  margin: 0 auto 20px;
}

h1 .accent { color: var(--green); }

.hero p.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto 36px;
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }

section.alt { background: var(--paper); }

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
  margin-bottom: 44px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

section.alt .card { background: var(--bg); }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.icon-sage { background: var(--sage); }
.icon-butter { background: var(--butter); }
.icon-coral { background: rgba(217, 108, 87, 0.18); }

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Product tease ---------- */

.tease {
  background: var(--green-deep);
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
}

.tease .eyebrow {
  background: rgba(240, 201, 105, 0.2);
  color: var(--butter);
}

.tease h2 { color: #fff; }

.tease p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 58ch;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.contact-box a.email {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.contact-box a.email:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.88rem;
  color: var(--muted);
}

footer .foot {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

footer a { color: var(--green); text-decoration: none; }
footer a:hover { text-decoration: underline; }

footer .legal { max-width: 60ch; }

/* ---------- Legal pages (privacy) ---------- */

.legal-page { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 2.2rem; text-align: left; margin: 0 0 8px; max-width: none; }
.legal-page .updated { color: var(--muted); margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal-page p, .legal-page li { color: #3c4a43; }
.legal-page ul { padding-left: 22px; margin: 10px 0; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .tease { padding: 40px 24px; }
}
