
:root {
  --font-ui:
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    "SF Pro Display",
    "Helvetica Neue",
    sans-serif;
  --text: #f4f7fb;
  --text-strong: #ffffff;
  --muted: #a3b0cc;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #ff7a18;
  --accent-soft: #ffc371;
  --accent-2: #1dd3b0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Avenir Next Condensed", "DIN Alternate", "Arial Narrow", sans-serif;
  --hero-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-bg: rgba(7, 12, 26, 0.36);
  --nav-bg: rgba(7, 12, 26, 0.65);
  --body-background: linear-gradient(180deg, #09111f 0%, #0d1630 52%, #09111f 100%);
  --grid-overlay:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  --surface: rgba(18, 29, 55, 0.82);
  --surface-strong: rgba(11, 17, 34, 0.92);
  --card-radius: 28px;
  --small-radius: 22px;
  --nav-radius: 999px;
  --button-radius: 999px;
  --button-primary-bg: linear-gradient(135deg, #ff7a18 0%, #ffc371 100%);
  --button-primary-text: #0b1020;
  --button-secondary-bg: rgba(255, 255, 255, 0.04);
  --button-secondary-hover: rgba(255, 255, 255, 0.08);
  --metric-bg: rgba(255, 255, 255, 0.04);
  --platform-chip-bg: rgba(255, 255, 255, 0.06);
  --case-bg: rgba(255, 255, 255, 0.05);
  --contact-bg:
    linear-gradient(135deg, rgba(255, 122, 24, 0.12), rgba(29, 211, 176, 0.08)),
    rgba(11, 17, 34, 0.92);
  --contact-meta-bg: rgba(255, 255, 255, 0.04);
  --panel-background:
    linear-gradient(180deg, rgba(20, 31, 58, 0.96), rgba(10, 17, 33, 0.94)),
    linear-gradient(120deg, rgba(255, 122, 24, 0.08), rgba(29, 211, 176, 0.08));
  --panel-border: rgba(255, 255, 255, 0.11);
  --panel-row-border: rgba(255, 255, 255, 0.08);
  --panel-strip-left: rgba(255, 122, 24, 0.08);
  --panel-strip-right: rgba(29, 211, 176, 0.08);
  --theme-panel-bg: rgba(11, 17, 34, 0.96);
  --theme-option-bg: rgba(255, 255, 255, 0.04);
  --theme-option-active-bg: rgba(255, 255, 255, 0.08);
  --brand-mark-bg: linear-gradient(135deg, #ff7a18 0%, #ffc371 55%, #1dd3b0 100%);
  --brand-mark-text: #09111f;
  --content-width: 1120px;
  --section-space: 72px;
  --body-size: 1rem;
  --body-leading: 1.72;
  --card-shadow: 0 18px 44px rgba(8, 16, 28, 0.06);
  --header-shadow: 0 10px 28px rgba(8, 16, 28, 0.05);
  --ui-accent-text: var(--accent-soft);
  --inline-banner-text: #ffffff;
  --inline-banner-shadow: 0 4px 20px rgba(0, 0, 0, 0.24);
  --inline-banner-border: var(--line-strong);
  --inline-banner-bg:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 42%, transparent 100%),
    color-mix(in srgb, var(--surface) 92%, transparent);
}

body[data-theme="mist"] {
  --text: #10233d;
  --text-strong: #081728;
  --muted: #50647f;
  --line: rgba(16, 35, 61, 0.12);
  --line-strong: rgba(16, 35, 61, 0.18);
  --accent: #1e6cff;
  --accent-soft: #6db6ff;
  --accent-2: #3eb998;
  --shadow: 0 24px 60px rgba(29, 74, 127, 0.16);
  --body-font: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --hero-font: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --header-bg: rgba(248, 251, 255, 0.72);
  --nav-bg: rgba(255, 255, 255, 0.84);
  --body-background: linear-gradient(180deg, #edf6ff 0%, #f8fbff 54%, #eef5fb 100%);
  --grid-overlay:
    linear-gradient(rgba(16, 35, 61, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 61, 0.03) 1px, transparent 1px);
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(248, 251, 255, 0.95);
  --card-radius: 24px;
  --small-radius: 18px;
  --nav-radius: 24px;
  --button-radius: 18px;
  --button-primary-bg: linear-gradient(135deg, #1e6cff 0%, #6db6ff 100%);
  --button-primary-text: #ffffff;
  --button-secondary-bg: rgba(16, 35, 61, 0.04);
  --button-secondary-hover: rgba(16, 35, 61, 0.08);
  --metric-bg: rgba(255, 255, 255, 0.9);
  --platform-chip-bg: rgba(16, 35, 61, 0.05);
  --case-bg: rgba(255, 255, 255, 0.74);
  --contact-bg:
    linear-gradient(135deg, rgba(30, 108, 255, 0.08), rgba(62, 185, 152, 0.08)),
    rgba(248, 251, 255, 0.95);
  --contact-meta-bg: rgba(16, 35, 61, 0.03);
  --panel-background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 245, 251, 0.96)),
    linear-gradient(120deg, rgba(30, 108, 255, 0.05), rgba(62, 185, 152, 0.06));
  --panel-border: rgba(16, 35, 61, 0.1);
  --panel-row-border: rgba(16, 35, 61, 0.08);
  --panel-strip-left: rgba(30, 108, 255, 0.08);
  --panel-strip-right: rgba(62, 185, 152, 0.09);
  --theme-panel-bg: rgba(255, 255, 255, 0.98);
  --theme-option-bg: rgba(16, 35, 61, 0.04);
  --theme-option-active-bg: rgba(30, 108, 255, 0.08);
  --brand-mark-bg: linear-gradient(135deg, #1e6cff 0%, #6db6ff 58%, #3eb998 100%);
  --brand-mark-text: #ffffff;
  --ui-accent-text: #2c66c8;
  --inline-banner-text: #112744;
  --inline-banner-shadow: none;
  --inline-banner-border: rgba(16, 35, 61, 0.14);
  --inline-banner-bg:
    linear-gradient(90deg, rgba(30, 108, 255, 0.08), rgba(30, 108, 255, 0.025) 42%, rgba(255, 255, 255, 0.74) 100%),
    rgba(255, 255, 255, 0.94);
}

body[data-theme="obsidian"] {
  --text: #f6f0e7;
  --text-strong: #fff8ef;
  --muted: #b8aa96;
  --line: rgba(233, 218, 196, 0.12);
  --line-strong: rgba(233, 218, 196, 0.2);
  --accent: #c98a2e;
  --accent-soft: #f2d298;
  --accent-2: #7f9470;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Songti SC", "STSong", "PingFang SC", serif;
  --hero-font: "Songti SC", "STSong", "PingFang SC", serif;
  --header-bg: rgba(18, 13, 10, 0.45);
  --nav-bg: rgba(18, 13, 10, 0.72);
  --body-background: linear-gradient(180deg, #120d0a 0%, #1b1713 48%, #110d0a 100%);
  --grid-overlay:
    linear-gradient(rgba(242, 210, 152, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 210, 152, 0.025) 1px, transparent 1px);
  --surface: rgba(33, 25, 20, 0.82);
  --surface-strong: rgba(24, 18, 14, 0.94);
  --card-radius: 22px;
  --small-radius: 16px;
  --nav-radius: 20px;
  --button-radius: 16px;
  --button-primary-bg: linear-gradient(135deg, #9b651f 0%, #d7b06a 100%);
  --button-primary-text: #fff8ef;
  --button-secondary-bg: rgba(242, 210, 152, 0.05);
  --button-secondary-hover: rgba(242, 210, 152, 0.09);
  --metric-bg: rgba(242, 210, 152, 0.04);
  --platform-chip-bg: rgba(242, 210, 152, 0.06);
  --case-bg: rgba(242, 210, 152, 0.04);
  --contact-bg:
    linear-gradient(135deg, rgba(201, 138, 46, 0.09), rgba(127, 148, 112, 0.08)),
    rgba(24, 18, 14, 0.94);
  --contact-meta-bg: rgba(242, 210, 152, 0.04);
  --panel-background:
    linear-gradient(180deg, rgba(38, 30, 24, 0.96), rgba(21, 16, 13, 0.94)),
    linear-gradient(120deg, rgba(201, 138, 46, 0.05), rgba(127, 148, 112, 0.06));
  --panel-border: rgba(233, 218, 196, 0.1);
  --panel-row-border: rgba(233, 218, 196, 0.08);
  --panel-strip-left: rgba(201, 138, 46, 0.08);
  --panel-strip-right: rgba(127, 148, 112, 0.08);
  --theme-panel-bg: rgba(24, 18, 14, 0.98);
  --theme-option-bg: rgba(242, 210, 152, 0.04);
  --theme-option-active-bg: rgba(242, 210, 152, 0.08);
  --brand-mark-bg: linear-gradient(135deg, #9b651f 0%, #d7b06a 58%, #7f9470 100%);
  --brand-mark-text: #fff8ef;
}

body[data-theme="coral"] {
  --text: #3a1620;
  --text-strong: #2a1017;
  --muted: #7d5260;
  --line: rgba(85, 29, 46, 0.14);
  --line-strong: rgba(85, 29, 46, 0.22);
  --accent: #ff6b57;
  --accent-soft: #ffb36a;
  --accent-2: #f24ea0;
  --shadow: 0 24px 70px rgba(134, 54, 79, 0.16);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Gill Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --hero-font: "PingFang SC", "Gill Sans", "Microsoft YaHei", sans-serif;
  --header-bg: rgba(255, 245, 240, 0.62);
  --nav-bg: rgba(255, 251, 247, 0.8);
  --body-background: linear-gradient(180deg, #fff7f3 0%, #fff1ec 45%, #fffaf6 100%);
  --grid-overlay:
    linear-gradient(rgba(125, 82, 96, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 82, 96, 0.035) 1px, transparent 1px);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 249, 245, 0.95);
  --card-radius: 32px;
  --small-radius: 24px;
  --nav-radius: 999px;
  --button-radius: 999px;
  --button-primary-bg: linear-gradient(135deg, #ff6b57 0%, #ffb36a 100%);
  --button-primary-text: #ffffff;
  --button-secondary-bg: rgba(85, 29, 46, 0.04);
  --button-secondary-hover: rgba(85, 29, 46, 0.08);
  --metric-bg: rgba(255, 255, 255, 0.88);
  --platform-chip-bg: rgba(85, 29, 46, 0.05);
  --case-bg: rgba(255, 255, 255, 0.76);
  --contact-bg:
    linear-gradient(135deg, rgba(255, 107, 87, 0.09), rgba(242, 78, 160, 0.08)),
    rgba(255, 249, 245, 0.95);
  --contact-meta-bg: rgba(85, 29, 46, 0.03);
  --panel-background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 240, 0.96)),
    linear-gradient(120deg, rgba(255, 107, 87, 0.05), rgba(242, 78, 160, 0.05));
  --panel-border: rgba(85, 29, 46, 0.08);
  --panel-row-border: rgba(85, 29, 46, 0.08);
  --panel-strip-left: rgba(255, 107, 87, 0.08);
  --panel-strip-right: rgba(242, 78, 160, 0.08);
  --theme-panel-bg: rgba(255, 251, 247, 0.98);
  --theme-option-bg: rgba(85, 29, 46, 0.04);
  --theme-option-active-bg: rgba(255, 107, 87, 0.1);
  --brand-mark-bg: linear-gradient(135deg, #ff6b57 0%, #ffb36a 58%, #f24ea0 100%);
  --brand-mark-text: #ffffff;
  --ui-accent-text: #d24d49;
  --inline-banner-text: #33131c;
  --inline-banner-shadow: none;
  --inline-banner-border: rgba(85, 29, 46, 0.12);
  --inline-banner-bg:
    linear-gradient(90deg, rgba(255, 107, 87, 0.08), rgba(242, 78, 160, 0.03) 42%, rgba(255, 255, 255, 0.76) 100%),
    rgba(255, 255, 255, 0.92);
}

body[data-theme="glacier"] {
  --text: #153246;
  --text-strong: #0d2534;
  --muted: #628095;
  --line: rgba(21, 50, 70, 0.12);
  --line-strong: rgba(21, 50, 70, 0.2);
  --accent: #58aee8;
  --accent-soft: #99dcff;
  --accent-2: #7bcfc4;
  --shadow: 0 24px 72px rgba(84, 136, 170, 0.14);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Optima", "PingFang SC", "Microsoft YaHei", sans-serif;
  --hero-font: "PingFang SC", "Optima", "Microsoft YaHei", sans-serif;
  --header-bg: rgba(244, 251, 255, 0.72);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --body-background: linear-gradient(180deg, #f2fbff 0%, #f8fdff 46%, #eef7fb 100%);
  --grid-overlay:
    linear-gradient(rgba(21, 50, 70, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 50, 70, 0.03) 1px, transparent 1px);
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(246, 252, 255, 0.95);
  --card-radius: 30px;
  --small-radius: 22px;
  --nav-radius: 26px;
  --button-radius: 18px;
  --button-primary-bg: linear-gradient(135deg, #58aee8 0%, #99dcff 100%);
  --button-primary-text: #0d2534;
  --button-secondary-bg: rgba(21, 50, 70, 0.04);
  --button-secondary-hover: rgba(21, 50, 70, 0.07);
  --metric-bg: rgba(255, 255, 255, 0.88);
  --platform-chip-bg: rgba(21, 50, 70, 0.05);
  --case-bg: rgba(255, 255, 255, 0.74);
  --contact-bg:
    linear-gradient(135deg, rgba(88, 174, 232, 0.08), rgba(123, 207, 196, 0.08)),
    rgba(246, 252, 255, 0.95);
  --contact-meta-bg: rgba(21, 50, 70, 0.03);
  --panel-background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 252, 0.95)),
    linear-gradient(120deg, rgba(88, 174, 232, 0.05), rgba(123, 207, 196, 0.05));
  --panel-border: rgba(21, 50, 70, 0.08);
  --panel-row-border: rgba(21, 50, 70, 0.08);
  --panel-strip-left: rgba(88, 174, 232, 0.08);
  --panel-strip-right: rgba(123, 207, 196, 0.08);
  --theme-panel-bg: rgba(255, 255, 255, 0.98);
  --theme-option-bg: rgba(21, 50, 70, 0.04);
  --theme-option-active-bg: rgba(88, 174, 232, 0.09);
  --brand-mark-bg: linear-gradient(135deg, #58aee8 0%, #99dcff 58%, #7bcfc4 100%);
  --brand-mark-text: #0d2534;
  --ui-accent-text: #347ca8;
  --inline-banner-text: #153246;
  --inline-banner-shadow: none;
  --inline-banner-border: rgba(21, 50, 70, 0.14);
  --inline-banner-bg:
    linear-gradient(90deg, rgba(88, 174, 232, 0.09), rgba(123, 207, 196, 0.035) 42%, rgba(255, 255, 255, 0.78) 100%),
    rgba(255, 255, 255, 0.94);
}

body[data-theme="forest"] {
  --text: #1f2f20;
  --text-strong: #132013;
  --muted: #5d715b;
  --line: rgba(31, 47, 32, 0.13);
  --line-strong: rgba(31, 47, 32, 0.2);
  --accent: #5f8f4e;
  --accent-soft: #c1dd8b;
  --accent-2: #2a7a68;
  --shadow: 0 24px 70px rgba(49, 88, 59, 0.15);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Palatino", "PingFang SC", "Microsoft YaHei", serif;
  --hero-font: "PingFang SC", "Palatino", "Microsoft YaHei", serif;
  --header-bg: rgba(247, 250, 242, 0.68);
  --nav-bg: rgba(252, 255, 248, 0.82);
  --body-background: linear-gradient(180deg, #f5f8ef 0%, #fbfdf8 46%, #f1f8f0 100%);
  --grid-overlay:
    linear-gradient(rgba(31, 47, 32, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 47, 32, 0.028) 1px, transparent 1px);
  --surface: rgba(255, 255, 250, 0.82);
  --surface-strong: rgba(250, 253, 246, 0.95);
  --card-radius: 26px;
  --small-radius: 20px;
  --nav-radius: 22px;
  --button-radius: 18px;
  --button-primary-bg: linear-gradient(135deg, #5f8f4e 0%, #c1dd8b 100%);
  --button-primary-text: #132013;
  --button-secondary-bg: rgba(31, 47, 32, 0.04);
  --button-secondary-hover: rgba(31, 47, 32, 0.07);
  --metric-bg: rgba(255, 255, 250, 0.9);
  --platform-chip-bg: rgba(31, 47, 32, 0.05);
  --case-bg: rgba(255, 255, 250, 0.76);
  --contact-bg:
    linear-gradient(135deg, rgba(95, 143, 78, 0.08), rgba(42, 122, 104, 0.08)),
    rgba(250, 253, 246, 0.95);
  --contact-meta-bg: rgba(31, 47, 32, 0.03);
  --panel-background:
    linear-gradient(180deg, rgba(255, 255, 250, 0.96), rgba(243, 249, 239, 0.95)),
    linear-gradient(120deg, rgba(95, 143, 78, 0.05), rgba(42, 122, 104, 0.05));
  --panel-border: rgba(31, 47, 32, 0.08);
  --panel-row-border: rgba(31, 47, 32, 0.08);
  --panel-strip-left: rgba(95, 143, 78, 0.08);
  --panel-strip-right: rgba(42, 122, 104, 0.08);
  --theme-panel-bg: rgba(252, 255, 248, 0.98);
  --theme-option-bg: rgba(31, 47, 32, 0.04);
  --theme-option-active-bg: rgba(95, 143, 78, 0.09);
  --brand-mark-bg: linear-gradient(135deg, #5f8f4e 0%, #c1dd8b 58%, #2a7a68 100%);
  --brand-mark-text: #132013;
  --ui-accent-text: #547d45;
  --inline-banner-text: #1a2a1b;
  --inline-banner-shadow: none;
  --inline-banner-border: rgba(31, 47, 32, 0.14);
  --inline-banner-bg:
    linear-gradient(90deg, rgba(95, 143, 78, 0.08), rgba(42, 122, 104, 0.03) 42%, rgba(255, 255, 255, 0.76) 100%),
    rgba(255, 255, 250, 0.94);
}

body[data-theme="neon"] {
  --text: #e7f9ff;
  --text-strong: #f5fdff;
  --muted: #8bbfcb;
  --line: rgba(98, 255, 232, 0.14);
  --line-strong: rgba(98, 255, 232, 0.24);
  --accent: #62ffe8;
  --accent-soft: #c6ff52;
  --accent-2: #2db1ff;
  --shadow: 0 26px 88px rgba(0, 0, 0, 0.42);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "Eurostile", "Avenir Next Condensed", "PingFang SC", sans-serif;
  --hero-font: "PingFang SC", "Eurostile", "Avenir Next", sans-serif;
  --header-bg: rgba(4, 9, 17, 0.52);
  --nav-bg: rgba(4, 9, 17, 0.78);
  --body-background: linear-gradient(180deg, #02060f 0%, #07111e 46%, #030814 100%);
  --grid-overlay:
    linear-gradient(rgba(98, 255, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 255, 232, 0.03) 1px, transparent 1px);
  --surface: rgba(8, 19, 30, 0.84);
  --surface-strong: rgba(5, 11, 21, 0.95);
  --card-radius: 22px;
  --small-radius: 18px;
  --nav-radius: 999px;
  --button-radius: 999px;
  --button-primary-bg: linear-gradient(135deg, #62ffe8 0%, #c6ff52 100%);
  --button-primary-text: #04121a;
  --button-secondary-bg: rgba(98, 255, 232, 0.04);
  --button-secondary-hover: rgba(98, 255, 232, 0.09);
  --metric-bg: rgba(98, 255, 232, 0.04);
  --platform-chip-bg: rgba(98, 255, 232, 0.06);
  --case-bg: rgba(98, 255, 232, 0.03);
  --contact-bg:
    linear-gradient(135deg, rgba(98, 255, 232, 0.07), rgba(45, 177, 255, 0.07)),
    rgba(5, 11, 21, 0.95);
  --contact-meta-bg: rgba(98, 255, 232, 0.03);
  --panel-background:
    linear-gradient(180deg, rgba(8, 19, 30, 0.96), rgba(5, 11, 21, 0.95)),
    linear-gradient(120deg, rgba(98, 255, 232, 0.05), rgba(45, 177, 255, 0.05));
  --panel-border: rgba(98, 255, 232, 0.14);
  --panel-row-border: rgba(98, 255, 232, 0.09);
  --panel-strip-left: rgba(98, 255, 232, 0.08);
  --panel-strip-right: rgba(45, 177, 255, 0.08);
  --theme-panel-bg: rgba(5, 11, 21, 0.98);
  --theme-option-bg: rgba(98, 255, 232, 0.04);
  --theme-option-active-bg: rgba(98, 255, 232, 0.08);
  --brand-mark-bg: linear-gradient(135deg, #62ffe8 0%, #2db1ff 58%, #c6ff52 100%);
  --brand-mark-text: #04121a;
}

body[data-theme="china-red"] {
  --text: #371012;
  --text-strong: #250709;
  --muted: #774642;
  --line: rgba(125, 10, 20, 0.16);
  --line-strong: rgba(125, 10, 20, 0.24);
  --accent: #c91021;
  --accent-soft: #d8a544;
  --accent-2: #84000f;
  --shadow: 0 28px 78px rgba(120, 8, 18, 0.22);
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --hero-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-bg: rgba(255, 243, 238, 0.74);
  --nav-bg: rgba(255, 248, 244, 0.88);
  --body-background: linear-gradient(180deg, #fff4ef 0%, #fff8f4 46%, #fdeee9 100%);
  --grid-overlay:
    linear-gradient(rgba(125, 10, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 10, 20, 0.03) 1px, transparent 1px);
  --surface: rgba(255, 248, 244, 0.88);
  --surface-strong: rgba(255, 244, 239, 0.96);
  --card-radius: 26px;
  --small-radius: 20px;
  --nav-radius: 22px;
  --button-radius: 18px;
  --button-primary-bg: linear-gradient(135deg, #a90614 0%, #c91021 55%, #d8a544 100%);
  --button-primary-text: #fff9f5;
  --button-secondary-bg: rgba(125, 10, 20, 0.045);
  --button-secondary-hover: rgba(125, 10, 20, 0.09);
  --metric-bg: rgba(255, 247, 243, 0.92);
  --platform-chip-bg: rgba(125, 10, 20, 0.055);
  --case-bg: rgba(255, 247, 243, 0.8);
  --contact-bg:
    linear-gradient(135deg, rgba(201, 16, 33, 0.11), rgba(216, 165, 68, 0.09)),
    rgba(255, 244, 239, 0.96);
  --contact-meta-bg: rgba(125, 10, 20, 0.035);
  --panel-background:
    linear-gradient(180deg, rgba(255, 249, 245, 0.97), rgba(252, 235, 228, 0.96)),
    linear-gradient(120deg, rgba(201, 16, 33, 0.07), rgba(216, 165, 68, 0.05));
  --panel-border: rgba(125, 10, 20, 0.09);
  --panel-row-border: rgba(125, 10, 20, 0.085);
  --panel-strip-left: rgba(201, 16, 33, 0.12);
  --panel-strip-right: rgba(216, 165, 68, 0.1);
  --theme-panel-bg: rgba(255, 248, 244, 0.99);
  --theme-option-bg: rgba(125, 10, 20, 0.045);
  --theme-option-active-bg: rgba(201, 16, 33, 0.11);
  --brand-mark-bg: linear-gradient(135deg, #9e0512 0%, #c91021 56%, #d8a544 100%);
  --brand-mark-text: #fff9f5;
  --ui-accent-text: #b11724;
  --inline-banner-text: #2e0d0f;
  --inline-banner-shadow: none;
  --inline-banner-border: rgba(125, 10, 20, 0.14);
  --inline-banner-bg:
    linear-gradient(90deg, rgba(201, 16, 33, 0.085), rgba(216, 165, 68, 0.03) 42%, rgba(255, 250, 247, 0.78) 100%),
    rgba(255, 248, 244, 0.94);
}

body[data-theme] {
  --body-font:
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    sans-serif;
  --heading-font:
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    sans-serif;
  --hero-font:
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--body-background);
  color: var(--text);
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition:
    background 260ms ease,
    color 220ms ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -16%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  will-change: transform;
}

body::before {
  background:
    radial-gradient(
      circle at 18% 18%,
      color-mix(in srgb, var(--accent) 18%, transparent) 0%,
      color-mix(in srgb, var(--accent-soft) 9%, transparent) 16%,
      transparent 34%
    );
  animation: body-glow-left-drift 30s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(
      circle at 82% 16%,
      color-mix(in srgb, var(--accent-2) 18%, transparent) 0%,
      color-mix(in srgb, var(--accent-2) 9%, transparent) 15%,
      transparent 34%
    );
  animation: body-glow-right-drift 34s ease-in-out infinite alternate;
}

@keyframes body-glow-left-drift {
  0% {
    transform: translate3d(-1.4%, -1.2%, 0) scale(1);
  }

  50% {
    transform: translate3d(1%, 1.6%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(2.1%, -0.6%, 0) scale(1.02);
  }
}

@keyframes body-glow-right-drift {
  0% {
    transform: translate3d(1.4%, -1.1%, 0) scale(1);
  }

  50% {
    transform: translate3d(-0.9%, 1.3%, 0) scale(1.05);
  }

  100% {
    transform: translate3d(-2%, 0.8%, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  /* Keep decorative overflow trimmed without breaking the sticky header. */
  overflow-x: clip;
}

.section {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

section[id] {
  scroll-margin-top: 116px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-header::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.016)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.01)),
    color-mix(in srgb, var(--header-bg) 8%, transparent);
  box-shadow:
    var(--header-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.site-header::after {
  display: none;
}

.site-header-shell {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 12px 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-mark-bg);
  color: var(--brand-mark-text);
  font-family: var(--font-ui);
  font-size: 1.55rem;
  font-weight: 800;
}

.brand-text {
  display: block;
  min-width: 0;
}

.brand-text strong {
  color: var(--text-strong);
  display: block;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text small {
  display: none;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: var(--nav-radius);
  background: var(--nav-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(18px);
}

.site-nav a,
.theme-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.theme-trigger:hover,
.theme-trigger:focus-visible,
.theme-control.is-open .theme-trigger {
  color: var(--text);
  background: var(--button-secondary-bg);
}

.theme-control {
  position: relative;
}

.theme-trigger {
  border-radius: 999px;
}

.theme-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 160ms ease;
}

.theme-control.is-open .theme-trigger::after {
  transform: translateY(2px) rotate(-135deg);
}

.theme-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(412px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--theme-panel-bg);
  box-shadow: var(--shadow);
  display: none;
}

.theme-control.is-open .theme-panel {
  display: block;
}

.theme-panel-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.theme-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--theme-option-bg);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.theme-option:hover,
.theme-option:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line);
}

.theme-option.is-active {
  border-color: var(--line-strong);
  background: var(--theme-option-active-bg);
}

.theme-swatch {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.swatch-aurora {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 122, 24, 0.42), transparent 34%),
    linear-gradient(135deg, #09111f, #0d1630 54%, #052437);
}

.swatch-mist {
  background:
    radial-gradient(circle at 24% 24%, rgba(30, 108, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #edf6ff, #ffffff 60%, #e6f7f4);
  border-color: rgba(16, 35, 61, 0.08);
}

.swatch-obsidian {
  background:
    radial-gradient(circle at 20% 24%, rgba(201, 138, 46, 0.28), transparent 34%),
    linear-gradient(135deg, #110d0a, #1b1713 56%, #192017);
}

.swatch-coral {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 107, 87, 0.25), transparent 36%),
    linear-gradient(135deg, #fff7f3, #ffffff 58%, #ffe9f4);
  border-color: rgba(85, 29, 46, 0.08);
}

.swatch-glacier {
  background:
    radial-gradient(circle at 24% 24%, rgba(88, 174, 232, 0.22), transparent 36%),
    linear-gradient(135deg, #f2fbff, #ffffff 58%, #e7f8f5);
  border-color: rgba(21, 50, 70, 0.08);
}

.swatch-forest {
  background:
    radial-gradient(circle at 24% 24%, rgba(95, 143, 78, 0.22), transparent 36%),
    linear-gradient(135deg, #f5f8ef, #ffffff 58%, #ecf8f1);
  border-color: rgba(31, 47, 32, 0.08);
}

.swatch-neon {
  background:
    radial-gradient(circle at 24% 24%, rgba(98, 255, 232, 0.28), transparent 36%),
    linear-gradient(135deg, #02060f, #08192a 58%, #102200);
}

.swatch-china-red {
  background:
    radial-gradient(circle at 22% 24%, rgba(201, 16, 33, 0.34), transparent 34%),
    linear-gradient(135deg, #5f0008, #b10a17 54%, #d8a544 100%);
  border-color: rgba(125, 10, 20, 0.12);
}

.theme-option-copy {
  display: grid;
  gap: 4px;
}

.theme-option-copy strong {
  font-size: 0.92rem;
}

.theme-option-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--nav-bg);
  color: var(--text);
  padding: 11px 16px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(392px, 1.06fr);
  gap: 40px;
  align-items: stretch;
  padding-top: 42px;
}

.hero-copy {
  max-width: 620px;
  min-height: 520px;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button-secondary-bg);
  color: var(--ui-accent-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.16;
  color: var(--text-strong);
}

h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.2rem);
  max-width: none;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  max-width: none;
  line-height: 1.16;
  text-wrap: pretty;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  line-height: 1.32;
}

.hero-text,
.section-heading p:last-child,
.contact-text,
.service-card p,
.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 0.97rem;
  text-wrap: pretty;
}

.hero-text {
  max-width: 52ch;
  font-size: 1rem;
  margin-top: 20px;
}

.hero-title {
  display: grid;
  gap: 18px;
  max-width: 100%;
  font-family: var(--hero-font);
  font-weight: 760;
  letter-spacing: -0.015em;
}

.hero-title span {
  display: inline-block;
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-right: 0.08em;
  background-image: linear-gradient(
    135deg,
    var(--text-strong) 0%,
    var(--text-strong) 56%,
    var(--accent-soft) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
  isolation: isolate;
}

.hero-title span::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0.24em;
  bottom: 0.1em;
  height: 0.12em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0.14;
  z-index: -1;
}

.hero-title span:nth-child(2) {
  margin-left: 0;
}

.hero-title span:nth-child(2)::after {
  right: 14%;
  opacity: 0.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: auto;
  padding-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--button-radius);
  overflow: hidden;
  isolation: isolate;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-actions .button {
  min-height: clamp(58px, 4.4vw, 68px);
  padding: 0 clamp(32px, 3.6vw, 50px);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.22) 49%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-135%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  transform: translateX(135%);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--button-secondary-bg);
}

.button-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 42%;
  background: linear-gradient(
    118deg,
    transparent 0%,
    color-mix(in srgb, var(--text-strong) 16%, transparent) 48%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 520ms ease;
  pointer-events: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--button-secondary-hover);
  border-color: var(--line-strong);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 48%, transparent);
}

.button-secondary:hover::before,
.button-secondary:focus-visible::before {
  opacity: 1;
  transform: translateX(310%) skewX(-20deg);
}

.hero-panel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0 0 0 12px;
}

.panel-card {
  position: relative;
  z-index: 2;
  width: min(100%, 452px);
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--card-radius);
  background: var(--panel-background);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
}

.panel-main {
  --carousel-tone: var(--accent);
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--carousel-tone) 16%, var(--panel-border));
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--carousel-tone) 7%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--carousel-tone) 8%, rgba(255, 255, 255, 0.04));
  transition:
    border-color 260ms ease,
    box-shadow 320ms ease;
}

.panel-main[data-carousel-tone="accent"] {
  --carousel-tone: var(--accent);
}

.panel-main[data-carousel-tone="cyan"] {
  --carousel-tone: var(--accent-2);
}

.panel-main[data-carousel-tone="soft"] {
  --carousel-tone: var(--accent-soft);
}

.panel-main p {
  width: 100%;
  margin: 0 0 20px;
  color: var(--ui-accent-text);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.cube-scene {
  --cube-size: clamp(268px, 28vw, 328px);
  --carousel-drag-offset: 0px;
  position: relative;
  width: 100%;
  display: grid;
  gap: 16px;
}

.cube-scene::before {
  content: "";
  position: absolute;
  width: min(84%, calc(var(--cube-size) + 12px));
  height: 20px;
  left: 50%;
  bottom: 8px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--accent) 22%, transparent) 0%,
    color-mix(in srgb, var(--accent-2) 12%, transparent) 42%,
    transparent 74%
  );
  transform: translateX(-50%);
  filter: blur(10px);
  opacity: 0.88;
  pointer-events: none;
}

.cube-scene::after {
  content: "";
  position: absolute;
  width: calc(var(--cube-size) + 56px);
  height: calc(var(--cube-size) + 56px);
  left: 50%;
  top: calc((var(--cube-size) + 44px) * 0.48);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent-2) 14%, transparent) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0.72;
  pointer-events: none;
}

