:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --ink-muted: #475569;
  --ink-subtle: #64748b;
  --canvas: #fafaf9;
  --canvas-warm: #f5f5f4;
  --card: #ffffff;
  --accent: #d97706;
  --accent-strong: #b45309;
  --accent-deep: #92400e;
  --accent-tint: #fef3c7;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --field-line: #a8a29e;
  --bin-line: #334155;
  --foot-text: #cbd5e1;
  --foot-muted: #94a3b8;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.08);
  --shadow-cta: 0 1px 2px rgba(180, 83, 9, 0.15), 0 8px 20px -8px rgba(180, 83, 9, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

p {
  margin: 0;
}

.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--card);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name span {
  font-weight: 500;
  color: var(--ink-muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-accent {
  background: var(--accent-strong);
  color: var(--card);
  box-shadow: var(--shadow-cta);
}

.btn-accent:hover {
  background: var(--accent-deep);
}

.btn-dark {
  background: var(--ink);
  color: var(--card);
}

.btn-dark:hover {
  background: var(--ink-soft);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  background: var(--canvas-warm);
  border-color: var(--line-strong);
}

.btn-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

/* Label above a heading, with its rule */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent-strong);
}

.lead {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Hero */

.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(231, 229, 228, 0.7) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(231, 229, 228, 0.7) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 25%, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 48px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  hyphens: manual;
}

.hero .lead {
  margin-top: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.trust .icon {
  color: var(--accent-strong);
}

.bins {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 440px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45);
}

.bins span {
  aspect-ratio: 1;
  border: 1px solid var(--bin-line);
  border-radius: 8px;
  background: var(--ink-soft);
}

.bins .on {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 24px -6px rgba(217, 119, 6, 0.7);
}

@media (min-width: 960px) {
  .hero {
    padding: 96px 0 104px;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 64px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .bins {
    justify-self: end;
  }
}

/* Sections */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-warm {
  background: var(--canvas-warm);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 40px;
}

.section h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head .lead {
  margin-top: 14px;
}

@media (min-width: 960px) {
  .section {
    padding: 96px 0;
  }

  .section h2 {
    font-size: 44px;
  }
}

/* Services */

.services {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.service {
  padding: 28px;
  border-top: 1px solid var(--line);
}

.service:first-child {
  border-top: 0;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--accent-tint);
  color: var(--accent-strong);
}

.service h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service p {
  margin-top: 8px;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .services {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .service {
    border-top: 0;
  }

  .service:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .service:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

/* Partners */

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
}

.partner:hover {
  border-color: var(--line-strong);
}

.partner strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.partner .domain {
  display: block;
  font-size: 14px;
  color: var(--ink-subtle);
}

.partner .icon {
  color: var(--ink-subtle);
}

/* Contact */

.contact {
  display: grid;
  gap: 40px;
}

.contact .lead {
  margin-top: 14px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-list .icon-tile {
  width: 40px;
  height: 40px;
  margin: 0;
  flex: none;
}

.contact-list .k {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-list .v {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.contact-list a.v {
  display: inline-block;
  margin: -9px 0;
  padding: 9px 0;
  text-decoration: none;
}

.contact-list a.v:hover {
  text-decoration: underline;
}

.hours {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas-warm);
  color: var(--ink-soft);
}

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

.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field label .opt {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-subtle);
}

.field label .req {
  color: var(--accent-strong);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-strong);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  margin-top: 24px;
}

.form-note {
  margin-top: 16px;
  color: var(--ink-muted);
}

.form-note a {
  color: var(--accent-strong);
}

.hp {
  display: none;
}

@media (min-width: 640px) {
  .form-card {
    padding: 32px;
  }

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

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .contact {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 64px;
  }
}

/* Footer */

.site-footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: var(--foot-text);
}

.foot-grid {
  display: grid;
  gap: 40px;
}

.site-footer .brand {
  color: var(--card);
}

.site-footer .brand-mark {
  background: var(--card);
  color: var(--ink);
}

.site-footer .brand-name span {
  color: var(--foot-muted);
}

.foot-tag {
  margin-top: 16px;
  max-width: 32ch;
  color: var(--foot-muted);
}

.foot-h {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foot-muted);
}

.foot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-list li {
  padding: 6px 0;
}

.foot-list a {
  display: inline-block;
  margin: -10px 0;
  padding: 10px 0;
  color: var(--foot-text);
  text-decoration: none;
}

.foot-list a:hover {
  color: var(--card);
  text-decoration: underline;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-soft);
  font-size: 14px;
  color: var(--foot-muted);
}

@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Text pages */

.page-head {
  padding: 56px 0 32px;
}

.page-head h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.prose {
  max-width: 46rem;
  margin-bottom: 80px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.prose h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

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

.prose p + p {
  margin-top: 10px;
}

.prose a {
  color: var(--accent-strong);
}

.prose .btn {
  margin-top: 20px;
  color: var(--card);
}

@media (min-width: 640px) {
  .prose {
    padding: 40px;
  }
}

@media (min-width: 960px) {
  .page-head {
    padding: 80px 0 40px;
  }

  .page-head h1 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
