:root {
  color-scheme: light;
  --canvas: #fffbf5;
  --surface: #ffffff;
  --surface-muted: #f6f8ff;
  --ink: #10213c;
  --muted: #5f6f87;
  --line: #dce5f2;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --shadow: 0 18px 48px rgba(30, 50, 85, .1);
  --shadow-soft: 0 8px 28px rgba(30, 50, 85, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Hiragino Sans", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .18em; }
img { max-width: 100%; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgba(220,229,242,.78); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-left: auto; }
.site-nav a, .language-menu summary { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.language-menu { position: relative; }
.language-menu summary { display: inline-flex; align-items: center; gap: 4px; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu ul { position: absolute; z-index: 3; right: 0; top: 32px; display: grid; gap: 3px; width: 148px; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); list-style: none; }
.language-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.language-menu a:hover { background: var(--primary-soft); color: var(--primary-dark); }

main { padding: 46px 0 76px; }
.hero { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(32px, 7vw, 90px); }
.hero-primary { min-height: 535px; padding: 46px 0 70px; }
.hero-secondary { margin: 42px 0 120px; padding: clamp(32px, 5vw, 68px); border: 1px solid var(--line); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-soft); }
.hero-copy h1, .hero-copy h2, .section-heading h2, .closing-cta h2, .page-intro h1, .legal-document h1 { margin: 0; color: var(--ink); letter-spacing: -.055em; line-height: 1.08; }
.hero-copy h1 { max-width: 690px; font-size: clamp(44px, 6vw, 76px); }
.hero-copy h2, .section-heading h2, .closing-cta h2, .page-intro h1 { font-size: clamp(33px, 4.2vw, 52px); }
.hero-lead, .hero-copy > p:not(.eyebrow), .page-intro > p, .legal-intro { max-width: 620px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-art, .scene-art { display: grid; place-items: center; }
.hero-art img { width: min(100%, 480px); filter: drop-shadow(0 24px 32px rgba(37,99,235,.13)); }
.scene-art img { width: min(100%, 360px); }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 22px rgba(37,99,235,.24); }
.button-primary:hover { background: var(--primary-dark); }
.button-light { background: #fff; color: var(--primary-dark); }
.button-secondary { background: #fff; border-color: var(--line); color: var(--primary-dark); }
.text-link { color: var(--primary-dark); font-size: 15px; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--primary); }

.content-section { margin: 0 0 120px; }
.section-heading { max-width: 650px; margin-bottom: 36px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 224px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 6px 20px rgba(30,50,85,.04); }
.feature-card > span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 30px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 12px; font-weight: 800; }
.feature-card h2, .feature-card h3 { margin: 22px 0 9px; color: var(--ink); font-size: 20px; letter-spacing: -.025em; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.privacy-panel { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin: 0 0 120px; padding: clamp(36px, 7vw, 78px); overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, #1e4da4, #2563eb); color: #fff; }
.privacy-panel h2 { max-width: 570px; margin: 0; color: #fff; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.12; }
.privacy-panel .eyebrow { color: #c9dbff; }
.privacy-panel p:not(.eyebrow) { max-width: 650px; color: #e9f0ff; font-size: 18px; }
.privacy-panel .button { margin-top: 12px; }
.privacy-mark { flex: 0 0 auto; width: 160px; height: 160px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font-size: 90px; }
.faq-preview { max-width: 790px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.faq-item summary { padding: 17px 28px 17px 0; color: var(--ink); cursor: pointer; font-size: 16px; font-weight: 750; }
.faq-item p { margin: 0 0 18px; color: var(--muted); }
.faq-preview > .text-link { display: inline-block; margin-top: 22px; }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(35px, 6vw, 70px); border-radius: 32px; background: #edf4ff; }
.closing-cta h2 { max-width: 640px; }
.closing-cta p { max-width: 560px; margin: 15px 0 0; color: var(--muted); }

.page-intro { max-width: 740px; margin: 28px 0 52px; }
.steps-grid { margin-bottom: 36px; }
.important-note, .support-panel { display: flex; gap: 18px; max-width: 820px; margin: 44px auto 0; padding: 26px; border: 1px solid #bdd5ff; border-radius: 18px; background: #eff6ff; }
.important-note > span { flex: 0 0 auto; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; }
.important-note h2, .support-panel h2 { margin: 0 0 6px; font-size: 18px; }
.important-note p, .support-panel p { margin: 0; color: var(--muted); }
.faq-page { max-width: 860px; }
.support-panel { display: block; background: var(--surface); border-color: var(--line); }
.support-panel a { color: var(--primary-dark); font-weight: 700; }

.legal-document { max-width: 800px; margin: 24px auto 0; }
.legal-document header { margin-bottom: 48px; }
.legal-document h1 { font-size: clamp(38px, 5vw, 58px); }
.legal-document section { padding: 27px 0; border-top: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 8px; color: var(--ink); font-size: 21px; letter-spacing: -.025em; }
.legal-document p { margin: 0; color: var(--muted); }
.last-updated { margin-top: 20px !important; color: var(--ink) !important; font-size: 14px !important; font-weight: 700; }

.join-legal-links { display: flex; gap: 16px; color: var(--muted); font-size: 13px; font-weight: 700; }
.join-legal-links a { text-decoration: none; }
.join-legal-links a:hover { color: var(--primary); text-decoration: underline; }
.join-card { max-width: 760px; margin: 40px auto 0; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.join-card h1 { max-width: 630px; margin: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.1; }
.join-lead { max-width: 600px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.join-steps { display: grid; gap: 14px; margin: 38px 0; padding: 0; list-style: none; }
.join-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 15px; padding: 16px; border-radius: 16px; background: var(--surface-muted); }
.join-steps li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }
.join-steps h2 { margin: 1px 0 4px; font-size: 16px; line-height: 1.35; }
.join-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.join-actions { display: grid; gap: 14px; }
.join-actions .note { margin: 0; color: var(--muted); font-size: 14px; }
.join-actions .button { width: 100%; }
.join-actions .install-actions { display: grid; gap: 12px; }

.site-footer { display: grid; grid-template-columns: 1.6fr .65fr .85fr; gap: 30px; padding: 38px 0 30px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { max-width: 250px; margin: 13px 0 0; font-size: 14px; }
.site-footer nav { display: grid; align-content: start; gap: 7px; }
.site-footer strong { color: var(--ink); font-size: 14px; }
.site-footer nav a { font-size: 14px; text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); text-decoration: underline; }
.site-footer small { grid-column: 1 / -1; margin-top: 25px; font-size: 12px; }

.locale-chooser { display: grid; min-height: 100vh; place-items: center; padding: 24px; text-align: center; }
.locale-chooser main { width: min(430px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.locale-chooser h1 { margin: 8px 0; font-size: 34px; letter-spacing: -.05em; }
.locale-chooser p { color: var(--muted); }
.locale-chooser ul { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.locale-chooser a { display: block; padding: 10px; border-radius: 10px; background: var(--surface-muted); color: var(--primary-dark); font-weight: 750; text-decoration: none; }
.locale-chooser a:hover { background: var(--primary-soft); }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 30px; }
  .hero-copy h1 { font-size: clamp(42px, 5.2vw, 56px); }
  .hero-art img { max-width: 350px; }
}
@media (max-width: 760px) {
  .page-shell { width: min(100% - 32px, 600px); }
  .site-header { min-height: 78px; gap: 12px; }
  .site-nav { display: none; }
  .join-legal-links { gap: 10px; font-size: 12px; }
  .language-menu { margin-left: auto; }
  main { padding: 25px 0 54px; }
  .hero, .hero-secondary { grid-template-columns: 1fr; }
  .hero-primary { min-height: 0; padding: 26px 0 54px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(100%, 310px); }
  .hero-secondary { margin: 20px 0 74px; padding: 25px; }
  .scene-art, .privacy-mark { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 25px; }
  .content-section, .privacy-panel { margin-bottom: 74px; }
  .privacy-panel { display: block; padding: 32px 26px; }
  .closing-cta { display: block; padding: 32px 26px; }
  .closing-cta .button { margin-top: 20px; }
  .join-card { margin-top: 16px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .site-footer > div { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Homepage: editorial product-story layout */
.landing-hero,
.story-section,
.privacy-section,
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(46px, 9vw, 132px);
  min-height: 600px;
  padding: 74px 0;
}

.landing-copy h1,
.story-copy h2,
.promise-section > h2,
.privacy-copy h2,
.faq-heading h2,
.landing-close h2 {
  margin: 0;
  color: #17233a;
  letter-spacing: -.06em;
  line-height: 1.03;
}

.landing-copy h1 { max-width: 580px; font-size: clamp(50px, 6.1vw, 82px); }
.landing-copy .hero-lead,
.story-copy > p:not(.eyebrow),
.privacy-copy > p:not(.eyebrow),
.landing-close > p:not(.eyebrow) {
  max-width: 520px;
  margin: 23px 0 0;
  color: #66758b;
  font-size: 18px;
  line-height: 1.7;
}

.landing-hero .button-row { margin-top: 30px; }
.landing-hero .button { min-height: 54px; padding: 0 27px; }
.quiet-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 20px; color: #3f58b8; font-size: 14px; font-weight: 750; text-decoration: none; }
.quiet-link:hover { text-decoration: underline; }

.product-stage {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border-radius: 2px;
  background: radial-gradient(circle at 50% 18%, #fff 0, #eff3ff 42%, #dfe8fb 100%);
}

.product-stage > img {
  position: absolute;
  width: 130%;
  max-width: none;
  opacity: .36;
  transform: translate(17%, 20%) scale(1.12);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 220px;
  min-height: 390px;
  padding: 30px 18px 22px;
  overflow: hidden;
  border: 8px solid #263146;
  border-radius: 33px;
  background: #fff;
  box-shadow: 0 28px 38px rgba(42, 59, 94, .28);
  text-align: center;
}

.phone-island { width: 72px; height: 18px; margin: -20px auto 16px; border-radius: 999px; background: #1b263b; }
.phone-brand { margin: 0; color: #25344d; font-size: 13px; font-weight: 800; }
.phone-orbit,
.privacy-orbit { display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8fa9f5, #3657c1); box-shadow: 0 0 0 13px rgba(97, 125, 214, .09), 0 13px 22px rgba(49, 79, 171, .2); }
.phone-orbit { width: 112px; height: 112px; margin: 32px auto 22px; }
.phone-orbit span,
.privacy-orbit span { color: #fff; font-size: 42px; font-weight: 600; }
.phone-status { margin: 0; color: #64748b; font-size: 12px; }
.phone-checkin { display: flex; align-items: center; gap: 9px; margin-top: 27px; padding: 11px; border-radius: 12px; background: #f4f7fe; text-align: left; }
.phone-checkin > span { width: 25px; height: 25px; flex: 0 0 auto; border-radius: 50%; background: #5e7fe1; }
.phone-checkin strong, .phone-checkin small { display: block; }
.phone-checkin strong { color: #32425e; font-size: 10px; }
.phone-checkin small { color: #8491a7; font-size: 8px; }

.story-section { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); min-height: 520px; }
.story-section-warm { margin: 34px calc(50% - 50vw) 0; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #f8fafc; }
.story-copy h2 { max-width: 540px; font-size: clamp(39px, 4.6vw, 61px); }
.story-emphasis { color: #354d8f !important; font-size: 14px !important; font-weight: 750; }
.story-art { min-height: 355px; display: grid; place-items: end center; overflow: hidden; background: linear-gradient(145deg, #fff9f2, #e9efff); }
.story-art img { width: 110%; transform: translateY(15%); }

.promise-section { max-width: 940px; padding: 140px 0; }
.promise-section > h2 { max-width: 650px; font-size: clamp(40px, 4.5vw, 62px); }
.feature-stack { margin-top: 54px; border-top: 1px solid #dfe5ee; }
.feature-row { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid #dfe5ee; }
.feature-row > span { color: #617acb; font-size: 14px; font-weight: 800; }
.feature-row h3 { margin: 0; color: #25334a; font-size: 24px; letter-spacing: -.035em; }
.feature-row p { max-width: 530px; margin: 7px 0 0; color: #718095; }

.privacy-section { grid-template-columns: minmax(310px, .95fr) minmax(0, 1.05fr); min-height: 500px; margin: 0 calc(50% - 50vw); padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #e9efff; }
.privacy-visual { min-height: 320px; display: grid; place-content: center; justify-items: center; color: #2f4da9; }
.privacy-orbit { width: 170px; height: 170px; }
.privacy-visual p { margin: 34px 0 0; color: #5a72bd; font-size: 13px; font-weight: 800; letter-spacing: .12em; line-height: 1.35; text-align: center; }
.privacy-copy h2 { max-width: 520px; font-size: clamp(39px, 4.5vw, 61px); }

.faq-section { min-height: 480px; grid-template-columns: minmax(240px, .75fr) minmax(440px, 1.25fr); }
.faq-heading h2 { font-size: clamp(39px, 4.2vw, 56px); }
.faq-section .faq-list { gap: 0; border-top: 1px solid #dfe5ee; }
.faq-section .faq-item { border: 0; border-bottom: 1px solid #dfe5ee; border-radius: 0; background: transparent; padding: 0; }
.faq-section .faq-item summary { padding: 20px 28px 20px 0; }
.faq-section .faq-item p { padding-right: 22px; }

.landing-close { display: grid; place-items: center; min-height: 420px; margin: 0 calc(50% - 50vw); padding: 92px 20px; background: #243e8c; color: #fff; text-align: center; }
.landing-close .eyebrow { color: #b8c8ff; }
.landing-close h2 { max-width: 720px; color: #fff; font-size: clamp(42px, 5vw, 68px); }
.landing-close > p:not(.eyebrow) { max-width: 590px; color: #dce6ff; }
.landing-close .button { margin-top: 28px; background: #fff; color: #24428d; box-shadow: none; }

@media (max-width: 760px) {
  .landing-hero, .story-section, .privacy-section, .faq-section { grid-template-columns: 1fr; min-height: auto; gap: 38px; padding-top: 55px; padding-bottom: 55px; }
  .landing-copy h1 { font-size: clamp(45px, 14vw, 63px); }
  .product-stage { min-height: 360px; order: -1; }
  .phone-frame { width: 188px; min-height: 332px; transform: scale(.9); }
  .story-section-warm, .privacy-section { padding-right: 24px; padding-left: 24px; }
  .story-art { min-height: 270px; }
  .promise-section { padding: 82px 0; }
  .feature-row { grid-template-columns: 48px 1fr; padding: 24px 0; }
  .feature-row h3 { font-size: 20px; }
  .privacy-visual { min-height: 180px; }
  .privacy-orbit { width: 120px; height: 120px; }
  .faq-section { padding-top: 82px; padding-bottom: 82px; }
  .landing-close { min-height: 370px; }
}
