:root {
  --ink: #123027;
  --brand: #006b45;
  --brand-strong: #004f36;
  --surface: #ffffff;
  --focus: rgba(0, 107, 69, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f6f9f6;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button {
  font: inherit;
  cursor: pointer;
}

.preview-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  overflow-x: auto;
  background: #f6f9f6;
}

.mock-preview {
  position: relative;
  container-type: inline-size;
  width: min(100vw, 1448px);
  min-width: min(100vw, 1024px);
  aspect-ratio: 1448 / 1086;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(18, 48, 39, 0.12);
}

.mock-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.site-nav-overlay {
  position: absolute;
  top: 7.1%;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  width: 100%;
  height: 5.85%;
  padding: 0 3.85cqw 0 3.55cqw;
  background: rgba(255, 255, 255, 0.985);
  border-top: 1px solid rgba(218, 225, 224, 0.86);
  border-bottom: 1px solid rgba(218, 225, 224, 0.86);
}

.nav-brand {
  display: inline-flex;
  flex: 0 0 30.6cqw;
  align-items: center;
  gap: 0.82cqw;
  width: 30.6cqw;
  color: var(--brand-strong);
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand img {
  width: 3.18cqw;
  height: 3.18cqw;
  object-fit: contain;
}

.nav-brand span {
  font-size: 1.52cqw;
  font-weight: 800;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 3.48cqw;
  margin-left: 1.8cqw;
}

.nav-control,
.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7cqw;
  padding: 0;
  color: #111717;
  background: transparent;
  border: 0;
  border-radius: 0.48cqw;
  font-size: 1.02cqw;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-select::after {
  content: "";
  width: 0.58cqw;
  height: 0.58cqw;
  margin-left: 0.72cqw;
  border-right: 0.14cqw solid currentcolor;
  border-bottom: 0.14cqw solid currentcolor;
  transform: rotate(45deg) translateY(-0.16cqw);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.86cqw;
  margin-left: auto;
}

.build-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.05cqw;
  min-height: 3.05cqw;
  padding: 0 1.55cqw;
  color: #ffffff;
  background: var(--brand);
  border: 0;
  border-radius: 0.54cqw;
  box-shadow: inset 0 -0.14cqw 0 rgba(0, 0, 0, 0.15);
  font-size: 1.02cqw;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-brand:hover,
.nav-brand:focus-visible,
.nav-brand.is-active,
.nav-control:hover,
.nav-control:focus-visible,
.nav-control.is-active,
.login-link:hover,
.login-link:focus-visible,
.login-link.is-active,
.build-button:hover,
.build-button:focus-visible,
.build-button.is-active {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero-overlay {
  position: absolute;
  top: 12.96%;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 25.95%;
  overflow: hidden;
  background: #ffffff;
}

.hero-background {
  position: absolute;
  inset: 0 0 0 auto;
  width: 59.55%;
  background-image: var(--hero-background-image);
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 29cqw;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 52%,
    rgba(255, 255, 255, 0.68) 78%,
    transparent 100%
  );
}

.hero-badges {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: var(--badge-x);
  top: var(--badge-y);
  display: grid;
  grid-template-columns: 2.35cqw 1fr;
  align-items: center;
  gap: 0.82cqw;
  width: var(--badge-w);
  min-height: 3.45cqw;
  padding: 0.6cqw 1.08cqw;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 225, 221, 0.96);
  border-radius: 0.72cqw;
  box-shadow: 0 0.72cqw 1.75cqw rgba(18, 48, 39, 0.13);
  pointer-events: auto;
}

.hero-badge strong,
.hero-badge small {
  display: block;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-badge strong {
  font-size: 0.78cqw;
  font-weight: 850;
  line-height: 1.15;
}

.hero-badge small {
  margin-top: 0.14cqw;
  color: #333e3b;
  font-size: 0.66cqw;
  font-weight: 600;
  line-height: 1.18;
}

.hero-badge-icon {
  display: grid;
  place-items: center;
  width: 2.35cqw;
  height: 2.35cqw;
  border-radius: 0.54cqw;
}

.hero-badge-icon svg {
  width: 1.42cqw;
  height: 1.42cqw;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.hero-badge-icon-green {
  color: var(--brand);
  background: #edf8f2;
}

.hero-badge-icon-blue {
  color: #2369c9;
  background: #eef5ff;
}

.hero-badge-icon-amber {
  color: #d99412;
  background: #fff7e8;
}

.hero-badge:hover,
.hero-badge:focus-visible,
.hero-badge.is-active {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  width: 40.9cqw;
  height: 100%;
  padding: 1.72cqw 0 0 2.82cqw;
}

.hero-copy h1 {
  max-width: 39.2cqw;
  margin: 0;
  color: var(--ink);
  font-size: 2.45cqw;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 35.6cqw;
  margin: 0.65cqw 0 0;
  color: #343f3d;
  font-size: 0.95cqw;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.92cqw;
  margin-top: 0.9cqw;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.86cqw;
  min-height: 2.82cqw;
  padding: 0 1.92cqw;
  border-radius: 0.72cqw;
  font-size: 1.04cqw;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-button svg {
  width: 1.46cqw;
  height: 1.46cqw;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.hero-button-primary {
  min-width: 18.55cqw;
  color: #ffffff;
  background: var(--brand);
  border: 0;
  box-shadow: inset 0 -0.18cqw 0 rgba(0, 0, 0, 0.16);
}

.hero-button-secondary {
  min-width: 11.35cqw;
  color: #d48a16;
  background: #ffffff;
  border: 0.14cqw solid rgba(212, 138, 22, 0.56);
}

.hero-button-blank {
  display: block;
  flex: 0 0 11.35cqw;
  min-height: 2.82cqw;
  pointer-events: none;
}

.hero-button:hover,
.hero-button:focus-visible,
.hero-button.is-active {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
