
:root {
  --df-forest: #315F42;
  --df-meadow: #4B765B;
  --df-orange: #E28A3D;
  --df-bg: #F6F8F6;
  --df-cream: #FFF8F0;
  --df-card: #FFFFFF;
  --df-soft-mint: #E7F0E5;
  --df-warm-sand: #F1E4D6;
  --df-ink: #193622;
  --df-muted: #66776B;
  --df-bark: #8B5E34;
  --df-dark: #073123;
  --shadow: 0 16px 42px rgba(25, 54, 34, .10);
  --shadow-soft: 0 8px 24px rgba(25, 54, 34, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--df-ink);
  background: var(--df-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: var(--df-forest); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--df-meadow); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(226, 138, 61, .75); outline-offset: 3px; }
img, svg { max-width: 100%; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 240, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(49, 95, 66, .14);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--df-ink); text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 6px 18px rgba(7,49,35,.22); }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { text-decoration: none; color: var(--df-ink); padding: 8px 12px; border-radius: 999px; font-weight: 650; font-size: .95rem; }
.nav-links a:hover { background: var(--df-soft-mint); color: var(--df-dark); }
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #244C34 0%, #3F7653 55%, #AFC9A8 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25,54,34,0.92), rgba(49,95,66,0.62), transparent), radial-gradient(circle at 78% 18%, rgba(226,138,61,.24), transparent 34%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -8% -2px -8%; height: 100px;
  background: var(--df-bg); clip-path: ellipse(58% 54% at 50% 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr); gap: 44px; align-items: center; padding: 84px 0 112px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 8px 13px; font-weight: 720; font-size: .92rem; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 8vw, 5.8rem); margin-top: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.28rem; letter-spacing: -.025em; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.14rem, 2.4vw, 1.45rem); max-width: 760px; color: rgba(255,255,255,.90); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 19px; border-radius: 999px; font-weight: 780; text-decoration: none; border: 1px solid transparent; }
