/* ----------------------------------------------------------
   Bite Sized Apps — minimal, calm, generous whitespace
   ---------------------------------------------------------- */

:root {
  --bg: #faf8f4;
  --bg-card: #ffffff;
  --bg-soft: #f3efe8;
  --ink: #1a1a1a;
  --ink-soft: #5a5f66;
  --ink-muted: #8b8f96;
  --line: rgba(20, 22, 26, 0.08);
  --line-strong: rgba(20, 22, 26, 0.16);
  --accent: #c2185b;
  --accent-ink: #ffffff;
  --accent-soft: #fce4ec;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.04), 0 1px 1px rgba(20, 22, 26, 0.03);
  --shadow-md: 0 4px 14px rgba(20, 22, 26, 0.06), 0 1px 3px rgba(20, 22, 26, 0.04);
  --max: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 120ms ease, border-color 120ms ease;
}
a:hover { color: var(--accent); border-bottom-color: var(--accent); }
a.bare { border-bottom: none; }
a.bare:hover { border-bottom: none; }

/* ----------- layout shells ----------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----------- header ----------- */

.site-header {
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: none;
}

.brand:hover { color: var(--ink); border-bottom: none; }

.brand-mark {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.brand-mark span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.brand-mark span:nth-child(1) { width: 12px; height: 12px; }
.brand-mark span:nth-child(2) { width: 9px; height: 9px; opacity: 0.7; }
.brand-mark span:nth-child(3) { width: 6px; height: 6px; opacity: 0.45; }

.brand-name { font-size: 16px; }
.brand-name b { font-weight: 700; }

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
  color: var(--ink-soft);
}
.site-nav a {
  border-bottom: none;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--accent); }

/* ----------- hero ----------- */

.hero {
  padding: clamp(56px, 10vw, 112px) 0 clamp(36px, 6vw, 64px);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 18ch;
}

.hero p.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----------- section ----------- */

.section {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.section-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin: 0 0 12px;
  font-weight: 600;
}

.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
  max-width: 22ch;
}

.section p.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 60ch;
}

/* ----------- principles row ----------- */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.principle {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.principle h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* ----------- app cards ----------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 8px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  color: var(--ink);
}

.app-card .row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(20,22,26,0.06);
}
.app-card .icon img { width: 100%; height: 100%; object-fit: cover; }

.app-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.app-card .subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.app-card p.desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}

.app-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 4px;
}

.app-card .arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.app-card.placeholder {
  border-style: dashed;
  background: transparent;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}
.app-card.placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line-strong);
}

/* ----------- buttons ----------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  letter-spacing: -0.005em;
  transition: background 120ms ease, transform 120ms ease, opacity 120ms ease;
  border-bottom: 1px solid var(--ink);
}
.btn:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  border-bottom-color: #000;
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.btn.secondary:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn.disabled,
.btn[aria-disabled="true"] {
  background: var(--bg-soft);
  color: var(--ink-muted);
  border-color: var(--line);
  border-bottom-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ----------- peak you page hero ----------- */

.app-hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 820px) {
  .app-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
  }
}

.app-hero .icon-large {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 6px 22px rgba(20,22,26,0.10), 0 0 0 1px rgba(20,22,26,0.06);
}
.app-hero .icon-large img { width: 100%; height: 100%; }

.app-hero h1 {
  font-size: clamp(36px, 5.5vw, 54px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.app-hero p.tagline {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 50ch;
}

.app-hero-art {
  background: linear-gradient(155deg, #2a1955 0%, #4a1d63 35%, #c2185b 78%, #ff8a65 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.app-hero-art img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ----------- feature grid ----------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature {
  padding: 4px 0;
}
.feature .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 6px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* ----------- screenshots ----------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.shot {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.shot img {
  width: 100%;
  max-width: 220px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(20,22,26,0.10), 0 0 0 1px rgba(20,22,26,0.05);
}
.shot .caption {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

/* ----------- privacy strip ----------- */

.privacy-strip {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 12px;
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .privacy-strip {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
  }
}

.privacy-strip h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -0.015em;
}
.privacy-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* ----------- footer ----------- */

.site-footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  font-size: 14px;
  color: var(--ink-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--ink-muted);
  border-bottom-color: transparent;
}
.site-footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ----------- utilities ----------- */

.eyebrow-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  border-bottom: none;
}
.eyebrow-link:hover { color: var(--accent); border-bottom: none; }

.divider-soft {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}
