/* DayTape — landing + guides. Forest green + cream, editorial. */

:root {
  --green:        #2E5947;   /* deep forest — app screenshot bg */
  --green-deep:   #1E3D30;   /* darker depth */
  --green-mid:    #3C7458;   /* icon dot green */
  --green-bright: #46916C;   /* accents / links on dark */
  --cream:        #F3ECDD;   /* app screen / page light */
  --cream-lt:     #F8F2E7;   /* icon bg / cards */
  --cream-dk:     #E6DDCA;   /* borders on cream */
  --ink:          #1C1B17;   /* text on cream */
  --ink-soft:     #56534A;   /* muted body */
  --ink-faint:    #86816F;   /* captions */
  --line:         rgba(28,27,23,.10);
  --radius:       18px;
  --maxw:         1120px;
  --serif: "Sentient", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-weight: 500; }

/* Bold uppercase impact headline — mirrors App Store screenshots */
.impact {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin: 0 0 16px;
}
.eyebrow.on-dark { color: var(--green-bright); }

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.brand .dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--cream-lt); }
.brand.on-dark { color: var(--cream-lt); }
.brand.on-dark .dot { background: var(--green-mid); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 650; font-size: 16px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--cream-lt); box-shadow: 0 6px 20px rgba(30,61,48,.22); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost.on-dark { color: var(--cream-lt); border-color: rgba(243,236,221,.35); }

