:root {
  color-scheme: light;
  --bg: #f4f7f5;
  --panel: #ffffff;
  --panel-soft: #eef6f1;
  --ink: #17211d;
  --muted: #65736d;
  --line: #d7e2dc;
  --green: #167a55;
  --green-dark: #0c5f42;
  --blue: #2459a6;
  --amber: #b76513;
  --red: #b42318;
  --shadow: 0 14px 34px rgba(25, 42, 35, 0.11);
}

* {
  box-sizing: border-box;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand span {
  overflow-wrap: anywhere;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  background: var(--panel-soft);
  color: var(--green-dark);
}

main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 46px;
}

main.narrow {
  width: min(820px, calc(100% - 28px));
}

.experience-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  padding: clamp(18px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(36px, 7vw, 72px);
}

h2 {
  font-size: clamp(26px, 4vw, 44px);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: #e7eef8;
  color: var(--blue);
}

.button.full {
  width: 100%;
}

.hero-media {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e7eee9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.status-strip,
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.status-strip div,
.trust-band div,
.metric,
.admin-login,
.track-result,
.orders-table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-strip div,
.trust-band div {
  min-height: 86px;
  padding: 14px;
}

.status-strip span,
.trust-band span,
.metric span,
.track-header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-strip strong,
.trust-band strong {
  display: block;
  margin-top: 8px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section-heading {
  padding: 34px 0 16px;
}

.section-heading.compact {
  padding-top: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
}

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

.metric {
  min-height: 116px;
  padding: 16px;
}

.metric strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.metric b {
  font: inherit;
}

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

.order-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 38px;
  padding: 22px;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.order-form.single {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #30403a;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 42px;
  padding: 0 11px;
}

textarea {
  min-height: 112px;
  resize: vertical;
  padding: 11px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 122, 85, 0.15);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  min-height: 24px;
  font-size: 14px;
}

.form-note.success {
  color: var(--green-dark);
}

.form-note.error {
  color: var(--red);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 26px 14px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.admin-login {
  grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 0.6fr);
  align-items: end;
  padding: 14px;
  margin-bottom: 14px;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

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

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

.orders-table select,
.orders-table input {
  min-height: 36px;
}

.orders-table .button {
  min-height: 36px;
  padding: 8px 10px;
}

.track-result {
  padding: 16px;
}

.track-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.track-header strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  color: var(--green-dark);
}

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

.track-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.track-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.track-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.track-note {
  margin-bottom: 14px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline {
  display: grid;
  gap: 8px;
}

.timeline div {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.timeline i {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #d6ddd8;
}

.timeline .done i {
  background: var(--green);
}

.timeline .active {
  border-color: rgba(22, 122, 85, 0.45);
  background: var(--panel-soft);
}

.timeline small {
  color: var(--muted);
}

.badge-live {
  color: var(--green-dark);
}

.badge-demo {
  color: var(--amber);
}

.badge-offline {
  color: var(--red);
}

@media (max-width: 900px) {
  .experience-hero,
  .order-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media {
    min-height: 280px;
  }

  .status-strip,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-band {
    grid-template-columns: 1fr;
  }
}

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

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 38px;
  }

  .status-strip,
  .metric-grid,
  .order-form,
  .admin-login,
  .track-grid {
    grid-template-columns: 1fr;
  }

  .admin-login {
    align-items: stretch;
  }

  .track-header {
    flex-direction: column;
  }

  .timeline div {
    grid-template-columns: 22px 1fr;
  }

  .timeline small {
    grid-column: 2;
  }
}
