:root {
  color-scheme: light;
  --paper: #fcfcfc;
  --ink: #171917;
  --muted: #555855;
  --rule: #dce0dc;
  --focus: #165cc0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
p { margin: 0; color: var(--muted); line-height: 1.55; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
[id] { scroll-margin-block-start: 24px; }

.wrap {
  width: min(1252px, calc(100% - 2 * clamp(20px, 6.4vw, 96px)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1;
  top: 12px;
  left: 12px;
  transform: translateY(calc(-100% - 18px));
  padding: 12px 16px;
  border-radius: 6px;
  color: white;
  background: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.25rem, 2.15vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.site-header nav { display: flex; flex-wrap: wrap; column-gap: clamp(12px, 3vw, 42px); }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: clamp(0.875rem, 1.35vw, 1.125rem);
  font-weight: 550;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

.hero {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 1.55vw, 22px);
  padding-block: clamp(38px, 2.8vw, 45px) clamp(28px, 3.2vw, 48px);
  text-align: center;
}

.hero h1 {
  font-size: clamp(3.125rem, 8.2vw, 7.25rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.061em;
}

.hero p {
  font-size: clamp(1.0625rem, 2vw, 1.5rem);
  text-wrap: balance;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75em 1.65em;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  font-weight: 650;
  text-decoration: none;
}

.primary-link:hover { background: #343834; }
.brands h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); letter-spacing: -0.045em; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.brand-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 21px);
  width: 100%;
  min-height: 120px;
  aspect-ratio: 2.3;
  border-radius: 12px;
}

.brand-art--hoblio { background: #eae5dd; }
.brand-art--clic { background: #dce5ee; }
.brand-art--cernori { background: #e3e9dd; }
.app-icon { border-radius: 23%; }
.brand-art .app-icon { width: clamp(55px, 6vw, 85px); height: auto; }

.brand-entry h3 { margin-top: 16px; font-size: clamp(1.5rem, 2.45vw, 2.125rem); font-weight: 750; letter-spacing: -0.055em; }
.brand-entry p { margin-top: 4px; font-size: clamp(1rem, 1.35vw, 1.1875rem); }

.brand-link {
  display: block;
  text-decoration: none;
}

.brand-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.brand-link:hover .brand-action { text-decoration-thickness: 2px; }

.app-list, .support-list { margin: 0; padding: 0; list-style: none; }
.app-list { display: flex; flex-wrap: wrap; column-gap: 16px; }
.app-list a, .app-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 1rem;
}

.home-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 50px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.home-details h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.035em; }
.home-details p { max-width: 51ch; margin-top: 8px; }
.home-details a { display: inline-flex; align-items: center; min-height: 44px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-block: clamp(30px, 3.2vw, 46px) 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.support-main { max-width: 900px; padding-top: clamp(40px, 5vw, 72px); }
.support-main h1 { font-size: clamp(2.75rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.065em; }
.support-intro { margin-top: 12px; font-size: clamp(1.0625rem, 1.9vw, 1.375rem); }
.support-group { margin-top: 38px; }
.support-group + .support-group { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.support-group h2 { font-size: clamp(1.375rem, 2.3vw, 1.75rem); letter-spacing: -0.045em; margin-bottom: 8px; }

.support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  min-height: 58px;
  padding-block: 6px;
}

.support-app { display: flex; align-items: center; gap: 16px; }
.support-app .app-icon { flex-shrink: 0; }
.support-app h3 { font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 680; letter-spacing: -0.023em; line-height: 1.23; }
.support-links { display: flex; flex-wrap: wrap; column-gap: clamp(14px, 3vw, 38px); }
.support-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

@media (min-width: 736px) and (max-width: 930px) {
  .brand-entry p { min-height: 3.1em; }
}

@media (max-width: 735px) {
  .hero h1 { font-size: clamp(2.625rem, 10.8vw, 4.75rem); }
  .brand-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .brand-art { min-height: 108px; aspect-ratio: 3; }
  .brand-art .app-icon { width: 58px; }
  .home-details { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 530px) {
  .site-header { min-height: 61px; column-gap: 10px; }
  .support-row { display: block; padding: 10px 0 3px; }
  .support-app { gap: 11px; }
  .support-app .app-icon { width: 36px; height: 36px; }
  .support-links { margin-left: 47px; }
}

@media (max-width: 340px) {
  .site-header { flex-wrap: wrap; row-gap: 0; padding-bottom: 4px; }
  .hero h1 { font-size: 2.5rem; }
}
