/* Dabotap — 2026 refresh. Editorial, image-first, no external dependencies. */
:root {
  --ink: #111312;
  --ink-soft: #4b514d;
  --paper: #f5f4ef;
  --paper-2: #eceae3;
  --white: #ffffff;
  --green: #0b8a4b;
  --green-dark: #086b3a;
  --line: #d9d8cf;
  --radius: 20px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.8rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.wordmark span { color: var(--green); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.9);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.nav-links { display: flex; gap: 1.6rem; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a { position: relative; padding: 0.25rem 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--green);
  transition: right 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 0.65rem 1.05rem; font-size: 0.86rem; }
.arrow { font-size: 1.05em; line-height: 1; }

/* Hero */
.hero { overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero h1 {
  font-size: clamp(2.9rem, 5.3vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin: 0 0 1.4rem;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 1.9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.4rem; }
.hero-note { font-size: 0.86rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }

/* Phone collage */
.phones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  padding: 1rem 0;
}
.phone {
  position: relative;
  border-radius: clamp(24px, 3vw, 36px);
  background: #0c0d0c;
  padding: clamp(5px, 0.7vw, 8px);
  box-shadow: 0 24px 60px -24px rgba(10, 16, 12, 0.55);
}
.phone img { width: 100%; height: auto; border-radius: clamp(19px, 2.4vw, 29px); }
.phone::before {
  content: "";
  position: absolute;
  top: 3.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 3.4%;
  border-radius: 999px;
  background: #0c0d0c;
  z-index: 2;
  pointer-events: none;
}
.phone-1 { transform: translateY(5%) rotate(-4deg); z-index: 1; }
.phone-2 { transform: translateY(-4%); z-index: 3; }
.phone-3 { transform: translateY(5%) rotate(4deg); z-index: 2; }

/* Proof strip */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.7rem 0;
}
.proof-item { display: flex; flex-direction: column; gap: 0.25rem; }
.proof-item + .proof-item { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.proof-value {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.proof-label { font-size: 0.8rem; color: var(--ink-soft); }

/* Section scaffolding */
.section { padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: 84px; }
[id] { scroll-margin-top: 84px; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 0.9rem;
  font-weight: 800;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* App cards */
.apps { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.app-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.app-card-shot {
  position: relative;
  background: linear-gradient(160deg, #e7e5dc, #d7d5ca);
  padding: 1.6rem 1.6rem 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.app-card-shot img {
  width: min(78%, 260px);
  height: auto;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 0;
  box-shadow: 0 18px 40px -22px rgba(10, 16, 12, 0.6);
  transition: transform 0.3s ease;
}
.app-card:hover .app-card-shot img { transform: translateY(-6px); }
.app-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.app-kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.app-card h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.02em; }
.app-card p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; margin-bottom: 0.9rem; }
.text-link { font-weight: 650; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink); }
.text-link:hover { color: var(--green); }

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature + .feature { margin-top: clamp(3.5rem, 7vw, 6rem); }
.feature.reverse .feature-media { order: 2; }
.feature h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 0.9rem;
  font-weight: 800;
}
.feature p { color: var(--ink-soft); font-size: 1.05rem; max-width: 42ch; }
.feature-list { margin-top: 1.4rem; display: grid; gap: 0.6rem; }
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.feature-list li::before { content: "✓"; color: var(--green); font-weight: 800; line-height: 1.4; }
.feature-media {
  display: flex;
  justify-content: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.feature-media .phone { width: min(320px, 100%); box-shadow: 0 30px 70px -30px rgba(10, 16, 12, 0.6); }
.feature-media .phone::before { display: none; }

/* Dark CTA band */
.cta-band { background: var(--ink); color: var(--white); }
.cta-band .eyebrow { color: #6ee7a8; }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.cta-band h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
  font-weight: 800;
  max-width: 16ch;
}
.cta-band p.lead { color: #b9c0ba; font-size: 1.03rem; max-width: 44ch; }
.cta-cards { display: grid; gap: 1rem; }
.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cta-card h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.cta-card p { color: #aeb5af; font-size: 0.92rem; }
.cta-card .btn { align-self: flex-start; margin-top: 0.4rem; }
.cta-card .btn-outline { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.cta-card .btn-outline:hover { border-color: var(--white); }
.cta-foot { margin-top: 1.1rem; color: #8e958f; font-size: 0.82rem; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-tag { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.8rem; max-width: 24ch; }
.footer-grid h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 0.9rem; color: var(--ink-soft); }
.footer-grid ul { display: grid; gap: 0.55rem; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem 0; }
  .proof-item + .proof-item { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.2rem; }
  .hero h1 { max-width: 14ch; }
  .phones { max-width: 560px; margin: 0 auto; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { flex-direction: row; align-items: stretch; }
  .app-card-shot { width: 40%; padding: 1rem; align-items: center; background: #e7e5dc; }
  .app-card-shot img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 14px 30px -18px rgba(10, 16, 12, 0.5);
  }
  .app-card:hover .app-card-shot img { transform: none; }
  .app-card-body { width: 60%; padding: 1.4rem 1.6rem; justify-content: center; }
  .app-card-body p { flex: 0 0 auto; margin-bottom: 1.1rem; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 2.2rem; }
  .hero-sub { max-width: 40ch; }
  .app-card { flex-direction: column; }
  .app-card-shot { width: 100%; }
  .app-card-shot img { width: min(62%, 240px); }
  .app-card-body { width: 100%; }
  .feature-media { border-radius: 22px; padding: 1.5rem; }
  .feature-media .phone { width: min(250px, 100%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .phones { gap: 0.4rem; }
  .proof-value { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .phone, .app-card-shot img { transition: none; }
  .btn:hover, .app-card:hover .app-card-shot img { transform: none; }
}
