/*HELPERS*/
.sub-nav {
    background-color: tomato
}

.sub-nav {
    display: none
}

[hidden] {
    display: none
}

.visually-hidden {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px
}

.pseudo {
    position: relative
}

.pseudo:where(::before, ::after) {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block
}

:is(article *+*) {
    margin-top: var(--font-size-md);
}

@supports not selector(:where(article *+*)) {
    article *+* {
        margin-top: 1.618em
    }
}

.shadow {
    box-shadow:
        0 0 1.618rem rgba(0, 0, 0, .04),
        0 0 .618rem rgba(0, 0, 0, .04),
        0 .056rem .056rem rgba(0, 0, 0, .04),
        0 .09rem .09rem rgba(0, 0, 0, .04),
        0 .146rem .146rem rgba(0, 0, 0, .04),
        0 .236rem .236rem rgba(0, 0, 0, .04);
}

:root {
    --lang-picker: 40px;
    --nav-bar: 72px;
    --sub-nav: 60px;
    /*LANG PICKER AND MAIN NAV*/
    --nav-2: calc(var(--lang-picker) + var(--nav-bar));
    /*LANG PICKER, MAIN NAV, SUB NAV*/
    --nav-3: calc(var(--lang-picker) + var(--nav-bar) + var(--sub-nav));
    --font-size-sm: clamp(0.618rem, 0.19vw + 0.58rem, 0.81rem);
    --font-size-base: clamp(1rem, 0.31vw + 0.94rem, 1.31rem);
    --font-size-sub: clamp(1.382rem, 0.59vw + 1.23rem, 1.94rem);
    --font-size-md: clamp(1.618rem, 0.51vw + 1.52rem, 2.12rem);
    --font-size-lg: clamp(2.618rem, 0.82vw + 2.45rem, 3.44rem);
    --font-size-xl: clamp(4.236rem, 1.32vw + 3.97rem, 5.56rem);
}

@media(max-width:767px) {
    :root {
        --sub-nav: 42px;
        --nav-bar: 50px;
    }
}

html {
    height: 100%
}

@media(prefers-reduced-motion:no-preference) {
    html {
        scroll-behavior: smooth
    }
}

body {
    font-family: Roboto, system-ui, sans-serif;
    font-size: var(--font-size-base, 1rem);
    line-height: 1.618;
    background-color: #fdfcfb;
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

main {
    position: relative
}

section:not(section section) {
    margin-top: 0;
}

:is(section>*) {
    margin-inline: max(var(--font-size-base), ((100% - 100ch) / 2));
}

.inner :is(*:not(h2, .h2, h3, .h3)) {
    width: min(100%, 62ch)
}

header :where(*) {
    text-align: start;
    margin: 0
}

h1,
.h1 {
    font-size: var(--font-size-lg);
    line-height: 1.09;
    font-weight: 800;
    text-align: center
}

h2,
.h2 {
    font-size: var(--font-size-lg);
    line-height: 1.146
}

h3,
.h3 {
    font-size: var(--font-size-md);
    line-height: 1.236
}

blockquote,
.subhead {
    font-size: var(--font-size-sub);
    line-height: 1.382
}

blockquote {
    margin-block: var(--font-size-lg, 4.236rem)
}

blockquote+ :where(*) {
    margin-top: var(--font-size-lg)
}

:is(.subhead, blockquote) strong {
    font-weight: 900
}

.subhead,
blockquote {
    font-weight: 300
}

blockquote cite {
    display: block;
    margin-top: var(--font-size-base, 1rem);
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    text-align: end
}

h4,
h5,
h6,
cite {
    font-size: var(--font-size-base, 1.618rem);
    line-height: 1.382
}

main a {
    color: #06c;
    font-weight: bold;
    text-decoration: underline
}

main ul {
    list-style: circle
}

main li {
    margin-left: 1em
}

main li+li {
    margin-top: 0
}

main :where(ul[class], ul[id]) {
    list-style: none
}

main :where(ul[class] li, ul[id] li) {
    margin-left: 0
}

main dt {
    font-weight: bold
}

main dd+dt {
    margin-top: 1em
}

h2,
h3,
p,
blockquote {
    hanging-punctuation: first force-end last
}

@supports not (hanging-punctuation: first force-end last) {
    .quote:first-of-type {
        margin-left: -.65ch
    }
}

figcaption,
address,
sup,
sub,
small,
.small {
    font-size: var(--font-size-sm);
    line-height: 1.382
}

sub,
sup {
    line-height: 1
}

figcaption {
    font-family: roboto, system-ui, sans-serif;
    margin-top: 1ch;
    padding: 1ch
}

figcaption strong {
    text-transform: uppercase
}

address {
    font-style: normal
}

hr {
    border: none;
    height: 1px;
    background: #ddd
}

.button {
    display: block;
    max-width: 38ch;
    text-align: center;
    line-height: var(--font-size-lg);
    text-decoration: none;
    border-radius: var(--font-size-sm);
}

.primary.button {
    color: #fff;
    background: linear-gradient(to bottom, #07d 0%, #05b 100%);
    box-shadow:
        0 0 1.618rem rgba(0, 153, 255, .13),
        0 .0625rem .146rem rgba(0, 0, 102, .3),
        .0625rem .146rem .236rem rgba(0, 0, 102, .2),
        .146rem .236rem .382rem rgba(0, 34, 136, .14),
        .236rem .382rem .618rem rgba(0, 34, 136, .13),
        .382rem .618rem 1rem rgba(0, 34, 136, .1);
}

@media (hover:hover) {
    main a {
        transition: all .4s ease
    }

    main a:hover {
        filter: brightness(1.15)
    }
}