/* Phone frame — wraps raw app screens */
.phone { position: relative; width: 270px; max-width: 78%; aspect-ratio: 1206 / 2622; background: #16221b; border-radius: 44px; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.30), inset 0 0 0 1.5px rgba(255,255,255,.08); margin: 0 auto; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 34%; height: 20px; background: #0d1611; border-radius: 0 0 14px 14px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 36px; display: block; }
.phone.sm { width: 210px; border-radius: 34px; padding: 7px; }
.phone.sm::before { top: 12px; height: 15px; }
.phone.sm img { border-radius: 28px; }

/* App Store badge (self-contained SVG-in-CSS style) */
.appstore-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; padding: 11px 20px 11px 18px; border-radius: 14px; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.appstore-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.26); }
.appstore-badge svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.appstore-badge .ab-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore-badge .ab-sm { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .92; }
.appstore-badge .ab-lg { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(243,236,221,.82); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { padding: 9px 18px; font-size: 15px; }
/* CTA button must keep cream text — outrank the grey .nav-links a rule */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--cream-lt); }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Hero (dark forest) ---------- */
.hero { background: radial-gradient(120% 120% at 50% -10%, var(--green) 0%, var(--green-deep) 78%); color: var(--cream-lt); padding: 88px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); color: var(--cream-lt); margin: 0 0 22px; }
.hero h1 .thin { display: block; font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: -0.02em; color: rgba(243,236,221,.9); font-size: .62em; margin-top: 12px; }
.hero p.lede { font-size: clamp(18px, 2.1vw, 21px); color: rgba(243,236,221,.86); max-width: 30ch; margin: 0 0 30px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: rgba(243,236,221,.62); }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone .phone { width: 300px; }
.hero-badges { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-badges span { font-size: 14px; color: rgba(243,236,221,.75); display: inline-flex; align-items: center; gap: 7px; }
.hero-badges span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); }
.hero-wave { height: 60px; background: var(--cream); border-radius: 60px 60px 0 0; margin-top: 56px; }
@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-phone { order: 2; margin-top: 20px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.alt { background: var(--cream-lt); }
.dark { background: var(--green-deep); color: var(--cream-lt); }
.dark h2, .dark h3 { color: var(--cream-lt); }
.dark p { color: rgba(243,236,221,.8); }

/* ---------- Screenshots gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot { text-align: center; }
.shot .phone { width: 100%; }
.shot figcaption { margin-top: 20px; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.shot span { display: block; font-size: 14px; color: var(--ink-faint); margin-top: 2px; }
@media (max-width: 860px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--cream-lt); border: 1px solid var(--cream-dk); border-radius: var(--radius); padding: 34px 30px; }
.dark .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.step .num { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--green-mid); letter-spacing: .04em; margin-bottom: 18px; }
.dark .step .num { color: var(--green-bright); }
.step h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; margin-bottom: 10px; }
.step p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.dark .step p { color: rgba(243,236,221,.78); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.rev .feature-media { order: 2; }
.feature-media .phone { width: 280px; }
.feature h3 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 16px; }
.feature p { font-size: 17px; color: var(--ink-soft); margin: 0 0 18px; }
.feature ul { list-style: none; padding: 0; margin: 0; }
.feature li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--ink-soft); }
.feature li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--green-mid); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; text-align: center; margin-bottom: 64px; } .feature.rev .feature-media { order: 0; } .feature li { text-align: left; } .feature ul { max-width: 340px; margin: 0 auto; } }

/* ---------- Guides grid ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { display: block; background: var(--cream); border: 1px solid var(--cream-dk); border-radius: var(--radius); padding: 28px 26px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.alt .guide-card { background: var(--cream); }
.guide-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(30,61,48,.12); border-color: var(--green-mid); }
.guide-card .g-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-mid); }
.guide-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 12px 0 8px; color: var(--ink); }
.guide-card p { font-size: 15px; color: var(--ink-soft); margin: 0 0 16px; }
.guide-card .g-more { font-size: 15px; font-weight: 650; color: var(--green); }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--green-mid); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 22px; color: var(--ink-soft); font-size: 16px; }
.faq .faq-body a { font-weight: 650; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(120% 140% at 50% 0%, var(--green) 0%, var(--green-deep) 80%); color: var(--cream-lt); text-align: center; }
.cta-band h2 { font-size: clamp(32px, 5vw, 52px); color: var(--cream-lt); margin-bottom: 18px; }
.cta-band p { font-size: 19px; color: rgba(243,236,221,.85); max-width: 46ch; margin: 0 auto 34px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(243,236,221,.7); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: rgba(243,236,221,.55); margin: 0 0 16px; font-weight: 700; }
.footer a { color: rgba(243,236,221,.78); display: block; margin-bottom: 10px; font-size: 15px; }
.footer a:hover { color: var(--cream-lt); text-decoration: none; }
.footer .foot-blurb { font-size: 15px; color: rgba(243,236,221,.68); max-width: 34ch; margin: 16px 0 0; }
.footer-bottom { border-top: 1px solid rgba(243,236,221,.14); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(243,236,221,.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide article pages ---------- */
.breadcrumb { padding: 26px 0 0; font-size: 14px; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--green); }
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 40px; }
.article-head { padding: 24px 0 10px; }
.article-head .eyebrow { text-align: left; }
.article h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin-bottom: 18px; }
.article .standfirst { font-size: 20px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 8px; }
.article-body { font-size: 18px; line-height: 1.72; color: #2b2a24; }
.article-body h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 44px 0 14px; line-height: 1.2; }
.article-body h3 { font-size: 21px; font-weight: 700; margin: 30px 0 10px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--ink); }
.answer-box { background: var(--cream-lt); border: 1px solid var(--cream-dk); border-left: 4px solid var(--green-mid); border-radius: 12px; padding: 22px 26px; margin: 0 0 32px; font-size: 18px; }
.answer-box p { margin: 0; }
.inline-cta { background: var(--green-deep); color: var(--cream-lt); border-radius: var(--radius); padding: 34px 34px; margin: 40px 0; text-align: center; }
.inline-cta h3 { font-family: var(--serif); font-weight: 600; color: var(--cream-lt); font-size: 26px; margin-bottom: 10px; }
.inline-cta p { color: rgba(243,236,221,.82); margin: 0 0 22px; font-size: 16px; }
.related { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 48px; }
.related h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin: 0 0 18px; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-list a { display: block; padding: 18px 20px; border: 1px solid var(--cream-dk); border-radius: 14px; font-family: var(--serif); font-size: 17px; color: var(--ink); background: var(--cream-lt); }
.related-list a:hover { text-decoration: none; border-color: var(--green-mid); color: var(--green); }
@media (max-width: 760px) { .related-list { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
