/* "Domain for sale" page (#31254). Look taken over from the webtodate.cz
   microsite (#32869), trimmed to what this single page needs. Open Sans is
   subset to Latin incl. Czech. */
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/OpenSans-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/OpenSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/OpenSans-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/OpenSans-ExtraBold.woff2') format('woff2');
}

:root {
  --deep: #062c45;
  --deep-2: #0a4d73;
  --teal: #00788c;
  --teal-light: #1a98ac;
  --sky: #a5dcff;
  --white: #fff;
  --wrap: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* The footer sits at the bottom even on a tall screen. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'OpenSans', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--white);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--sky);
}

a:hover,
a:focus {
  color: var(--white);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Keyboard-only skip link, revealed on focus. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--white);
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
}

/* ---------- header ---------- */

.site-header {
  background: var(--deep);
  border-bottom: 1px solid rgba(165, 220, 255, .18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
}

.brand__logo {
  display: block;
  width: auto;
  height: 48px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(0, 140, 163, .55), transparent 62%),
    linear-gradient(158deg, var(--deep) 0%, #073a5a 46%, var(--deep-2) 100%);
  padding: 88px 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(165, 220, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 220, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(165, 220, 255, .38);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 26px;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
}

/* Domain names are long single words (obecnipoplatkykartou.cz). The script
   sets --chars to the length of the name and the heading shrinks so that the
   name fits its column on one line (one ExtraBold letter is roughly .64em
   wide). Without container query support it at least breaks instead of
   overflowing. */
.hero__text {
  container-type: inline-size;
}

.hero h1 {
  --h1: 56px;
  font-size: var(--h1);
  font-size: min(var(--h1), 100cqi / (var(--chars, 11) * .64));
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}

/* "je na prodej." keeps the full size when a long domain shrinks the rest. */
.hero h1 em {
  font-size: var(--h1);
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--sky);
}

.hero__lead,
.hero__bundle {
  font-size: 21px;
  font-weight: 300;
  color: rgba(255, 255, 255, .88);
  max-width: 50ch;
}

.hero__bundle {
  border-left: 4px solid var(--teal-light);
  padding-left: 20px;
  font-size: 18px;
}

.hero__bundle strong {
  color: var(--white);
  font-weight: 700;
}

/* "hidden" has to win over the display set above. */
[hidden] {
  display: none !important;
}

/* ---------- contact panel ---------- */

.panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(165, 220, 255, .22);
  border-top: 4px solid var(--teal);
  border-radius: 6px;
  padding: 28px 30px;
}

.panel h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 10px;
}

.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel li {
  padding: 12px 0;
  border-top: 1px solid rgba(165, 220, 255, .14);
  font-size: 18px;
  font-weight: 700;
}

.panel li:first-child {
  border-top: 0;
}

.panel__label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

/* ---------- footer ---------- */

.site-footer {
  background: #041f31;
  color: rgba(255, 255, 255, .72);
  padding: 28px 0 12px;
  font-size: 15px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 8px 40px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--white);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    --h1: 36px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .panel {
    padding: 22px 22px;
  }
}
