:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --paper-2: #ebe7de;
  --ink: #07111f;
  --muted: #68706d;
  --line: rgba(7, 17, 31, 0.14);
  --accent: #ff4f18;
  --blue: #0e5969;
  --green: #506657;
  --white: #fffaf2;
  --shadow: 0 22px 70px rgba(7, 17, 31, 0.14);
  --max: 1200px;
  --header: 74px;
  --radius: 8px;
  font-family: "Avenir Next", "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 76%, white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  font-weight: 900;
  letter-spacing: -0.06em;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.brand-mark span {
  width: 18px;
  height: 18px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  margin: 0 1px 0 2px;
}

.brand-name {
  display: grid;
  gap: 1px;
}

.brand-name strong {
  font-size: 13px;
  letter-spacing: 0.18em;
}

.brand-name small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a::before {
  content: "+";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 800;
}

.header-actions {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.header-cta,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.lang-toggle {
  background: rgba(255, 250, 242, 0.72);
  color: var(--ink);
  padding: 0 13px;
}

.header-cta {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  padding: 0 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100svh - var(--header) - 18px));
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.78) 0%, rgba(246, 242, 234, 0.48) 43%, rgba(246, 242, 234, 0.92) 100%),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 48%, rgba(7, 17, 31, 0.14));
}

.hero-media {
  z-index: -2;
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  text-align: center;
  padding: 54px 0 128px;
}

.eyebrow,
.section-label,
.pill {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero h1 {
  margin: 22px auto 0;
  display: grid;
  gap: 6px;
  line-height: 0.9;
}

.hero h1 span {
  font-size: clamp(84px, 17vw, 214px);
  letter-spacing: -0.085em;
  font-weight: 950;
}

.hero h1 em {
  font-style: normal;
  font-size: clamp(31px, 5.7vw, 78px);
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-kicker {
  margin: 22px 0 0;
  font-weight: 800;
  color: var(--blue);
}

.hero-copy {
  width: min(760px, 100%);
  margin: 16px auto 0;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 720;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 0 20px;
  min-width: 168px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(255, 79, 24, 0.25);
}

.btn-ghost {
  background: rgba(255, 250, 242, 0.78);
  color: var(--ink);
}

.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(7, 17, 31, 0.14);
  background: rgba(246, 242, 234, 0.78);
  backdrop-filter: blur(18px);
}

.hero-footer div {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 16px clamp(18px, 4vw, 40px);
  border-left: 1px solid rgba(7, 17, 31, 0.11);
}

.hero-footer div:first-child {
  border-left: 0;
}

.hero-footer span {
  font-weight: 900;
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: -0.04em;
}

.hero-footer small {
  color: var(--muted);
  font-weight: 720;
}

.section-pad {
  padding: clamp(74px, 10vw, 126px) clamp(20px, 4vw, 40px);
}

.intro-band {
  padding: clamp(48px, 7vw, 84px) clamp(20px, 4vw, 40px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.83fr;
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.072em;
}

.section-grid > p,
.section-heading > p,
.product-feature p,
.proof-content p,
.contact-copy p {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 76%, var(--muted));
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 650;
}

.section-heading {
  width: min(880px, 100%);
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.section-heading.align-left {
  width: min(var(--max), 100%);
  text-align: left;
}

.section-heading p:last-child {
  margin: 18px auto 0;
  width: min(680px, 100%);
}

.capability-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.capability-row {
  border-bottom: 1px solid var(--line);
}

.capability-row button {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 88px 1fr 44px;
  align-items: center;
  gap: 24px;
  min-height: 116px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.row-number {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--blue);
}

.row-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.row-icon {
  width: 36px;
  height: 36px;
  position: relative;
  justify-self: end;
}

.row-icon::before,
.row-icon::after {
  content: "";
  position: absolute;
  inset: 17px 3px auto;
  height: 4px;
  background: var(--accent);
}

.row-icon::after {
  transform: rotate(90deg);
  transition: transform 220ms ease;
}

.capability-row.is-open .row-icon::after {
  transform: rotate(0deg);
}

.row-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.row-panel p {
  overflow: hidden;
  width: min(690px, calc(100% - 112px));
  margin: 0 44px 0 auto;
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
  font-size: 18px;
  font-weight: 650;
}

.capability-row.is-open .row-panel {
  grid-template-rows: 1fr;
}

.capability-row.is-open .row-panel p {
  padding-bottom: 34px;
}

.product-stage {
  padding: clamp(74px, 10vw, 126px) clamp(20px, 4vw, 40px);
  background: #101a22;
  color: var(--white);
}

.product-stage .section-label {
  color: color-mix(in srgb, var(--white) 62%, var(--accent));
}

.product-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.product-feature {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  border: 1px solid rgba(255, 250, 242, 0.16);
  background: #17232d;
}

.product-feature-large {
  grid-row: span 2;
  min-height: 690px;
}

.product-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 600ms ease;
}

.product-feature-large img {
  object-fit: contain;
  padding: 7%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #ecebe8 42%, #dde2e1 100%);
}

.product-feature:hover img {
  transform: scale(1.035);
}

.product-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.02) 10%, rgba(7, 17, 31, 0.75) 72%, rgba(7, 17, 31, 0.9));
}

.product-feature > div {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 4vw, 38px);
}

.product-feature h3 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.product-feature p {
  color: rgba(255, 250, 242, 0.82);
}

