/* Doody landing — brand palette from the iOS app */
:root {
  --bg: #f8faf3;
  --bg-soft: #eef1e8;
  --ink: #1f2a1f;
  --muted: #4a5848;
  --accent: #5c8a66;
  --accent-dark: #4a6f52;
  --line: #d9e5d2;
  --white: #ffffff;
  --max: 72rem;
  --radius: 1rem;
  --font: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #d9e5d2 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, #e6ecdb 0%, transparent 50%),
    var(--bg);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--muted);
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  margin-bottom: 0.4rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy {
  font-size: 1.15rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.fine {
  font-size: 0.9rem;
  color: var(--muted);
}

.phone-frame {
  margin: 0 auto;
  max-width: 280px;
  padding: 0.65rem;
  border-radius: 1.6rem;
  background: linear-gradient(160deg, #d9e5d2, #cad2bf);
  box-shadow: 0 24px 48px -28px rgba(31, 42, 31, 0.55);
}

.phone-frame img {
  border-radius: 1.15rem;
  width: 100%;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.feature-grid,
.guide-grid,
.shot-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid,
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

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

.shot-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: var(--bg-soft);
}

.shot-card figcaption {
  padding: 0.85rem 1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin: 0.75rem 0 0.35rem;
}

.faq .learn-more {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.cta-band {
  margin: 1rem 0 3rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #1f2a1f, #314031);
  color: #eef1e8;
}

.cta-band h2,
.cta-band p {
  color: #eef1e8;
}

.cta-band p {
  opacity: 0.9;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Guide article */
.article {
  padding: 2.5rem 0 3.5rem;
}

.article-inner {
  max-width: 42rem;
}

.article .lede {
  font-size: 1.2rem;
  color: var(--ink);
}

.article h2 {
  margin-top: 2.25rem;
}

.article figure {
  margin: 1.75rem 0;
}

.article figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.callout {
  margin: 2rem 0;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.related {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.related a {
  text-decoration: none;
  font-weight: 600;
}