.carousel-viewport {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--cube-size) + 12px));
  min-height: calc(var(--cube-size) + 8px);
  margin: 0 auto;
  overflow: visible;
  isolation: auto;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
}

.carousel-viewport::before {
  content: none;
}

.carousel-track {
  position: relative;
  min-height: inherit;
}

.cube-face {
  --slide-glow: var(--accent);
  position: absolute;
  inset: 0 clamp(6px, 3vw, 28px);
  display: grid;
  align-content: space-between;
  justify-items: center;
  gap: 18px;
  padding: 30px 26px 26px;
  border: 1px solid color-mix(in srgb, var(--slide-glow) 18%, var(--panel-border));
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--slide-glow) 14%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    color-mix(in srgb, var(--surface-strong) 90%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 18%, transparent);
  text-align: center;
  opacity: 0;
  transform: translate3d(28px, 0, 0) scale(0.985);
  transition:
    opacity 380ms ease,
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.cube-face::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 44%),
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--slide-glow) 10%, transparent), transparent 38%);
  pointer-events: none;
}

.cube-face.is-active {
  opacity: 1;
  transform: translate3d(var(--carousel-drag-offset), 0, 0) scale(1);
  pointer-events: auto;
  z-index: 1;
}

.carousel-viewport.is-dragging .cube-face.is-active {
  transition: none;
}

