@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:opsz,wght@9..40,400;9..40,600;9..40,700&display=swap");

:root {
  --blue: #1746a2;
  --blue-dark: #0f2e6b;
  --sky: #dcecff;
  --yellow: #f6ca45;
  --orange: #ee6c42;
  --ink: #14213d;
  --muted: #5f6678;
  --line: #cbd4e6;
  --paper: #fffaf0;
  --white: #ffffff;
  --shadow: 7px 7px 0 rgba(20, 33, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.demo-strip {
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.demo-strip .container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--blue);
  transform: rotate(-2deg);
}

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

.brand-name {
  font-size: 1.12rem;
}

.brand-place {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--sky);
  color: var(--blue-dark);
}

.nav-links a:last-child {
  background: var(--blue);
  color: var(--white);
  padding-inline: 18px;
}

.nav-links a:last-child:hover {
  background: var(--orange);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
}

.hero::after {
  position: absolute;
  top: 54px;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 54px;
  width: min(48vw, 560px);
  border: 3px solid var(--ink);
  border-radius: 10px 48px 10px 10px;
  background: url("hero-dog-field.jpg") 68% center / cover;
  box-shadow: 10px 10px 0 var(--blue);
  content: "";
  transform: rotate(1deg);
}

.hero .container {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 86px 0;
}

.hero-card {
  width: 46%;
  max-width: 510px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.15rem, 7vw, 5.65rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(20, 33, 61, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
}

.button-light {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue-dark);
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: var(--sky);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.section-title {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.panel {
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.field-card {
  display: grid;
  gap: 18px;
}

.field-image {
  min-height: 180px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(23, 70, 162, 0.02), rgba(23, 70, 162, 0.22)),
    url("hero-dog-field.jpg") center / cover;
}

.field-card:nth-child(2) .field-image {
  background-position: 75% center;
}

.field-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.integration-note {
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  background: var(--sky);
  padding: 16px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.widget-wrap {
  display: grid;
  justify-items: center;
  padding: 28px;
}

.link-demo {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--muted);
  font-size: 0.95rem;
}

.link-demo code {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

.details-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.details-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.details-list strong {
  display: block;
  margin-bottom: 4px;
}

.details-list span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 34px 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero .container {
    min-height: 760px;
    align-items: start;
    padding: 64px 0 360px;
  }

  .hero-card {
    width: 100%;
  }

  .hero::after {
    top: auto;
    right: 20px;
    bottom: 40px;
    left: 20px;
    width: auto;
    height: 290px;
  }

  .section-grid,
  .split-panel,
  .card-grid {
    grid-template-columns: 1fr;
  }
}
