:root {
  --ink: #20232b;
  --muted: #697184;
  --paper: #fffdfa;
  --line: #dce2dc;
  --cat: #d629a1;
  --cat-dark: #a8177a;
  --dog: #2677c9;
  --dog-dark: #185895;
  --signal: #ef9a22;
  --font-display: "Avenir Next Condensed", "DIN Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #fbf4ea; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(rgba(119, 102, 72, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 102, 72, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 10% 0%, rgba(214, 41, 161, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 3%, rgba(38, 119, 201, 0.14), transparent 28rem),
    #fbf4ea;
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible { outline: 3px solid rgba(239, 154, 34, .45); outline-offset: 3px; }

.home-shell { width: min(1120px, calc(100% - 32px)); margin: 28px auto 60px; }

.home-hero, .product-card, .home-notice {
  border: 1px solid rgba(211, 219, 213, .94);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 22px 70px rgba(42, 34, 38, .09);
}

.home-hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 42px;
  border-radius: 17px;
}

.eyebrow { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; color: #6e5263; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.eyebrow > span:first-child { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(239,154,34,.12); }
h1 { max-width: 820px; margin: 0 0 11px; font-family: var(--font-display); font-size: clamp(42px, 6vw, 68px); letter-spacing: -.045em; line-height: .98; }
.home-hero p { max-width: 770px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.language-switch { display: flex; gap: 5px; flex: 0 0 auto; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.language-switch button { min-height: 34px; padding: 7px 10px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font: 800 11px var(--font-body); }
.language-switch button.active { color: #fff; background: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.product-card { --accent: var(--cat); --accent-dark: var(--cat-dark); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(190px, .75fr); min-height: 330px; overflow: hidden; border-radius: 17px; color: var(--ink); text-decoration: none; transition: transform 170ms ease, box-shadow 170ms ease; }
.product-card.canine { --accent: var(--dog); --accent-dark: var(--dog-dark); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 28px 76px rgba(42,34,38,.14); }
.product-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px; border-left: 5px solid var(--accent); }
.product-kicker { margin-bottom: 9px; color: var(--accent-dark); font-size: 11px; font-weight: 900; letter-spacing: .11em; }
.product-copy > strong { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); letter-spacing: -.035em; line-height: 1; }
.product-copy p { margin: 13px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.product-action { display: inline-flex; gap: 12px; align-items: center; padding: 10px 13px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); font-size: 12px; font-weight: 850; }
.product-action b { font-size: 17px; line-height: 1; }

.product-visual { position: relative; min-height: 100%; overflow: hidden; border-left: 1px solid var(--line); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, #fff), #fffdfa 72%); }
.vamber-word { position: absolute; top: 24px; left: 20px; color: color-mix(in srgb, var(--accent) 24%, transparent); font: 900 45px/1 var(--font-display); letter-spacing: -.05em; }
.allergen-disc { position: absolute; top: 95px; left: 28px; display: grid; width: 114px; height: 114px; place-content: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-dark)); text-align: center; box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 24%, transparent); }
.allergen-disc small { font-size: 10px; font-weight: 800; }
.allergen-disc b { margin-top: -4px; font: 900 43px/1 var(--font-display); }
.species-word { position: absolute; right: 16px; bottom: 12px; color: color-mix(in srgb, var(--accent) 23%, transparent); font: 900 58px/1 var(--font-display); letter-spacing: -.045em; }

.home-notice { margin-top: 16px; padding: 18px 22px; border-radius: 13px; }
.home-notice strong { color: #9b3e34; font-size: 12px; }
.home-notice p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 290px; }
}

@media (max-width: 620px) {
  body { background-size: 24px 24px, 24px 24px, auto, auto, auto; }
  .home-shell { width: min(560px, calc(100% - 16px)); margin-top: 8px; }
  .home-hero { display: grid; padding: 25px 20px; border-radius: 12px; }
  h1 { font-size: 42px; }
  .language-switch { width: 100%; }
  .language-switch button { flex: 1; }
  .product-card { grid-template-columns: 1fr; min-height: 0; border-radius: 12px; }
  .product-copy { padding: 26px 20px; }
  .product-visual { min-height: 145px; border-top: 1px solid var(--line); border-left: 0; }
  .vamber-word { top: 14px; font-size: 34px; }
  .allergen-disc { top: 49px; width: 77px; height: 77px; }
  .allergen-disc b { font-size: 30px; }
  .species-word { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
