:root {
  --purple-900: #36274e;
  --purple-600: #6c4e9c;
  --purple-300: #b7a1db;
  --purple-200: #cfc0e7;
  --purple-100: #e7e0f3;
  --purple-50: #f3eff9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5dc;
  --gray-600: #4a5565;
  --gray-900: #1e2939;
  --phone: #101828;
  --line-light: rgba(255, 255, 255, .18);

  --gutter: 64px;
  --section-y: 112px;
  --h1: 92px;
  --h2: 56px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'General Sans', system-ui, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, p { margin: 0; }

h1 { font-size: var(--h1); line-height: .98; font-weight: 500; letter-spacing: -.035em; }
h2 { font-size: var(--h2); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.balance { text-wrap: balance; }

.container { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.dark { background: var(--purple-900); color: #fff; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-600); }
.eyebrow--light { color: var(--purple-300); }
.section-head { display: flex; flex-direction: column; gap: 16px; }

.btn { display: inline-block; padding: 14px 24px; border-radius: 8px; font-size: 16px; font-weight: 600; line-height: 24px; }
.btn--light { padding: 14px 28px; background: #fff; color: var(--purple-900); }
.btn--dark { background: var(--purple-900); color: #fff; }
.btn:hover { opacity: .9; }
.link-arrow { padding: 14px 20px; font-size: 16px; font-weight: 600; color: #fff; }

/* Hero */
.hero { position: relative; background: var(--purple-900); color: #fff; overflow: hidden; }
.hero__inner { position: relative; min-height: 820px; }
.hero__bg { position: absolute; right: -120px; top: 110px; width: 780px; }
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.topbar__logo { height: 40px; }
.topbar__nav { display: flex; gap: 36px; font-size: 16px; font-weight: 500; color: var(--purple-200); }
.topbar__nav a:hover { color: #fff; }
.hero__content { position: relative; max-width: 640px; padding-top: 120px; display: flex; flex-direction: column; gap: 32px; }
.hero__lead { max-width: 500px; font-size: 20px; line-height: 1.55; color: var(--purple-100); }
.hero__actions { display: flex; gap: 12px; align-items: center; padding-top: 8px; }

/* Asortyment */
.range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.range__col { display: flex; flex-direction: column; gap: 24px; }
.range__col .section-head { padding-bottom: 24px; }
.range__stack { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.tile { position: relative; min-height: 340px; border-radius: 16px; background: #fff; overflow: hidden; }
.tile--tall { flex: 1; min-height: 420px; }
.tile__label { position: absolute; left: 28px; bottom: 24px; font-size: 28px; font-weight: 600; }
.tile__media { position: absolute; inset: 0 0 90px 0; overflow: hidden; }
.tile__rose { position: absolute; left: 50%; top: 6%; width: 92%; transform: translateX(-50%); clip-path: inset(0 0 18% 0); }
.tile__greens { position: absolute; right: -20px; top: 50%; height: 110%; transform: translateY(-50%); }
.tile--placeholder { background: repeating-linear-gradient(135deg, var(--purple-50) 0 14px, var(--purple-100) 14px 15px); }
.tile__placeholder-note { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--purple-600); white-space: nowrap; }

/* Shared 1:2 split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }

/* Import */
.countries li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line-light); }
.countries li:last-child { border-bottom: 1px solid var(--line-light); }
.countries__name { font-size: 56px; font-weight: 500; letter-spacing: -.03em; }
.countries__region { font-size: 16px; color: var(--purple-200); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 88px; }
.stats__item { display: flex; flex-direction: column; gap: 6px; }
.stats__value { font-size: 64px; font-weight: 500; letter-spacing: -.03em; }
.stats__label { font-size: 16px; color: var(--purple-200); }

/* Dla kogo */
.audience li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--gray-300); }
.audience li:last-child { border-bottom: 1px solid var(--gray-300); }
.audience__name { font-size: 24px; font-weight: 600; }
.audience__desc { font-size: 18px; line-height: 1.55; color: var(--gray-600); }

/* Aplikacja */
.app { margin-bottom: var(--section-y); padding: 72px 72px 0; border-radius: 24px; background: var(--purple-50); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.app__phone-wrap { display: flex; justify-content: center; align-self: end; }
.app__content { display: flex; flex-direction: column; gap: 24px; padding-bottom: 72px; }
.app__content h2 { color: var(--purple-900); }
.app__content p { max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--gray-600); }
.app__stores { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

.phone { width: 300px; height: 520px; border-radius: 44px 44px 0 0; padding: 10px 10px 0; background: var(--phone); }
.phone__screen { height: 100%; border-radius: 34px 34px 0 0; background: var(--gray-50); overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.phone__bar { background: var(--purple-600); padding: 40px 16px 14px; border-radius: 0 0 12px 12px; display: flex; justify-content: space-between; align-items: center; }
.phone__bar img { height: 24px; }
.phone__bar span { font-size: 11px; font-weight: 600; color: #fff; }
.phone__card { background: #fff; padding: 16px; border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.phone__card--fill { flex: 1; border-radius: 12px 12px 0 0; }
.phone__title { font-size: 18px; font-weight: 600; }
.phone__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 10px; color: var(--gray-600); }
.phone__cats > div { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.phone__cat { width: 48px; height: 48px; border-radius: 24px; background: var(--gray-50); overflow: hidden; }
.phone__products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__products > div { display: flex; flex-direction: column; gap: 6px; }
.phone__products span { font-size: 11px; font-weight: 600; }
.phone__product { height: 120px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--gray-100); overflow: hidden; }
.phone__cat img, .phone__product img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.footer { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 64px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.footer__title { font-size: 48px; max-width: 460px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-300); }
.footer address { font-style: normal; font-size: 18px; line-height: 1.55; }
.footer__link { font-size: 18px; font-weight: 500; color: #fff; }
.footer__link:hover { color: var(--purple-200); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; color: var(--purple-200); }
.footer__bottom img { height: 32px; }

/* Responsive fallback — to be replaced by the dedicated mobile design */
@media (max-width: 1024px) {
  :root { --gutter: 40px; --section-y: 88px; --h1: 72px; --h2: 44px; }
  .hero__bg { width: 480px; right: -120px; top: auto; bottom: -60px; }
  .hero__content { max-width: 520px; }
  .tile__greens { height: 85%; right: -40px; }
  .countries__name { font-size: 44px; }
  .stats__value { font-size: 52px; }
  .app { padding: 56px 40px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__title { grid-column: 1 / -1; font-size: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 64px; --h1: 52px; --h2: 36px; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; }
  .topbar__nav { width: 100%; gap: 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .hero__inner { min-height: 0; display: flex; flex-direction: column; }
  .hero__bg { order: 1; }
  .hero__content { padding-top: 48px; gap: 24px; }
  .hero__lead { font-size: 18px; }
  .hero__actions { flex-wrap: wrap; }
  .hero__bg { position: static; width: 120%; margin: 16px 0 0 auto; transform: translateX(10%); opacity: 1; }

  .range, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .range__col .section-head { padding-bottom: 8px; }
  .tile { min-height: 280px; }
  .tile--tall { min-height: 360px; }
  .tile__label { font-size: 24px; left: 20px; bottom: 20px; }

  .countries li { padding: 20px 0; }
  .countries__name { font-size: 32px; }
  .countries__region { font-size: 14px; text-align: right; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 56px; }
  .stats__value { font-size: 44px; }

  .audience li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
  .audience__name { font-size: 20px; }
  .audience__desc { font-size: 16px; }

  .app { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 24px 0; }
  .app__content { order: -1; padding-bottom: 0; }
  .app__content p { font-size: 16px; }
  .phone { width: 260px; height: 450px; }

  .footer { padding-top: 56px; gap: 48px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__title { font-size: 32px; }
  .footer__bottom { flex-wrap: wrap; }
}