.cube-face.tone-accent {
  --slide-glow: var(--accent);
}

.cube-face.tone-cyan {
  --slide-glow: var(--accent-2);
}

.cube-face.tone-soft {
  --slide-glow: var(--accent-soft);
}

.cube-face-kicker {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--slide-glow) 72%, var(--text-strong) 28%);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cube-platform-label {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
}

.cube-face .platform-name {
  display: inline-block;
  color: var(--text-strong);
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cube-face .platform-icon {
  width: 62px;
  height: 62px;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition:
    opacity 260ms ease,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
}

.platform-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.cube-face .platform-icon svg,
.cube-face .platform-icon img {
  width: 54px;
  height: 54px;
}

.cube-face .icon-ios svg {
  width: 58px;
  height: 58px;
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.platform-icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.icon-ios svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.icon-android {
  background: transparent;
}

.icon-android svg {
  display: block;
}

.icon-harmony {
  background: transparent;
}

.icon-harmony svg {
  display: block;
}

[data-theme='mist'] .icon-harmony svg,
[data-theme='coral'] .icon-harmony svg,
[data-theme='glacier'] .icon-harmony svg,
[data-theme='forest'] .icon-harmony svg,
[data-theme='china-red'] .icon-harmony svg {
  filter: brightness(0.52) contrast(1.12);
}

.icon-wechat {
  background: transparent;
}

.icon-wechat svg {
  display: block;
}

.icon-macos {
  background: transparent;
}

.icon-macos svg {
  display: block;
}

.icon-windows {
  background: transparent;
}

.icon-windows svg {
  fill: #1492ff;
}

.cube-face b {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.48;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cube-face.is-active .platform-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0ms;
}

.cube-face.is-active .cube-face-kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 24ms;
}

.cube-face.is-active .platform-name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 60ms;
}

