/* 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 {
  /* Blueprint palette — anchored on the logo's Blueprint Blue */
  --blue: #4018ec;
  --blue-deep: #3311c4;
  --blue-soft: #8b78f2;
  --blue-tint: #ebe7fc;
  --blue-wash: #f4f1fb;
  --paper: #fbf9f5;
  --paper-deep: #f3f0f7;
  --linen: #fffdf9;
  --ink: #1f1b3a;
  --ink-soft: #625d7a;
  --ink-faint: #9c98b0;
  --line: rgba(31, 27, 58, 0.09);

  --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(--paper);
  line-height: 1.7;
  min-width: 320px;
}

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

a:hover {
  opacity: 0.8;
}

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

/* ── Layout ── */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 30rem at 50% -8rem, rgba(64, 24, 236, 0.08), transparent 70%),
    var(--paper);
}

/* ── Hero ── */

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

.hero-icon {
  width: 88px;
  height: 88px;
  box-shadow:
    0 1px 2px rgba(31, 27, 58, 0.08),
    0 14px 34px rgba(64, 24, 236, 0.20);
  margin-bottom: 1.35rem;
}

.hero-name {
  width: min(520px, 80vw);
  line-height: 0;
  margin-bottom: 0.85rem;
}

.hero-name img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* ── Products ── */

.products {
  padding: 1.25rem 2rem 1.25rem;
  background: var(--paper-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(--blue-soft);
  margin-bottom: 0.75rem;
}

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

.product {
  border-radius: 22px;
  padding: 1.9rem 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(31, 27, 58, 0.04),
    0 14px 40px rgba(31, 27, 58, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

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

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

.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.7;
}

.product-description + .product-description {
  margin-top: 0.8rem;
}

.product-description:last-of-type {
  flex: 1;
}

.product-link {
  margin-top: 1.35rem;
  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;
  font-size: 0.845rem;
}

.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: 1.25rem 2rem 2.25rem;
  max-width: 780px;
  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);
  max-width: 34rem;
  margin: 0 auto;
}

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

.contact-list {
  list-style: none;
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  line-height: 1.9;
}

.contact-list li:not(:last-child)::after {
  content: '·';
  color: var(--ink-faint);
  margin: 0 0.55rem;
}

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

/* ── 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.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
}

.footer-icon {
  width: 26px;
  height: 26px;
}

.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: 1.25rem 1.5rem 1rem;
  }

  .hero-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 1.1rem;
  }

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

  .product {
    padding: 1.7rem 1.5rem 1.5rem;
  }

  /* Stacked addresses must not trail a separator on each line. */
  .contact-list {
    flex-direction: column;
    align-items: center;
    line-height: 1.85;
  }

  .contact-list li:not(:last-child)::after {
    content: none;
  }

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

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