.product-feature .pill {
  color: #ffd7c8;
}

.channels {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.platform-strip {
  width: min(var(--max), 100%);
  margin: clamp(38px, 6vw, 70px) auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-logo {
  min-height: 142px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-left: 1px solid var(--line);
}

.platform-logo:first-child {
  border-left: 0;
}

.platform-logo img {
  max-width: 148px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1);
}

.platform-logo span {
  font-weight: 860;
  text-align: center;
}

.proof {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  min-height: 720px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.proof-media {
  min-height: 520px;
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-content {
  padding: clamp(48px, 7vw, 90px);
  display: grid;
  align-content: center;
}

.metrics {
  margin-top: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.metrics div {
  min-height: 140px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metrics div:nth-child(odd) {
  border-left: 0;
}

.metrics strong {
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.metrics span {
  color: var(--muted);
  font-weight: 720;
}

.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
}

.contact-copy h2 {
  margin-top: 10px;
}

.contact-copy p:last-child {
  margin-top: 18px;
  width: min(720px, 100%);
}

.contact-panel {
  min-height: 280px;
  padding: clamp(26px, 5vw, 44px);
  display: grid;
  align-content: center;
  gap: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 79, 24, 0.92), rgba(14, 89, 105, 0.96)),
    var(--accent);
  box-shadow: var(--shadow);
}

.contact-panel span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
  opacity: 0.86;
}

.contact-panel strong {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.contact-panel a {
  margin-top: 14px;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  font-weight: 860;
}

.site-footer {
  min-height: 116px;
  padding: 28px clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.site-footer > div:first-child {
  display: grid;
  gap: 3px;
}

.site-footer strong {
  letter-spacing: -0.04em;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
  font-weight: 720;
}

.site-footer a {
  justify-self: end;
}

.footer-wave {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-wave span {
  width: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.footer-wave span:nth-child(1) { height: 18px; }
.footer-wave span:nth-child(2) { height: 34px; background: var(--blue); }
.footer-wave span:nth-child(3) { height: 54px; }
.footer-wave span:nth-child(4) { height: 28px; background: var(--green); }
.footer-wave span:nth-child(5) { height: 44px; }
.footer-wave span:nth-child(6) { height: 20px; background: var(--blue); }

[data-lang="zh-HK"] .brand-name strong,
[data-lang="zh-HK"] .brand-name small,
[data-lang="zh-HK"] .nav-links,
[data-lang="zh-HK"] .hero-kicker,
[data-lang="zh-HK"] .hero-copy,
[data-lang="zh-HK"] .section-grid > p,
[data-lang="zh-HK"] .section-heading > p,
[data-lang="zh-HK"] .product-feature p,
[data-lang="zh-HK"] .row-panel p,
[data-lang="zh-HK"] .metrics span,
[data-lang="zh-HK"] .contact-copy p {
  letter-spacing: 0;
}

[data-lang="zh-HK"] h2,
[data-lang="zh-HK"] .row-title,
[data-lang="zh-HK"] .product-feature h3,
[data-lang="zh-HK"] .contact-panel strong,
[data-lang="zh-HK"] .hero h1 em {
  letter-spacing: -0.04em;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .brand-name small {
    display: none;
  }

  .hero {
    min-height: calc(100svh - var(--header) - 22px);
  }

  .hero-content {
    padding-top: 38px;
    padding-bottom: 150px;
  }

  .hero-footer {
    grid-template-columns: 1fr;
  }

  .hero-footer div {
    min-height: 58px;
    border-left: 0;
    border-top: 1px solid rgba(7, 17, 31, 0.11);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .section-grid,
  .product-layout,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-feature,
  .product-feature-large {
    min-height: 470px;
  }

  .platform-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-logo:nth-child(odd) {
    border-left: 0;
  }

  .proof-content {
    padding: clamp(40px, 8vw, 70px) clamp(20px, 4vw, 40px);
  }
}

@media (max-width: 620px) {
  :root {
    --header: 68px;
  }

  .site-header {
    padding-inline: 14px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    font-size: 24px;
  }

  .brand-mark span {
    width: 15px;
    height: 15px;
    border-width: 4px;
  }

  .brand-name strong {
    font-size: 11px;
  }

  .header-cta {
    display: none;
  }

  .lang-toggle {
    min-width: 82px;
    padding-inline: 10px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 176px;
  }

  .hero h1 span {
    font-size: clamp(76px, 25vw, 116px);
  }

  .hero h1 em {
    font-size: clamp(30px, 11vw, 46px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .capability-row button {
    min-height: 96px;
    grid-template-columns: 54px 1fr 30px;
    gap: 14px;
  }

  .row-number {
    font-size: 28px;
  }

  .row-title {
    font-size: clamp(27px, 9vw, 40px);
  }

  .row-icon {
    width: 28px;
    height: 28px;
  }

  .row-icon::before,
  .row-icon::after {
    inset: 13px 2px auto;
    height: 3px;
  }

  .row-panel p {
    width: 100%;
    margin: 0;
    font-size: 16px;
  }

  .product-feature,
  .product-feature-large {
    min-height: 440px;
  }

  .platform-strip {
    grid-template-columns: 1fr;
  }

  .platform-logo {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .platform-logo:first-child {
    border-top: 0;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .metrics div:nth-child(odd) {
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