.cube-face.is-active b {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.carousel-nav {
  position: relative;
  z-index: 1;
  width: calc(100% - 6px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 10px auto 0;
  padding: 6px clamp(4px, 1.1vw, 10px) 2px;
}

.carousel-dot {
  position: relative;
  appearance: none;
  width: 64px;
  height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  cursor: pointer;
  transition: transform 180ms ease;
}

.carousel-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 56px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--carousel-tone) 26%, transparent) 0%,
    color-mix(in srgb, var(--carousel-tone) 12%, transparent) 48%,
    transparent 78%
  );
  transform: translateX(-50%) scaleX(0.84);
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.carousel-dot .platform-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  color: var(--text-strong);
  opacity: 1;
  filter: none;
  transition:
    width 180ms cubic-bezier(0.22, 1, 0.36, 1),
    height 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    filter 220ms ease,
    color 220ms ease;
}

.carousel-dot .platform-icon svg,
.carousel-dot .platform-icon img {
  width: 100%;
  height: 100%;
}

.carousel-dot .icon-ios {
  width: 37px;
  height: 37px;
}

.carousel-dot.is-active {
  z-index: 2;
  transform: translateY(-6px);
}

.carousel-dot.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.carousel-dot.is-active .platform-icon {
  width: 68px;
  height: 68px;
}

