
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f8f8f5;
  --surface: rgba(255,255,255,.78);
  --surface-solid: #ffffff;
  --text: #171918;
  --muted: #707571;
  --line: rgba(23,25,24,.11);
  --accent: #1e302a;
  --accent-soft: #e8eee9;
  --max: 1240px;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(23,25,24,.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(220,229,222,.72), transparent 28rem),
    radial-gradient(circle at 15% 80%, rgba(236,232,220,.62), transparent 26rem),
    var(--bg);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid var(--line);

  background: white;
  /*background: rgba(249, 249, 246, 0.941);*/
  
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.main-nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(118px, 14vw, 175px);
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;

  background: rgb(255, 255, 255);
    /*-- background: rgba(255,255,255,.72); */
  
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}

.page-main {
  flex: 1;
  width: 100%;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 153px);
  margin: auto;
  display: grid;
  place-items: center;
  padding: 80px 0 100px;
}

.hero-card {
  width: min(100%, 920px);
  padding: clamp(42px, 7vw, 88px);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.empty-page h1 {
  max-width: 780px;
  margin: 0 auto 22px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero p,
.empty-page p {
  max-width: 620px;
  margin: auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.hero-accent {
  width: 54px;
  height: 4px;
  margin: 34px auto 0;
  border-radius: 99px;
  background: var(--accent);
}

.empty-page {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 153px);
  margin: auto;
  display: grid;
  place-items: center;
  padding: 80px 0;
}

.empty-page-inner {
  width: min(100%, 760px);
  padding: 70px 40px;
  text-align: center;
}

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);

  background: white;
  /*  background: rgba(255,255,255,.34); */

}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 69px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: .76rem;
}

.footer-logo {
  width: 40px;
  height: 30px;
  object-fit: contain;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 50%;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.social-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .header-inner,
  .footer-inner { width: min(calc(100% - 28px), var(--max)); }

  .header-inner { min-height: 70px; }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 10px;
    background: rgb(255, 255, 255);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(23,25,24,.14);
    backdrop-filter: blur(18px);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 10px;
    font-size: .94rem;
  }

  .nav-links a::after { display: none; }

  .nav-links a:hover,
  .nav-links a.active { background: var(--accent-soft); }

  .brand img {
    width: clamp(105px, 28vw, 145px);
    max-height: 48px;
  }

  .hero,
  .empty-page {
    width: min(calc(100% - 28px), var(--max));
    min-height: calc(100vh - 139px);
    padding: 36px 0 60px;
  }

  .hero-card {
    padding: 54px 24px;
    border-radius: 24px;
  }

  .hero h1,
  .empty-page h1 { letter-spacing: -.045em; }

  .footer-inner { min-height: 62px; }

  .footer-left { font-size: .7rem; }

  .footer-logo {
    width: 34px;
    height: 26px;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 430px) {
  .footer-logo { display: none; }
}

/*-- links section --*/

.links-grid {
    width: min(100%, 900px);
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 22px 24px;

    background: rgba(255, 255, 255, 0.557);
    border: 1px solid var(--line);
    border-radius: 16px;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 12px 30px rgba(23, 25, 24, .08);
}

.link-card h3 {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.link-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .88rem;
}

.link-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);

    font-size: .75rem;
}
