:root {
  color-scheme: light;
  --ink: #101a38;
  --blue: #0875ed;
  --muted: #626675;
  --line: rgba(30, 37, 53, .22);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  padding: 16px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 42%, #69717c 0%, #343b48 62%, #171d2b 100%);
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
}
.site-frame {
  width: 100%;
  min-height: calc(100vh - 32px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255,255,255,1) 0%, rgba(255,255,255,.99) 57%, rgba(238,239,241,.96) 100%);
  box-shadow: inset 0 0 70px rgba(20, 25, 37, .13), 0 4px 22px rgba(0,0,0,.12);
}
.hero {
  min-height: calc(100vh - 34px);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 4.2% 165px;
}
.hero-message {
  position: relative;
  width: max-content;
  max-width: 100%;
  text-align: center;
  transform: translateY(-12px);
}
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 5.55vw, 5.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.complicated { position: relative; }
.complicated::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 57%;
  height: 5px;
  border-radius: 100%;
  background: var(--blue);
  transform: rotate(-3deg);
}
.easy-word {
  display: block;
  width: max-content;
  margin: 0 7% -2px auto;
  color: var(--blue);
  font-family: "Caveat", cursive;
  font-size: clamp(3.6rem, 8.5vw, 8rem);
  line-height: .95;
  font-weight: 700;
  transform: rotate(-5deg);
  position: relative;
}
.easy-word::after {
  content: "";
  position: absolute;
  height: 6px;
  width: 91%;
  right: -4%;
  bottom: -5px;
  border-radius: 100%;
  background: var(--blue);
  transform: rotate(-7deg);
}
.tagline {
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 3vw, 3rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.04em;
}
.main-nav {
  position: absolute;
  left: 4%;
  right: 2.4%;
  bottom: 8.8%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(30,37,53,.08);
}
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #05070b;
  text-decoration: none;
}
.brand-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 5px solid #0875ed;
  border-right-color: #101114;
  border-radius: 50%;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
}
.brand-name { display: flex; flex-direction: column; line-height: .86; }
.brand-name strong { font-size: 39px; font-weight: 800; letter-spacing: -.08em; }
.brand-name strong span { color: var(--blue); }
.brand-name small { margin-top: 7px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .29em; }
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.nav-links a {
  min-height: 34px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(30,37,53,.27);
  color: #101114;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(.72rem, 1.05vw, 1.05rem);
  font-weight: 600;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
@media (max-width: 1050px) {
  .main-nav { left: 3%; right: 3%; gap: 20px; }
  .nav-links a { padding: 0 12px; white-space: normal; }
  .brand-symbol { width: 48px; height: 48px; font-size: 28px; }
  .brand-name strong { font-size: 32px; }
}
@media (max-width: 700px) {
  body { padding: 8px; }
  .site-frame { min-height: calc(100svh - 16px); border-radius: 15px; }
  .hero {
    min-height: calc(100svh - 18px);
    padding: 70px 7% 250px;
  }
  .hero-message { width: 100%; transform: translateY(-30px); }
  .hero h1 { white-space: normal; font-size: clamp(2.25rem, 9vw, 4rem); }
  .easy-word { margin-right: 8%; font-size: clamp(4rem, 17vw, 6.2rem); }
  .tagline { margin-top: 24px; font-size: clamp(1.25rem, 5vw, 1.8rem); }
  .main-nav {
    left: 6%; right: 6%; bottom: 5%;
    display: flex; flex-direction: column; align-items: stretch;
    gap: 15px; padding: 18px 0 10px;
  }
  .brand { justify-content: center; }
  .brand-symbol { width: 43px; height: 43px; font-size: 25px; border-width: 4px; }
  .brand-name strong { font-size: 30px; }
  .brand-name small { font-size: 9px; }
  .nav-links { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-links a {
    min-height: 39px; padding: 5px 8px;
    border-left: 0; border-top: 1px solid rgba(30,37,53,.15);
    font-size: .78rem;
  }
  .nav-links a:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2rem; }
  .nav-links a { font-size: .7rem; }
}