.carousel-dot.is-active .icon-ios {
  width: 74px;
  height: 74px;
}

@media (hover: hover) and (pointer: fine) {
  .cube-scene:hover .cube-face.is-active {
    border-color: color-mix(in srgb, var(--slide-glow) 30%, var(--panel-border));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 0 1px color-mix(in srgb, var(--slide-glow) 10%, transparent);
  }

  .carousel-dot:hover,
  .carousel-dot:focus-visible {
    z-index: 3;
  }

  .carousel-dot:hover .platform-icon,
  .carousel-dot:focus-visible .platform-icon {
    width: 48px;
    height: 48px;
  }

  .carousel-dot:hover .icon-ios,
  .carousel-dot:focus-visible .icon-ios {
    width: 53px;
    height: 53px;
  }

  .carousel-dot.is-active:hover .platform-icon,
  .carousel-dot.is-active:focus-visible .platform-icon {
    width: 68px;
    height: 68px;
  }

  .carousel-dot.is-active:hover .icon-ios,
  .carousel-dot.is-active:focus-visible .icon-ios {
    width: 74px;
    height: 74px;
  }

}

.panel-strip {
  position: absolute;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0.72;
}

.strip-left {
  width: 336px;
  height: 396px;
  left: 8%;
  top: 14%;
  background: var(--panel-strip-left);
  transform: rotate(-9deg);
}

