@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root { color-scheme: dark; background: #0a1020; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-block-size: 100svh;
  display: grid;
  place-items: center;
  padding-block: clamp(24px, 6.6vw, 60px);
  color: #fbfcff;
  font: 1rem Inter, system-ui, sans-serif;
  background: #0a1020 url("./assets/fluted-glass.jpg") center / 100% 100% no-repeat;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #b4d1ff; outline-offset: 3px; }
.layout { inline-size: min(78.4vw, 670px); container-type: inline-size; }
.panel {
  --edge: rgb(209 224 255 / .36);
  padding: 10.05cqw 5.8cqw 5.1cqw;
  border: 1px solid var(--edge);
  border-radius: 8.8cqw;
  background:
    url("./assets/grain.png") repeat,
    radial-gradient(ellipse at 96% 4%, rgb(36 94 235 / .29), transparent 40%),
    radial-gradient(ellipse at 2% 1%, rgb(213 226 251 / .22), transparent 40%),
    linear-gradient(112deg, rgb(152 169 205 / .28), rgb(12 21 46 / .58) 58%, rgb(64 96 167 / .31));
  -webkit-backdrop-filter: blur(4px) saturate(123%);
  backdrop-filter: blur(4px) saturate(123%);
  box-shadow: inset 0 1px 2px rgb(249 251 255 / .64), inset 0 0 3.15cqw rgb(221 230 255 / .44), 0 2cqw 6cqw rgb(0 0 0 / .36);
}
.intro { text-align: center; }
.intro h1 {
  margin: 0;
  font-size: 10.55cqw;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .006em;
  transform: scaleX(1.18);
  text-shadow: 0 2px 8px rgb(5 11 32 / .45);
}
.intro p {
  margin: 1.05cqw 0 0;
  color: #e3e9f5;
  font-size: clamp(.95rem, 5cqw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  transform: scaleX(1.13);
}
.languages {
  display: grid;
  grid-template-columns: 56fr 44fr;
  width: 79.6%;
  min-block-size: 42px;
  margin: 4.8cqw auto 5.65cqw;
  border-radius: 99px;
  background: linear-gradient(110deg, rgb(23 35 62 / .77), rgb(131 158 213 / .36));
  box-shadow: inset 0 0 0 1px rgb(227 236 255 / .28), inset 0 0 2cqw rgb(201 219 249 / .22);
  font-size: clamp(.86rem, 4.25cqw, 1.78rem);
}
.languages a {
  display: grid;
  min-block-size: max(42px, 9.85cqw);
  place-items: center;
  padding: .25em .32em;
  border-radius: 99px;
  color: #e0e7f8;
}
.languages [aria-current] {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(165deg, #097cfa, #0739ef 66%, #0646ee);
  box-shadow: inset 0 0 0 1px rgb(115 180 255 / .65), 0 2px 10px rgb(12 82 252 / .22);
}
.socials { display: grid; gap: 2.25cqw; }
.card {
  display: grid;
  grid-template-columns: 21.5cqw minmax(0, 1fr) 5.2cqw;
  min-block-size: max(46px, 16cqw);
  align-items: center;
  padding-inline: 0 4.8cqw;
  border: 1px solid rgb(213 224 248 / .33);
  border-radius: 4.15cqw;
  background:
    url("./assets/grain.png") repeat,
    radial-gradient(ellipse at 5% -6%, rgb(190 208 248 / .28), transparent 52%),
    radial-gradient(ellipse at 103% 105%, rgb(154 177 230 / .27), transparent 53%),
    linear-gradient(135deg, rgb(91 111 153 / .38), rgb(29 43 75 / .67) 65%, rgb(76 97 138 / .59));
  box-shadow: inset 0 1px rgb(231 241 255 / .18), inset 0 0 2.1cqw rgb(205 221 252 / .19), 0 .7cqw 1.55cqw rgb(5 9 23 / .23);
  transition: box-shadow 150ms ease, border-color 150ms ease;
}
.icon {
  display: grid;
  place-items: center;
  block-size: 55%;
  padding-inline-start: 1.8cqw;
  border-inline-end: 1px solid rgb(217 229 252 / .52);
}
.icon svg { inline-size: clamp(22px, 8.6cqw, 58px); display: block; }
.label {
  display: grid;
  gap: .2cqw;
  padding-inline: 4.6cqw .6cqw;
  line-height: 1.12;
}
.label strong { font-size: clamp(.94rem, 4.8cqw, 2rem); font-weight: 730; letter-spacing: .014em; }
.label > span { color: #d4dded; font-size: clamp(.79rem, 3.85cqw, 1.62rem); line-height: 1.21; }
.arrow { inline-size: max(15px, 5.4cqw); }
footer {
  position: relative;
  margin-block-start: 5.35cqw;
  margin-inline: -.5cqw;
  padding-block-start: 4.1cqw;
}
footer::before {
  position: absolute;
  inset: 0 4.3cqw auto;
  content: "";
  height: 1px;
  background: rgb(223 233 252 / .53);
}
.company {
  grid-template-columns: 25cqw minmax(0, 1fr) 5.2cqw;
  min-block-size: max(58px, 22.35cqw);
}
.company .icon { block-size: 47%; padding-inline-start: .45cqw; display: flex; justify-content: center; align-items: center; }
.company .icon img {
  display: block;
  width: 15.9cqw;
  height: 15.9cqw;
  max-width: 100%;
  border-radius: 2.75cqw;
  object-fit: cover;
  object-position: center;
}
.company .label { padding-inline-start: 3.7cqw; }
.company .label strong { font-size: clamp(1rem, 5.55cqw, 2.32rem); }

[data-region="pl"] .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3cqw; }
[data-region="pl"] .social {
  position: relative;
  min-block-size: max(108px, 31.9cqw);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 2.15cqw;
  padding: 4.2cqw 3.4cqw;
}
[data-region="pl"] .social .icon { block-size: auto; padding: 0 0 0 .5cqw; border: 0; }
[data-region="pl"] .social .label { padding: 0; }
[data-region="pl"] .social .label strong { font-size: clamp(.9rem, 4.45cqw, 1.9rem); }
[data-region="pl"] .social .arrow { position: absolute; right: 2.1cqw; top: 19%; }
@media (hover: hover) {
  .card:hover {
    border-color: rgb(204 224 255 / .7);
    box-shadow: inset 0 1px rgb(231 241 255 / .38), inset 0 0 2.1cqw rgb(205 221 252 / .33), 0 .7cqw 1.8cqw rgb(5 9 23 / .38);
  }
  .languages a:not([aria-current]):hover { background: rgb(187 208 252 / .15); }
}
@media (min-width: 900px) {
  .layout { inline-size: clamp(370px, 54svh, 670px); }
}
@media (max-width: 365px) {
  .layout { inline-size: calc(100vw - 36px); }
  .languages { width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}
