:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5f6368;
  --line: #d9dde3;
  --blue: #1d4ed8;
  --orange: #ff6a00;
  --yellow: #ffc400;
  --green: #0f9f6e;
  --dark: #111827;
  --red: #e11d48;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: #f2f3f5; }
a { color: inherit; }
.wrap { width: min(1280px, calc(100% - 28px)); margin: 0 auto; }

.topbar { background: var(--dark); color: white; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.topbar a { color: var(--yellow); font-weight: 800; text-decoration: none; }

.header { position: sticky; top: 0; z-index: 20; background: white; box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(17,24,39,.06); }
.header-grid { min-height: 78px; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; gap: 22px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(135deg, var(--orange), #ef4444); color: white; font-weight: 900; letter-spacing: -.04em; }
.brand strong { display: block; font-size: 20px; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.search { display: flex; min-width: 0; border: 2px solid var(--orange); border-radius: 4px; overflow: hidden; background: white; }
.search input { flex: 1; min-width: 0; border: 0; padding: 13px 14px; font: inherit; outline: none; }
.search button { border: 0; padding: 0 24px; background: var(--orange); color: white; font-weight: 900; cursor: pointer; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 800; background: #fff; }
.nav { min-height: 44px; display: flex; align-items: center; gap: 26px; overflow-x: auto; color: #394150; font-size: 14px; font-weight: 700; }
.nav a { flex: 0 0 auto; text-decoration: none; }

.hero { background: radial-gradient(circle at 80% 20%, rgba(255,196,0,.26), transparent 34%), linear-gradient(135deg, #101828 0%, #1e293b 48%, #0f172a 100%); color: white; padding: 34px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); gap: 28px; align-items: stretch; }
.hero-copy { padding: 34px; min-height: 430px; display: flex; flex-direction: column; justify-content: center; }
.label { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 5.7vw, 74px); line-height: .96; letter-spacing: -.06em; }
.hero-copy p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; }
.hero-actions, .buy-row, .policies { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--dark); text-decoration: none; font-weight: 900; }
.button.primary { background: var(--orange); border-color: var(--orange); color: white; }
.button.secondary { background: white; color: var(--dark); }
.button.full { width: 100%; }
.trust-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-row span, .sort-pill { padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.86); font-size: 12px; font-weight: 800; }

.deal-board { background: white; color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.deal-main { display: grid; grid-template-columns: minmax(220px, .9fr) 1fr; gap: 24px; align-items: center; padding: 22px; }
.deal-main img, .product-card img, .accessory-grid img { display: block; width: 100%; height: 100%; object-fit: contain; }
.deal-main img { aspect-ratio: 1; background: #f5f7fb; border: 1px solid var(--line); border-radius: 6px; }
.deal-main h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 46px); line-height: 1; letter-spacing: -.05em; }
.deal-main p { color: var(--muted); line-height: 1.55; }
.deal-main span { color: var(--red); font-weight: 900; }
.deal-mini { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #fbfbfc; }
.deal-mini div { padding: 16px; border-right: 1px solid var(--line); }
.deal-mini div:last-child { border-right: 0; }
.deal-mini b, .deal-mini span { display: block; }
.deal-mini span { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }

.marketplace { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; padding: 24px 0 54px; align-items: start; }
.filters { position: sticky; top: 138px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.filters h2 { font-size: 18px; margin-bottom: 12px; }
.filters a { display: block; padding: 11px 0; border-bottom: 1px solid #edf0f3; color: #283142; text-decoration: none; font-size: 14px; font-weight: 700; }
.filter-box { margin-top: 18px; padding: 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 5px; font-size: 13px; line-height: 1.5; }
.catalog { min-width: 0; }
.catalog-head, .section-head { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 18px; }
.catalog-head h2, .section-head h2, .split h2, .quote h2 { margin-bottom: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.catalog-head .sort-pill { background: white; color: var(--red); border-color: var(--line); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-width: 0; box-shadow: 0 2px 7px rgba(17,24,39,.04); }
.photo { display: block; height: 210px; padding: 12px; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.product-body { padding: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.badges span { padding: 4px 7px; border-radius: 999px; background: #fff1e7; color: #b45309; font-size: 11px; font-weight: 900; }
.product-card h3 { min-height: 44px; margin-bottom: 8px; font-size: 16px; line-height: 1.25; }
.product-card p { min-height: 62px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.product-card ul { min-height: 74px; padding-left: 18px; margin: 0 0 12px; color: #3f4652; font-size: 12px; line-height: 1.6; }
.buy-row { align-items: center; justify-content: space-between; border-top: 1px solid #edf0f3; padding-top: 12px; }
.buy-row b { color: var(--red); font-size: 14px; }
.buy-row a { padding: 7px 12px; border-radius: 4px; background: var(--orange); color: white; text-decoration: none; font-size: 12px; font-weight: 900; }
.product-card small { display: block; margin-top: 9px; color: var(--green); font-weight: 900; }

.band { padding: 56px 0; background: #111827; color: white; }
.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; align-items: start; }
.split p, .quote p, .section-head p { color: #68707d; line-height: 1.65; }
.band .split p { color: rgba(255,255,255,.72); }
.accessory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.accessory-grid article { padding: 14px; background: white; color: var(--ink); border-radius: 6px; }
.accessory-grid img { height: 170px; margin-bottom: 12px; background: #f7f8fa; }
.accessory-grid b, .accessory-grid span { display: block; }
.accessory-grid span { margin-top: 6px; color: var(--muted); font-size: 13px; }

.process { padding: 64px 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps article { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.steps span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--dark); color: white; font-weight: 900; }
.steps b { display: block; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.quote { padding: 62px 0; background: linear-gradient(135deg, #fff7ed, #ffffff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: center; }
.quote-card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 30px rgba(17,24,39,.08); }
.quote-card .button + .button { margin-top: 10px; }
.quote-card small { display: block; margin-top: 14px; color: var(--muted); line-height: 1.45; }
.policies { padding: 28px 0; justify-content: center; }
.policies a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; background: white; text-decoration: none; font-weight: 800; font-size: 13px; }

.footer { padding: 38px 0; background: #0b1220; color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
.footer b { display: block; margin-bottom: 10px; color: white; }
.footer p { max-width: 560px; margin: 0; line-height: 1.6; }
.footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.78); text-decoration: none; }

.simple-page {
  background: #f2f3f5;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding: 58px 0 24px;
}

.about-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--dark);
  font-size: clamp(38px, 5vw, 62px);
}

.about-hero p,
.about-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-card,
.about-grid article,
.section.wrap {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.about-card b {
  display: block;
  margin-bottom: 16px;
  font-size: 18px;
}

.about-card dl {
  margin: 0;
}

.about-card dt {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.about-card dd {
  margin: 4px 0 0;
  font-weight: 800;
}

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

.about-grid h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.about-grid a {
  color: var(--blue);
  font-weight: 800;
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 800;
}

.section.wrap {
  margin-top: 42px;
  margin-bottom: 42px;
}

.section.wrap h1 {
  color: var(--dark);
  font-size: clamp(34px, 5vw, 56px);
}

.section.wrap h2 {
  margin-top: 26px;
}

.section.wrap p,
.section.wrap li {
  color: var(--muted);
  line-height: 1.7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1050px) {
  .header-grid { grid-template-columns: 1fr; padding: 14px 0; }
  .hero-grid, .marketplace, .split, .quote-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero, .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .nav { gap: 18px; }
  .hero-copy { padding: 28px 0; min-height: auto; }
  .deal-main, .deal-mini, .accessory-grid, .product-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .photo { height: 230px; }
  .catalog-head, .section-head { align-items: start; flex-direction: column; }
}
