@charset "UTF-8";

:root {
  --ink: #15171c;
  --muted: #15171c;
  --soft: #15171c;
  --glass: rgba(236, 240, 243, 0.66);
  --glass-warm: rgba(246, 245, 241, 0.74);
  --sky-top: #6b8499;
  --sky-30: #7f99aa;
  --sky-55: #aebcc2;
  --sky-80: #d6cbb4;
  --sky-bottom: #e2d6bf;
  --cloud: rgba(240, 238, 230, 0.58);
  --focus: #15171c;
  color-scheme: light;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--ink);
  background: #e2d6bf;
  font-family: inherit;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-period="morning"] {
  --sky-top: #8194a9;
  --sky-30: #a4b0c1;
  --sky-55: #cbc8cd;
  --sky-80: #ead6c1;
  --sky-bottom: #f3e7d5;
  --cloud: rgba(245, 237, 229, 0.62);
}

body[data-period="dusk"] {
  --sky-top: #7b8195;
  --sky-30: #858a9e;
  --sky-55: #a393a0;
  --sky-80: #d0a58e;
  --sky-bottom: #e7c5a6;
  --cloud: rgba(239, 214, 205, 0.46);
}

body[data-period="night"] {
  --ink: #f1f3f5;
  --muted: #f1f3f5;
  --soft: #f1f3f5;
  --glass: rgba(25, 38, 55, 0.74);
  --glass-warm: rgba(29, 40, 55, 0.82);
  --sky-top: #101827;
  --sky-30: #17263b;
  --sky-55: #2b3b54;
  --sky-80: #485269;
  --sky-bottom: #5d6070;
  --cloud: rgba(165, 179, 198, 0.16);
  --focus: #ffffff;
  color-scheme: dark;
}

::selection {
  color: #15171c;
  background: rgba(246, 245, 241, 0.88);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  line-height: 1.8;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: #15171c;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sky {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-30) 30%, var(--sky-55) 55%, var(--sky-80) 80%, var(--sky-bottom) 100%);
  transition: background 1.2s ease;
}

.cloud-field {
  position: absolute;
  inset: -8%;
  filter: blur(34px);
}

.cloud {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: var(--cloud);
  animation: cloud-drift 52s ease-in-out infinite alternate;
  transition: background 1.2s ease;
}

.cloud-one {
  top: 9%;
  left: -12%;
  width: min(78vw, 720px);
  height: 15%;
}

.cloud-two {
  top: 25%;
  right: -8%;
  width: min(72vw, 650px);
  height: 13%;
  animation-duration: 64s;
  animation-direction: alternate-reverse;
}

.cloud-three {
  top: 45%;
  left: -12%;
  width: min(86vw, 760px);
  height: 17%;
  animation-duration: 70s;
}

.cloud-four {
  top: 66%;
  right: -6%;
  width: min(80vw, 720px);
  height: 18%;
  animation-duration: 60s;
  animation-direction: alternate-reverse;
}

.cloud-five {
  bottom: 0;
  left: -15%;
  width: min(92vw, 820px);
  height: 17%;
  animation-duration: 76s;
}

@keyframes cloud-drift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to { transform: translate3d(4.5%, 0, 0); }
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.shell {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  height: 82px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(24, 37, 45, 0.12);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}

.main-nav a,
.footer-bottom a {
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.footer-bottom a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: 30px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  padding-bottom: 28px;
  animation: arrive 0.8s ease both;
}