.strip-right {
  width: 336px;
  height: 396px;
  right: 2%;
  bottom: 8%;
  background: var(--panel-strip-right);
  transform: rotate(11deg);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: min(100%, 980px);
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading-inline {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin-bottom: 28px;
  padding: 12px 0 20px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.section-heading-inline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 58%, transparent) 0%,
    color-mix(in srgb, var(--inline-banner-border) 96%, transparent) 38%,
    transparent 100%
  );
  opacity: 0.95;
  pointer-events: none;
}

.section-heading-inline::after {
  content: "";
  position: absolute;
  left: calc(76px + 18px);
  bottom: -1px;
  width: clamp(88px, 16vw, 196px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    color-mix(in srgb, var(--accent-soft) 72%, transparent) 72%,
    transparent 100%
  );
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 28%, transparent);
  pointer-events: none;
}

.section-lead {
  display: grid;
  gap: 4px;
  justify-items: center;
  position: relative;
  flex-shrink: 0;
  min-width: 76px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--inline-banner-border) 78%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  color: var(--ui-accent-text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  transform: translateY(-1px);
  overflow: hidden;
}

.section-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.section-lead span {
  position: relative;
  z-index: 1;
}

.section-heading.section-heading-inline .section-heading-copy {
  margin: 0;
  color: var(--inline-banner-text) !important;
  font-size: clamp(1.42rem, 2.35vw, 1.82rem) !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  letter-spacing: -0.015em !important;
  text-shadow: var(--inline-banner-shadow) !important;
}

.service-grid,
.platform-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.platform-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
}

.service-card {
  position: relative;
  min-height: 206px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--surface);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -44px;
  right: -38px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent-2) 11%, transparent) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.22rem, 1.8vw, 1.5rem);
  line-height: 1.28;
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.service-card p {
  max-width: 31rem;
  color: color-mix(in srgb, var(--text) 62%, var(--muted));
  transition:
    transform 220ms ease,
    color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
    box-shadow:
      0 22px 52px rgba(8, 16, 28, 0.18),
      0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent);
    background:
      radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
      var(--surface);
  }

  .service-card:hover h3 {
    transform: translateX(2px);
    color: color-mix(in srgb, var(--text-strong) 88%, var(--accent-soft) 12%);
  }

  .service-card:hover p {
    transform: translateX(2px);
    color: color-mix(in srgb, var(--text) 72%, var(--muted));
  }
}

.section-accent {
  padding: calc(var(--section-space) - 8px) 0;
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-card {
  position: relative;
  min-height: 198px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 11%, transparent), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 7%, transparent), transparent 52%);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  transform: scale(0.96);
  pointer-events: none;
}

.platform-card > * {
  position: relative;
  z-index: 1;
}

.platform-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--platform-chip-bg);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.platform-card p {
  transition:
    transform 220ms ease,
    color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .platform-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
    box-shadow:
      0 22px 48px rgba(8, 16, 28, 0.16),
      0 0 0 1px color-mix(in srgb, var(--accent-2) 8%, transparent);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
      var(--surface);
  }

  .platform-card:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  .platform-card:hover span {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--platform-chip-bg) 74%, var(--text-strong) 6%);
    color: color-mix(in srgb, var(--text-strong) 86%, var(--accent-soft) 14%);
  }

  .platform-card:hover p {
    transform: translateY(-1px);
    color: color-mix(in srgb, var(--text) 72%, var(--muted));
  }
}

.process-list {
  position: relative;
  display: grid;
  gap: 22px;
  padding-top: 6px;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(92, 231, 255, 0.18) 8%,
      rgba(92, 231, 255, 0.52) 22%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(92, 231, 255, 0.52) 78%,
      rgba(92, 231, 255, 0.18) 92%,
      transparent 100%
    );
  transform: translateX(-50%);
  opacity: 1;
  box-shadow: 0 0 12px rgba(69, 228, 255, 0.18);
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: start;
  column-gap: 20px;
}

