:root {
  --ink: #282828;
  --line: #363636;
  --yellow: #ffe94b;
  --yellow-light: #fff36f;
  --orange: #ff6b2a;
  --gold: #ffbf16;
  --blue: #42a8f5;
  --ring: #9fb6ff;
  --cream: #fff4bd;
  --card-line: #efe2cf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Arial Rounded MT Bold", "Microsoft YaHei UI", "Trebuchet MS", Verdana, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 730px;
  min-height: 720px;
  padding: 29px 65px 0;
  background:
    radial-gradient(circle at 58% 60%, rgba(255, 255, 255, .23) 0 12%, transparent 13%),
    linear-gradient(120deg, var(--yellow-light) 0%, var(--yellow) 42%, #ffe13f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -110px;
  right: -110px;
  bottom: -50px;
  height: 130px;
  background: #fff;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: rotate(1.5deg);
  transform-origin: left center;
}

.header {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 290px 1fr 390px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
}

.logo-mark {
  width: 58px;
  height: 48px;
  overflow: visible;
}

.logo-mark path:first-child,
.logo-mark circle {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark .dot {
  fill: var(--line);
  stroke: none;
}

.logo-mark .beak {
  fill: var(--gold);
  stroke: var(--line);
  stroke-width: 5;
}

.logo span {
  font-size: 42px;
  line-height: .8;
  font-weight: 900;
  letter-spacing: 0;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 51px;
  align-items: center;
  font-size: 18px;
  font-weight: 900;
}

.nav a {
  position: relative;
  padding: 22px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 6px;
  border-radius: 10px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .18s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 33px;
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 900;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 4px 6px;
  border: 2px solid rgba(40, 40, 40, .14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .6);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

.lang-toggle span,
.lang-toggle b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  border-radius: 999px;
  font-weight: 900;
}

.lang-toggle span {
  color: #fff;
  background: var(--ink);
}

.lang-toggle b {
  color: rgba(40, 40, 40, .68);
}

.lang-toggle.is-zh span {
  color: rgba(40, 40, 40, .68);
  background: transparent;
}

.lang-toggle.is-zh b {
  color: #fff;
  background: var(--ink);
}

.button,
.learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 66px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button {
  color: #fff;
  background: linear-gradient(180deg, #ff7f34, #ff6429);
  box-shadow: 0 12px 22px rgba(196, 95, 20, .23);
}

.button-small {
  min-width: 164px;
  height: 56px;
  font-size: 18px;
}

.learn {
  gap: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 11px 22px rgba(72, 55, 17, .14);
}

.learn .arrow {
  color: var(--orange);
  font-size: 38px;
  line-height: 0;
  transform: translateY(-2px);
}

.button:hover,
.learn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(120, 81, 19, .22);
}

.menu {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}

.menu span {
  display: block;
  width: 23px;
  height: 3px;
  margin: 4px auto;
  border-radius: 20px;
  background: var(--ink);
}

.dots {
  position: absolute;
  z-index: 1;
  left: 58px;
  top: 145px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .95) 0 3px, transparent 4px);
  background-size: 30px 30px;
}

.cloud {
  position: absolute;
  z-index: 1;
  height: 56px;
  background: rgba(255, 255, 255, .9);
  border-radius: 70px 70px 0 0;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  background: inherit;
}

.cloud-a {
  left: 660px;
  bottom: 80px;
  width: 230px;
  transform: rotate(-6deg);
}

.cloud-a::before {
  left: 56px;
  width: 86px;
  height: 95px;
}

.cloud-a::after {
  right: 36px;
  width: 70px;
  height: 65px;
}

.cloud-b {
  right: -8px;
  top: 282px;
  width: 150px;
}

.cloud-b::before {
  left: 44px;
  width: 65px;
  height: 78px;
}

.cloud-b::after {
  right: -8px;
  width: 72px;
  height: 88px;
}

.hero-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 44% 56%;
  max-width: 1510px;
  height: 626px;
  margin: 34px auto 0;
}

.copy {
  padding: 116px 0 0 88px;
}

.copy h1 {
  margin: 0 0 56px;
  color: #292929;
  font-size: 228px;
  font-weight: 900;
  line-height: .66;
  letter-spacing: -11px;
}

.copy p {
  margin: 0;
  color: #323232;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 31px;
  line-height: 1.26;
}

.copy strong {
  color: var(--orange);
  font-weight: 900;
}

.copy-actions {
  display: flex;
  gap: 25px;
  margin-top: 46px;
}

.art {
  position: relative;
  height: 100%;
  margin-left: -20px;
}

.art svg {
  position: absolute;
  right: 80px;
  bottom: -72px;
  width: 820px;
  max-width: none;
  height: auto;
  overflow: visible;
}

