:root {
  font: 16px/1.55 "Inter","Microsoft YaHei",system-ui,sans-serif;
  color: #172943;
  background: #f3f6fa;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
a { color: inherit; text-decoration: none; }
a:focus-visible,button:focus-visible { outline: 3px solid #2f73f4; outline-offset: 3px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(18px,calc((100% - 930px)/2)); background: #122644; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 760; letter-spacing: .07em; }
.logo { display: grid; place-items: center; width: 32px; height: 32px; background: #3566dc; border-radius: 9px; font-size: 20px; }
.languages { display: flex; gap: 5px; }
.languages button { background: transparent; font: inherit; color: #e3ecff; font-size: 13px; border: 1px solid transparent; border-radius: 7px; min-width: 38px; min-height: 44px; padding: 4px; cursor: pointer; }
.languages button[aria-pressed=true] { background: #2b4877; border-color: #5976a5; color: #fff; }
main { width: min(calc(100% - 36px),930px); margin: 0 auto; padding: clamp(32px,8vw,86px) 0 40px; }
h1,h2,p { margin: 0; }
.hero { margin-bottom: 27px; }
.hero h1 { font-size: clamp(29px,5.6vw,52px); line-height: 1.15; letter-spacing: -.035em; margin-bottom: 10px; }
p { color: #4c5d74; }
.workspace { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid #ced9ed; border-radius: 15px; padding: 21px; box-shadow: 0 9px 32px #1b365008; }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e8efff; color: #2855b4; font-size: 25px; }
h2 { font-size: 19px; margin-bottom: 4px; }
.access { font-size: 13px; margin-top: 6px; }
.primary { padding: 11px 17px; display: inline-block; min-height: 44px; text-align: center; background: #2256c5; color: #fff; border-radius: 8px; font-weight: 720; }
.primary:hover { background: #1943a1; }
.integrations { margin-top: 29px; }
.integrations ul { padding: 0; margin: 11px 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; list-style: none; }
.integrations li { padding: 13px; border: 1px solid #dbe3ef; background: #fff; border-radius: 10px; overflow-wrap: anywhere; }
.integrations small,.second-language { display: block; }
.integrations small { color: #526176; margin-top: 4px; }
.second-language { font-size: .82em; }
@media (max-width: 660px) {
  .top { gap: 6px; padding-inline: 12px; }
  .brand { gap: 7px; font-size: 12px; letter-spacing: 0; }
  .languages { gap: 2px; }
  .languages button { min-width: 35px; }
  .workspace { grid-template-columns: auto minmax(0,1fr); padding: 14px; gap: 10px; }
  .tile-icon { width: 40px; height: 40px; align-self: start; }
  .primary { grid-column: 1/-1; }
  .integrations ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