.process-item::before {
  content: "";
  grid-column: 2;
  justify-self: center;
  margin-top: 34px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:
    0 0 0 9px color-mix(in srgb, var(--surface-strong) 92%, transparent),
    0 0 24px color-mix(in srgb, var(--accent) 20%, transparent);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.process-card {
  position: relative;
  grid-column: 1;
  padding: 32px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--inline-banner-border) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--card-shadow);
  clip-path: polygon(0 0, calc(100% - 66px) 0, 100% 66px, 100% 100%, 58px 100%, 0 calc(100% - 58px));
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 41px;
  right: -40px;
  width: 40px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--inline-banner-border) 92%, transparent) 100%
  );
}

.process-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 76px;
  height: 76px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-2) 28%, transparent) 0%,
    transparent 72%
  );
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.9;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.process-item:nth-child(even) .process-card {
  grid-column: 3;
  clip-path: polygon(66px 0, 100% 0, 100% calc(100% - 58px), calc(100% - 58px) 100%, 0 100%, 0 66px);
}

.process-item:nth-child(even) .process-card::before {
  left: -40px;
  right: auto;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--inline-banner-border) 92%, transparent) 0%,
    transparent 100%
  );
}

.process-item:nth-child(even) .process-card::after {
  left: 0;
  right: auto;
  background: linear-gradient(
    225deg,
    color-mix(in srgb, var(--accent) 28%, transparent) 0%,
    transparent 72%
  );
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.process-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 54px;
  padding: 0 12px;
  border-radius: 0;
  border: 1px solid color-mix(in srgb, var(--inline-banner-border) 82%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ui-accent-text);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.process-card-title {
  min-width: 0;
}

.process-phase {
  display: block;
  margin-bottom: 4px;
  color: var(--ui-accent-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process-card-title strong {
  display: block;
  color: var(--text-strong);
  font-size: 1.14rem;
  line-height: 1.32;
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.process-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.process-points li {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 16px;
}

.process-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 20%, transparent);
}

.process-points strong {
  display: block;
  margin: 0;
  color: var(--text-strong);
  font-size: 0.94rem;
  line-height: 1.45;
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.process-points span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
  transition: color 220ms ease;
}

.contact-section {
  padding-bottom: 76px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(220px, 0.58fr);
  gap: 22px;
  padding: 34px;
  background: var(--contact-bg);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.contact-copy {
  min-width: 0;
  max-width: min(100%, 760px);
}

.contact-title {
  max-width: none;
  font-size: clamp(1.48rem, 1.95vw, 1.96rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: auto;
}

.contact-meta {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-radius: calc(var(--card-radius) - 4px);
  background: var(--contact-meta-bg);
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.contact-meta a {
  color: var(--ui-accent-text);
  font-weight: 700;
  word-break: break-all;
}

.contact-meta span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .process-item:hover::before {
    transform: scale(1.12);
    box-shadow:
      0 0 0 9px color-mix(in srgb, var(--surface-strong) 92%, transparent),
      0 0 30px color-mix(in srgb, var(--accent) 28%, transparent);
  }

  .process-item:hover .process-card {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
    background:
      radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
      var(--surface);
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--inline-banner-border) 38%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 24px 54px rgba(8, 16, 28, 0.16);
  }

  .process-item:hover .process-card::after {
    opacity: 1;
    transform: scale(1.06);
  }

  .process-item:hover .process-step-badge {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 22%, var(--inline-banner-border));
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 14%, transparent);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
      color-mix(in srgb, var(--surface) 88%, transparent);
  }

  .process-item:hover .process-card-title strong,
  .process-item:hover .process-points strong {
    transform: translateX(2px);
    color: color-mix(in srgb, var(--text-strong) 88%, var(--accent-soft) 12%);
  }

  .process-item:hover .process-points span {
    color: color-mix(in srgb, var(--text) 70%, var(--muted));
  }

  .contact-panel:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent-2) 22%, var(--line));
    box-shadow:
      0 24px 56px rgba(8, 16, 28, 0.16),
      0 0 0 1px color-mix(in srgb, var(--accent-2) 8%, transparent);
  }

  .contact-panel:hover .contact-meta {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--contact-meta-bg) 82%, var(--text-strong) 5%);
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 32%, transparent),
      0 12px 26px rgba(8, 16, 28, 0.08);
  }
}

.site-footer {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  margin-top: 0;
  padding: 20px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-cube-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes hero-strip-left-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-9deg);
  }

  50% {
    transform: translate3d(-12px, 8px, 0) rotate(-10.8deg);
  }
}

@keyframes hero-strip-right-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(11deg);
  }

  50% {
    transform: translate3d(12px, -10px, 0) rotate(12.7deg);
  }
}

@keyframes hero-cube-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-panel.is-visible .cube-scene {
    will-change: transform, opacity;
    animation: hero-cube-enter 760ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
  }

  .hero-panel.is-visible .carousel-viewport {
    will-change: transform;
    animation: hero-cube-float 7.8s ease-in-out 920ms infinite;
  }
}

@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .hero-panel.is-visible .strip-left {
    will-change: transform;
    animation: hero-strip-left-drift 11s ease-in-out 320ms infinite;
  }

  .hero-panel.is-visible .strip-right {
    will-change: transform;
    animation: hero-strip-right-drift 12.5s ease-in-out 180ms infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel.is-visible .cube-scene,
  .hero-panel.is-visible .carousel-viewport,
  .hero-panel.is-visible .strip-left,
  .hero-panel.is-visible .strip-right {
    animation: none;
  }
}

@media (min-width: 1360px) {
  .section,
  .site-header-shell,
  .site-footer {
    width: min(1200px, calc(100% - 96px));
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: 56px;
  }

  .panel-card {
    width: min(100%, 500px);
  }

  .service-grid,
  .platform-grid {
    gap: 22px;
  }
}

@media (max-width: 1080px) {
  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    padding-top: 24px;
  }

  .hero-copy {
    max-width: none;
    min-height: auto;
    padding-top: 0;
  }

  .hero-panel {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 6px 0 0;
  }

  .panel-card {
    min-height: auto;
  }

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

@media (max-width: 960px) {
  .hero {
    gap: 26px;
    padding-top: 18px;
  }

  .hero-panel {
    min-height: auto;
    display: block;
    padding: 0;
  }

  .panel-card {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 24px 22px;
  }

  .panel-main p {
    margin-bottom: 16px;
  }

  .cube-scene {
    --cube-size: clamp(248px, 46vw, 304px);
  }

  .cube-face {
    padding: 26px 24px 24px;
  }

  .cube-face .platform-name {
    font-size: 1.18rem;
  }

  .cube-face b {
    font-size: 0.86rem;
  }

  .strip-left,
  .strip-right {
    display: none;
  }

  .site-header-shell {
    padding: 12px 0;
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: auto;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 24px;
    padding: 10px;
  }

  .site-nav.is-open {
    display: inline-flex;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 8px);
    min-width: 132px;
    min-height: 46px;
    justify-content: center;
  }

  .theme-control {
    width: 100%;
  }

  .theme-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--button-secondary-bg);
  }

  .theme-panel {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before,
  .site-nav,
  .section-lead,
  .panel-card,
  .service-card,
  .platform-card,
  .process-card,
  .contact-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
      var(--header-bg);
  }

  .site-nav {
    background: var(--nav-bg);
  }

  .section-lead {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
      color-mix(in srgb, var(--surface) 92%, transparent);
  }

  .panel-card {
    background: var(--surface-strong);
  }

  .service-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
      var(--surface);
  }

  .platform-card,
  .process-card {
    background: var(--surface);
  }

  .contact-panel {
    background: var(--contact-bg);
  }
}

