:root {
  --ink: #232323;
  --muted: #66706b;
  --paper: #fffdf8;
  --surface: #ffffff;
  --green: #1f7a62;
  --coral: #ef6f5e;
  --yellow: #f4c542;
  --line: #dfe7df;
  --shadow: 0 18px 45px rgba(31, 68, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #10241d;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 28, 23, 0.84), rgba(13, 28, 23, 0.4), rgba(13, 28, 23, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 clamp(20px, 6vw, 72px) clamp(34px, 8vw, 86px);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
}

.button.tertiary {
  color: var(--green);
  border-color: var(--line);
  background: #ffffff;
}

.compact-link {
  width: fit-content;
  min-height: 36px;
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 13px;
}

.button.secondary-dark {
  color: #ffffff;
  background: var(--ink);
}

.disabled-link {
  opacity: 0.48;
  pointer-events: none;
}

.intro-band,
.payment-band,
.ops-hero,
.ops-section,
.section-shell {
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: start;
  background: #ffffff;
}

.intro-band p,
.payment-copy p,
.ops-hero p {
  max-width: 720px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li,
.product-card,
.payment-box,
.calculator,
.ops-kpis div,
.rule-columns div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.steps li {
  min-height: 132px;
  padding: 18px;
}

.steps span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

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

.product-card {
  overflow: hidden;
}

.empty-state {
  grid-column: 1 / -1;
  max-width: 760px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.empty-state p {
  color: var(--muted);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  color: var(--green);
  background: linear-gradient(135deg, #eef6f1, #ffffff);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.product-placeholder span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-card-content {
  padding: 18px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef6f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.pill.neutral {
  color: var(--muted);
  background: #f5f1e8;
}

.price {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
}

.supplier-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.benefits {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.payment-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  background: #f3f7ee;
}

.checkout-section {
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 64px);
  background: #ffffff;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 64px);
  background: #ffffff;
}

.product-detail-media img,
.product-detail-media .product-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-copy {
  display: grid;
  gap: 16px;
}

.product-detail-copy h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
}

.detail-note {
  box-shadow: none;
}

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

.checkout-form,
.reservation-output {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkout-form label,
.reservation-output label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select,
.reservation-output textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.reservation-output textarea {
  min-height: 260px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quote-box {
  padding: 16px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
}

.quote-box .label,
.quote-box p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-box strong {
  display: block;
  font-size: 24px;
}

.payment-box {
  padding: 24px;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.ops-body {
  background: #f8fbf6;
}

.ops-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 26px;
  align-items: end;
  background: #ffffff;
}

.ops-hero h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
}

.ops-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ops-kpis div {
  padding: 18px;
}

.order-kpis {
  margin-bottom: 16px;
}

.ops-kpis strong {
  display: block;
  color: var(--green);
  font-size: 34px;
}

.ops-kpis span {
  color: var(--muted);
  font-size: 13px;
}

.ops-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.ops-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.ops-table th,
.ops-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ops-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.ops-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.ops-list li + li {
  margin-top: 10px;
}

.calculator {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.calculator label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.calculator input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.calculator select,
.calculator textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.calculator textarea {
  min-height: 84px;
  resize: vertical;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.calculator output {
  display: block;
  padding: 16px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
}

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

.hook {
  min-height: 120px;
  padding: 18px;
  background: #ffffff;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
}

.hook strong {
  display: block;
  margin-bottom: 8px;
}

.hook span {
  color: var(--muted);
}

.rule-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rule-columns div {
  padding: 18px;
}

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

.readiness-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.readiness-card.wide {
  grid-column: span 3;
}

.readiness-card strong {
  color: var(--green);
  font-size: 22px;
}

.readiness-card.blocked strong {
  color: var(--coral);
}

.readiness-card span {
  color: var(--muted);
}

@media (max-width: 920px) {
  .intro-band,
  .payment-band,
  .ops-hero,
  .product-detail,
  .checkout-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .steps,
  .hook-grid,
  .readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readiness-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 78vh;
  }

  .product-grid,
  .steps,
  .hook-grid,
  .ops-kpis,
  .rule-columns,
  .readiness-grid {
    grid-template-columns: 1fr;
  }

  .readiness-card.wide {
    grid-column: span 1;
  }

  .section-heading {
    display: block;
  }
}