.button.primary { background: var(--df-forest); color: #fff; box-shadow: 0 14px 30px rgba(7,49,35,.25); }
.hero .button.primary { background: var(--df-orange); color: var(--df-dark); }
.button.secondary { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.32); }
.button.light { background: #fff; color: var(--df-forest); box-shadow: var(--shadow-soft); }
.button:hover { transform: translateY(-1px); }
.phone-card { justify-self: center; width: min(360px, 100%); background: rgba(255,248,240,.93); border: 1px solid rgba(255,255,255,.4); border-radius: 36px; padding: 18px; box-shadow: 0 30px 90px rgba(7,49,35,.40); color: var(--df-ink); }
.app-screen { border-radius: 28px; background: #fff; padding: 20px; min-height: 560px; overflow: hidden; }
.screen-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.logo-badge { width: 76px; height: 76px; border-radius: 26px; background: var(--df-dark); display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.logo-badge img { width: 66px; height: 66px; }
.stat-pill { background: var(--df-soft-mint); border-radius: 999px; color: var(--df-forest); padding: 8px 11px; font-weight: 750; font-size: .88rem; }
.mock-hero { border-radius: 24px; padding: 20px; color: #fff; background: linear-gradient(180deg, #244C34 0%, #3F7653 55%, #AFC9A8 100%); min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.mock-hero strong { font-size: 1.35rem; line-height: 1.1; }
.mock-list { display: grid; gap: 12px; margin-top: 16px; }
.mock-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: var(--df-bg); }
.mock-icon { width: 42px; height: 42px; border-radius: 15px; background: var(--df-warm-sand); display: grid; place-items: center; color: var(--df-bark); font-size: 1.25rem; }
.mock-line { height: 10px; border-radius: 999px; background: #dce8dc; margin: 6px 0; }
.mock-line.short { width: 58%; background: #edf3ec; }
.section { padding: 74px 0; }
.section.alt { background: var(--df-cream); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p, .muted { color: var(--df-muted); font-size: 1.05rem; }
.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--df-card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); border: 1px solid rgba(49,95,66,.08); }
.card .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 17px; background: var(--df-soft-mint); color: var(--df-forest); font-size: 1.55rem; margin-bottom: 18px; }
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--df-soft-mint), #fff); border-radius: 30px; padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow); }
.trust-mark { display: grid; place-items: center; min-height: 220px; border-radius: 26px; background: var(--df-dark); color: #fff; text-align: center; padding: 28px; }
.trust-mark img { width: 118px; height: 118px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: #fff; border: 1px solid rgba(49,95,66,.16); border-radius: 999px; padding: 8px 12px; color: var(--df-forest); font-weight: 700; }
.privacy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.toc { position: sticky; top: 92px; background: var(--df-card); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-soft); }
.toc a { display: block; padding: 7px 0; text-decoration: none; font-weight: 650; color: var(--df-muted); }
.legal { background: var(--df-card); border-radius: 28px; padding: clamp(22px, 4vw, 42px); box-shadow: var(--shadow-soft); }
.legal h1 { color: var(--df-ink); font-size: clamp(2.2rem, 5vw, 4rem); margin-top: 0; }
.legal h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-top: 42px; padding-top: 10px; }
.legal ul { padding-left: 1.2rem; }
.notice { border-left: 5px solid var(--df-orange); background: var(--df-warm-sand); border-radius: 18px; padding: 18px; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.footer { background: var(--df-dark); color: rgba(255,255,255,.78); padding: 36px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: #fff; }
.footer strong { color: #fff; }
@media (max-width: 860px) {
  .hero-grid, .trust, .privacy-layout { grid-template-columns: 1fr; }
  .hero-grid { padding: 54px 0 92px; }
  .features { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .nav-links { gap: 2px; font-size: .9rem; }
  .toc { position: static; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 26px, 1120px); }
  .nav { flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .app-screen { min-height: 470px; }
  .section { padding: 54px 0; }
}


/* Screenshot-led landing page polish */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
.button { transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms ease; }
.button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .shot-card:hover, .feature-shot:hover { transform: translateY(-2px); }
}
.screenshot-stage { position: relative; min-height: 650px; display: grid; place-items: center; }
.screenshot-stage::before { content: ""; position: absolute; width: min(520px, 95%); aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(226,138,61,.25), rgba(255,255,255,.08) 48%, transparent 70%); filter: blur(4px); }
.phone-frame { position: relative; z-index: 1; width: min(328px, 82vw); border-radius: 42px; padding: 10px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,228,214,.88)); box-shadow: 0 34px 95px rgba(7,49,35,.40), inset 0 0 0 1px rgba(255,255,255,.7); transition: transform 240ms var(--ease-out); }
.phone-frame.hero-phone { transform: rotate(2deg); }
.phone-frame.hero-phone.secondary { position: absolute; width: min(250px, 52vw); right: 0; bottom: 0; transform: rotate(-6deg); opacity: .96; z-index: 0; }
.phone-frame img { display: block; width: 100%; border-radius: 32px; background: var(--df-cream); box-shadow: inset 0 0 0 1px rgba(25,54,34,.1); }
.hero .trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .trust-strip span { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: rgba(255,255,255,.92); border-radius: 999px; padding: 7px 11px; font-weight: 740; font-size: .9rem; }
.screenshots { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.shot-card { background: var(--df-card); border-radius: 30px; padding: 16px; box-shadow: var(--shadow-soft); border: 1px solid rgba(49,95,66,.08); transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.shot-card figure { margin: 0; }
.shot-card .phone-frame { width: 100%; padding: 7px; border-radius: 28px; box-shadow: 0 16px 38px rgba(7,49,35,.16); }
.shot-card .phone-frame img { border-radius: 22px; }
.shot-card figcaption { margin-top: 14px; }
.shot-card strong { display: block; font-size: 1.05rem; line-height: 1.2; letter-spacing: -.02em; }
.shot-card span { display: block; color: var(--df-muted); font-size: .94rem; margin-top: 4px; }
.feature-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr); gap: 40px; align-items: center; }
.feature-points { display: grid; gap: 14px; margin-top: 22px; }
.feature-point { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.feature-point .mini-icon { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; background: var(--df-soft-mint); color: var(--df-forest); }
.feature-shot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.feature-shot { border-radius: 30px; background: #fff; padding: 12px; box-shadow: var(--shadow); transform: rotate(-1deg); transition: transform 180ms var(--ease-out); }
.feature-shot:nth-child(2) { margin-top: 58px; transform: rotate(1.5deg); }
.feature-shot img { width: 100%; display: block; border-radius: 22px; }
.privacy-visual { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.privacy-visual .phone-frame { width: min(285px, 100%); justify-self: center; }
@media (max-width: 980px) {
  .screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-split, .privacy-visual { grid-template-columns: 1fr; }
  .screenshot-stage { min-height: 560px; }
}
@media (max-width: 620px) {
  .screenshots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-right: -13px; }
  .shot-card { flex: 0 0 78%; scroll-snap-align: start; }
  .feature-shot-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-shot { padding: 8px; border-radius: 22px; }
  .feature-shot:nth-child(2) { margin-top: 34px; }
  .screenshot-stage { min-height: 520px; }
  .phone-frame.hero-phone.secondary { width: min(210px, 46vw); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .shot-card, .feature-shot, .phone-frame { transition: none; }
  .button:active { transform: none; }
}


/* Final normal screenshot set */
.final-showcase-note { color: var(--df-muted); font-weight: 650; }
.shot-card.featured { grid-column: span 2; display: grid; align-items: center; }
.shot-card.featured .phone-frame { width: min(340px, 100%); margin: 0 auto; }
@media (max-width: 980px) { .shot-card.featured { grid-column: span 1; } }


/* Hero readability: keep copy visible before screenshot content */
.hero-grid { align-items: start; }
.hero-grid > :first-child { padding-top: clamp(8px, 2.5vw, 28px); }
.hero .trust-strip { display: flex !important; flex-wrap: wrap; gap: 10px 10px; align-items: center; }
.hero .trust-strip span { display: inline-flex; align-items: center; white-space: nowrap; margin: 0; }
@media (max-width: 860px) {
  .hero-grid { gap: 28px; padding-top: 38px; }
  .hero-grid > :first-child { padding-top: 0; }
  .screenshot-stage { min-height: 460px; }
}
@media (max-width: 560px) {
  .hero-grid { padding-top: 30px; padding-bottom: 82px; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.7rem); }
  .lead { font-size: 1.08rem; }
  .hero-actions { margin-top: 22px; }
  .hero .trust-strip { gap: 8px; margin-top: 14px; }
  .hero .trust-strip span { font-size: .82rem; padding: 6px 9px; }
  .screenshot-stage { min-height: 430px; }
}


/* Hero layout fix v2: text must appear before screenshots, not centered between them */
.hero-grid {
  grid-template-columns: 1fr !important;
  align-items: start !important;
  gap: 30px !important;
  padding-top: clamp(34px, 5vw, 62px) !important;
  padding-bottom: clamp(78px, 9vw, 118px) !important;
}
.hero-grid > :first-child {
  width: min(860px, 100%);
  padding-top: 0 !important;
}
.hero-grid h1 { margin-top: 18px; }
.hero-grid .lead { max-width: 780px; }
.screenshot-stage {
  width: 100%;
  min-height: clamp(430px, 55vw, 640px) !important;
  justify-items: center;
  align-items: start;
  padding-top: 6px;
}
.phone-frame.hero-phone {
  transform: rotate(1.2deg) !important;
}
.phone-frame.hero-phone.secondary {
  right: max(4%, calc(50% - 390px));
  bottom: 12px;
}
@media (min-width: 1040px) {
  .screenshot-stage { min-height: 610px !important; }
  .phone-frame.hero-phone { margin-left: -110px; }
  .phone-frame.hero-phone.secondary { right: calc(50% - 360px); }
}
@media (max-width: 620px) {
  .hero-grid { padding-top: 24px !important; gap: 22px !important; }
  .screenshot-stage { min-height: 390px !important; }
  .phone-frame.hero-phone { width: min(270px, 72vw) !important; }
  .phone-frame.hero-phone.secondary { width: min(190px, 44vw) !important; right: 2px; bottom: 22px; }
}


/* HERO POSITION FIX V3 - cache-busted stylesheet */
.hero { min-height: auto !important; }
.hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .82fr) !important;
  align-items: start !important;
  gap: clamp(28px, 5vw, 54px) !important;
  padding-top: clamp(34px, 5vw, 58px) !important;
  padding-bottom: clamp(82px, 8vw, 118px) !important;
}
.hero-grid > :first-child {
  align-self: start !important;
  justify-self: start !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  position: relative !important;
  z-index: 3 !important;
  width: min(760px, 100%) !important;
}
.hero-grid h1 { margin-top: 18px !important; margin-bottom: 16px !important; }
.hero-grid .lead { max-width: 720px !important; }
.screenshot-stage {
  align-self: start !important;
  justify-self: stretch !important;
  place-items: start center !important;
  min-height: clamp(520px, 58vw, 650px) !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.phone-frame.hero-phone { margin-top: 0 !important; transform: rotate(1.2deg) !important; }
.phone-frame.hero-phone.secondary { right: 0 !important; bottom: 18px !important; }
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-top: 28px !important;
  }
  .screenshot-stage { min-height: 430px !important; }
}
@media (max-width: 560px) {
  .hero-grid { padding-top: 22px !important; padding-bottom: 78px !important; }
  .hero-grid h1 { margin-top: 14px !important; }
  .screenshot-stage { min-height: 380px !important; }
  .phone-frame.hero-phone { width: min(270px, 72vw) !important; }
  .phone-frame.hero-phone.secondary { width: min(188px, 44vw) !important; right: 0 !important; bottom: 22px !important; }
}
