:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: #f1ecdd;
  background: #141517;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #f29f18; outline-offset: 5px; }
::selection { color: #141517; background: #f29f18; }
.wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 12px; color: #141517; background: #f29f18; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #32394d; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 750; letter-spacing: .22em; }
.brand img { display: block; border-radius: 6px; }
.header nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 38px); }
.header nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.header nav a:hover, .footer a:hover, .text-link:hover { color: #f29f18; }
.nav-account { border: 1px solid #777974; padding: 10px 14px; }

.hero { padding-block: clamp(72px, 10vw, 140px) 56px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 1050px; font-size: clamp(3.6rem, 8.9vw, 6rem); line-height: .99; letter-spacing: -.035em; font-weight: 700; }
.period { color: #f29f18; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(44px, 7vw, 100px); }
.hero-intro { max-width: 590px; }
.hero-intro p { max-width: 38ch; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: #dfdace; }
.hero-mark { width: clamp(110px, 13vw, 160px); height: auto; display: block; border-radius: 18%; flex: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 20px; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.button-primary { color: #141517; background: #f29f18; }
.button-primary:hover { background: #ffb94a; }
.text-link { font-size: 15px; font-weight: 600; }
.text-link span, .access-links span { display: inline-block; margin-left: .25em; }

.workspace { color: #141517; background: #f1ecdd; padding-block: clamp(80px, 10vw, 140px); }
.workspace a:focus-visible, .eugeny a:focus-visible { outline-color: #141517; }
.workspace-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.workspace h2, .access h2 { max-width: 11ch; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 1.03; letter-spacing: -.035em; }
.features article { display: grid; grid-template-columns: minmax(135px, .8fr) minmax(0, 1.4fr); gap: 20px; padding: 24px 0; border-top: 1px solid #aaa79c; }
.features article:last-child { border-bottom: 1px solid #aaa79c; }
.features h3 { font-size: 1rem; line-height: 1.5; }
.features p { max-width: 31ch; color: #393b3a; font-size: 1rem; line-height: 1.55; }

.eugeny { color: #141517; background: #f29f18; padding-block: clamp(80px, 10vw, 135px); }
.eugeny h2 { font-size: clamp(2.65rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -.035em; }
.eugeny-layout > div { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: 48px; }
.eugeny p { max-width: 37ch; font-size: 1.2rem; line-height: 1.5; }
.button-outline { border: 1px solid #141517; white-space: nowrap; }
.button-outline:hover { color: #f29f18; background: #141517; }

.access { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: clamp(80px, 10vw, 140px); }
.access p { max-width: 35ch; color: #dfdace; font-size: 1.2rem; line-height: 1.5; }
.access-links { display: grid; margin-top: 30px; }
.access-links a { display: flex; justify-content: space-between; gap: 16px; padding: 19px 0; border-top: 1px solid #555b69; font-weight: 650; text-decoration: none; }
.access-links a:last-child { border-bottom: 1px solid #555b69; }
.access-links a:hover { color: #f29f18; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-block: 30px; border-top: 1px solid #32394d; font-size: 13px; }
.footer-brand { font-weight: 750; letter-spacing: .22em; text-decoration: none; }
.footer p { flex: 1; color: #c3beb2; }

@media (max-width: 700px) {
  .wrap { width: min(100% - 40px, 1120px); }
  .header { min-height: 80px; gap: 14px; }
  .header nav { gap: 12px; }
  .header nav a { font-size: 13px; }
  .nav-account { padding: 8px; }
  .brand { gap: 7px; font-size: 12px; letter-spacing: .16em; }
  .brand img { width: 30px; height: 30px; }
  .hero { padding-block: 72px 64px; }
  h1 { font-size: clamp(3.1rem, 10.6vw, 4.6rem); }
  .hero-bottom { align-items: start; margin-top: 40px; }
  .hero-mark { width: 88px; }
  .workspace-layout, .access { grid-template-columns: 1fr; gap: 44px; }
  .eugeny-layout > div { align-items: start; flex-direction: column; }
}

@media (max-width: 440px) {
  .header { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .header nav { width: 100%; justify-content: space-between; }
  .hero-bottom { flex-direction: column-reverse; }
  .hero-mark { width: 72px; }
  .features article { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
