:root {
  color-scheme: light;
  --ink: #16312b;
  --muted: #667a74;
  --green: #0b7a63;
  --green-dark: #075b4b;
  --mint: #dff6ee;
  --cream: #f5f2ea;
  --gold: #f0b85a;
  --white: #fff;
  --border: #dbe4df;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); }
a { color: inherit; }
button, input { font: inherit; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: white; background: var(--green); box-shadow: 0 8px 24px #0b7a6333; }
.nav-links { display: flex; gap: 24px; align-items: center; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.button { border: 0; border-radius: 13px; background: var(--green); color: white; padding: 13px 18px; font-weight: 750; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.button:hover { background: var(--green-dark); }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--border); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 70px 0 110px; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { font-size: clamp(48px, 6vw, 78px); letter-spacing: -.065em; line-height: .98; margin: 18px 0 24px; }
.hero p { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.product-card { background: var(--white); border: 1px solid #ffffff; border-radius: 32px; padding: 24px; box-shadow: 0 30px 80px #17352c1f; transform: rotate(1.5deg); }
.phone { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: #fbfcfb; }
.phone-top { padding: 22px 22px 16px; background: var(--green); color: white; }
.phone-top small { opacity: .78; }
.phone-top h2 { margin: 8px 0 0; font-size: 28px; }
.phone-body { padding: 20px; display: grid; gap: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 15px 12px; border-radius: 16px; background: var(--mint); }
.stat b { display: block; font-size: 22px; }
.stat span { color: var(--muted); font-size: 11px; }
.business { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; }
.pin { width: 38px; height: 38px; border-radius: 12px; background: #fff3dc; color: #9d650d; display: grid; place-items: center; font-weight: 900; }
.business b { display: block; }
.business small { color: var(--muted); }

.section { padding: 100px 0; }
.section.white { background: white; }
.section h2 { font-size: clamp(36px, 4vw, 54px); letter-spacing: -.05em; margin: 14px 0 20px; max-width: 720px; }
.section-lead { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.feature { padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: #fbfcfb; }
.feature-number { color: var(--green); font-weight: 850; }
.feature h3 { margin: 22px 0 10px; font-size: 21px; }
.feature p { color: var(--muted); line-height: 1.55; margin: 0; }
.footer { padding: 42px 0; color: var(--muted); font-size: 14px; }
.footer .shell { display: flex; justify-content: space-between; gap: 20px; }

.admin-body { min-height: 100vh; background: #eef2ef; }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: white; padding: 28px 22px; }
.sidebar .brand { margin-bottom: 44px; }
.side-link { display: block; padding: 12px 14px; border-radius: 12px; margin-bottom: 5px; color: #b8c7c2; text-decoration: none; }
.side-link.active { color: white; background: #ffffff14; }
.admin-main { padding: 34px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h1 { margin: 0; font-size: 36px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-card { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.admin-card span { color: var(--muted); font-size: 13px; }
.admin-card b { display: block; font-size: 30px; margin-top: 8px; }
.table-card { margin-top: 18px; background: white; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.table-head { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.business-row { padding: 16px 20px; border-bottom: 1px solid #edf1ef; display: grid; grid-template-columns: 1.4fr 1.8fr .6fr .6fr; gap: 14px; align-items: center; }
.business-row:last-child { border-bottom: 0; }
.muted { color: var(--muted); }
.pill { justify-self: start; border-radius: 999px; padding: 6px 10px; background: var(--mint); color: var(--green-dark); font-size: 12px; font-weight: 750; text-transform: capitalize; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); background: white; padding: 30px; border-radius: 24px; box-shadow: 0 30px 80px #17352c1f; }
.login-card h1 { font-size: 34px; margin-bottom: 10px; }
.field { display: grid; gap: 7px; margin-top: 16px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 700; }
.field input { border: 1px solid var(--border); padding: 13px 14px; border-radius: 12px; outline: 0; }
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #0b7a6318; }
.login-card .button { width: 100%; margin-top: 20px; }
.error { color: #a03d31; background: #fff0ed; padding: 10px 12px; border-radius: 10px; margin-top: 14px; display: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 50px; padding-top: 40px; }
  .product-card { transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .business-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-bottom: 70px; }
  .hero p { font-size: 17px; }
  .admin-main { padding: 20px; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
}

