/* Eisenhower Matrix: Task Tracker — shared site styles
   Palette pulled from the app's theme + App Store screenshots:
   green #48B78C · mint #98E5BE · yellow #FFD66B · coral #FF9F92 · ink #1E1E1E */

:root {
  --green: #48b78c;
  --green-dark: #2f8d68;
  --green-deep: #1d5c44;
  --mint: #98e5be;
  --mint-soft: #e6f7f1;
  --yellow: #ffd66b;
  --yellow-soft: #fff3d6;
  --coral: #ff9f92;
  --coral-soft: #ffe4df;
  --gray-quad: #eef1f0;
  --ink: #1e1e1e;
  --ink-soft: #55605b;
  --bg: #f6fbf8;
  --card: #ffffff;
  --line: #ddeae3;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 14px 40px rgba(29, 92, 68, 0.1);
  --wallpaper: linear-gradient(160deg, #1d5c44 0%, #48b78c 55%, #98e5be 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 251, 248, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--green-deep); }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(30, 30, 30, 0.28); }
.btn-primary:hover { background: var(--green-deep); }
.btn-secondary { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn small { display: block; font-weight: 500; font-size: 0.7rem; opacity: 0.75; }
/* ---------- Official store badges ---------- */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.store-badges a { display: inline-block; transition: transform 0.15s ease; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 52px; width: auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-dark);
  background: rgba(72, 183, 140, 0.14); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08;
  font-weight: 900; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--green-dark); }
.hero-sub {
  font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 30px; max-width: 34rem;
}
@media (max-width: 860px) { .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .hero-actions { justify-content: center; } }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Phone mockup (pure CSS matrix preview) ---------- */
.phone {
  width: 290px; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: #10241c; box-shadow: var(--shadow), inset 0 0 0 2px #24443a;
}
.phone-screen {
  border-radius: 34px; overflow: hidden; background: #fbfdfc;
  aspect-ratio: 9 / 19.5; position: relative; display: flex; flex-direction: column;
  padding: 22px 12px 14px;
}
.phone-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.phone-head .ph-title { font-weight: 800; font-size: 0.95rem; }
.phone-head .ph-time { font-size: 0.7rem; font-weight: 700; color: var(--ink-soft); }
.matrix-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 8px; flex: 1;
}
.quad { border-radius: 14px; padding: 10px 9px; display: flex; flex-direction: column; gap: 6px; }
.quad-do { background: #b9edd2; }
.quad-schedule { background: #ffe9b0; }
.quad-delegate { background: var(--gray-quad); }
.quad-eliminate { background: #ffc9c0; }
.quad .q-label { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.quad .q-task {
  background: rgba(255, 255, 255, 0.85); border-radius: 8px; padding: 5px 7px;
  font-size: 0.62rem; font-weight: 700; line-height: 1.25; color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.quad .q-task small { display: block; font-weight: 600; font-size: 0.55rem; color: var(--green-dark); }
.quad .q-task.done { text-decoration: line-through; color: rgba(30, 30, 30, 0.4); }
.phone-fab {
  position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--green); color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 8px 18px rgba(72, 183, 140, 0.45);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 900; letter-spacing: -0.015em;
  margin: 10px 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Download strip ---------- */
.download-strip {
  background: var(--green-deep); color: #fff; border-radius: var(--radius-lg);
  padding: 40px 42px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.download-strip h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.download-strip p { color: rgba(255, 255, 255, 0.78); }
.download-strip .btn-primary { background: #fff; color: var(--ink); }
.download-strip .btn-primary:hover { background: var(--mint-soft); }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot {
  aspect-ratio: 9 / 19.5; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-soft); font-weight: 600; font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-caption { text-align: center; margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.section-alt .step { background: var(--bg); }
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(72, 183, 140, 0.16);
  color: var(--green-dark); font-weight: 900; display: flex; align-items: center;
  justify-content: center; margin-bottom: 14px; font-size: 1.05rem;
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step-do .step-num { background: #b9edd2; color: var(--green-deep); }
.step-schedule .step-num { background: #ffe9b0; color: #8a6410; }
.step-delegate .step-num { background: var(--gray-quad); color: var(--ink-soft); }
.step-eliminate .step-num { background: #ffc9c0; color: #a03d30; }

/* ---------- Guides grid ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease; display: block;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card .tag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-dark);
}
.guide-card h3 { font-size: 1.12rem; font-weight: 800; margin: 8px 0 8px; line-height: 1.3; }
.guide-card p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 12px; }
.guide-card .more { color: var(--green-dark); font-weight: 700; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 12px;
}
.section-alt .faq details { background: var(--bg); }
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); font-weight: 600; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-top: 12px; color: var(--ink-soft); }
.faq .answer a { color: var(--green-dark); font-weight: 700; text-decoration: none; }
.faq .answer a:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; background: var(--wallpaper); border-radius: var(--radius-lg);
  padding: 70px 32px; color: #fff;
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; letter-spacing: -0.015em; }
.final-cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; max-width: 32rem; margin: 0 auto 30px; }
.final-cta .btn-primary { background: #fff; color: var(--ink); }
.final-cta .btn-primary:hover { background: var(--mint-soft); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 76px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 0.93rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 34px; font-size: 0.85rem; color: var(--ink-soft); }
.footer-bottom a { color: var(--green-dark); text-decoration: none; }

/* ---------- Guide article pages ---------- */
.article { padding: 56px 0 20px; }
.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb a { color: var(--green-dark); text-decoration: none; font-weight: 600; }
.article h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.7rem); font-weight: 900; line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.article .lede { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 34px; }
.article h2 { font-size: 1.5rem; font-weight: 800; margin: 40px 0 14px; letter-spacing: -0.01em; }
.article h3 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; color: #2c3630; }
.article ul, .article ol { margin: 0 0 16px 24px; color: #2c3630; }
.article li { margin-bottom: 8px; }
.article a { color: var(--green-dark); font-weight: 600; text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article strong { color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 0.95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--mint-soft); font-weight: 800; }
.callout {
  background: var(--mint-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
}
.callout-title { font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.cta-box {
  background: var(--green-deep); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 32px; margin: 44px 0; text-align: center;
}
.cta-box h2 { color: #fff; margin: 0 0 8px; }
.cta-box p { color: rgba(255, 255, 255, 0.82); margin-bottom: 20px; }
.cta-box .btn-primary { background: #fff; color: var(--ink); }
.related { margin-top: 24px; }
.related h2 { font-size: 1.3rem; }
