:root {
  color-scheme: light;
  --red-900: #4a0509;
  --red-800: #7a0b12;
  --red-700: #a20f1a;
  --red-600: #d7192a;
  --red-500: #ef3340;
  --red-100: #ffe8ea;
  --ink: #171717;
  --muted: #68615f;
  --line: #ead6d6;
  --paper: #fff8f7;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(74, 5, 9, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(74, 5, 9, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: var(--red-600);
  border-radius: 8px;
  font-size: 13px;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.nav a:hover,
.text-link:hover {
  color: var(--red-500);
}

.header-action,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 750;
}

.header-action {
  padding: 0 18px;
  background: var(--white);
  color: var(--red-800);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  overflow: hidden;
  padding: 136px clamp(20px, 5vw, 64px) 88px;
  background:
    linear-gradient(90deg, rgba(74, 5, 9, 0.94), rgba(122, 11, 18, 0.78) 48%, rgba(74, 5, 9, 0.2)),
    var(--red-900);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 248, 247, 0), var(--paper));
}

.hero-content,
.availability-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-500);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff9aa2;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.button.primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(239, 51, 64, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.availability-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(74, 5, 9, 0.66);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.availability-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
}

.panel-label {
  color: rgba(255, 255, 255, 0.72);
}

.availability-panel strong {
  font-size: 26px;
}

.section {
  padding: 82px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 740px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.resource-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.resource-card,
.price-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(74, 5, 9, 0.07);
}

.resource-card p,
.price-card p {
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--red-100);
  color: var(--red-800);
  font-size: 13px;
  font-weight: 780;
}

dl {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 800;
}

.ops-section {
  background: var(--red-900);
  color: var(--white);
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.ops-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.metrics-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr 0.7fr;
  gap: 14px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: #ffb9bf;
  font-size: 13px;
  font-weight: 800;
}

.status {
  color: #86ffd8;
  font-weight: 800;
}

.status.warn {
  color: #ffd166;
}

.pricing-section {
  background: linear-gradient(180deg, var(--paper), #fff);
}

.price-card {
  min-height: 235px;
}

.price-card.featured {
  border-color: rgba(215, 25, 42, 0.42);
  background: var(--red-800);
  color: var(--white);
  transform: translateY(-12px);
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.price {
  margin-bottom: 16px;
  color: var(--red-700);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.featured .price {
  color: var(--white);
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.text-link {
  color: var(--red-600);
  font-weight: 850;
}

.workflow-section {
  background: var(--white);
}

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

.workflow-list li {
  padding: 24px;
  border-left: 4px solid var(--red-600);
  background: var(--paper);
  border-radius: 8px;
}

.workflow-list span {
  color: var(--red-600);
  font-size: 13px;
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  margin: 10px 0;
  font-size: 20px;
}

.workflow-list p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 82px clamp(20px, 5vw, 64px);
  background: var(--red-800);
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 760;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  border: 0;
  background: var(--red-600);
  color: var(--white);
  cursor: pointer;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--red-900);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 880px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .ops-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .pricing-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .table-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .header-action {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .availability-panel div,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
