/* Softly Now — mobile-first styles. No build step. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f3efe6;
  --paper: #fffdf8;
  --mist: #e6ebe3;
  --ink: #243028;
  --ink-soft: #4d5a50;
  --clay: #c46b4a;
  --clay-deep: #8f432c;
  --sage: #4f6a58;
  --sage-deep: #2f4538;
  --honey: #c9a36a;
  --line: #d9d0c2;
  --blush: #ead5cb;
  --shadow: 0 14px 40px rgba(36, 48, 40, 0.08);
  --serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans Pro", "Segoe UI", sans-serif;
  --max: 1080px;
  --narrow: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sage-deep); }
a:hover { color: var(--clay-deep); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sage-deep);
}
p { margin: 0 0 1rem; }
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 2rem, var(--narrow));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 550;
  color: var(--sage-deep);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.wordmark em {
  font-style: italic;
  font-weight: 480;
  color: var(--clay);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sage-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--clay);
  color: #fffdf8;
}
.btn-primary:hover { background: var(--clay-deep); color: #fffdf8; }
.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border-color: var(--sage);
}
.btn-ghost:hover { background: var(--mist); color: var(--sage-deep); }
.btn-buy {
  background: var(--sage);
  color: #fffdf8;
  width: 100%;
}
.btn-buy:hover { background: var(--sage-deep); color: #fffdf8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 3rem;
  background:
    radial-gradient(1200px 420px at 80% -10%, #f7e4d4 0%, transparent 60%),
    linear-gradient(180deg, #eef2ea 0%, var(--cream) 100%);
}
.hero-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay-deep);
  margin-bottom: 0.7rem;
}
.hero h1 {
  font-size: clamp(2.15rem, 8vw, 4.2rem);
  font-weight: 560;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 0;
}
.hero-art {
  justify-self: center;
  width: min(100%, 340px);
}
.hero-art img, .hero-art svg {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

/* Sections */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--paper); }
.section-mist { background: var(--mist); }
.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.section h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 1rem;
}
.prose { max-width: 40rem; }
.prose p:last-child { margin-bottom: 0; }

/* About */
.about-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}
.note-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.note-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
.note-card p { margin: 0; color: var(--ink-soft); }

/* Signup */
.signup-card {
  background: var(--paper);
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.3rem;
  border-left: 6px solid var(--clay);
}
.signup-card h2 { margin-top: 0; }
.form-row { display: grid; gap: 0.8rem; margin: 1.2rem 0 0.8rem; }
label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 0.3rem; }
input[type="text"], input[type="email"] {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  min-height: 2.85rem;
}
input:focus {
  outline: 3px solid color-mix(in srgb, var(--clay) 35%, white);
  border-color: var(--clay);
}
.form-note, .placeholder-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.4rem 0 0;
}
.placeholder-note {
  background: #f8efe6;
  border: 1px dashed var(--clay);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  margin-bottom: 1rem;
  color: var(--clay-deep);
}

/* Product */
.product-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
.product-cover {
  background: linear-gradient(165deg, #2f4538 0%, #4f6a58 55%, #c46b4a 140%);
  color: #fffdf8;
  border-radius: 1.4rem;
  min-height: 280px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.product-cover .brand {
  font-family: var(--serif);
  font-style: italic;
  opacity: 0.85;
}
.product-cover h3 {
  color: #fffdf8;
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin: 0.4rem 0;
}
.product-cover p { margin: 0; opacity: 0.9; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.6rem 0 1.1rem;
}
.price {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--sage-deep);
  letter-spacing: -0.03em;
}
.price-note { color: var(--ink-soft); }
.includes { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.includes li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
}
.includes li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
  position: absolute;
  left: 0.2rem;
  top: 0.75rem;
}

/* Tips */
.tips-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.tip-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.3rem 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}
.tip-card .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
  font-size: 1.1rem;
}
.tip-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.35rem;
}
.tip-card p { margin: 0; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--sage-deep);
  color: #e6ebe3;
  padding: 2.4rem 0 2rem;
}
.site-footer a { color: #f3efe6; }
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.site-footer .wordmark { color: #fffdf8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.legal-line { font-size: 0.9rem; opacity: 0.85; margin: 0; }

/* Article / legal pages */
.page-hero { padding: 2.2rem 0 0.5rem; }
.page-hero h1 {
  font-size: clamp(2rem, 7vw, 3.3rem);
  margin: 0 0 0.6rem;
  max-width: 16ch;
}
.article, .legal {
  padding: 0.5rem 0 3.5rem;
}
.article .wrap-narrow p,
.legal .wrap-narrow p,
.legal .wrap-narrow li { color: var(--ink); }
.legal h2 { font-size: 1.45rem; margin-top: 2rem; }
.meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }
.back { font-weight: 600; text-decoration: none; }

@media (max-width: 719px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.7rem 0 0.55rem;
    min-height: 0;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.25rem 1rem;
  }
}

@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .about-grid, .tips-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: 0.9fr 1.1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row .full { grid-column: 1 / -1; }
  .btn-buy { width: auto; }
  .section { padding: 4.2rem 0; }
  .signup-card, .note-card, .tip-card { padding: 1.8rem 1.7rem; }
}
