:root {
  color-scheme: light;
  --hub-bg: #f3f3ef;
  --hub-surface: #ffffff;
  --hub-ink: #121315;
  --hub-muted: #666a70;
  --hub-line: rgba(18, 19, 21, 0.11);
  --hub-radius: 28px;
  --hub-shadow: 0 24px 70px rgba(20, 23, 30, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hub-bg);
  color: var(--hub-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 213, 33, 0.18), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(8, 126, 255, 0.12), transparent 27%);
  content: "";
  pointer-events: none;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
a, button, summary { touch-action: manipulation; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 15px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.hub-shell { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }

.hub-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hub-line);
  background: rgba(243, 243, 239, 0.86);
  backdrop-filter: blur(22px) saturate(135%);
}
.hub-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hub-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.hub-brand img { width: 42px; height: 42px; border-radius: 12px; }
.hub-brand strong, .hub-brand small { display: block; }
.hub-brand strong { font-size: 17px; letter-spacing: -0.03em; }
.hub-brand small { margin-top: 2px; color: var(--hub-muted); font-size: 12px; }
.hub-nav-actions { display: flex; align-items: center; gap: 10px; }

.language-link, .app-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hub-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #24262a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.language-link { padding: 0 15px; }
.app-menu { position: relative; }
.app-menu summary {
  gap: 9px;
  padding: 0 17px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.app-menu summary::-webkit-details-marker { display: none; }
.menu-icon { width: 18px; height: 14px; display: grid; align-content: space-between; }
.menu-icon::before, .menu-icon::after, .menu-icon span {
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}
.app-menu[open] summary, .app-menu summary:hover, .language-link:hover {
  border-color: rgba(18, 19, 21, 0.28);
  background: #fff;
}
.app-menu summary:focus-visible, .language-link:focus-visible, .button:focus-visible,
.text-link:focus-visible, .menu-panel a:focus-visible, .hero-app-card:focus-visible {
  outline: 3px solid rgba(8, 126, 255, 0.34);
  outline-offset: 3px;
}
.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(440px, calc(100vw - 28px));
  max-height: min(720px, calc(100svh - 100px));
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(18, 19, 21, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(17, 19, 25, 0.2);
}
.menu-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: #111316;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.menu-group { padding: 15px 13px 10px; }
.menu-group + .menu-group { border-top: 1px solid var(--hub-line); }
.menu-group-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.menu-group-title img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.menu-group-title strong, .menu-group-title small { display: block; }
.menu-group-title small { margin-top: 2px; color: var(--hub-muted); font-size: 11px; }
.menu-links { display: flex; flex-wrap: wrap; gap: 7px; }
.menu-utility { justify-content: flex-end; padding: 9px 3px 3px; }
.menu-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f2f2ef;
  color: #33363a;
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}
.menu-links a:hover { background: #e8e8e4; }
.hub-main { overflow: hidden; }

.hub-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  padding-block: clamp(76px, 12vw, 138px) clamp(68px, 10vw, 112px);
}
.eyebrow {
  margin: 0 0 18px;
  color: #5c6066;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hub-hero h1, .section-heading h2 { margin: 0; letter-spacing: -0.055em; }
.hub-hero h1 { max-width: 760px; font-size: clamp(54px, 7.2vw, 92px); line-height: 0.99; }
.hero-copy {
  max-width: 680px;
  margin: 25px 0 0;
  color: #585c62;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
  letter-spacing: -0.02em;
}
.button-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--hub-line);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}
.button.primary { border-color: #111316; background: #111316; color: #fff; }
.button.secondary { background: rgba(255, 255, 255, 0.78); }

.hero-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(18, 19, 21, 0.1);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--hub-shadow);
  backdrop-filter: blur(20px) saturate(125%);
}
.hero-app-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 19, 21, 0.1);
  border-radius: 22px;
  background: #fff;
  color: #17191c;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.hero-app-card:hover {
  z-index: 1;
  border-color: rgba(18, 19, 21, 0.22);
  box-shadow: 0 18px 40px rgba(20, 23, 30, 0.13);
  transform: translateY(-3px);
}
.hero-app-media {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 14px;
}
.hero-app-media img {
  width: 100%;
  height: 128px;
  object-fit: contain;
}
.hero-app-card.travel .hero-app-media { background: #ffdf40; }
.hero-app-card.travel .hero-app-media img { width: 116px; border-radius: 25%; }
.hero-app-card.surround .hero-app-media { background: #f1edff; }
.hero-app-card.airpad .hero-app-media { background: #111316; }
.hero-app-card.erpigeon .hero-app-media { background: linear-gradient(145deg, #dcefeb, #e9e4f7); }
.hero-app-card.erpigeon .hero-app-media img { width: 116px; border-radius: 25%; }
.hero-app-copy {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 46px 14px 15px;
}
.hero-app-copy small {
  margin-bottom: 4px;
  color: var(--hub-muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-app-copy strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.hero-app-arrow {
  position: absolute;
  right: 14px;
  bottom: 18px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f0f0ed;
  font-size: 14px;
  font-weight: 800;
}

.products-section { padding-block: 95px 116px; border-top: 1px solid var(--hub-line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { max-width: 760px; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; }
.section-heading p:last-child { max-width: 420px; margin: 0; color: var(--hub-muted); line-height: 1.62; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  box-shadow: 0 12px 40px rgba(20, 23, 30, 0.045);
}
.product-media { position: relative; padding: 16px; }
.product-media img { width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; object-fit: cover; }
.product-card.travel .product-media { background: #ffdf40; }
.product-card.surround .product-media { background: #e9e6ff; }
.product-card.airpad .product-media { background: #111316; }
.product-card.erpigeon .product-media { background: linear-gradient(145deg, #dcefeb, #e9e4f7); }
.product-card.surround .product-media img,
.product-card.airpad .product-media img,
.product-card.erpigeon .product-media img { object-fit: contain; }
.product-status {
  position: absolute;
  top: 27px;
  left: 27px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.91);
  color: #202226;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(15, 17, 22, 0.1);
}
.product-body { flex: 1; display: flex; flex-direction: column; padding: 25px 25px 27px; }
.product-kicker { margin: 0 0 8px; color: var(--hub-muted); font-size: 12px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.product-body h3 { margin: 0; font-size: clamp(27px, 3vw, 36px); letter-spacing: -0.045em; }
.product-description { min-height: 106px; flex: 1; margin: 15px 0 20px; color: var(--hub-muted); font-size: 16px; line-height: 1.58; }
.product-primary {
  width: 100%;
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 13px;
  background: #111316;
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}
.product-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 9px; background: #f2f2ef; color: #4b4f54; font-size: 13px; font-weight: 680; text-decoration: none; }
.text-link:hover { color: #111316; background: #e9e9e5; }

.support-strip {
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 28px;
  background: #111316;
  color: #fff;
}
.support-strip h2 { margin: 0 0 9px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.045em; }
.support-strip p { max-width: 660px; margin: 0; color: #b9bdc4; line-height: 1.6; }
.support-strip .button { border-color: rgba(255, 255, 255, 0.22); background: #fff; color: #111316; }
.hub-footer { border-top: 1px solid var(--hub-line); }
.footer-grid { min-height: 150px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding-block: 32px; }
.footer-grid strong, .footer-grid p { margin: 0; }
.footer-grid p { margin-top: 7px; color: var(--hub-muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: #4f5358; font-size: 13px; font-weight: 680; text-decoration: none; }
.footer-links a:hover { color: #111316; text-decoration: underline; }

@media (max-width: 940px) {
  .hub-hero { grid-template-columns: 1fr; }
  .hero-app-grid { width: min(100%, 620px); margin-inline: auto; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); }
  .product-description { min-height: 0; }
}

@media (max-width: 680px) {
  .hub-shell { width: min(calc(100% - 28px), 1180px); }
  .hub-nav { min-height: 68px; }
  .hub-brand img { width: 36px; height: 36px; }
  .hub-brand small, .language-link { display: none; }
  .app-menu summary { min-width: 46px; padding-inline: 13px; }
  .app-menu summary > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .menu-panel { position: fixed; top: 76px; right: 14px; left: 14px; width: auto; max-height: calc(100svh - 92px); }
  .hub-hero { min-height: auto; gap: 30px; padding-block: 42px 62px; }
  .hub-hero h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-copy { margin-top: 18px; font-size: 17px; line-height: 1.55; }
  .button-row { margin-top: 22px; }
  .hero-app-grid { gap: 10px; padding: 10px; border-radius: 24px; }
  .hero-app-card { border-radius: 17px; }
  .hero-app-media { min-height: 108px; padding: 10px; }
  .hero-app-media img { height: 88px; }
  .hero-app-card.travel .hero-app-media img,
  .hero-app-card.erpigeon .hero-app-media img { width: 80px; }
  .hero-app-copy { min-height: 62px; padding: 10px 37px 11px 12px; }
  .hero-app-copy strong { font-size: 13px; }
  .hero-app-arrow { right: 10px; bottom: 15px; width: 24px; height: 24px; }
  .products-section { padding-block: 72px 82px; }
  .product-card { display: block; }
  .product-body { padding: 22px 20px 23px; }
  .support-strip, .footer-grid { grid-template-columns: 1fr; }
  .support-strip { margin-bottom: 72px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .hero-app-copy small { display: none; }
  .hero-app-copy { min-height: 57px; }
  .hero-app-arrow { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-app-card { transition: none; }
  .hero-app-card:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .hub-header, .hero-app-grid { backdrop-filter: none; }
  .hub-header { background: var(--hub-bg); }
  .hero-app-grid { background: #fff; }
}

@media (prefers-contrast: more) {
  :root { --hub-line: rgba(18, 19, 21, 0.34); }
  .hero-app-card, .product-card { border-color: rgba(18, 19, 21, 0.42); }
}
