/* Thrive Blueprint — site styles. Company tokens first, then layout; product cards carry their own brands. */

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

:root {
  /* Warm hearth palette */
  --cream: #fbf6ef;
  --cream-deep: #f4ebe0;
  --linen: #fffdf9;
  --ink: #3b2f2a;
  --ink-soft: #7a6a62;
  --ink-faint: #a89a91;
  --rose: #c9776b;
  --rose-deep: #b3604f;
  --blush: #f5e2db;
  --sage: #8ea58a;
  --sage-tint: #e7eee4;
  --gold: #d9a860;
  --line: rgba(59, 47, 42, 0.1);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.7;
  min-width: 320px;
}

a {
  color: var(--rose-deep);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

::selection {
  background: var(--rose);
  color: var(--linen);
}

/* ── Layout ── */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 30rem at 50% -8rem, rgba(217, 168, 96, 0.14), transparent 70%),
    var(--cream);
}

/* ── Hero ── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.hero-mark {
  width: 56px;
  height: 56px;
  color: var(--rose);
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-thesis {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
}

.hero-thesis em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

.hero-sub {
  margin-top: 0.6rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 34rem;
}

/* ── Products ── */

.products {
  padding: 3.5rem 2rem 3rem;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 980px;
  margin: 0 auto;
}

.product {
  border-radius: 22px;
  padding: 2.25rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(59, 47, 42, 0.04),
    0 14px 40px rgba(59, 47, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 2px rgba(59, 47, 42, 0.05),
    0 22px 56px rgba(59, 47, 42, 0.12);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.product-name {
  font-size: 1.55rem;
  line-height: 1;
}

.product-tagline {
  line-height: 1.4;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.product-description {
  font-size: 0.92rem;
  line-height: 1.75;
  flex: 1;
}

.product-link {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.product-link .arrow {
  transition: transform 0.2s ease;
}

.product-link:hover .arrow {
  transform: translateX(3px);
}

.product-link-soon {
  cursor: default;
}

.soon {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* Survival Box — its own design system: Plus Jakarta Sans, cream, forest green */
.product-survivalbox {
  background: #faf7f2;
  color: #1c1c1e;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border: 1px solid rgba(28, 28, 30, 0.08);
}

.product-survivalbox .product-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1c1c1e;
}

.product-survivalbox .product-tagline {
  font-weight: 700;
  color: #2d6a4f;
}

.product-survivalbox .product-description {
  color: #6b6b6b;
}

.product-survivalbox .product-link {
  color: #2d6a4f;
}

/* Locality — its own design system: Hanken Grotesk UI, Neuton doc voice, teal + coral */
.product-locality {
  background: #faf8f5;
  color: #262222;
  font-family: 'Hanken Grotesk', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  border: 1px solid #e7e1da;
}

.product-locality .product-name {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #262222;
}

.product-locality .product-tagline {
  font-family: 'Neuton', 'Charter', 'Iowan Old Style', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #227a7a;
}

.product-locality .product-description {
  color: #6f6862;
}

.product-locality .product-link {
  color: #227a7a;
}

.product-locality .soon {
  background: #fbecea;
  color: #c24e4e;
}

/* ── About / Contact ── */

.about {
  text-align: center;
  padding: 3.5rem 2rem 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.about-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}

.contact {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-list {
  list-style: none;
  margin-top: 0.35rem;
  line-height: 2;
}

.contact-link {
  color: var(--rose-deep);
  font-weight: 500;
  border-bottom: 1px solid var(--blush);
}

/* ── Footer ── */

.footer {
  margin-top: auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
}

.footer-mark {
  width: 22px;
  height: 22px;
  color: var(--rose);
}

.footer-right {
  font-size: 0.75rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-align: right;
  line-height: 1.6;
}

/* ── Responsive ── */

@media (max-width: 820px) {
  .hero {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product {
    padding: 1.9rem 1.6rem 1.7rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}