@media (max-width: 820px) {
  .site-header-shell {
    padding: 12px 0;
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: auto;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 10px;
  }

  .site-nav.is-open {
    display: inline-flex;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    min-height: 46px;
    justify-content: center;
  }

  .theme-control {
    width: 100%;
  }

  .theme-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--button-secondary-bg);
  }

  .theme-panel {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .theme-options {
    grid-template-columns: 1fr;
  }

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

  .process-list {
    gap: 18px;
  }

  .process-list::before {
    left: 18px;
    transform: none;
  }

  .process-item {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 16px;
  }

  .process-item::before {
    grid-column: 1;
    margin-top: 30px;
  }

  .process-card,
  .process-item:nth-child(even) .process-card {
    grid-column: 2;
  }

  .process-card::before,
  .process-item:nth-child(even) .process-card::before {
    left: -16px;
    right: auto;
    width: 16px;
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--inline-banner-border) 92%, transparent) 0%,
      transparent 100%
    );
  }

  h1 {
    font-size: clamp(2.2rem, 8.8vw, 3.2rem);
  }

  h2 {
    max-width: none;
  }

  .section-heading-inline {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0 18px;
  }

  .section-heading-inline::after {
    left: 0;
    width: clamp(72px, 32vw, 132px);
  }

  .section-lead {
    justify-items: flex-start;
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .hero {
    gap: 20px;
    padding-top: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 56px;
  }

  .hero-panel {
    min-height: auto;
    padding-top: 0;
    display: block;
  }

  .panel-card {
    width: 100%;
    max-width: none;
    padding: 20px 18px;
  }

  .panel-main p {
    margin-bottom: 14px;
    font-size: 0.76rem;
  }

  .cube-scene {
    --cube-size: clamp(224px, 58vw, 258px);
    width: 100%;
  }

  .cube-face {
    gap: 14px;
    padding: 22px 20px 20px;
    border-radius: 20px;
  }

  .cube-face-kicker {
    font-size: 0.7rem;
  }

  .cube-platform-label {
    gap: 12px;
  }

  .cube-face .platform-name {
    font-size: 1.08rem;
  }

  .platform-icon {
    width: 30px;
    height: 30px;
  }

  .platform-icon svg,
  .platform-icon img {
    width: 28px;
    height: 28px;
  }

  .icon-ios svg {
    width: 31px;
    height: 31px;
  }

  .cube-face .platform-icon {
    width: 42px;
    height: 42px;
  }

  .cube-face .platform-icon svg,
  .cube-face .platform-icon img {
    width: 36px;
    height: 36px;
  }

  .cube-face .icon-ios svg {
    width: 39px;
    height: 39px;
  }

  .section-heading.section-heading-inline .section-heading-copy {
    font-size: clamp(1.16rem, 5.8vw, 1.36rem) !important;
    line-height: 1.38 !important;
  }

  .service-card,
  .platform-card {
    min-height: auto;
    padding: 22px;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-title {
    font-size: clamp(1.3rem, 6vw, 1.62rem);
  }

  .contact-meta {
    padding: 16px;
  }

  .cube-face b {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .carousel-nav {
    width: calc(100% - 2px);
    gap: 2px;
    padding: 4px 2px 0;
  }

  .carousel-dot {
    width: 50px;
    height: 50px;
  }

  .carousel-dot .platform-icon {
    width: 26px;
    height: 26px;
  }

  .carousel-dot .icon-ios {
    width: 29px;
    height: 29px;
  }

  .carousel-dot.is-active .platform-icon {
    width: 52px;
    height: 52px;
  }

  .carousel-dot.is-active .icon-ios {
    width: 58px;
    height: 58px;
  }

}

@media (max-width: 560px) {
  .section,
  .site-header-shell,
  .site-footer {
    width: min(100% - 32px, var(--content-width));
  }

  .section {
    padding: 44px 0;
  }

  .hero {
    gap: 24px;
  }

  .theme-option {
    grid-template-columns: 1fr;
  }

  .theme-swatch {
    width: 100%;
    height: 46px;
  }

  .panel-card {
    padding: 18px 16px;
  }

  .panel-main p {
    margin-bottom: 12px;
  }

  .cube-scene {
    --cube-size: clamp(204px, 64vw, 226px);
    width: 100%;
  }

  .cube-face {
    gap: 12px;
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .cube-face .platform-name {
    font-size: 0.96rem;
  }

  .cube-face b {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .carousel-dot {
    width: clamp(40px, 12vw, 44px);
    height: clamp(40px, 12vw, 44px);
  }

  .carousel-nav {
    width: 100%;
    gap: 1px;
    padding: 4px 0 0;
  }

  .carousel-dot .platform-icon {
    width: clamp(21px, 6vw, 24px);
    height: clamp(21px, 6vw, 24px);
  }

  .carousel-dot .icon-ios {
    width: clamp(24px, 6.8vw, 27px);
    height: clamp(24px, 6.8vw, 27px);
  }

  .carousel-dot.is-active {
    transform: translateY(-4px);
  }

  .carousel-dot::after {
    width: 42px;
    height: 11px;
    bottom: -5px;
  }

  .carousel-dot.is-active .platform-icon {
    width: clamp(42px, 12vw, 48px);
    height: clamp(42px, 12vw, 48px);
  }

  .carousel-dot.is-active .icon-ios {
    width: clamp(47px, 13.5vw, 54px);
    height: clamp(47px, 13.5vw, 54px);
  }

  .process-item {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 12px;
  }

  .process-list::before {
    left: 14px;
    width: 2px;
  }

  .process-item::before {
    width: 14px;
    height: 14px;
    margin-top: 28px;
    box-shadow:
      0 0 0 7px color-mix(in srgb, var(--surface-strong) 92%, transparent),
      0 0 20px color-mix(in srgb, var(--accent) 18%, transparent);
  }

  .process-card,
  .process-item:nth-child(even) .process-card {
    padding: 28px 26px 26px;
    clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  }

  .process-item:nth-child(even) .process-card {
    clip-path: polygon(38px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 38px);
  }

  .process-card::after {
    width: 48px;
    height: 48px;
  }

  .process-card-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .process-step-badge {
    justify-self: start;
    min-width: 52px;
    height: 46px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }

  .process-card-title strong {
    font-size: 1.06rem;
  }

  .process-points {
    gap: 12px;
  }

  .process-points span {
    font-size: 0.92rem;
    line-height: 1.64;
  }

  .panel-card,
  .service-card,
  .platform-card,
  .contact-panel {
    border-radius: 24px;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-meta {
    gap: 10px;
  }

  .contact-meta span {
    font-size: 0.86rem;
  }
}
