/* Shared by all public pages: fonts, tokens, reset, logo, footer */

/* Variable fonts: one file per subset covers the whole weight range */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xo6eeI7fM.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-xo6eeIw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --surface: #FAFAF8;
  --white: #FFFFFF;
  --gray-50: #F7F7F4;
  --gray-100: #F5F5F0;
  --gray-150: #F0EFE9;
  --gray-200: #E8E6DF;
  --gray-300: #D4D1C7;
  --gray-400: #A8A498;
  --gray-500: #787468;
  --gray-600: #5C5850;
  --gray-700: #44413A;
  --gray-800: #2C2F27;
  --gray-900: #1C1B18;
  --teal-50: #F0FDFA;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-800: #115E59;
  --red-500: #DC2626;
  --green-500: #16A34A;
  --yellow-400: #FACC15;
  --blue-ua: #005BBB;
  --yellow-ua: #FFD500;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-display: 'Sora', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--surface);
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.nav-icon .top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--blue-ua);
}

.nav-icon .bot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--yellow-ua);
}

.nav-icon .letter {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  line-height: 36px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.nav-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.3px;
  color: var(--gray-900);
}

/* Footer */
.footer {
  padding: 40px;
  background: var(--gray-900);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand .nav-icon {
  width: 28px;
  height: 28px;
}

.footer-brand .nav-icon .letter {
  font-size: 20px;
  line-height: 28px;
}

.footer-brand .fn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-200);
}

.footer-contacts,
.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-contacts a,
.footer-legal a {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color .2s;
}

.footer-contacts a:hover,
.footer-legal a:hover {
  color: var(--gray-200);
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-contacts,
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
