/* Drylendar site-wide styles — landing page + blog */
* { box-sizing: border-box; }

:root {
  --green: #a6d63c;
  --green-soft: #eaf5cf;
  --yellow: #f5d442;
  --orange: #f0a03c;
  --red: #e8483a;
  --navy: #2a3b4d;
  --ink: #1a1a1a;
  --muted: #666;
  --bg: #fafafa;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --hand: 'Playpen Sans', cursive;
}

html { scroll-behavior: smooth; }

/* Twemoji-parsed emoji default to text size (the lang dropdown overrides below) */
img.emoji { height: 1.2em; width: 1.2em; vertical-align: -0.2em; display: inline-block; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--ink); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .hand { font-family: var(--hand); }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h2 { font-size: clamp(24px, 3.5vw, 34px); line-height: 1.25; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 22px; }
.site-header .logo:hover img { opacity: 0.6; }
.site-nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--hand);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--ink) !important; }
.btn-small { padding: 9px 18px; font-size: 12.5px; }

.lang-dropdown { position: relative; z-index: 100; height: 24px; display: flex; align-items: center; }
.lang-dropdown summary { list-style: none; cursor: pointer; font-size: 12px; background: transparent; border: 1px solid rgba(0,0,0,0.1); color: #666; display: flex; align-items: center; padding: 2px 6px; border-radius: 4px; transition: border-color 0.15s; }
.lang-dropdown summary:hover { border-color: rgba(0,0,0,0.2); }
.lang-dropdown summary::-webkit-details-marker { display: none; }
.lang-dropdown[open] summary { border-color: rgba(0,0,0,0.2); }
.lang-dropdown ul { position: absolute; right: 0; top: 26px; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 6px; min-width: 150px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lang-dropdown li a { display: flex; align-items: center; padding: 6px 12px; font-size: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.lang-dropdown li a:hover { background: #f5f5f5; }
.lang-dropdown img.emoji { height: 18px; width: 18px; margin-right: 8px; flex-shrink: 0; }
.lang-dropdown summary img.emoji { height: 20px; width: 20px; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero .lede { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 480px; }
.store-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.store-badges img { height: 52px; width: auto; display: block; }
.badge-link { display: block; transition: transform 0.2s; }
.badge-link:hover { transform: scale(1.04); }
.rating-line { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.rating-line .stars { color: var(--orange); letter-spacing: 2px; font-size: 16px; }

/* Phone frame — sticker-style, like the app's bold outlines */
.phone {
  border: 3px solid var(--ink);
  border-radius: 44px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  max-width: 320px;
  margin: 0 auto;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.phone-tilt { transform: rotate(2.5deg); }

/* ---------- Mindful counter band (navy, like the in-app widget) ---------- */
.counter-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.counter-band .big {
  font-family: var(--hand);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1;
}
.counter-band p { margin: 0; font-family: var(--hand); font-size: 18px; max-width: 340px; text-align: left; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--hand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--green-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

/* How it works — steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step .phone { max-width: 240px; border-radius: 36px; box-shadow: 0 14px 36px rgba(0,0,0,0.10); }
.step .phone img { border-radius: 28px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 18px;
  margin: 22px 0 10px;
}
.step-1 .step-num { background: var(--green); }
.step-2 .step-num { background: var(--yellow); }
.step-3 .step-num { background: var(--orange); }
.step p { color: var(--muted); font-size: 15px; margin: 4px auto 0; max-width: 280px; }

/* Feature cards — calendar-tile style */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
}
.card .icon { font-size: 30px; line-height: 1; display: block; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card-green { background: var(--green-soft); }
.card-yellow { background: #fdf6d8; }
.card-orange { background: #fcecd8; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-family: var(--hand); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }
.faq-item .answer p { margin: 0 0 10px; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
.post-card h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.post-card .excerpt { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.post-card .meta { color: #999; font-size: 12.5px; }
.tag {
  align-self: flex-start;
  font-family: var(--hand);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--green);
}
.tag-yellow { background: var(--yellow); }
.tag-orange { background: var(--orange); }
.tag-navy { background: var(--navy); color: #fff; }

/* Article page */
.article-header { padding: 48px 0 8px; }
.breadcrumb { font-size: 13.5px; color: #999; margin-bottom: 18px; }
.breadcrumb a { color: #999; text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.article-meta { color: #999; font-size: 14px; margin: 14px 0 0; }
.article-body { padding: 24px 0 48px; font-size: 16.5px; }
.article-body h2 { margin-top: 44px; }
.article-body h3 { margin-top: 28px; font-size: 18px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

.takeaways {
  background: var(--green-soft);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
}
.takeaways .label { font-family: var(--hand); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 10px; }
.takeaways ul { margin: 0; padding-left: 22px; }
.takeaways li { margin-bottom: 6px; font-size: 15.5px; }

.cta-card {
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-card .app-icon { width: 72px; height: 72px; border-radius: 18px; border: 2px solid var(--ink); flex-shrink: 0; }
.cta-card .cta-copy { flex: 1; min-width: 220px; }
.cta-card h3 { margin: 0 0 4px; }
.cta-card p { margin: 0; font-size: 14.5px; }
.cta-card img.store { height: 48px; width: auto; }

.disclaimer {
  font-size: 13px;
  color: #999;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 36px;
}

/* Final CTA band */
.cta-band {
  background: var(--green);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  padding: 72px 20px;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: rgba(0,0,0,0.6); margin: 0 0 28px; font-size: 16.5px; }
.cta-band .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-cols .brand img { height: 22px; margin-bottom: 12px; }
.footer-cols .brand p { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 240px; }
.footer-cols h4 { font-family: var(--hand); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-cols a:hover { color: var(--ink); }
.copyright { text-align: center; margin-top: 24px; font-size: 13px; color: #999; }
.trademark { text-align: center; margin-top: 12px; font-size: 11px; color: #bbb; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .rating-line { justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .site-nav .nav-link { display: none; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .counter-band p { text-align: center; }
  .section { padding: 56px 0; }
}
