/* ============================================================
   bitely — shared design system
   Brand: warm, human, trustworthy. Shrikhand display accents,
   Poppins body. Green palette. Used across all pages.
   ============================================================ */

:root {
  --green: #8bc8a3;
  --green-deep: #3f8a63;
  --green-darker: #2f6f4d;
  --green-ink: #1f3a2c;
  --cream: #fbf8f2;
  --cream-2: #f3efe6;
  --card: #ffffff;
  --ink: #1f2a24;
  --muted: #5d6b63;
  --line: rgba(31, 42, 36, 0.10);
  --amber: #f0a35e;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(31, 58, 44, 0.10);
  --shadow-sm: 0 6px 20px rgba(31, 58, 44, 0.08);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Arial, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; }
p { margin: 0 0 1rem; }
img { max-width: 100%; display: block; }

a { color: var(--green-deep); }

.accent { font-family: 'Shrikhand', cursive; font-weight: 400; }

.wrap { width: min(100%, var(--maxw)); margin: 0 auto; padding: 0 24px; }

/* skip link for a11y */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green-ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 2px; border-radius: 6px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.97rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(63, 138, 99, .30); background: var(--green-darker); }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: rgba(63,138,99,.35); }
.btn-ghost:hover { background: rgba(63,138,99,.08); }
.btn-light { background: #fff; color: var(--green-ink); border-color: #fff; }
.btn-light:hover { box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.arrow::after { content: " \2192"; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.brand {
  font-family: 'Shrikhand', cursive; color: var(--green-deep);
  font-size: 1.7rem; text-decoration: none; letter-spacing: .5px; line-height: 1;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--green-deep); }
.nav-links a.active { font-weight: 600; }
.nav-cta { flex: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------------- Sections ---------------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.tinted { background: var(--cream-2); }
.section.white { background: #fff; }
.section.ink { background: var(--green-ink); color: #f3f6f2; }
.section.ink p { color: rgba(243,246,242,.84); }
.section.ink .section-head h2 { color: #fff; }

.section-head { max-width: 740px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.5rem); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.eyebrow {
  display: inline-block; background: rgba(63,138,99,.12); color: var(--green-deep);
  font-weight: 600; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section.ink .eyebrow { background: rgba(255,255,255,.14); color: var(--green); }

.lead { font-size: 1.15rem; color: var(--muted); }
.measure { max-width: 720px; }
.measure.center { margin-inline: auto; }

/* ---------------- Hero ---------------- */
.hero { padding: 84px 0 64px;
  background:
    radial-gradient(circle at 10% -5%, rgba(139,200,163,.38), transparent 45%),
    radial-gradient(circle at 95% 25%, rgba(240,163,94,.16), transparent 42%);
}
.hero.simple { padding: 64px 0 12px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 18px; }
.hero .lead { max-width: 540px; margin-bottom: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust-line { margin-top: 18px; font-size: .86rem; color: var(--muted); }
.hero.simple .hero-inner { display: block; }
.hero.simple h1 { max-width: 14ch; }
.hero.simple .lead { max-width: 640px; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------- Grids & cards ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.18rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .ic {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(139,200,163,.22); font-size: 1.35rem; margin-bottom: 16px;
}
.card.bordered-amber { border-left: 4px solid var(--amber); }

.pill {
  display: inline-block; align-self: flex-start; background: rgba(63,138,99,.12);
  color: var(--green-deep); font-weight: 600; font-size: .8rem; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 16px;
}

/* ---------------- Doorways ---------------- */
.doorways { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 820px) { .doorways { grid-template-columns: 1fr; } }
.doorway {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.doorway:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.doorway h3 { margin: 0; font-size: 1.25rem; }
.doorway p { color: var(--muted); margin: 0; }
.doorway .go { margin-top: 8px; color: var(--green-deep); font-weight: 600; }

/* ---------------- Checklist ---------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(63,138,99,.16);
  color: var(--green-deep); font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}
.checklist li strong { display: block; }
.checklist li span { color: var(--muted); }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-deep); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------------- Story band ---------------- */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
@media (max-width: 920px) { .story-grid { grid-template-columns: 1fr; gap: 30px; } }
.story-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 20px; }
.signature { margin-top: 26px; font-weight: 600; }
.signature span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.section.ink .signature span { color: rgba(243,246,242,.6); }
.founders { display: flex; gap: 16px; }

/* ---------------- Trust strip ---------------- */
.trust-strip { background: var(--green-ink); color: #f3f6f2; border-radius: var(--radius-lg); padding: 48px; }
.trust-strip h2 { margin: 0 0 14px; color: #fff; }
.trust-strip p { color: rgba(243,246,242,.85); margin: 0 auto; max-width: 720px; text-align: center; }
.trust-strip.center { text-align: center; }

/* ---------------- Vendor chips ---------------- */
.vendor-line { text-align: center; margin-top: 40px; }
.vendor-line .label { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.vendor-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.vendor-chips .chip {
  border: 1.5px dashed rgba(63,138,99,.4); background: rgba(139,200,163,.10);
  border-radius: 999px; padding: 10px 22px; font-weight: 600; color: var(--green-ink); font-size: .95rem;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-deep), var(--green-darker));
  color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 0 0 12px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Placeholders ---------------- */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; min-height: 220px; padding: 24px;
  background: repeating-linear-gradient(45deg, rgba(139,200,163,.10) 0 14px, rgba(139,200,163,.18) 14px 28px);
  border: 1.5px dashed rgba(63,138,99,.45); border-radius: var(--radius); color: var(--green-deep); font-weight: 600;
}
.ph .tag {
  position: absolute; top: 12px; left: 12px; background: var(--green-deep); color: #fff;
  font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.ph .ph-sub { font-size: .8rem; color: var(--muted); font-weight: 500; }
.ph.media { min-height: 360px; }
.ph.round { border-radius: 50%; width: 124px; height: 124px; min-height: 0; padding: 10px; flex: none; }
.section.ink .ph {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 14px, rgba(255,255,255,.12) 14px 28px);
  border-color: rgba(255,255,255,.4); color: #fff;
}
.section.ink .ph .ph-sub { color: rgba(255,255,255,.7); }
.section.ink .ph .tag { background: var(--green); color: var(--green-ink); }

/* ---------------- Forms ---------------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow); width: min(100%, 640px); margin: 0 auto;
}
.form-card h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 0 0 10px; }
.form-card > p { color: var(--muted); }
form { display: grid; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .94rem; }
.field .hint { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-deep); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field.row2 { display: grid; }
@media (min-width: 620px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success {
  display: none; margin-top: 18px; padding: 18px 20px; border-radius: 16px;
  background: rgba(63,138,99,.10); border: 1px solid rgba(63,138,99,.3); color: var(--green-ink);
}
.form-success.show { display: block; }
.req { color: var(--amber); }

/* ---------------- Footer ---------------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-inner { display: grid; gap: 12px; }
.footer-tagline { color: var(--muted); margin: 4px 0 8px; max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.footer-links a:hover { color: var(--green-deep); }
.footer-meta { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }

/* ---------------- Utilities ---------------- */
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide { display: none; }
