@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@500;700&display=swap");

:root {
  --bg: #f6f3ec;
  --paper: #fffdfa;
  --ink: #1d241e;
  --ink-soft: #465248;
  --muted: #6f796f;
  --rule: #d9ded4;
  --accent: #6f8f3f;
  --accent-strong: #315b35;
  --accent-soft: #e6ecd8;
  --warning: #8a4c28;
  --warning-soft: #f5e7d9;
  --shadow: 0 22px 70px rgba(29, 36, 30, 0.12);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

a {
  color: inherit;
}

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

main {
  --brand-primary: var(--accent-strong);
  --brand-secondary: var(--paper);
  --brand-accent: var(--accent);
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(230, 236, 216, 0.84), rgba(246, 243, 236, 0.7) 38%, #f2efe7),
    var(--bg);
}

.expiration-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(29, 36, 30, 0.12);
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(16px);
}

.expiration-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 38px;
  margin: 0 auto;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
}

.expiration-banner__message {
  font-weight: 800;
}

.expiration-banner__countdown {
  color: var(--warning);
  font-family: var(--mono);
  font-weight: 700;
}

.site-header,
.hero,
.service-preview,
.fit-section,
.report-shell,
.cta-band,
.page-hero,
.service-list,
.about-grid,
.portfolio-grid,
.contact-grid,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
}

.brand {
  display: inline-grid;
  gap: 2px;
  text-decoration: none;
}

.brand span {
  color: var(--brand-primary);
  font-size: 1.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.site-header nav a,
.header-call {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.68);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.header-call {
  background: var(--brand-primary);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: end;
  padding: 64px 0 56px;
}

.hero__copy,
.page-hero {
  display: grid;
  gap: 18px;
}

.eyebrow {
  color: var(--brand-primary);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero p,
.page-hero p,
.section-heading > p,
.fit-section p,
.about-grid p,
.portfolio-grid p,
.buy-now-card p,
.contact-details dd,
.consent-copy {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.hero__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--brand-primary);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button--primary {
  background: var(--brand-primary);
  color: white;
}

.button--secondary {
  background: var(--paper);
  color: var(--brand-primary);
}

.hero__panel,
.buy-now-card,
.contact-details,
.lead-form,
.portfolio-grid > article,
.about-grid article,
.service-grid article,
.service-list article {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.86);
  box-shadow: var(--shadow);
}

.hero__panel {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.hero__panel strong {
  color: var(--brand-primary);
  font-size: 1.35rem;
}

.hero__panel span {
  color: var(--ink-soft);
  line-height: 1.4;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.52fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2,
.fit-section h2,
.cta-band h2,
.buy-now-card h3,
.contact-details h2,
.lead-form h2,
.about-grid h2,
.portfolio-grid h2,
.service-list h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.service-preview,
.fit-section,
.report-shell,
.cta-band,
.page-hero,
.service-list,
.about-grid,
.portfolio-grid,
.contact-grid {
  padding: 54px 0 0;
}

.service-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.about-grid article {
  min-height: 210px;
  padding: 22px;
  box-shadow: none;
}

.service-grid h3 {
  color: var(--brand-primary);
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-grid p,
.service-list p {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: stretch;
}

.fit-section article {
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.report-shell__grid,
.portfolio-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
}

.current-site-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: grid;
  grid-template-columns: 9px 9px 9px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  background: #e8eadf;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #a9b19f;
}

.browser-bar div {
  min-width: 0;
  height: 24px;
  padding: 5px 10px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(255, 253, 250, 0.76);
  color: var(--brand-primary);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-site-card a {
  display: block;
  min-height: 386px;
}

.current-site-card img {
  display: block;
  width: 100%;
  height: 386px;
  object-fit: cover;
  object-position: top center;
}

.current-site-card__link-text {
  display: block;
  padding: 12px 14px 14px;
  color: var(--brand-primary);
  font-weight: 800;
}

.buy-now-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.buy-now-card .eyebrow,
.buy-now-card p,
.buy-now-card small {
  color: rgba(255, 253, 250, 0.78);
}

.buy-now-card h3 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.buy-now-card a,
.buy-shell-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #dbe6c0;
  color: #172015;
  font-weight: 900;
  text-decoration: none;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin-top: 56px;
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--brand-primary);
  color: white;
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cta-band .button--primary {
  border-color: white;
  background: white;
  color: var(--brand-primary);
}

.cta-band .button--secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.buy-shell-link {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.page-hero {
  padding-top: 56px;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p {
  max-width: 68ch;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.45fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  box-shadow: none;
}

.service-list h2,
.contact-details h2,
.about-grid h2,
.portfolio-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.service-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--brand-primary);
  font-weight: 800;
}

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

.portfolio-grid > article,
.contact-details,
.lead-form {
  padding: 26px;
}

.contact-details dl {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
}

.contact-details dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-status {
  padding: 12px;
  border: 1px solid #e3c9ad;
  border-radius: 8px;
  background: var(--warning-soft);
  color: var(--warning);
  font-weight: 800;
  line-height: 1.4;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #f2f1eb;
  color: var(--muted);
  font-size: 1rem;
}

.lead-form textarea {
  min-height: 110px;
  resize: vertical;
}

.lead-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #c5cabe;
  color: #596253;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  padding: 48px 0 36px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 940px) {
  .site-header,
  .hero,
  .section-heading,
  .fit-section,
  .report-shell__grid,
  .portfolio-grid,
  .contact-grid,
  .cta-band,
  .service-list article {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    justify-content: start;
  }

  .service-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band__actions {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .service-preview,
  .fit-section,
  .report-shell,
  .cta-band,
  .page-hero,
  .service-list,
  .about-grid,
  .portfolio-grid,
  .contact-grid,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.1rem;
  }

  .service-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .current-site-card,
  .current-site-card a {
    min-height: 320px;
  }

  .current-site-card img {
    height: 320px;
  }
}
