:root {
  color-scheme: light;
  --ink: #1d1633;
  --muted: #585268;
  --violet: #6538d2;
  --violet-dark: #5227b8;
  --paper: #fbfaff;
  --line: #e9e3f2;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 5px; }

.shell { width: min(100% - 5rem, 78rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .8rem 1.15rem; border-radius: .6rem; color: white; background: var(--ink); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

.header-inner { min-height: 5.25rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; font-size: 1.75rem; font-weight: 790; line-height: 1; white-space: nowrap; letter-spacing: -.075em; }
.brand-u { color: var(--violet); }
.brand-symbol { display: inline-flex; flex: 0 0 auto; width: 2.2rem; height: 2.2rem; align-items: center; justify-content: center; gap: .125rem; border-radius: .7rem; background: linear-gradient(155deg, #8855f8, #6032c9); box-shadow: inset 0 1px 1px #ffffff65, 0 4px 8px #6235ca24; }
.brand-symbol i, .mini-wave i, .wave i { display: block; width: .14rem; height: .44rem; border-radius: 1rem; background: currentColor; }
.brand-symbol i { color: #fff; }
.brand-symbol i:nth-child(2), .brand-symbol i:nth-child(4) { height: .66rem; }
.brand-symbol i:nth-child(3) { height: .88rem; }
.navigation { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3rem); color: #423951; font-size: .9375rem; font-weight: 630; }
.navigation a, .footer-languages a { transition: color .18s ease; }
.navigation a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.navigation a:hover, .footer-languages a:hover { color: var(--violet); }
.language-switch { display: inline-flex; justify-self: end; padding: .125rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; white-space: nowrap; }
.language-switch a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding-inline: .5rem; border-radius: 2rem; color: #3d3159; font-size: .875rem; font-weight: 700; transition: background .18s ease, color .18s ease; }
.language-switch a:focus-visible { outline-offset: 1px; }
.language-switch a:hover { background: #f3edff; color: var(--violet-dark); }
.language-switch a[aria-current="page"] { background: var(--violet); color: #fff; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1.17fr; align-items: center; overflow: hidden; margin-top: .75rem; border: 1px solid #ede6fa; border-radius: 2.25rem; background: linear-gradient(117deg, #f5efff 6%, #f0e8ff 53%, #ece4fa 100%); }
.hero-copy { position: relative; z-index: 1; padding: clamp(3.6rem, 6.1vw, 6.2rem) 0 clamp(3.9rem, 6.1vw, 6.2rem) clamp(2.5rem, 5.1vw, 5.35rem); }
.hero-label { display: inline-flex; align-items: center; gap: .55rem; padding: .46rem .83rem; border: 1px solid #fff; border-radius: 2rem; color: #5430a7; background: #ffffff91; font-size: .875rem; font-weight: 710; letter-spacing: .025em; }
.mini-wave { display: inline-flex; gap: .14rem; align-items: center; }
.mini-wave i { height: .45rem; }
.mini-wave i:nth-child(2) { height: .78rem; }
.hero h1 { margin-block: 1.4rem 1.3rem; font-size: clamp(3rem, 5.4vw, 5.05rem); line-height: 1.115; font-weight: 800; letter-spacing: -.045em; }
.hero h1 em { color: var(--violet); font-style: normal; }
.hero-description { max-width: 23rem; color: #524766; font-size: clamp(1rem, 1.32vw, 1.15rem); line-height: 1.78; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .65rem 1.35rem; border-radius: 2rem; font-size: 1rem; font-weight: 730; line-height: 1.25; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { margin-top: 1.8rem; color: #fff; background: var(--violet); box-shadow: 0 .5rem 1.25rem #5d2fc32d; }
.button-primary:hover { background: var(--violet-dark); box-shadow: 0 .6rem 1.3rem #5d2fc34b; }
.hero-visual {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  margin: 1.1rem 1.1rem 1.1rem .55rem;
  border: 1px solid #8c69d9;
  border-radius: 1.55rem;
  background: radial-gradient(ellipse at 80% 43%, #6939be 0%, transparent 57%), radial-gradient(ellipse at 12% 96%, #422279 0%, transparent 58%), #231443;
  box-shadow: inset 0 1px 0 #f0e3ff30, 0 .65rem 2.25rem #6945a737;
  --signal-inset: clamp(1rem, 2.2vw, 2rem);
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(to right, #e7dbff20 1px, transparent 1px), linear-gradient(to bottom, #e7dbff20 1px, transparent 1px);
  background-size: 2rem 2rem;
  background-position: center;
  mask-image: radial-gradient(ellipse 78% 68% at center, #000 25%, transparent 97%);
}
.hero-visual canvas, .signal-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.signal-fallback { object-fit: cover; }
.signal-avatars, .signal-lock { position: absolute; display: none; align-items: center; }
.hero-visual[data-drawn] .signal-avatars, .hero-visual[data-drawn] .signal-lock { display: flex; }
.signal-avatars { top: var(--signal-inset); left: var(--signal-inset); gap: .6rem; }
.signal-avatar {
  width: clamp(2.125rem, 4vw, 3.25rem);
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #d3a5ff;
  background: #ecddff url("assets/signal-avatars.jpg") left center / 200% auto no-repeat;
  box-shadow: 0 0 .85rem #c483ff58;
}
.signal-avatar-cyan { color: #91efff; background-color: #d3f8ff; background-position: right center; box-shadow: 0 0 .85rem #73def34d; }
.signal-lock { right: var(--signal-inset); bottom: var(--signal-inset); gap: .55rem; padding: .4rem .75rem; border: 1px solid #e5d6ff42; border-radius: 2rem; color: #f4ecff; background: #21123e73; font-size: .875rem; font-weight: 650; opacity: 0; transition: opacity .35s ease; }
.hero-visual[data-synced] .signal-lock { opacity: 1; }
.signal-lock i { width: .36rem; height: .36rem; border-radius: 50%; background: #b9f7ff; box-shadow: 0 0 0 .19rem #b9f7ff30, 0 0 .65rem #a5eaff; }
html[lang="en"] .hero h1 { font-size: clamp(3rem, 5.1vw, 4.75rem); letter-spacing: -.068em; }

.section { padding-block: clamp(4rem, 7vw, 6.25rem); }
.section, .about { scroll-margin-top: 1rem; }
.section-heading { max-width: 42rem; margin: 0 auto 2.2rem; text-align: center; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.18; font-weight: 790; letter-spacing: -.042em; }
.section-heading p { margin-top: .8rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature { display: flex; flex-direction: column; min-width: 0; padding: .65rem; border: 1px solid var(--line); border-radius: 1.5rem; background: #fff; }
.feature-art { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1.94; overflow: hidden; border-radius: 1rem; }
.feature-copy { padding: 1.25rem 1rem 1.3rem; }
.feature-copy h3 { margin-bottom: .5rem; font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 780; line-height: 1.25; letter-spacing: -.018em; }
.feature-copy p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

.rooms-art { background: radial-gradient(ellipse at 60% 44%, #f9f2ff, #e9ddfc); color: #925bff; }
.room-orbit { position: absolute; z-index: -1; width: 73%; height: 47%; border: 1px solid #9e6dfb68; border-radius: 50%; transform: rotate(-16deg); }
.room-tile { display: grid; justify-items: center; gap: .55rem; width: 7.5rem; padding: .8rem .65rem .66rem; border: 1px solid #fff8; border-radius: 1.18rem; background: linear-gradient(145deg, #a57afd, #6e39d9 83%); box-shadow: 0 .85rem 1.8rem #6a35b946, inset 0 1px 2px #fff9; transform: rotate(-9deg); }
.wave { display: inline-flex; gap: .28rem; align-items: center; height: 2.1rem; color: #fff; }
.wave i { width: .26rem; height: .55rem; }
.wave i:nth-child(2), .wave i:nth-child(6) { height: 1.08rem; }
.wave i:nth-child(3), .wave i:nth-child(5) { height: 1.55rem; }
.wave i:nth-child(4) { height: 2rem; }
.room-seats { display: inline-flex; gap: .4rem; }
.room-seats i { width: .88rem; aspect-ratio: 1; border: 1px solid #ffffffc9; border-radius: 50%; background: #e6ccff; }
.room-seats i:nth-child(2) { background: #b8d5ff; }
.room-seats i:nth-child(3) { background: #fec7e4; }
.art-spark { position: absolute; font-size: 1.05rem; line-height: 1; }
.spark-one { top: 21%; right: 21%; }
.spark-two { bottom: 24%; left: 19%; font-size: .75rem; }

.feed-art { background: radial-gradient(ellipse at 42% 42%, #f4f9ff, #dce8ff); color: #6b92ec; }
.post { position: absolute; width: 7.1rem; height: 3.65rem; display: grid; grid-template: auto auto / 1.26rem 1fr; align-content: center; align-items: center; gap: .34rem .48rem; padding: .55rem; border: 1px solid #fff; border-radius: .95rem; background: linear-gradient(125deg, #fff, #f2f6ff); box-shadow: 0 .65rem 1.35rem #4873c337; }
.post > i { grid-row: span 2; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: linear-gradient(150deg, #97baff, #6f83ef); }
.post > span { height: .26rem; max-width: 3.25rem; border-radius: 1rem; background: #bdcffa; }
.post > span + span { max-width: 2.35rem; background: #dae5ff; }
.post-back { transform: translate(-.9rem, -.9rem) rotate(-13deg); }
.post-front { transform: translate(.72rem, .85rem) rotate(9deg); }
.post-front > i { background: linear-gradient(150deg, #cfa7ff, #946be8); }
.post b { position: absolute; right: -.45rem; bottom: -.6rem; display: grid; place-items: center; width: 1.65rem; aspect-ratio: 1; border-radius: .55rem; color: #fff; background: #577ce9; font-size: 1.1rem; line-height: 1; }

.chat-art { background: radial-gradient(ellipse at 50% 48%, #f0fefa, #d9f4ed); color: #409a86; }
.small-message { position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; width: 5.9rem; height: 3rem; border-radius: 1rem 1rem 1rem .27rem; border: 1px solid #fff8; box-shadow: 0 .6rem 1.3rem #2c856b35; }
.message-back { transform: translate(-1.15rem, -.9rem) rotate(-10deg); background: #fff; }
.message-back > i { width: .38rem; aspect-ratio: 1; border-radius: 50%; background: #5a9e90; }
.message-front { transform: translate(1.1rem, .85rem) rotate(9deg); border-radius: 1rem 1rem .27rem 1rem; background: linear-gradient(155deg, #63cbb4, #348f7d); }
.message-front .wave { transform: scale(.68); }

.about { background: #f1ebfb; border-block: 1px solid #ece4f9; }
.about-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: start; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
.section-label { margin-bottom: .85rem; color: #5c37ad; font-size: .875rem; font-weight: 730; letter-spacing: .07em; }
.about h2 { font-size: clamp(1.9rem, 3.25vw, 2.8rem); }
.company-subtitle { margin-top: .75rem; color: #5a4e70; font-size: 1rem; font-weight: 580; line-height: 1.55; }
.about-copy > p:first-child { color: #4a405c; font-size: 1.0625rem; line-height: 1.75; }
.market-label { margin-top: 1.1rem; color: #594b73; font-size: .875rem; font-weight: 710; }
.markets { display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.markets li { padding: .34rem .7rem; border: 1px solid #e4d8f7; border-radius: 1.25rem; color: #50377d; background: #fcf9ff; font-size: .875rem; font-weight: 610; }

.contact-section { padding-block: clamp(3.2rem, 6.4vw, 5.2rem); }
.contact-panel { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding: clamp(2rem, 5.5vw, 4.7rem); border-radius: 1.9rem; color: #fff; background: radial-gradient(ellipse at 95% 5%, #523487, transparent 58%), #291b47; }
.contact-intro > p { margin-top: .65rem; color: #e2d8f2; font-size: 1.0625rem; line-height: 1.6; }
.button-email { margin-top: 1.25rem; color: #382159; background: #f6efff; overflow-wrap: anywhere; }
.button-email:hover { background: #e9d9ff; }
.button-email:focus-visible { outline-color: #e9d9ff; }
.envelope { position: relative; width: 1rem; height: .75rem; flex-shrink: 0; overflow: hidden; border: 1.5px solid currentColor; border-radius: .15rem; }
.envelope::after { content: ""; position: absolute; width: .75rem; height: .75rem; top: -.53rem; left: .06rem; border: 1.35px solid currentColor; border-radius: .12rem; transform: rotate(45deg); }
.contact-details { padding-left: clamp(1.2rem, 4vw, 3rem); border-left: 1px solid #ffffff33; }
.contact-details h3 { margin-bottom: .65rem; font-size: .9375rem; font-weight: 720; }
.contact-details address { font-style: normal; }
.contact-details address p { max-width: 29rem; color: #e8dff5; font-size: 1rem; line-height: 1.6; }
.contact-details address p + p { margin-top: .55rem; }
.address-unit { white-space: nowrap; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 5.75rem; align-items: center; gap: 1.25rem; }
.footer-inner .brand { font-size: 1.38rem; }
.footer-inner .brand-symbol { width: 1.75rem; height: 1.75rem; border-radius: .56rem; }
.footer-inner p, .footer-languages { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.footer-languages { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 .85rem; justify-self: end; font-weight: 650; }
.footer-languages a { display: inline-flex; min-height: 2.75rem; align-items: center; white-space: nowrap; }
.footer-languages a[aria-current="page"] { color: var(--violet-dark); font-weight: 750; }

@media (max-width: 62rem) {
  .shell { width: min(100% - 3rem, 78rem); }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-left: 2.5rem; }
  .feature-copy { padding-inline: .65rem; }
}

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding-block: .75rem .25rem; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: clamp(.85rem, 5vw, 2rem); font-size: .875rem; }
  .language-switch { grid-row: 1; grid-column: 2; }
  .hero { display: flex; flex-direction: column; align-items: stretch; border-radius: 1.6rem; margin-top: .35rem; }
  .hero-copy { padding: 2.1rem 1.45rem .35rem; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(2.45rem, 8.75vw, 4rem); margin-block: 1rem .82rem; }
  .hero-description { max-width: 27rem; }
  .button-primary { margin-top: 1.25rem; }
  .hero-visual { aspect-ratio: 1.32; margin: .95rem .65rem .65rem; border-radius: 1rem; }
  .section { padding-block: 3.4rem; }
  .section-heading { margin-bottom: 1.4rem; text-align: left; }
  .section-heading p { margin-top: .6rem; font-size: 1rem; }
  .feature-grid { grid-template-columns: 1fr; gap: .9rem; }
  .feature-art { aspect-ratio: 2.25; }
  .feature-copy { padding: 1rem .85rem 1.1rem; }
  .about-grid, .contact-panel { grid-template-columns: 1fr; gap: 1.3rem; }
  .contact-panel { padding: 1.65rem; border-radius: 1.5rem; }
  .contact-details { padding: 1.15rem 0 0; border-left: 0; border-top: 1px solid #ffffff33; }
  .footer-inner { grid-template-columns: 1fr auto; gap: .35rem 1rem; padding-block: 1rem; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
  .footer-languages { grid-column: 2; grid-row: 1; gap: 0 .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
