:root {
  color-scheme: dark;
  --brand-orange: #ff751f;
  --brand-brown: #271f15;
  --brand-yellow: #ffde59;
  --bg: #100d09;
  --bg-soft: #18130d;
  --surface: #211910;
  --surface-2: #2b2116;
  --text: #fffaf0;
  --muted: #c9bda9;
  --line: rgba(255, 222, 89, 0.18);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
  --success: #4ade80;
  --danger: #fb7185;
  --info: #67e8f9;
  --radius: 8px;
  --container: 1180px;
  --header-height: 76px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 117, 31, 0.24), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(255, 222, 89, 0.14), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

body.lock-scroll {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
  touch-action: manipulation;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--brand-yellow);
  color: #211302;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(255, 117, 31, 0.28));
}

.header-logo {
  width: clamp(54px, 8vw, 72px);
  height: clamp(54px, 8vw, 72px);
}

.brand-name {
  display: grid;
  line-height: 1.02;
  letter-spacing: 0;
}

.brand-name span:first-child {
  color: var(--brand-yellow);
}

.brand-name span:last-child {
  color: var(--brand-orange);
  font-size: 0.82rem;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: var(--radius);
  color: var(--muted);
  padding: 10px 12px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 117, 31, 0.12);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), #ff9a3d);
  color: #1c1004;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 222, 89, 0.08);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
}

.btn-danger {
  background: rgba(251, 113, 133, 0.14);
  color: var(--danger);
  border-color: rgba(251, 113, 133, 0.28);
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 160ms ease, background 160ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 117, 31, 0.12);
}

.icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: #211302;
  font-size: 0.78rem;
  font-weight: 900;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
}

.section {
  padding: 76px 0;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

h3 {
  line-height: 1.18;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 750;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, black);
  color: var(--text);
  padding: 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(255, 222, 89, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 222, 89, 0.12);
  outline: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--danger);
}

.status.syncing {
  color: var(--info);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand-brown) 82%, black);
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer-grid h3 {
  margin-bottom: 10px;
  color: var(--brand-yellow);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  :root {
    --header-height: 128px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

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

  .section-head {
    display: grid;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 112px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .header-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .site-header {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
  }

  .header-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 8px 0 9px;
  }

  .header-inner .brand {
    align-self: center;
  }

  .header-actions {
    justify-self: end;
    gap: 7px;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .btn {
    min-height: 44px;
    padding: 10px 12px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    padding: 4px;
  }

  .nav-links a {
    min-width: 0;
    padding: 8px 6px;
    text-align: center;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
  }

  .section-head {
    gap: 14px;
    margin-bottom: 20px;
  }

  .section {
    padding: 52px 0;
  }

  .input,
  .select,
  .textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-footer {
    padding: 34px 0 24px;
  }
}
