:root {
  --ink: #18202c;
  --muted: #647084;
  --line: #dde3eb;
  --soft: #f5f7fa;
  --panel: #ffffff;
  --accent: #1373e6;
  --accent-dark: #0d56b2;
  --gold: #d6982a;
  --green: #167c62;
  --shadow: 0 18px 50px rgba(26, 39, 62, 0.12);
}

* {
  box-sizing: border-box;
}

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

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: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(221, 227, 235, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

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

.brand-logo {
  width: 150px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo {
  width: 116px;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.desktop-nav a:hover,
.header-action:hover {
  color: var(--accent);
}

.header-action {
  color: var(--accent-dark);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(36px, 6vw, 84px) clamp(18px, 5vw, 64px);
}

.hero-copy {
  max-width: 650px;
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
}

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

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.hero-copy p:not(.eyebrow),
.contact-section p,
.feature-list p,
.faq-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

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

.button.primary {
  color: #fff;
  background: var(--accent);
}

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

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.hero-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  padding: 22px;
  background: var(--panel);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 64px);
}

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

.section-heading {
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

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

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.price {
  color: var(--gold);
  font-weight: 900;
}

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

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article,
.faq-list details {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-form,
.login-panel,
.admin-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(26, 39, 62, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.contact-form,
.admin-form {
  display: grid;
  gap: 16px;
}

.email-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-dark);
  font-weight: 900;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

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

.admin-body {
  min-height: 100vh;
  background: var(--soft);
}

.admin-shell {
  min-height: 100vh;
}

.login-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  width: min(920px, calc(100vw - 36px));
  margin: 8vh auto;
}

.login-panel h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.admin-panel {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.nav-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.nav-button.active {
  color: var(--accent-dark);
  background: #eaf3ff;
}

.admin-workspace {
  padding: clamp(18px, 4vw, 36px);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column .wide {
  grid-column: 1 / -1;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
}

.admin-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-row {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.product-row.active {
  border-color: var(--accent);
  background: #eef6ff;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .split-section,
  .contact-section,
  .login-panel,
  .admin-panel,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    height: 360px;
  }

  .trust-strip,
  .product-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .admin-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual img {
    height: 280px;
  }
}
