:root {
  color-scheme: light;
  --pine: #285c48;
  --forest: #185745;
  --teal: #07675d;
  --ink: #293b52;
  --muted: #536274;
  --cream: #f7f4eb;
  --gold: #d6c297;
  --line: #e1e8e5;
  --mint: #e7f3ee;
  --wrap: 1180px;
  --side: clamp(20px, 5.6vw, 76px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #086d60; outline-offset: 4px; }
#download, #features, #contact { scroll-margin-top: 24px; }
:is(#download, #features, #contact):focus { outline: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--side)); margin-inline: auto; }
.icon { display: block; width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 10px 16px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 1; background: #fff; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: clamp(18px, 2.1vw, 27px); font-weight: 750; white-space: nowrap; }
.brand img { width: auto; height: 42px; mix-blend-mode: multiply; }
.header-inner nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: 15px; white-space: nowrap; }
.header-inner nav a:not(.nav-download):hover,
.header-inner nav [aria-current="page"] { color: var(--forest); text-decoration: underline; text-underline-offset: 7px; }
.nav-download { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); border: 1px solid currentColor; border-radius: 999px; padding: 8px 15px; font-weight: 650; }
.nav-download-status { font-size: 12px; font-weight: 500; }
.nav-download:hover { background: var(--mint); }

.hero {
  position: relative;
  overflow: clip;
  background: linear-gradient(123deg, #fcfaf5 5%, #f8f7f1 49%, #edf4ed 100%);
  isolation: isolate;
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {
  inset: 0;
  background:
    radial-gradient(ellipse 115% 72% at 42% -25%, #fff 52%, transparent 53%),
    radial-gradient(ellipse 105% 80% at 86% 2%, transparent 60%, #fff8 61%, transparent 71%),
    radial-gradient(ellipse 110% 85% at -29% 91%, #fff8 46%, #e1ddcf29 47%, transparent 58%),
    radial-gradient(ellipse 58% 62% at 105% 101%, #dbece2 56%, transparent 57%);
}
.hero::after {
  z-index: 0;
  inset: auto -3% -22px;
  height: 18%;
  background: linear-gradient(172deg, transparent, #fff 69%);
  clip-path: polygon(0 8%, 15% 54%, 31% 63%, 50% 51%, 70% 32%, 84% 31%, 100% 7%, 100% 100%, 0 100%);
}
.hero-inner { position: relative; min-height: clamp(470px, 43vw, 610px); display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: 12px; }
.hero-copy { position: relative; z-index: 1; padding-block: 44px 54px; }
.hero-kicker { margin-bottom: 16px; color: #a95320; font-weight: 650; font-size: clamp(14px, 1.45vw, 19px); }
.hero h1 { color: #263a54; font-size: clamp(35px, 5vw, 72px); line-height: 1.19; letter-spacing: -.045em; font-weight: 800; }
.hero h1 span { color: var(--teal); }
.hero-description { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.65vw, 23px); line-height: 1.64; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 10px 18px; border: 0; border-radius: 10px; color: #fff; font-size: clamp(14px, 1.44vw, 18px); font-weight: 650; line-height: 1.25; white-space: nowrap; }
.download-button.apple { background: #171a19; }
.download-button.android { background: var(--teal); }
.download-button:hover { filter: brightness(1.15); }
.download-button .icon { width: 23px; height: 23px; }
.download-label { display: grid; gap: 2px; text-align: left; }
.download-label small { font-size: 12px; font-weight: 500; }

.hero-visual { position: relative; height: min(90%, 540px); min-width: 0; perspective: 960px; container-type: size; }
.hero-visual::before {
  content: ""; position: absolute; width: 95%; height: 12%; left: 5%; bottom: 3%;
  background: radial-gradient(ellipse, #36544535, transparent 68%); filter: blur(7px);
}
.phone { position: absolute; width: min(45%, 40cqh, 222px); aspect-ratio: 480 / 1066; padding: 5px; border: 1px solid #4a5e55; border-radius: 13% / 6%; background: #17201c; box-shadow: 4px 2px 0 #85988b, 5px 3px 0 #51645a, 14px 22px 32px #344b4435; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5%; }
.phone-front { bottom: 7%; left: 11%; transform: rotate(-5deg) rotateY(-9deg); z-index: 1; }
.phone-rear { bottom: 3%; right: 7%; transform: rotate(7deg) rotateY(-11deg) scale(.86); transform-origin: bottom right; }

.section { padding-top: clamp(35px, 4.2vw, 62px); }
.section-heading { text-align: center; margin-bottom: clamp(21px, 2.5vw, 34px); }
.section-heading h2 { color: var(--teal); font-size: clamp(25px, 3.25vw, 46px); line-height: 1.26; letter-spacing: -.035em; text-wrap: balance; }
.section-heading p { color: var(--muted); margin-top: 8px; font-size: clamp(16px, 1.55vw, 21px); }
.feature-list { display: grid; gap: clamp(8px, 1vw, 13px); }
.feature { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(16px, 2vw, 32px); min-height: clamp(166px, 15vw, 206px); padding: 12px 12px 12px clamp(18px, 3.5vw, 46px); border-radius: 17px; background: linear-gradient(112deg, #f3f6f4, #f7f8f7); }
.feature-copy { display: flex; align-items: flex-start; gap: clamp(12px, 2.15vw, 29px); color: var(--teal); }
.feature-copy .icon { width: clamp(31px, 4vw, 53px); height: clamp(31px, 4vw, 53px); }
.feature h3 { font-size: clamp(21px, 2.4vw, 33px); line-height: 1.25; }
.feature-copy p { color: var(--muted); margin-top: 8px; font-size: clamp(15px, 1.42vw, 19px); }
.feature-copy small { display: inline-block; margin-top: 6px; }
.demo { font-size: clamp(12px, 1.1vw, 15px); min-width: 0; width: 100%; padding: 14px 18px 8px; align-self: stretch; border-radius: 13px; background: #fff; border: 1px solid #edf1ee; box-shadow: 0 4px 13px #243a3110; display: flex; flex-direction: column; }
.demo-heading { color: var(--ink); font-size: 1.07em; font-weight: 730; margin-bottom: 7px; }
.demo small { color: var(--muted); font-size: .9em; }
.demo figcaption { align-self: flex-end; color: var(--muted); font-size: .8em; margin-top: auto; padding-top: 4px; }
.schedule-heading { text-align: center; }
.schedule { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding-block: 4px; text-align: center; color: var(--muted); background: repeating-linear-gradient(0deg, #edf2ef 0 1px, transparent 1px 26px) 0 16px; }
.schedule > div > span { display: block; margin-bottom: 7px; }
.schedule b { display: grid; border-radius: 6px; background: var(--mint); color: var(--teal); padding: 5px 1px; line-height: 1.45; }
.schedule > div:nth-child(3) b { margin-top: 18px; }
.demo .sand { background: #f9efde; color: #895027; }
.student-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.student-heading small, .timeline small { display: block; }
.student-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eef4f2; color: #547168; display: grid; place-items: center; }
.student-avatar .icon { width: 21px; height: 21px; }
.timeline, .demo-list { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 10px; align-items: baseline; padding-block: 3px; }
.timeline time { flex: 0 0 5.2em; color: var(--muted); }
.timeline i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.timeline li:nth-child(2) i { background: #bd8348; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.split small { color: var(--teal); }
.demo-list li { display: flex; align-items: center; gap: 8px; min-height: 30px; padding-block: 4px; border-top: 1px solid #edf1ee; }
.demo-check { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; border: 1px solid #b7c5c3; }
.demo-check.is-checked { background: #b2e9d0; border-color: #b2e9d0; color: #0e5c44; }
.demo .status { margin-left: auto; min-width: 6em; text-align: center; padding: 2px 8px; border-radius: 4px; background: var(--mint); color: var(--teal); }
.demo .status.sand { background: #f9efde; color: #895027; }
.report-list { color: var(--muted); margin: 0; padding-left: 1.4em; }
.report-list li + li { margin-top: 4px; }
.demo-tools { display: flex; gap: 6px; margin-top: 8px; }
.demo-tools span { border: 1px solid var(--line); padding: 2px 15px; border-radius: 5px; }
.recording { display: flex; align-items: center; gap: 10px; padding-block: 3px 10px; }
.play-icon { display: grid; place-items: center; color: var(--teal); background: var(--mint); width: 34px; aspect-ratio: 1; border-radius: 50%; }
.waveform { display: flex; align-items: center; gap: clamp(2px, .35vw, 5px); padding-inline: 4px; }
.waveform i { width: clamp(2px, .35vw, 5px); height: var(--h); background: #50b997; border-radius: 4px; }
.waveform i:nth-child(n+11) { background: var(--teal); }
.transcript { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; color: var(--muted); }

.scenes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 14px; margin: 0; padding: clamp(25px, 4vw, 48px) 14px; border-radius: 17px; background: var(--cream); text-align: center; }
.scene-icon { display: grid; place-items: center; width: clamp(50px, 6.7vw, 82px); aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%; border: 1px solid #8bcbb9; background: #fbfdf9; }
.scene-icon .icon { width: 48%; height: 48%; color: var(--teal); }
.scenes h3, .contact-card h3 { color: var(--teal); font-size: clamp(17px, 1.8vw, 24px); }
.scenes p, .contact-card p, .contact-card a { color: var(--muted); font-size: clamp(14px, 1.35vw, 17px); }
.scenes p { text-wrap: balance; }
.contact-section { padding-bottom: clamp(32px, 4vw, 55px); }
.contact-card { display: grid; grid-template-columns: 1.15fr 1fr; background: #eaf6f2; border-radius: 16px; padding: clamp(22px, 4vw, 46px) clamp(14px, 4vw, 50px); }
.contact-channel { display: flex; justify-content: center; align-items: center; gap: clamp(11px, 2vw, 24px); padding: 0 12px; }
.contact-channel + .contact-channel { border-left: 1px solid #c7ddd5; }
.contact-channel .icon { color: var(--teal); width: clamp(36px, 4.5vw, 61px); height: clamp(36px, 4.5vw, 61px); }
.contact-card a, .support-panel a, .guide a { color: var(--teal); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 16px 0 26px; background: #fafcfb; }
.footer-main { display: grid; grid-template-columns: 1.65fr .7fr .7fr; gap: 22px; padding: 18px 0 24px; }
.footer-main .brand { font-size: 22px; }
.footer-main .brand img { height: 38px; }
.footer-tagline { color: var(--muted); font-size: 14px; padding-left: 52px; }
.footer-main nav { display: grid; align-content: start; justify-items: start; gap: 4px; }
.footer-main nav h2 { color: var(--ink); font-size: 15px; }
.footer-main nav a, .text-button { color: var(--muted); font-size: 14px; }
.text-button { background: none; border: 0; padding: 0; text-align: left; }
.footer-main nav a:hover, .text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; justify-content: space-between; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 13px; }
[data-registration] a { margin-inline-start: 10px; text-decoration: underline; }
.footer-legal a:hover { text-decoration: underline; }

.support-trigger { position: fixed; z-index: 2; right: 12px; top: min(66vh, 540px); display: grid; place-items: center; gap: 4px; padding: 9px; min-width: 51px; border: 1px solid #e2ebe7; border-radius: 13px; background: #fff; box-shadow: 0 5px 16px #233b3220; color: var(--teal); font-size: 13px; font-weight: 700; }
.support-trigger:hover { background: #f4faf7; }
.support-panel { position: fixed; inset: min(61vh, 500px) 73px auto auto; margin: 0; width: min(260px, 100vw - 90px); padding: 14px; max-height: calc(100dvh - min(61vh, 500px) - 12px); overflow: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 30px #233b3229; background: #fff; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-header h2 { color: var(--forest); font-size: 17px; }
.close-button { min-width: 32px; height: 32px; background: #edf5f1; border: 0; border-radius: 50%; color: var(--forest); font-size: 23px; line-height: 1; }
.support-panel p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.support-panel a { font-size: 14px; }
.support-panel [data-qr] { margin-top: 8px; text-align: center; }
.support-panel [data-qr] img { margin-inline: auto; object-fit: contain; }
.information-dialog { width: min(420px, 100% - 40px); border: 1px solid var(--line); border-radius: 17px; padding: 24px; color: var(--ink); background: #fff; box-shadow: 0 10px 32px #233b3230; }
.information-dialog::backdrop { background: #152a2466; }
.information-dialog h2 { color: var(--forest); font-size: 23px; }
.information-dialog p { margin-block: 9px 18px; }
.information-dialog form { display: flex; justify-content: end; }
.action-button { color: #fff; background: var(--teal); border: 0; padding: 9px 18px; border-radius: 8px; }

.faq-page { background: #f5f7f8; }
.faq-hero { overflow: hidden; background: linear-gradient(115deg, #fbf9f2, #f6f0e4 80%); }
.faq-hero-inner { position: relative; display: flex; min-height: clamp(245px, 25vw, 340px); align-items: center; isolation: isolate; }
.faq-hero-inner > div { max-width: 74%; padding-block: 28px; }
.faq-hero img { position: absolute; z-index: -1; right: -3%; bottom: 0; width: clamp(235px, 32vw, 405px); height: auto; mask-image: linear-gradient(90deg, transparent, #000 17%, #000 92%, transparent); }
.faq-hero h1, .guide h1 { color: var(--forest); font-size: clamp(31px, 4.25vw, 57px); line-height: 1.24; letter-spacing: -.045em; }
.faq-hero h1 { margin-top: 12px; }
.faq-hero p, .guide header p { color: var(--muted); font-size: clamp(16px, 1.8vw, 23px); margin-top: 10px; }
.faq-tag { display: inline-block; color: #374a41; background: #f6ead2; border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 650; }
.faq-content { padding-block: 40px 35px; }
.faq-layout { display: grid; grid-template-columns: minmax(155px, .9fr) minmax(0, 3.8fr); gap: clamp(17px, 2.8vw, 40px); }
.faq-filters { display: grid; align-content: start; gap: 8px; }
.faq-filter { display: flex; align-items: center; gap: 10px; padding: 13px; background: transparent; border: 0; border-radius: 12px; color: var(--muted); text-align: left; min-height: 46px; white-space: nowrap; }
.faq-filter[aria-pressed="true"], .faq-filter:hover { background: #e3efea; color: var(--forest); }
.faq-filter[aria-pressed="true"] { font-weight: 700; }
.faq-filter .icon { width: 20px; height: 20px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.faq-card { border: 1px solid #e7eeeb; border-radius: 13px; background: #fff; box-shadow: 0 5px 14px #294b3f08; }
.faq-card summary { display: block; position: relative; border-radius: 13px; padding: 17px 44px 13px 18px; cursor: pointer; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { content: "+"; position: absolute; top: 17px; right: 15px; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); line-height: 1; }
.faq-card[open] summary::after { content: "−"; }
.faq-question { display: block; color: var(--forest); margin-top: 7px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 750; }
.faq-card p { padding: 0 18px 17px; color: var(--muted); }
.faq-help { margin-top: 28px; padding: 22px clamp(18px, 5vw, 72px); display: flex; align-items: center; gap: 18px; background: linear-gradient(112deg, #edf4ec 43%, #e7ede0 70%, #f3e8d1); border-radius: 14px; color: var(--forest); }
.faq-help:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
.faq-help h2 { font-size: clamp(19px, 2.3vw, 27px); }
.faq-help p { color: var(--muted); }
.faq-help .icon { width: 39px; height: 39px; }

.guide-page { background: #f7f9f7; padding-block: 45px; }
.guide { max-width: 850px; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 5vw, 50px); background: #fff; }
.guide h2 { font-size: 23px; color: var(--forest); margin-top: 24px; }
.guide ol { padding-left: 1.5em; }
.guide li + li, .guide p + p { margin-top: 8px; }

@media (max-width: 980px) {
  .hero-inner { min-height: clamp(416px, 49vw, 495px); }
  .hero-visual { height: 92%; }
  .phone-front { left: 3%; bottom: 9%; }
  .phone-rear { right: 5%; bottom: 8%; }
  .faq-hero-inner > div { max-width: 69%; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 65px; }
  .header-inner nav { gap: 11px; font-size: 13px; }
  .brand { gap: 5px; }
  .brand img { height: 32px; }
  .nav-download { padding: 6px 9px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 35px 0 0; }
  .hero h1 { font-size: clamp(33px, 8vw, 53px); }
  .hero-kicker { margin-bottom: 10px; }
  .hero-description { margin-top: 12px; }
  .download-actions { margin-top: 18px; }
  .download-button { min-height: 46px; padding-inline: 13px; }
  .hero-visual { width: min(100%, 440px); height: clamp(316px, 92vw, 445px); margin-top: 20px; justify-self: center; }
  .phone { width: clamp(114px, 43%, 175px); }
  .phone-front { left: 12%; bottom: 4%; }
  .phone-rear { right: 11%; bottom: 6%; }
  .feature { grid-template-columns: 1fr; min-height: auto; gap: 14px; padding: 17px 13px 13px; }
  .feature-copy { padding-inline: 3px; }
  .feature-copy p { margin-top: 5px; }
  .demo { min-height: 158px; }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 23px; }
  .contact-card { grid-template-columns: 1fr; gap: 15px; }
  .contact-channel { justify-content: start; padding-inline: 4px; }
  .contact-channel + .contact-channel { border-left: 0; border-top: 1px solid #c7ddd5; padding-top: 15px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 19px 11px; }
  .footer-main > div { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
  .support-trigger { top: auto; bottom: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-width: 46px; padding: 6px 7px; right: 9px; }
  .support-trigger .icon { width: 20px; height: 20px; }
  .support-panel { inset: auto 9px 76px auto; width: min(260px, 100% - 18px); max-height: calc(100dvh - 94px); }
  .faq-hero-inner { min-height: 232px; }
  .faq-hero-inner > div { max-width: 64%; }
  .faq-hero img { right: -12%; width: 48%; min-width: 145px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-content { padding-top: 21px; }
  .faq-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-filter { background: #fff; }
}

@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; padding-top: 9px; gap: 4px; }
  .header-inner nav { justify-content: space-between; width: 100%; padding-block: 3px 9px; }
  .header-inner nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