.eyebrow,
.section-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.hero h1 {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.hero-intro {
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 25px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #15171c;
  box-shadow: 0 12px 30px rgba(21, 23, 28, 0.16);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  box-shadow: 0 15px 34px rgba(21, 23, 28, 0.23);
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button-note,
.download-spec {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.hero-device {
  display: flex;
  justify-content: center;
  animation: arrive 1s 0.08s ease both;
}

.phone {
  position: relative;
  width: min(100%, 318px);
  margin: 0;
  padding: 6px;
  overflow: hidden;
  border-radius: 40px;
  background: rgba(20, 25, 32, 0.92);
  box-shadow: 0 28px 70px rgba(29, 39, 49, 0.22), 0 3px 12px rgba(29, 39, 49, 0.14);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.phone-hero {
  width: min(100%, 326px);
}

.section {
  padding: 108px 0;
  scroll-margin-top: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  align-items: center;
  gap: 84px;
}

.feature-grid-reverse {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
}

.feature-grid-reverse .feature-copy {
  order: 2;
}

.feature-grid-reverse .feature-visual {
  order: 1;
}

.feature-copy {
  max-width: 560px;
}

.feature-copy h2,
.peek-heading h2,
.voice-card h2,
.character-inner h2,
.download-heading h2 {
  margin-top: 17px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.25;
}

.feature-copy > p:last-child {
  max-width: 460px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.feature-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.peek-panel {
  padding: 58px 56px 52px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 34px;
  color: #f2f4f6;
  background: rgba(22, 31, 44, 0.91);
  box-shadow: 0 30px 80px rgba(23, 31, 41, 0.2);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
}

.peek-heading {
  max-width: 640px;
}

.peek-heading .section-label,
.peek-heading > p:last-child {
  color: #b9c4d0;
}

.peek-heading h2 {
  color: #f5f6f7;
}

.peek-heading > p:last-child {
  margin-top: 16px;
  font-size: 17px;
}

.peek-gallery {
  margin-top: 38px;
}

.peek-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.peek-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  color: #c2ccd7;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s ease, background 0.2s ease;
}

.peek-tabs a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.peek-tabs a[aria-current="true"],
.peek-tabs a[aria-selected="true"] {
  color: #1d2530;
  background: #edf0f2;
}

.peek-tabs a:focus-visible {
  outline-color: #fff;
}

.peek-screens {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  padding: 4px 4px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #647184 transparent;
}

.peek-screen {
  flex: 0 0 min(270px, 82vw);
  scroll-snap-align: center;
  text-align: center;
}

.peek-screen .phone {
  width: 100%;
  border-radius: 34px;
  background: #303947;
  box-shadow: 0 20px 48px rgba(4, 10, 18, 0.3);
}

.peek-screen .phone img {
  border-radius: 28px;
}

.peek-screen figcaption {
  max-width: 310px;
  margin: 20px auto 0;
  color: #c4cdd7;
  font-size: 14px;
  line-height: 1.7;
}

.peek-gallery.is-enhanced .peek-screens {
  display: block;
  overflow: visible;
  padding-bottom: 0;
}

.peek-gallery.is-enhanced .peek-screen {
  width: min(100%, 292px);
  margin-inline: auto;
}

.voice-card,
.download-card {
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  background: var(--glass-warm);
  box-shadow: 0 22px 65px rgba(52, 57, 61, 0.1);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}

.voice-card {
  max-width: 900px;
  margin-inline: auto;
  padding: 58px 62px;
}

.voice-card > p:nth-of-type(2) {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.voice-examples {
  display: flex;
  gap: 60px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(91, 99, 108, 0.14);
}

.voice-examples p {
  display: grid;
  gap: 4px;
}

.voice-examples strong {
  font-size: 18px;
  font-weight: 600;
}

.voice-examples span {
  color: var(--muted);
  font-size: 14px;
}

.character-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: end;
  gap: 80px;
}

.character-copy > p:first-child {
  color: var(--muted);
  font-size: 16px;
}

.character-names {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 24px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.character-names span {
  color: var(--soft);
  font-weight: 400;
}

.download-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  padding: 58px 62px;
}

.download-heading .button {
  margin-top: 30px;
}

.ios-note {
  margin-top: 10px;
  color: #4f565f;
  font-size: 13px;
}

body[data-period="night"] .ios-note {
  color: #aeb8c4;
}

.download-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 36px;
}

.download-notes h3 {
  margin-bottom: 9px;
  font-size: 15px;
  letter-spacing: 0;
}

.download-notes p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.site-footer {
  padding: 20px 0 40px;
}

.screenshot-note {
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(61, 67, 74, 0.16);
  font-size: 14px;
}

.footer-bottom > a {
  font-weight: 600;
}

.footer-bottom nav {
  display: flex;
  gap: 25px;
  color: var(--muted);
}

@media (min-width: 681px) {
  .shell {
    width: min(1240px, calc(100% - 56px));
  }

  .brand {
    font-size: 20px;
  }

  .main-nav {
    font-size: 15px;
  }

  .eyebrow,
  .section-label {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(50px, 5.25vw, 78px);
  }

  .hero-intro {
    font-size: 21px;
  }

  .phone,
  .phone-hero {
    width: min(100%, 380px);
  }

  .feature-copy {
    max-width: 640px;
  }

  .feature-copy h2,
  .peek-heading h2,
  .voice-card h2,
  .character-inner h2,
  .download-heading h2 {
    font-size: clamp(40px, 4.25vw, 62px);
  }

  .feature-copy > p:last-child {
    max-width: 540px;
    font-size: 19px;
  }

  .peek-heading {
    max-width: 720px;
  }

  .peek-heading > p:last-child {
    font-size: 18px;
  }

  .peek-gallery.is-enhanced .peek-screen {
    width: min(100%, 360px);
  }

  .peek-screen figcaption {
    max-width: 380px;
    font-size: 16px;
  }

  .voice-card {
    max-width: 960px;
  }

  .voice-card > p:nth-of-type(2) {
    max-width: 660px;
    font-size: 19px;
  }

  .character-copy > p:first-child {
    font-size: 18px;
  }

  .download-notes h3 {
    font-size: 16px;
  }

  .download-notes p {
    font-size: 14px;
  }

  .screenshot-note {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(40px, 6vw, 54px);
  }

  .feature-grid,
  .feature-grid-reverse {
    gap: 42px;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .character-inner {
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 48px);
  }

  .site-header {
    height: 68px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .brand img {
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }

  .main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .main-nav a:first-child {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 27px 0 66px;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .eyebrow,
  .section-label {
    font-size: 12px;
  }

  .hero h1 {
    margin-top: 15px;
    font-size: clamp(34px, 9.8vw, 42px);
    line-height: 1.2;
  }

  .hero-intro {
    margin-top: 13px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    min-height: 46px;
    padding: 11px 21px;
    font-size: 14px;
  }

  .button-note {
    display: inline-block;
    margin: 0 0 0 12px;
    font-size: 11px;
  }

  .hero-device {
    margin-top: 28px;
  }

  .phone-hero {
    width: 238px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .feature-grid-reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .feature-grid-reverse .feature-copy,
  .feature-grid-reverse .feature-visual {
    order: initial;
  }

  .feature-copy h2,
  .peek-heading h2,
  .voice-card h2,
  .character-inner h2,
  .download-heading h2 {
    margin-top: 13px;
    font-size: 34px;
    line-height: 1.28;
  }

  .feature-copy > p:last-child {
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.85;
  }

  .feature-visual .phone {
    width: 270px;
  }

  .peek-section .shell {
    width: calc(100% - 28px);
  }

  .peek-panel {
    padding: 34px 20px 32px;
    border-radius: 28px;
  }

  .peek-heading {
    padding-inline: 4px;
  }

  .peek-heading > p:last-child {
    margin-top: 12px;
    font-size: 16px;
  }

  .peek-gallery {
    margin-top: 26px;
  }

  .peek-tabs {
    flex-wrap: nowrap;
    margin-inline: -4px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .peek-tabs::-webkit-scrollbar {
    display: none;
  }

  .peek-gallery.is-enhanced .peek-tabs {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%);
  }

  .peek-gallery.is-enhanced .peek-tabs.is-at-end {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .peek-tabs a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 13px;
    font-size: 12px;
  }

  .peek-screens {
    margin-top: 24px;
  }

  .peek-screen {
    flex-basis: min(246px, 76vw);
  }

  .peek-gallery.is-enhanced .peek-screen {
    width: min(100%, 254px);
  }

  .peek-screen figcaption {
    margin-top: 17px;
    font-size: 13px;
  }

  .voice-card,
  .download-card {
    padding: 34px 26px;
    border-radius: 26px;
  }

  .voice-card h2 {
    font-size: 32px;
  }

  .voice-card > p:nth-of-type(2) {
    margin-top: 17px;
    font-size: 16px;
  }

  .voice-examples {
    flex-direction: column;
    gap: 20px;
    margin-top: 26px;
    padding-top: 22px;
  }

  .character-inner {
    display: block;
  }

  .character-copy {
    margin-top: 22px;
  }

  .character-copy > p:first-child {
    font-size: 15px;
  }

  .character-names {
    margin-top: 20px;
    font-size: 20px;
  }

  .download-section {
    padding-top: 40px;
  }

  .download-heading h2 {
    font-size: 30px;
  }

  .download-card {
    gap: 36px;
  }

  .download-heading .button {
    margin-top: 24px;
  }

  .download-notes {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-notes p {
    font-size: 13px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 370px) {
  .shell {
    width: calc(100% - 40px);
  }

  .main-nav {
    gap: 12px;
  }

  .hero h1 {
    font-size: 33px;
  }

  .voice-card h2 {
    font-size: 28px;
  }

  .button-note {
    display: block;
    margin: 9px 0 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
