:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172941;
  background: #f8f7f3;
  font-synthesis: none;
  --ink: #172941;
  --muted: #4e6379;
  --navy: #081c39;
  --accent: #f5ca87;
  --line: #dadfe2;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #2489ca; outline-offset: 5px; }
.wrap { width: min(1136px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; padding: 8px 16px; background: white; z-index: 1; }
.skip:focus { top: 12px; }
.header, .brand, .nav, .hero-actions, .footer-links { display: flex; align-items: center; }
.header { min-height: 76px; justify-content: space-between; gap: 18px; }
.brand { gap: 12px; font-weight: 750; text-decoration: none; }
.brand img { border-radius: 10px; flex: none; }
.nav, .footer-links { gap: 24px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: .93rem; text-decoration: none; }
.nav a:hover, .footer-links a:hover { text-decoration: underline; }

.hero {
  background: radial-gradient(ellipse at 82% 15%, #204567, transparent 57%), var(--navy);
  color: #fafafa;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
  padding-block: clamp(70px, 9vw, 128px);
}
.hero h1 {
  font-size: clamp(3.45rem, 6.2vw, 6.7rem);
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1.06;
  margin: 0;
}
.hero-copy > p { color: #cfdbeb; font-size: clamp(1rem, 1.6vw, 1.24rem); margin: 24px 0 29px; }
.hero-actions { gap: 15px 20px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--accent);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: #ffe0a8; }
.release-status { color: #d5e0ec; font-size: .85rem; }
.quote-example {
  margin: 0;
  padding: clamp(27px, 4.2vw, 54px);
  background: #f9f1e4;
  color: var(--ink);
  border-radius: 17px;
  position: relative;
  box-shadow: 0 22px 52px #030c1e55;
  overflow: hidden;
}
.quote-example figcaption {
  color: #74532b;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
}
.quote-mark {
  position: absolute;
  color: #a95c2021;
  font: 12rem/1 Georgia, "Times New Roman", serif;
  right: 18px;
  top: -2px;
}
.quote-example blockquote { margin: 27px 0 21px; position: relative; }
.quote-example blockquote p { margin: 0; }
.quote-example [lang="en"] {
  max-width: 11ch;
  font: 500 clamp(2.5rem, 4.4vw, 4.5rem)/.99 "Instrument Serif", Georgia, serif;
  letter-spacing: -.05em;
}
.quote-example .translation { margin-top: 22px; font-size: 1.12rem; }
.credit { font-size: .86rem; color: #675e52; border-top: 1px solid #d8c9b5; padding-top: 14px; margin: 0; }

.features { padding-block: 77px 94px; }
.section-heading { margin: 0 0 28px; }
.section-heading h2 { margin: 0; letter-spacing: -.035em; font-size: clamp(1.93rem, 4vw, 2.9rem); line-height: 1.2; }
.section-heading p { color: var(--muted); margin: 11px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.feature-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 9px; font-weight: 700; }
.read-icon { color: #755123; background: #f8ecd5; font-family: Georgia, serif; }
.sound-icon { color: #1d6477; background: #def0f1; gap: 3px; }
.sound-icon i { height: 11px; width: 2.5px; background: currentColor; border-radius: 3px; }
.sound-icon i:nth-child(2), .sound-icon i:nth-child(4) { height: 15px; }
.sound-icon i:nth-child(3) { height: 22px; }
.words-icon { color: #3e5086; background: #e9edfa; }
.feature h3 { margin: 16px 0 6px; line-height: 1.35; font-size: 1.17rem; }
.feature p { margin: 0; color: var(--muted); }
.app-preview {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 212px);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eeeae1;
}
.app-preview h3 { line-height: 1.3; margin: 0 0 12px; font-size: clamp(1.39rem, 3vw, 2rem); }
.app-preview p { color: var(--muted); margin: 0; }
.app-preview figure { margin: 0; }
.app-preview img { display: block; width: 100%; height: auto; border: 1px solid #bfc5c9; border-radius: 10px; }
.app-preview figcaption { margin-top: 8px; font-size: .78rem; color: var(--muted); }

.site-footer { background: #eeede7; border-top: 1px solid var(--line); padding-block: 30px; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 15px 28px; flex-wrap: wrap; }
.footer-identity p { margin: 4px 0; color: var(--muted); }
.footer-links, .footer-identity { font-size: .9rem; }
.filing { display: block; margin-top: 9px; font-size: .8rem; }

.document { width: min(760px, calc(100% - 48px)); margin-inline: auto; padding-block: 40px 76px; overflow-wrap: anywhere; }
.document :is(h1, h2, h3, h4) { line-height: 1.3; margin-top: 1.5em; }
.document h1 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.35rem); }
.document table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.document th, .document td { vertical-align: top; padding: 8px; border: 1px solid var(--line); }
.document a { color: #135d96; }
.document pre { overflow-x: auto; }

@media (max-width: 780px) {
  .wrap { width: calc(100% - 42px); }
  .hero-layout { grid-template-columns: 1fr; gap: 31px; padding-block: 46px; }
  .hero h1 { font-size: clamp(3.2rem, 10.5vw, 4.3rem); }
  .quote-example { width: min(100%, 520px); }
  .quote-example [lang="en"] { max-width: 18ch; }
  .feature-grid, .app-preview { grid-template-columns: 1fr; }
  .app-preview figure { width: min(100%, 212px); margin-inline: auto; }
  .features { padding-block: 52px 60px; }
}

@media (max-width: 420px) {
  .header { min-height: 62px; gap: 9px; }
  .brand { gap: 7px; font-size: .88rem; }
  .brand img { width: 30px; height: 30px; border-radius: 7px; }
  .nav { gap: 9px; }
  .nav a { font-size: .78rem; }
  .hero-copy > p { margin-block: 17px 22px; }
  .desktop-break { display: none; }
}
