:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #626262;
  --soft: #f7f7f5;
  --line: #e9e7e2;
  --accent: #1f7a4d;
  --accent-soft: #e8f4ed;
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.site-header,
.site-footer,
.section-pad,
.legal-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 750;
  letter-spacing: 0;
}

.brand span {
  font-size: 1.06rem;
}

.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 88px);
  padding-top: 36px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 6.35rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 3.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  color: #ffffff;
  background: #17673f;
}

.button-secondary {
  background: #ffffff;
}

.phone-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.phone-top,
.order-strip,
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.phone-top {
  padding: 6px 4px 18px;
  font-size: 0.95rem;
}

.phone-top strong {
  color: var(--accent);
}

.search-pill,
.order-strip,
.cart-row,
.mini-grid article,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-pill {
  padding: 12px 14px;
  color: var(--muted);
  background: var(--soft);
}

.order-strip {
  margin: 14px 0;
  padding: 14px;
  background: #ffffff;
  color: var(--muted);
}

.order-strip strong {
  color: var(--ink);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-grid article:last-child {
  grid-column: span 2;
}

.mini-grid article {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  padding: 14px;
  background: #ffffff;
  font-weight: 700;
}

.cart-row {
  margin-top: 14px;
  padding: 14px;
  background: var(--ink);
  color: #ffffff;
}

.cart-row span {
  color: rgba(255, 255, 255, 0.72);
}

.categories,
.promise,
.app-panel {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.category-list,
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-list article,
.promise-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.category-list img {
  margin-bottom: 24px;
}

.category-list p,
.promise-grid p,
.app-panel p,
.content-card p,
.content-card li {
  color: var(--muted);
}

.promise {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
}

.promise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.number {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 44px;
}

.app-panel p {
  max-width: 640px;
}

.store-buttons {
  display: grid;
  gap: 10px;
}

.store-buttons span {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.brand-footer span {
  font-size: 1rem;
}

.legal-layout {
  padding: 56px 0 80px;
}

.legal-hero {
  max-width: 780px;
  margin-bottom: 36px;
}

.legal-hero h1 {
  font-size: 5rem;
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.content-card {
  padding: clamp(24px, 5vw, 48px);
  background: #ffffff;
}

.content-card h2 {
  margin-top: 36px;
  font-size: 1.55rem;
  line-height: 1.18;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: 24px;
}

.content-card ul {
  padding-left: 20px;
}

.legal-copy {
  max-width: 900px;
}

@media (max-width: 900px) {
  .hero,
  .promise,
  .app-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    min-height: 0;
  }

  .phone-card,
  .app-panel {
    max-width: 460px;
  }

  .category-list,
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .legal-hero h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .section-pad,
  .legal-layout {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero,
  .categories,
  .promise,
  .app-panel {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .legal-hero h1 {
    font-size: 2.75rem;
  }

  .hero-text {
    font-size: 1.04rem;
  }

  .category-list,
  .promise-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .mini-grid article:last-child {
    grid-column: auto;
  }

  .category-list article,
  .promise-grid article {
    min-height: auto;
  }

}
