/* 321Done — static site styles */
:root {
  --teal: #3ec1b9;
  --teal-dark: #2ba39c;
  --teal-tint: #e9f8f7;
  --pink: #f591ae;
  --pink-tint: #fdeef3;
  --ink: #2f2f2f;
  --muted: #767676;
  --line: #e8e6e2;
  --paper: #fffdf9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(47, 47, 47, 0.08);
}

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

body {
  font-family: "Quicksand", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--teal-dark); text-decoration: none; }
.site-nav a.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s;
}
.site-nav a.nav-cta:hover { background: var(--teal-dark); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  padding: 13px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-1px); }
.btn.btn-pink { background: var(--teal); }
.btn.btn-pink:hover { background: var(--teal-dark); }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.2;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
}
.hero p.lede { margin-top: 14px; font-size: 19px; color: var(--muted); }
.hero .hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .hero-note { font-size: 14px; color: var(--muted); }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Feature strip */
.features { padding: 44px 0; }
.features .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  text-align: center;
}
.feature .emoji { font-size: 30px; line-height: 1; }
.feature h3 { margin-top: 10px; font-size: 17px; }
.feature p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Generic page section */
.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.25; }
.page .subtitle { margin-top: 10px; font-size: 18px; color: var(--muted); max-width: 640px; }
.page h2 { margin: 36px 0 10px; font-size: 22px; }
.page p + p { margin-top: 12px; }

/* Newsletter / signup */
.signup {
  background: var(--teal-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.signup .wrap {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.signup h2 { font-size: 27px; line-height: 1.3; }
.signup h2 .tag {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  vertical-align: middle;
  margin-left: 8px;
}
.signup p { margin-top: 10px; color: var(--muted); }
.signup .fine { font-size: 13.5px; margin-top: 14px; }

.signup-form { display: grid; gap: 12px; }
.signup-form input[type="text"],
.signup-form input[type="email"] {
  font-family: inherit;
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  width: 100%;
}
.signup-form input:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.hp { position: absolute; left: -9999px; }

/* Printables grid (VIP) */
.grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 1; object-fit: cover; }
.card .card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 15.5px; line-height: 1.35; }
.card a.dl {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal-dark);
}
.card a.dl::after { content: " ↓"; }

/* Our story */
.story .wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 72px;
}
.story img { border-radius: var(--radius); box-shadow: var(--shadow); }
.story .sig { margin-top: 18px; font-size: 22px; color: var(--teal-dark); font-weight: 700; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal p { font-size: 15.5px; color: #4a4a4a; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); margin-top: 0; }
.site-footer .wrap {
  padding-top: 44px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}
.site-footer h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); font-size: 15px; }
.site-footer .brand-col img { height: 40px; margin-bottom: 10px; }
.site-footer .brand-col p { font-size: 14.5px; color: var(--muted); }
.copyright {
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  padding: 16px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap, .signup .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { order: -1; }
  .story .wrap { grid-template-columns: 1fr; }
  .story img { max-width: 340px; }
  .features .wrap { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