.sun-disc {
  fill: rgba(250, 207, 28, .36);
}

.cloud-svg {
  fill: rgba(255, 255, 255, .89);
}

.accent path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 15;
}

.accent.blue path {
  stroke: var(--blue);
}

.accent.orange path {
  stroke: var(--orange);
}

.ring {
  fill: none;
  stroke-linecap: round;
}

.black {
  stroke: var(--line);
  stroke-width: 34;
}

.blue-ring {
  stroke: var(--ring);
  stroke-width: 23;
}

.arm {
  fill: none;
  stroke: var(--line);
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.body {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 15;
  stroke-linejoin: round;
}

.body-shine {
  fill: rgba(255, 255, 255, .62);
}

.eye {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 15;
}

.pupil {
  fill: #303030;
}

.cheek {
  fill: none;
  stroke: #ff9a9a;
  stroke-width: 15;
  stroke-linecap: round;
}

.mouth-shadow {
  fill: var(--line);
}

.mouth {
  fill: var(--gold);
}

.nostril {
  fill: var(--line);
}

.belly-mask {
  fill: #fff;
}

.front-black {
  stroke: var(--line);
  stroke-width: 34;
  clip-path: inset(528px 0 0 0);
}

.front-blue {
  stroke: var(--ring);
  stroke-width: 23;
  clip-path: inset(528px 0 0 0);
}

.features {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  max-width: 1460px;
  margin: 31px auto 30px;
  padding: 0 36px;
}

.card {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 147px;
  padding: 26px 28px;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(92, 68, 20, .08);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.1;
}

.card p {
  margin: 0;
  color: #333;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.42;
}

.icon {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--cream);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.check::before {
  inset: 18px;
  border: 5px solid #ff9800;
  border-radius: 50%;
}

.check::after {
  left: 30px;
  top: 35px;
  width: 18px;
  height: 10px;
  border-left: 5px solid #ff9800;
  border-bottom: 5px solid #ff9800;
  transform: rotate(-45deg);
}

.bolt::before {
  left: 28px;
  top: 16px;
  width: 28px;
  height: 46px;
  background: #ff9800;
  clip-path: polygon(62% 0, 0 52%, 38% 52%, 20% 100%, 100% 38%, 55% 38%);
}

.smile::before {
  inset: 18px;
  border: 5px solid #ff9800;
  border-radius: 50%;
}

.smile::after {
  left: 30px;
  top: 35px;
  width: 19px;
  height: 10px;
  border-bottom: 5px solid #ff9800;
  border-radius: 0 0 28px 28px;
  box-shadow: -9px -10px 0 -3px #ff9800, 19px -10px 0 -3px #ff9800;
}

.heart::before {
  left: 25px;
  top: 27px;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #ff9800;
  transform: rotate(-45deg);
}

.heart::after {
  left: 21px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff9800;
  box-shadow: 17px 0 0 #ff9800;
}

@media (max-width: 1200px) {
  .hero {
    height: auto;
    min-height: 880px;
    padding: 26px 34px 90px;
  }

  .header {
    grid-template-columns: auto auto;
  }

  .menu {
    display: block;
    justify-self: end;
  }

  .nav,
  .top-actions {
    position: absolute;
    right: 0;
    display: none;
    width: min(330px, calc(100vw - 68px));
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 18px 40px rgba(62, 48, 12, .15);
  }

  .nav {
    top: 70px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .top-actions {
    top: 324px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .header.open .nav,
  .header.open .top-actions {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .copy {
    padding: 80px 0 0;
  }

  .art {
    height: 520px;
  }

  .art svg {
    left: 50%;
    right: auto;
    bottom: -95px;
    width: min(860px, 115vw);
    transform: translateX(-50%);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -10px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 820px;
    padding: 20px 20px 80px;
  }

  .logo span {
    font-size: 34px;
  }

  .logo-mark {
    width: 50px;
  }

  .dots,
  .cloud {
    display: none;
  }

  .copy {
    padding-top: 58px;
  }

  .copy h1 {
    font-size: clamp(92px, 29vw, 132px);
    letter-spacing: -4px;
  }

  .copy p {
    font-size: 24px;
  }

  .copy-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
  }

  .button,
  .learn {
    width: 100%;
    min-width: 0;
    height: 58px;
    font-size: 19px;
  }

  .art {
    height: 360px;
    margin-top: 10px;
  }

  .art svg {
    width: 700px;
    bottom: -86px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -8px;
    padding: 0 20px 28px;
  }

  .card {
    min-height: 118px;
    grid-template-columns: 72px 1fr;
    padding: 20px;
  }

  .icon {
    width: 66px;
    height: 66px;
  }
}
