/* ==========================================================================
   10:2 Studio — hub site styles
   Light theme matched to The Why's web landing page: warm white + burnt
   sienna (#B5651D), serif display, per-app accent colors
   ========================================================================== */

:root {
  --bg: #fffdf8;
  --bg-2: #f7f0e3;
  --panel: #ffffff;
  --border: #e8e0d4;
  --border-soft: #efe8da;
  --text: #1a1a1a;
  --text-2: #5c4f3d;
  --text-3: #8a7a63;
  --accent-brand: #b5651d;
  --accent-brand-dark: #94510f;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-brand); text-decoration: none; }
a:hover { color: var(--accent-brand-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: bold;
  color: var(--text);
  letter-spacing: 0.02em;
}

.wordmark .mark { color: var(--accent-brand); }

.site-nav a {
  color: var(--text-2);
  font-size: 15px;
  margin-left: 28px;
}

.site-nav a:hover { color: var(--accent-brand); }

@media (max-width: 560px) {
  .site-header .wrap {
    height: auto;
    flex-direction: column;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 12px;
    gap: 4px;
  }
  .site-nav a { margin: 0 10px; font-size: 14px; }
  .hero { padding: 56px 0 56px; }
}

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

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

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-brand);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.15;
  font-weight: bold;
  max-width: 800px;
  margin: 0 auto 22px;
}

.hero .lede {
  font-size: 19px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero-cta {
  display: inline-block;
  background: var(--accent-brand);
  color: #fffdf8;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: 8px;
}

.hero-cta:hover { background: var(--accent-brand-dark); color: #fffdf8; }

.hero-verse {
  margin-top: 46px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-3);
}

.hero-verse cite { font-style: normal; font-size: 14px; }

/* ---- Section headings ---- */

.section { padding: 72px 0; }

.section-head { text-align: center; margin-bottom: 48px; }

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 12px;
}

.section-head p { color: var(--text-2); max-width: 620px; margin: 0 auto; }

/* ---- App cards ---- */

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 820px) {
  .apps-grid { grid-template-columns: 1fr; }
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 32px 28px;
  box-shadow: 0 2px 10px rgba(60, 42, 20, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--accent-brand));
  box-shadow: 0 14px 32px rgba(60, 42, 20, 0.13);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 19px;
  flex-shrink: 0;
  box-shadow: 0 5px 14px rgba(60, 42, 20, 0.18);
}

.app-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}

.app-card h3 a { color: var(--text); }

.app-card h3 a:hover { color: var(--accent, var(--accent-brand)); }

/* Whole card clickable via the title link; buttons stay above it */
.app-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

.app-tagline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, var(--accent-brand));
  margin-top: 4px;
}

.app-desc { color: var(--text-2); margin-bottom: 18px; }

.app-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.app-features li {
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.app-links {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Store badge buttons */

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid #000;
  border-radius: 9px;
  padding: 7px 14px 7px 11px;
  color: #fff;
  line-height: 1.15;
}

.store-btn:hover { background: #2a2a2a; border-color: #2a2a2a; color: #fff; }

.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.store-btn .btn-text { display: flex; flex-direction: column; text-align: left; }

.store-btn .btn-small { font-size: 10px; letter-spacing: 0.02em; opacity: 0.85; }

.store-btn .btn-big { font-size: 15px; font-weight: 600; }

.site-link { font-size: 15px; font-weight: 600; margin-left: 2px; }

/* ---- About ---- */

.about { background: var(--bg-2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }

.about-inner p { color: var(--text-2); margin-bottom: 18px; }

.about-inner p strong { color: var(--text); }

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

.site-footer { padding: 44px 0 56px; text-align: center; }

.site-footer .foot-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.site-footer .foot-brand .mark { color: var(--accent-brand); }

.site-footer p { color: var(--text-3); font-size: 14px; margin-bottom: 6px; }

.site-footer a { color: var(--text-2); }

.site-footer a:hover { color: var(--accent-brand); }
