/* ============================================================
   Pincoxe — Global Stylesheet
   Personal task queue with smart urgency sorting
   ============================================================ */

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

html { scroll-behavior: smooth; }

html, body {
  background: #1C1814;
  color: #F5EFE8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: #E42F2C; text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: #E42F2C; color: #fff; }

/* --- Wrapper --- */
.stack {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 24, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #3A332C;
}

.site-head .stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 30px; width: auto; }

.nav-links {
  display: none;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #F5EFE8;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nav-links a:hover { color: #E42F2C; text-decoration: none; }

/* hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #F5EFE8;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.mobile-nav {
  display: none;
  background: #25201B;
  border-bottom: 1px solid #3A332C;
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
  list-style: none;
  padding: 14px 22px 22px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: #F5EFE8;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #3A332C;
}

.mobile-nav li:last-child a { border-bottom: none; }

/* ============================================================
   HERO — tall typographic opener (no image in hero)
   ============================================================ */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #E42F2C;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 0 auto 24px;
}

.hero h1 em {
  font-style: normal;
  color: #E42F2C;
}

.hero .lede {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: #B5ADA2;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #E42F2C;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  border-radius: 6px;
  transition: transform .2s ease, background .2s ease;
}

.cta:hover {
  background: #C9241F;
  text-decoration: none;
  transform: translateY(-1px);
}

.cta::after {
  content: "→";
  font-size: 17px;
}

/* ============================================================
   SHOWCASE — dedicated screenshot band
   ============================================================ */
.showcase {
  padding: 30px 0 80px;
}

.showcase-frame {
  background: #25201B;
  border: 1px solid #3A332C;
  border-radius: 14px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-frame img {
  max-height: 560px;
  width: auto;
  border-radius: 8px;
}

/* ============================================================
   FEATURES — numbered list
   ============================================================ */
.features {
  padding: 70px 0;
  border-top: 1px solid #3A332C;
}

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

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  color: #B5ADA2;
  font-size: 1.03rem;
  max-width: 580px;
  margin: 0 auto;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.feature-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: start;
}

.feature-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #3A332C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.feature-body h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-body p {
  color: #B5ADA2;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ============================================================
   SECONDARY IMAGE BAND
   ============================================================ */
.preview {
  padding: 60px 0 90px;
}

.preview-grid {
  background: #25201B;
  border: 1px solid #3A332C;
  border-radius: 14px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.preview-text h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.preview-text p {
  color: #B5ADA2;
  margin-bottom: 12px;
}

.preview-text ul {
  list-style: none;
  margin-top: 18px;
}

.preview-text ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: #D8D2C8;
  font-size: 0.97rem;
}

.preview-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #E42F2C;
  font-weight: 700;
}

.preview-image img {
  border-radius: 10px;
  width: 100%;
}

/* ============================================================
   STATS — three columns
   ============================================================ */
.stats {
  padding: 70px 0;
  border-top: 1px solid #3A332C;
  border-bottom: 1px solid #3A332C;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: #E42F2C;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: #B5ADA2;
  letter-spacing: 0.2px;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing {
  padding: 88px 0;
  text-align: center;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 26px;
}

.closing p {
  color: #B5ADA2;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ============================================================
   SECONDARY PAGES — generic
   ============================================================ */
.page-head {
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid #3A332C;
}

.page-head .eyebrow { margin-bottom: 18px; }

.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-head p {
  color: #B5ADA2;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.page-body {
  padding: 60px 0 100px;
}

.card {
  background: #25201B;
  border: 1px solid #3A332C;
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 22px;
}

.card h2 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 14px 0 8px;
}

.card p {
  color: #B5ADA2;
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.card p:last-child { margin-bottom: 0; }

.card ul {
  list-style: none;
  margin: 8px 0;
}

.card ul li {
  padding-left: 22px;
  position: relative;
  color: #B5ADA2;
  font-size: 0.97rem;
  margin-bottom: 8px;
  line-height: 1.55;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #E42F2C;
}

.card a { color: #E42F2C; }

.legal-meta {
  text-align: center;
  color: #8E867A;
  font-size: 0.88rem;
  margin-top: 36px;
  font-style: italic;
}

/* help page two-card block */
.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 40px;
}

.help-grid .card {
  margin-bottom: 0;
}

.help-grid .card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #E42F2C;
  margin-bottom: 12px;
  display: block;
}

.help-grid .card .value {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.topics-grid .card { margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  border-top: 1px solid #3A332C;
  padding: 40px 0 50px;
  text-align: center;
}

.site-foot .brand-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.site-foot .brand-foot img { height: 26px; }

.site-foot nav {
  margin-bottom: 18px;
}

.site-foot nav a {
  color: #B5ADA2;
  font-size: 14px;
  margin: 0 12px;
}

.site-foot nav a:hover { color: #E42F2C; text-decoration: none; }

.site-foot small {
  color: #8E867A;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE — tablet & desktop
   ============================================================ */
@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .help-grid {
    grid-template-columns: 1fr 1fr;
  }
  .topics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
  }
}

@media (min-width: 920px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .mobile-nav,
  .mobile-nav.open { display: none; }
  .hero { padding: 130px 0 90px; }
  .features { padding: 100px 0; }
  .closing { padding: 110px 0; }
  .feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
  }
  .feature-row { grid-template-columns: 1fr; gap: 12px; }
  .feature-num { font-size: 64px; }
}
