
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6b82;
  --border: #dfe5ef;
  --primary: #2f66f4;
  --primary-dark: #204fc5;
  --soft: #eaf0ff;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--primary); text-decoration: none; font-weight: 650; }
a:hover { text-decoration: underline; }
.header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-size: 24px; font-weight: 850; color: var(--text); letter-spacing: -0.03em; white-space: nowrap; }
.links { display: flex; flex: 1; min-width: 0; gap: 12px 20px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.links a { color: var(--primary); }
.language-selector { position: relative; flex: 0 0 auto; }
.language-selector summary,
.language-single {
  min-height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.language-selector summary { position: relative; cursor: pointer; list-style: none; }
.language-selector summary::-webkit-details-marker { display: none; }
.language-selector summary::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .16s ease;
}
.language-selector[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.language-selector summary:hover { border-color: #c9d2e1; }
.language-selector summary:focus-visible { outline: 3px solid var(--soft); outline-offset: 2px; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: 206px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}
.language-menu a {
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  text-decoration: none;
}
.language-menu a:hover,
.language-menu a.active { background: var(--soft); color: var(--primary); }
.language-menu small { color: var(--muted); font-size: 12px; font-weight: 750; }
.language-single { padding-right: 14px; }
main { padding: 40px 0 70px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  margin: 24px 0;
  box-shadow: 0 2px 0 rgba(17, 24, 39, 0.02);
}
.hero { padding: 42px 34px; }
.eyebrow { color: var(--muted); font-weight: 700; margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.04em; margin: 0 0 18px; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 0; }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }
.lead { font-size: 20px; color: var(--muted); max-width: 780px; }
.actions { display:flex; flex-wrap:wrap; gap:14px; margin-top: 26px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height: 48px; padding: 0 20px; border-radius: 12px; background: var(--primary); color: white; font-weight: 800; text-decoration: none; }
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.btn.secondary { background: var(--soft); color: var(--primary); }
.grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tile { background: #fbfcff; border:1px solid var(--border); border-radius: 16px; padding: 22px; }
.tile p:last-child { margin-bottom: 0; }
.product-availability .small { margin: 18px 0 0; }
.badge { display:inline-flex; padding: 5px 10px; border-radius:999px; background: var(--soft); color: var(--primary); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.product-line { display:flex; justify-content:space-between; gap: 18px; align-items:flex-start; }
.product-line .status { flex: 0 0 auto; color: var(--muted); font-size: 15px; }
.screens { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:20px; margin-top: 18px; }
.screen {
  margin: 0;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fdfefe, #eaf0ff);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding: 18px;
  color: var(--muted);
}
.screen img {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin: 0 auto 18px;
}
.screen strong { display:block; color: var(--text); margin-bottom: 4px; }
.screen span { display:block; font-size: 15px; line-height: 1.4; }
ul { margin-top: 0; padding-left: 22px; }
li { margin: 8px 0; }
.notice { background: #fff9e8; border: 1px solid #f1ddaa; border-radius: 14px; padding: 16px 18px; color: #5b4720; }
.footer { border-top:1px solid var(--border); background:#fff; padding: 42px 0 26px; color: var(--muted); font-size: 15px; }
.footer-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.footer section { display:flex; flex-direction:column; align-items:flex-start; gap: 8px; }
.footer h2 { color: var(--text); font-size: 15px; letter-spacing: .01em; margin: 0 0 5px; }
.footer-label { color: var(--text); font-weight: 750; margin-top: 6px; }
.footer-languages { display:flex; flex-wrap:wrap; gap: 5px 10px; }
.footer-languages a { padding: 0; font-size: 12px; text-align:center; }
.footer-languages a.active { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta { display:flex; justify-content:space-between; gap: 18px; flex-wrap:wrap; border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; }
.legal h2 { margin-top: 32px; }
.legal h2:first-child { margin-top: 0; }
.legal h1 { hyphens: auto; overflow-wrap: break-word; }
.small { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .header { position: static; }
  .nav { align-items:flex-start; flex-direction:column; padding: 18px 24px; }
  .links { width: 100%; justify-content: flex-start; gap: 10px 14px; }
  .language-selector { flex-basis: 100%; margin-top: 4px; }
  .language-single { margin-top: 4px; }
  .language-menu { left: 0; right: auto; }
  .card, .hero { padding: 24px; }
  .grid, .grid.two, .screens { grid-template-columns: 1fr; }
  .product-line { flex-direction:column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .legal h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
