:root {
  --ink: #183c43;
  --accent: #187c72;
  --secondary: #5b7780;
  --mint: #b2f5e3;
  --line: #d7e9e9;
  --paper: #fbfefe;
  --soft: #edfafa;
  --radius: 24px;
  --font:
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a,
button,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #329e90;
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.04em;
}
button {
  border: 0;
  background: none;
}
.section-shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
section[id] {
  scroll-margin-top: 100px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 100;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.header {
  position: relative;
  z-index: 10;
  background: #fbfefee8;
}
.site-nav {
  max-width: 1440px;
  margin: auto;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}
.brand img {
  object-fit: contain;
  width: 58px;
  height: 47px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 16px;
  font-weight: 600;
}
.nav-links > a:not(.nav-cta) {
  transition: color 0.2s;
}
.nav-links > a:hover {
  color: var(--accent);
}
.nav-cta {
  padding: 8px 25px;
  border: 1px solid var(--accent);
  border-radius: 30px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #eafaf6;
}
.menu-toggle.icon-button {
  display: none;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #e3f7f2;
}
.button {
  min-height: 50px;
  padding: 12px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: linear-gradient(130deg, #c3f9e5, #a5f1ed);
  box-shadow: 0 5px 15px #6bc7bb24;
}
.button-primary:hover {
  box-shadow: 0 7px 22px #6bc7bb42;
}
.button-secondary {
  background: #ffffff80;
  border: 1px solid #d4eeeb;
  box-shadow: 0 3px 12px #9ac1c011;
}
.button-secondary:hover {
  background: #f0fcf9;
}
.button svg {
  width: 21px;
  height: 21px;
}
.hero {
  position: relative;
  max-width: 1600px;
  margin: auto;
  min-height: 830px;
  overflow: hidden;
  background: linear-gradient(135deg, #fbfefe 18%, #e8fafb 74%, #f7fdfc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 66px;
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}
.hero-illustration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fbfefe 0%,
    #fbfefef2 25%,
    #fbfefecc 38%,
    #fbfefe00 62%
  );
}
.hero-illustration img {
  position: absolute;
  height: 100%;
  width: auto;
  max-width: none;
  right: -150px;
  top: 0;
  mask-image: linear-gradient(to right, transparent 7%, #000 30%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: auto;
  padding: 48px 56px 60px;
}
.hero h1 {
  font-size: clamp(42px, 4.3vw, 64px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.045em;
  max-width: 670px;
}
.hero-description {
  margin-top: 20px;
  color: #5b7780;
  font-size: 21px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}
.platform-line {
  color: #5b7780;
  font-size: 15px;
  margin-top: 18px;
  letter-spacing: 0.025em;
}
.hero-mac {
  width: 430px;
  max-width: 43vw;
  margin-top: 32px;
  filter: drop-shadow(0 8px 15px #5d9e9c20);
}
.hero-mac img {
  border-radius: 22px;
}
.learning {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 110px 90px;
  overflow: clip;
}
.learning-visual {
  height: 690px;
  position: relative;
  isolation: isolate;
}
.learning-visual::before {
  content: "";
  position: absolute;
  inset: 6% -10% 0 -14%;
  z-index: -2;
  background: radial-gradient(
    ellipse at 55% 60%,
    #dff5fa 10%,
    #ecfaf9 52%,
    transparent 72%
  );
}
.learning-scenery {
  position: absolute;
  width: 100%;
  max-width: none;
  height: 540px;
  object-fit: cover;
  object-position: right;
  left: 0;
  top: 0;
  z-index: -1;
  mask-image:
    linear-gradient(0deg, transparent 3%, #000 25%, #000 83%, transparent),
    linear-gradient(to right, transparent, #000 18%, #000 80%, transparent);
  mask-composite: intersect;
  opacity: 0.92;
}
.phone {
  position: absolute;
  width: 290px;
  right: 12px;
  top: 10px;
  border: 6px solid #687273;
  outline: 2px solid #e0e5e6;
  box-shadow:
    inset 0 0 0 1px #fff,
    12px 25px 45px #357d7924;
  border-radius: 44px;
  background: #f4f9fc;
  padding: 4px;
  overflow: hidden;
}
.phone img {
  border-radius: 34px;
  aspect-ratio: 1206/2622;
}
.phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 21px;
  border-radius: 20px;
  background: #182526;
}
.learning-mac {
  position: absolute;
  width: 350px;
  left: 0;
  bottom: 27px;
  border-radius: 20px;
  box-shadow: 0 8px 25px #3b7d7c20;
}
.learning h2,
.effects-copy h2 {
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.4;
  font-weight: 700;
}
.section-description {
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.8;
  margin-top: 20px;
}
.learning-points {
  padding: 0;
  list-style: none;
  margin: 44px 0 0;
  display: grid;
  gap: 29px;
}
.learning-points li {
  display: flex;
  align-items: center;
  gap: 22px;
}
.point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 20px;
  color: var(--accent);
  background: linear-gradient(120deg, #e7f8f7, #ecf7fc);
}
.point-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.6;
}
.point-kana {
  font-size: 36px;
  font-weight: 500;
}
.learning-points h3 {
  font-size: 21px;
  letter-spacing: 0;
}
.learning-points p {
  font-size: 17px;
  color: var(--secondary);
  margin-top: 4px;
}
.typing-demo {
  position: relative;
  border: 1px solid #d6efea;
  border-radius: 40px;
  padding: 32px 42px;
  background: linear-gradient(120deg, #f0fbf8b3, #eaf8fc80, #fbfefeb3);
  box-shadow: 0 15px 70px #7bc8c013;
  scroll-margin-top: 20px;
}
.demo-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.demo-heading h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.demo-heading p {
  font-size: 14px;
  color: var(--secondary);
}
.demo-workspace {
  display: flex;
  align-items: center;
  gap: 22px;
}
.demo-input-label,
.catalog-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.demo-input {
  min-width: 0;
  width: 28%;
  height: 66px;
  padding: 14px 22px;
  background: #ffffffc9;
  border: 1px solid #d5e5e9;
  border-radius: 22px;
  font-size: 22px;
  color: var(--ink);
  transition: border 0.2s;
}
.demo-input:focus {
  border-color: var(--accent);
  outline-offset: 3px;
}
.demo-arrow {
  color: #77999f;
}
.demo-candidate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 158px;
  min-height: 82px;
  padding: 11px 24px;
  border: 1px solid #fff;
  background: linear-gradient(120deg, #d8fae8, #b7f3ef);
  border-radius: 27px;
  box-shadow: 0 5px 14px #69c4b426;
  transition: transform 0.2s;
}
.demo-candidate:hover {
  transform: translateY(-3px);
}
.demo-candidate > span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}
.demo-candidate > small {
  font-size: 15px;
  color: #377376;
  line-height: 1.6;
}
.demo-candidate:disabled {
  background: #edf5f5;
  box-shadow: none;
  opacity: 0.65;
  transform: none;
}
.demo-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.demo-tools > .icon-button {
  color: var(--accent);
}
.demo-replay {
  font-size: 14px;
  padding-inline: 20px;
  gap: 8px;
  min-height: 44px;
}
.demo-replay svg {
  width: 17px;
  height: 17px;
}
.demo-bottom {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--secondary);
  font-size: 12px;
}
.sample-words {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-wrap: wrap;
}
.sample-words button {
  font-size: 13px;
  border-bottom: 1px solid #bdd8d2;
  padding: 1px 3px;
}
.sample-words button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.demo-status {
  font-size: 12px;
  color: var(--accent);
  min-height: 20px;
  position: absolute;
  bottom: 6px;
  left: 42px;
}
.selection-meteor {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  font-size: 27px;
  font-weight: 700;
  color: #216d6e;
  text-shadow: 0 0 9px #d5fff0;
  line-height: 1;
}
.meteor-tail {
  position: fixed;
  z-index: 49;
  pointer-events: none;
  width: 7px;
  height: 120px;
  transform-origin: top;
  background: linear-gradient(#89d7cfb3, #bdeadd4d, transparent);
  border-radius: 50%;
  filter: blur(1px);
}
.effects-section {
  display: grid;
  grid-template-columns: 0.78fr 1.45fr;
  gap: 70px;
  padding-block: 125px 130px;
  align-items: center;
}
.effects-copy h2 {
  font-size: clamp(34px, 3.1vw, 46px);
}
.effects-copy > .section-description {
  font-size: 17px;
  max-width: 300px;
}
.text-button {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-button svg {
  width: 17px;
  height: 17px;
}
.effects-copy > .text-button {
  margin-top: 20px;
}
.pairing-note {
  border-left: 3px solid #6cb7a9;
  padding-left: 20px;
  margin-top: 62px;
}
.pairing-note h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.6;
}
.pairing-note p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.85;
  margin-top: 12px;
  max-width: 270px;
}
.pairing-note small {
  display: block;
  color: #5b7780;
  font-size: 12px;
  margin-top: 17px;
}
.effects-player {
  min-width: 0;
}
.effect-stage {
  position: relative;
  aspect-ratio: 1.65;
  background: #edf9fb;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 38px #599bb515;
}
.effect-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
  transform: scale(1.03);
}
.effect-character {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 15px 14px #608d9d22);
}
.effect-aura {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    ellipse at 50% 55%,
    #d0fbec,
    #e9f4fb 60%,
    #fafdfd
  );
  transition: opacity 0.3s;
}
.effect-stage[data-effect="hug"] .effect-aura,
.effect-stage[data-effect="pew"] .effect-aura {
  opacity: 1;
}
.effect-stage:not([data-effect="fuji"]) .effect-landscape {
  opacity: 0;
}
.effect-stage:not([data-effect="fuji"]) .effect-character {
  display: block;
}
.effect-stage[data-effect="pew"] .effect-character {
  width: 28%;
  top: 77%;
}
.pew-heart {
  position: absolute;
  display: none;
  width: 31%;
  height: 57%;
  left: 34.5%;
  top: 9%;
  stroke: #73c4b4;
  stroke-width: 2;
  filter: drop-shadow(0 0 5px #b5f9e4);
  stroke-dasharray: 500;
  stroke-dashoffset: 0;
  fill: #d8f8ec24;
}
.effect-stage[data-effect="pew"] .pew-heart {
  display: block;
}
.effect-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.effect-particles i {
  position: absolute;
  display: block;
  width: 11px;
  height: 6px;
  border-radius: 50%;
  background: #fff8;
  transform: rotate(-25deg);
  left: 17%;
  top: 24%;
  opacity: 0.7;
}
.effect-particles i:nth-child(2) {
  left: 35%;
  top: 65%;
  width: 7px;
}
.effect-particles i:nth-child(3) {
  left: 62%;
  top: 17%;
}
.effect-particles i:nth-child(4) {
  left: 78%;
  top: 54%;
  width: 8px;
}
.effect-particles i:nth-child(5) {
  left: 23%;
  top: 84%;
  width: 8px;
}
.effect-particles i:nth-child(6) {
  left: 56%;
  top: 83%;
}
.effect-particles i:nth-child(7) {
  left: 91%;
  top: 27%;
}
.effect-particles i:nth-child(8) {
  left: 43%;
  top: 39%;
  width: 5px;
}
.effect-stage[data-effect="hug"] .effect-particles i {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #eba7bdb3;
  transform: rotate(45deg);
}
.effect-stage[data-effect="hug"] .effect-particles i:before,
.effect-stage[data-effect="hug"] .effect-particles i:after {
  content: "";
  position: absolute;
  background: inherit;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: -8px;
}
.effect-stage[data-effect="hug"] .effect-particles i:after {
  left: 0;
  top: -8px;
}
.stage-replay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  background: #f5fff9df;
  color: #206b66;
  box-shadow: 0 4px 16px #1a535c24;
  border: 1px solid #ffffffc9;
}
.stage-replay:hover {
  background: white;
  transform: rotate(-12deg);
}
.effect-tabs {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 19px;
  padding: 0 6px;
}
.effect-tabs button {
  flex: 1;
  min-height: 46px;
  border-radius: 28px;
  border: 1px solid #ddecf0;
  background: #f6fbfd;
  font-size: 15px;
  transition: background 0.2s;
}
.effect-tabs button[aria-selected="true"] {
  background: linear-gradient(130deg, #d6fae8, #b2f4ee);
  border-color: white;
  box-shadow: 0 4px 15px #9bd7c526;
}
.effect-tabs button:hover {
  background: #e4f9f3;
}
.effect-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 7px 0;
  font-size: 12px;
  color: #5b7780;
}
.effect-caption .text-button {
  font-size: 12px;
}
.release-section {
  background: linear-gradient(140deg, #f0fcf8 0, #f8fdfd 53%, #eef8fc);
  padding-block: 75px 58px;
}
.release-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-bottom: 56px;
}
.release-heading > img {
  width: 118px;
  height: auto;
}
.release-heading h2 {
  font-size: 40px;
  letter-spacing: -0.045em;
}
.release-heading .section-description {
  font-size: 17px;
  margin-top: 16px;
}
.platform-availability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.availability {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px 26px;
  border-radius: 30px;
  background: linear-gradient(120deg, #e6fbf4, #dff8f6);
}
.availability:nth-child(2) {
  background: linear-gradient(120deg, #e9faf9, #e1f4fb);
}
.availability-icon {
  display: flex;
  width: 63px;
  height: 63px;
  align-items: center;
  justify-content: center;
  background: #edfffb99;
  border: 1px solid white;
  border-radius: 21px;
  box-shadow: 0 5px 10px #b5dcd52b;
  color: var(--accent);
}
.availability-icon svg {
  width: 35px;
  height: 35px;
}
.availability h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
  font-weight: 650;
  min-width: 70px;
}
.availability > div {
  padding-left: 25px;
  border-left: 1px solid #b3ddd8;
}
.availability p {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}
.availability > div > span {
  font-size: 15px;
  color: var(--secondary);
}
.faq {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  align-items: start;
}
.faq details {
  border: 1px solid #d9eceb;
  border-radius: 22px;
  background: #ffffff80;
}
.faq summary {
  list-style: none;
  padding: 20px 23px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  line-height: 1.55;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s;
}
.faq details[open] summary {
  background: #d9f7ee77;
  border-radius: 21px 21px 0 0;
}
.faq details[open] summary svg {
  transform: rotate(180deg);
}
.faq details p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.9;
  padding: 18px 23px 23px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 37px 0 28px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 25px;
}
.site-footer .brand {
  font-size: 25px;
}
.site-footer .brand img {
  width: 48px;
  height: 39px;
}
.footer-brand p {
  padding-left: 23px;
  border-left: 1px solid #d7e7e6;
  font-size: 14px;
  color: var(--secondary);
}
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-footer nav svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.copyright {
  color: #5b7780;
  font-size: 11px;
  flex-basis: 100%;
  text-align: center;
  margin-top: 5px;
}
dialog {
  border: 1px solid #d4e9e7;
  background: #fbfefe;
  color: var(--ink);
  border-radius: 28px;
  padding: 28px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 25px 100px #0f484a33;
}
dialog::backdrop {
  background: #173b4359;
  backdrop-filter: blur(7px);
}
dialog[open] {
  animation: dialog-appear 0.2s ease-out;
}
.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
}
.dialog-heading h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.5;
}
.dialog-heading p {
  color: var(--secondary);
  font-size: 14px;
  margin-top: 5px;
}
.dialog-heading .icon-button {
  margin-top: -7px;
  margin-right: -7px;
}
.catalog-dialog {
  width: 850px;
  max-height: 85dvh;
}
.catalog-search {
  width: 100%;
  margin-top: 24px;
  min-height: 48px;
  border: 1px solid #cee1df;
  background: white;
  border-radius: 15px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 15px;
}
.catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.catalog-categories button {
  background: #edf7f5;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 13px;
}
.catalog-categories button[aria-pressed="true"] {
  background: #bdeede;
  color: #146f62;
}
.catalog-count {
  font-size: 12px;
  color: var(--secondary);
  margin-block: 17px 12px;
}
.catalog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.catalog-list li {
  padding: 13px 15px;
  border: 1px solid #dfedea;
  border-radius: 14px;
  background: #ffffffa8;
}
.catalog-list strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
.catalog-list small {
  font-size: 11px;
  color: var(--secondary);
}
.catalog-tip {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 21px;
}
.native-dialog {
  width: 900px;
}
.native-dialog video {
  display: block;
  width: 100%;
  max-height: 65dvh;
  border-radius: 16px;
  background: #e9f5f6;
  margin-top: 20px;
}
.native-dialog > p {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 13px;
}
@keyframes dialog-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.document-page {
  background: linear-gradient(140deg, #f7fdfb, #fbfefe 45%, #f4faff);
}
.document-page > .site-nav {
  max-width: 1120px;
  padding-inline: 40px;
  min-height: 94px;
}
.document-page > .site-nav > a:last-child:not(.brand) {
  font-size: 14px;
  color: var(--accent);
}
.document-shell {
  max-width: 820px;
  padding: 45px 40px 70px;
  margin: 0 auto;
}
.document-shell h1 {
  font-size: 42px;
  margin-block: 10px 20px;
}
.document-kicker {
  color: #5b7780;
  font-size: 12px;
}
.document-intro {
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.9;
  margin-bottom: 38px;
}
.document-shell section {
  margin-top: 33px;
}
.document-shell h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  scroll-margin-top: 30px;
}
.document-shell p,
.document-shell li {
  font-size: 15px;
  line-height: 1.95;
  color: #47666c;
}
.document-shell p + p {
  margin-top: 12px;
}
.document-shell ul {
  padding-left: 23px;
  margin-block: 12px;
}
.document-shell li + li {
  margin-top: 9px;
}
.document-shell a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.document-page > .site-footer {
  border-top: 1px solid var(--line);
  max-width: 1040px;
  margin: auto;
  padding-inline: 40px;
  min-height: 110px;
}
.not-found {
  text-align: center;
  padding: 100px 24px;
}
.not-found img {
  width: 160px;
  margin: 0 auto 28px;
}
.not-found h1 {
  font-size: 36px;
}
.not-found p {
  color: var(--secondary);
  margin: 20px 0 28px;
}
@media (min-width: 1600px) {
  .hero-illustration img {
    right: -150px;
  }
  .hero-content {
    padding-left: 80px;
  }
  .hero {
    min-height: 900px;
  }
  .hero-mac {
    width: 470px;
  }
}
@media (max-width: 1150px) {
  .site-nav {
    padding-inline: 35px;
  }
  .nav-links {
    gap: 28px;
  }
  .section-shell {
    width: calc(100% - 70px);
  }
  .hero-content {
    padding-inline: 35px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-illustration img {
    right: -160px;
  }
  .hero-mac {
    width: 400px;
  }
  .learning {
    gap: 35px;
  }
  .learning-visual {
    height: 640px;
  }
  .phone {
    width: 260px;
    right: 0;
  }
  .learning-mac {
    width: 290px;
    left: 0;
  }
  .learning-scenery {
    left: 0;
  }
  .learning h2 {
    font-size: 42px;
  }
  .learning-points {
    gap: 25px;
  }
  .learning-points li {
    gap: 15px;
  }
  .learning-points h3 {
    font-size: 19px;
  }
  .learning-points p {
    font-size: 15px;
  }
  .typing-demo {
    padding-inline: 26px;
  }
  .demo-workspace {
    gap: 16px;
  }
  .demo-candidate {
    min-width: 132px;
  }
  .demo-replay {
    font-size: 12px;
    padding-inline: 12px;
  }
  .demo-tools {
    gap: 4px;
  }
  .demo-heading p {
    font-size: 12px;
  }
  .effects-section {
    gap: 38px;
  }
  .effects-copy h2 {
    font-size: 37px;
  }
  .effects-copy > .section-description {
    font-size: 15px;
  }
  .pairing-note h3 {
    font-size: 20px;
  }
  .availability {
    gap: 15px;
    padding-inline: 20px;
  }
  .availability > div {
    padding-left: 18px;
  }
  .availability h3 {
    min-width: 55px;
    font-size: 23px;
  }
  .availability p {
    font-size: 15px;
  }
  .availability > div > span {
    font-size: 13px;
  }
  .footer-brand {
    gap: 16px;
  }
  .footer-brand p {
    font-size: 12px;
    padding-left: 16px;
  }
  .site-footer nav {
    gap: 20px;
    font-size: 12px;
  }
}
@media (max-width: 800px) {
  .hero-illustration::after {
    background: none;
  }
  .site-nav {
    min-height: 80px;
    padding-inline: 24px;
  }
  .brand {
    font-size: 27px;
    gap: 8px;
  }
  .brand img {
    width: 46px;
    height: 38px;
  }
  .nav-links {
    gap: 20px;
    font-size: 13px;
  }
  .nav-cta {
    padding: 7px 17px;
  }
  .section-shell {
    width: calc(100% - 48px);
  }
  .hero {
    min-height: 820px;
  }
  .hero-content {
    padding: 40px 24px;
  }
  .hero h1 {
    font-size: 46px;
    max-width: 540px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-illustration img {
    height: 470px;
    top: 390px;
    right: -80px;
    opacity: 0.94;
    mask-image: linear-gradient(
      0deg,
      transparent,
      #000 18%,
      #000 82%,
      transparent
    );
  }
  .hero-mac {
    width: 350px;
    max-width: 49vw;
    margin-top: 270px;
  }
  .hero-actions {
    gap: 12px;
  }
  .button {
    font-size: 14px;
    min-height: 46px;
    padding: 11px 21px;
  }
  .learning {
    padding-block: 75px 65px;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }
  .learning-visual {
    height: 530px;
  }
  .phone {
    width: 220px;
    right: 0;
    border-radius: 34px;
    border-width: 4px;
    padding: 3px;
  }
  .phone img {
    border-radius: 27px;
  }
  .phone-island {
    width: 66px;
    height: 17px;
    top: 14px;
  }
  .learning-mac {
    width: 245px;
    left: 0;
    bottom: 5px;
  }
  .learning-scenery {
    height: 400px;
    left: 0;
    top: 15px;
  }
  .learning h2 {
    font-size: 35px;
  }
  .section-description {
    font-size: 16px;
  }
  .learning-points {
    margin-top: 30px;
    gap: 24px;
  }
  .point-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .point-icon svg {
    width: 25px;
    height: 25px;
  }
  .point-kana {
    font-size: 29px;
  }
  .learning-points h3 {
    font-size: 17px;
  }
  .learning-points p {
    font-size: 13px;
  }
  .learning-points li {
    gap: 12px;
  }
  .typing-demo {
    padding: 26px 24px;
    border-radius: 28px;
  }
  .demo-heading {
    display: block;
  }
  .demo-heading h2 {
    font-size: 22px;
  }
  .demo-heading p {
    margin-top: 7px;
  }
  .demo-workspace {
    flex-wrap: wrap;
    gap: 13px;
  }
  .demo-input {
    width: calc(55% - 35px);
    height: 60px;
    border-radius: 18px;
    font-size: 19px;
  }
  .demo-candidate {
    min-width: 125px;
    min-height: 70px;
    border-radius: 22px;
    flex: 1;
  }
  .demo-candidate > span {
    font-size: 21px;
  }
  .demo-candidate > small {
    font-size: 13px;
  }
  .demo-tools {
    margin-left: auto;
  }
  .demo-replay {
    min-height: 40px;
    font-size: 12px;
  }
  .demo-bottom {
    flex-wrap: wrap;
    margin-top: 13px;
    gap: 9px;
  }
  .demo-bottom > p {
    font-size: 11px;
  }
  .demo-status {
    left: 24px;
    font-size: 11px;
    bottom: 3px;
  }
  .effects-section {
    padding-block: 85px 90px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .effects-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 35px;
  }
  .effects-copy h2 {
    font-size: 35px;
    grid-column: 1;
  }
  .effects-copy > .section-description {
    grid-column: 1;
    margin-top: 14px;
    font-size: 15px;
  }
  .effects-copy > .text-button {
    grid-column: 1;
    margin-top: 14px;
  }
  .pairing-note {
    grid-column: 2;
    grid-row: 1/4;
    margin-top: 10px;
    padding-left: 17px;
  }
  .pairing-note h3 {
    font-size: 20px;
  }
  .pairing-note p {
    font-size: 13px;
  }
  .pairing-note small {
    font-size: 11px;
  }
  .effect-stage {
    aspect-ratio: 1.8;
  }
  .release-section {
    padding-block: 60px 45px;
  }
  .release-heading {
    gap: 23px;
    justify-content: flex-start;
    margin-bottom: 37px;
  }
  .release-heading h2 {
    font-size: 32px;
  }
  .release-heading > img {
    width: 95px;
  }
  .release-heading .section-description {
    font-size: 14px;
    margin-top: 12px;
  }
  .platform-availability {
    gap: 18px;
  }
  .availability {
    gap: 13px;
    padding: 20px 18px;
    border-radius: 23px;
    flex-wrap: wrap;
  }
  .availability-icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }
  .availability-icon svg {
    width: 29px;
    height: 29px;
  }
  .availability h3 {
    font-size: 24px;
  }
  .availability > div {
    border: 0;
    padding: 0;
    flex-basis: 100%;
    margin-left: 4px;
  }
  .faq {
    gap: 12px;
    margin-top: 32px;
    padding-top: 27px;
  }
  .faq summary {
    font-size: 15px;
    padding: 16px 17px;
    gap: 10px;
  }
  .faq details p {
    font-size: 13px;
    padding: 14px 17px 18px;
  }
  .site-footer {
    padding-block: 28px;
    gap: 20px;
  }
  .footer-brand {
    width: 100%;
    justify-content: space-between;
  }
  .site-footer nav {
    font-size: 13px;
    gap: 27px;
  }
  .copyright {
    flex-basis: auto;
    margin: 0 0 0 auto;
  }
  .catalog-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 581px) and (max-width: 900px) {
  .menu-toggle.icon-button {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    right: 24px;
    left: 24px;
    padding: 18px;
    background: #fbfefe;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 40px #286e681c;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    padding: 10px 14px;
  }
  .nav-cta {
    text-align: center;
  }
}
@media (max-width: 580px) {
  html {
    scroll-padding-top: 28px;
  }
  .header {
    background: #fbfefef2;
  }
  .site-nav {
    min-height: 73px;
    padding: 12px 20px;
    gap: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 42px;
    height: 35px;
  }
  .menu-toggle.icon-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    color: var(--accent);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    padding: 18px;
    background: #fbfefefa;
    border: 1px solid #d8eeea;
    border-radius: 20px;
    box-shadow: 0 12px 40px #286e681c;
    align-items: stretch;
    gap: 4px;
    font-size: 15px;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
  }
  .nav-links a {
    padding: 10px 14px;
  }
  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }
  .section-shell {
    width: calc(100% - 40px);
  }
  section[id] {
    scroll-margin-top: 24px;
  }
  .hero {
    min-height: 850px;
    background: linear-gradient(135deg, #fbfefe, #f0fafa 70%, #e9fbf7);
  }
  .hero-content {
    padding: 26px 21px 20px;
  }
  .hero h1 {
    font-size: clamp(29px, 8.1vw, 43px);
    line-height: 1.4;
    letter-spacing: -0.05em;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.85;
    margin-top: 17px;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .button {
    font-size: 13px;
    padding: 11px 18px;
    gap: 9px;
    min-height: 44px;
  }
  .button svg {
    width: 17px;
    height: 17px;
  }
  .platform-line {
    font-size: 12px;
    margin-top: 15px;
  }
  .hero-illustration img {
    height: 400px;
    top: 330px;
    right: -110px;
    opacity: 1;
    mask-image:
      linear-gradient(to right, transparent 5%, #000 29%),
      linear-gradient(0deg, transparent 1%, #000 10%, #000 90%, transparent);
    mask-composite: intersect;
  }
  .hero-mac {
    width: 275px;
    max-width: 77vw;
    margin-top: 280px;
    position: relative;
  }
  .hero-mac img {
    border-radius: 17px;
  }
  .hero::after {
    height: 45px;
  }
  .learning {
    display: flex;
    flex-direction: column-reverse;
    padding-block: 40px 30px;
    gap: 35px;
    overflow: clip;
  }
  .learning-copy {
    width: 100%;
  }
  .learning h2 {
    font-size: 35px;
    line-height: 1.4;
  }
  .learning h2 br {
    display: initial;
  }
  .section-description {
    font-size: 15px;
    margin-top: 13px;
  }
  .learning-points {
    gap: 20px;
    margin-top: 27px;
  }
  .learning-points li {
    gap: 17px;
  }
  .point-icon {
    width: 49px;
    height: 49px;
    border-radius: 15px;
  }
  .learning-points h3 {
    font-size: 17px;
  }
  .learning-points p {
    font-size: 14px;
    margin-top: 3px;
  }
  .learning-visual {
    width: 100%;
    height: 560px;
  }
  .phone {
    width: 230px;
    right: 10px;
    top: 5px;
    border-radius: 36px;
  }
  .phone img {
    border-radius: 29px;
  }
  .phone-island {
    width: 69px;
    height: 18px;
  }
  .learning-mac {
    width: 240px;
    left: 0;
    bottom: 8px;
    z-index: 2;
    border-radius: 15px;
  }
  .learning-scenery {
    width: 100%;
    height: 460px;
    left: 0;
    top: 15px;
    opacity: 0.86;
  }
  .typing-demo {
    padding: 24px 17px 29px;
    border-radius: 27px;
    margin-top: 15px;
  }
  .demo-heading {
    margin-bottom: 18px;
  }
  .demo-heading h2 {
    font-size: 20px;
  }
  .demo-heading p {
    font-size: 12px;
  }
  .demo-workspace {
    gap: 12px;
  }
  .demo-input {
    width: calc(50% - 27px);
    padding-inline: 13px;
    height: 57px;
    font-size: 17px;
  }
  .demo-arrow {
    width: 18px;
    height: 18px;
  }
  .demo-candidate {
    min-width: 100px;
    min-height: 67px;
    padding-inline: 16px;
    border-radius: 20px;
  }
  .demo-candidate > span {
    font-size: 20px;
  }
  .demo-candidate > small {
    font-size: 12px;
  }
  .demo-tools {
    width: 100%;
    justify-content: flex-end;
    margin-top: 2px;
  }
  .demo-replay {
    font-size: 12px;
    padding-inline: 13px;
    min-height: 40px;
  }
  .demo-bottom {
    font-size: 11px;
    margin-top: 15px;
  }
  .sample-words {
    gap: 9px;
  }
  .sample-words button {
    font-size: 12px;
  }
  .demo-status {
    left: 18px;
    bottom: 4px;
    line-height: 1.4;
  }
  .effects-section {
    padding-block: 66px;
    gap: 26px;
  }
  .effects-copy {
    display: flex;
    flex-direction: column;
  }
  .effects-copy h2 {
    font-size: 33px;
    line-height: 1.4;
  }
  .effects-copy h2 br {
    display: initial;
  }
  .effects-copy > .section-description {
    font-size: 15px;
    max-width: none;
  }
  .effects-copy > .text-button {
    font-size: 13px;
    margin-top: 14px;
  }
  .pairing-note {
    margin-top: 29px;
    padding-left: 17px;
  }
  .pairing-note h3 {
    font-size: 19px;
  }
  .pairing-note h3 br {
    display: none;
  }
  .pairing-note p {
    font-size: 13px;
    margin-top: 8px;
    max-width: none;
  }
  .pairing-note small {
    font-size: 11px;
    margin-top: 10px;
  }
  .effect-stage {
    aspect-ratio: 1.35;
    border-radius: 24px;
  }
  .stage-replay {
    width: 39px;
    height: 39px;
    right: 12px;
    bottom: 12px;
  }
  .effect-tabs {
    gap: 7px;
    padding-inline: 0;
    margin-top: 13px;
  }
  .effect-tabs button {
    font-size: 12px;
    min-height: 40px;
  }
  .effect-caption {
    gap: 10px;
    font-size: 10px;
    margin-top: 12px;
  }
  .effect-caption .text-button {
    font-size: 10px;
    gap: 4px;
  }
  .effect-caption svg {
    width: 13px;
    height: 13px;
  }
  .release-section {
    padding: 45px 0 33px;
  }
  .release-heading {
    gap: 13px;
    align-items: flex-start;
    margin-bottom: 29px;
  }
  .release-heading > img {
    width: 65px;
    margin-top: 3px;
  }
  .release-heading h2 {
    font-size: 26px;
    line-height: 1.5;
    letter-spacing: -0.05em;
  }
  .release-heading .section-description {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 9px;
  }
  .platform-availability {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .availability {
    flex-wrap: nowrap;
    padding: 20px 17px;
    gap: 14px;
  }
  .availability-icon {
    width: 47px;
    height: 47px;
    border-radius: 15px;
  }
  .availability h3 {
    font-size: 24px;
    min-width: 77px;
  }
  .availability > div {
    flex-basis: auto;
    margin: 0;
    border-left: 1px solid #b7dcd6;
    padding-left: 15px;
  }
  .availability p {
    font-size: 13px;
    white-space: nowrap;
  }
  .availability > div > span {
    font-size: 12px;
  }
  .faq {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding-top: 24px;
    gap: 12px;
  }
  .faq summary {
    font-size: 15px;
    padding: 17px 18px;
  }
  .faq details p {
    font-size: 13px;
    line-height: 1.9;
  }
  .site-footer {
    padding: 25px 0;
    gap: 22px;
  }
  .footer-brand {
    display: block;
  }
  .footer-brand p {
    border: 0;
    padding: 0;
    margin-top: 15px;
    font-size: 13px;
  }
  .site-footer nav {
    font-size: 12px;
    gap: 22px;
  }
  .copyright {
    font-size: 10px;
  }
  .catalog-dialog,
  .native-dialog {
    padding: 19px;
    border-radius: 22px;
  }
  .dialog-heading h2 {
    font-size: 19px;
  }
  .dialog-heading p {
    font-size: 12px;
  }
  .catalog-search {
    font-size: 13px;
    padding-inline: 13px;
    margin-top: 17px;
  }
  .catalog-categories {
    gap: 7px;
    margin-top: 14px;
  }
  .catalog-categories button {
    font-size: 12px;
    padding: 5px 11px;
  }
  .catalog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .catalog-list li {
    padding: 10px 12px;
  }
  .catalog-list strong {
    font-size: 12px;
  }
  .catalog-list small {
    font-size: 10px;
  }
  .catalog-count,
  .catalog-tip {
    font-size: 11px;
  }
  .native-dialog video {
    margin-top: 12px;
  }
  .document-page > .site-nav {
    padding-inline: 20px;
    min-height: 76px;
  }
  .document-shell {
    padding: 24px 22px 45px;
  }
  .document-shell h1 {
    font-size: 32px;
  }
  .document-intro {
    font-size: 16px;
    margin-bottom: 27px;
  }
  .document-shell h2 {
    font-size: 20px;
  }
  .document-shell p,
  .document-shell li {
    font-size: 14px;
  }
  .document-shell section {
    margin-top: 29px;
  }
  .document-page > .site-footer {
    margin-inline: 20px;
    padding-inline: 0;
  }
  .document-page > .site-footer .brand {
    width: 100%;
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .button:hover,
  .demo-candidate:hover,
  .stage-replay:hover {
    transform: none;
  }
}
