:root {
  --ink: #112346;
  --muted: #63718c;
  --blue: #2865ea;
  --blue-deep: #0b2c71;
  --line: #dfe6f3;
  --surface: #f5f8fd;
  --white: #ffffff;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.site-header, main, footer { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.07em; white-space: nowrap; }
.wordmark-icon { display: block; width: 33px; height: 33px; flex: 0 0 auto; border-radius: 8px; }
.wordmark-name span { color: var(--blue); }
nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
nav a, .language-switch { color: #4f5e79; font-size: 0.9rem; font-weight: 650; }
nav a:hover { color: var(--blue); }
.language-switch { min-width: 74px; border: 1px solid #d8e1f0; background: linear-gradient(180deg, #fff 0%, #f8faff 100%); border-radius: 999px; box-shadow: 0 1px 2px rgba(17,35,70,.04); min-height: 38px; padding: 0 13px 0 11px; cursor: pointer; font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.language-globe { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.language-switch:hover { border-color: #a9c0ee; color: var(--blue); box-shadow: 0 6px 14px rgba(40,101,234,.12); transform: translateY(-1px); }
.language-switch:focus-visible, .button:focus-visible, nav a:focus-visible, .install-guide-trigger:focus-visible { outline: 3px solid rgba(40,101,234,.28); outline-offset: 3px; }

.hero { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(34px, 5vw, 58px); align-items: center; min-height: 636px; padding: 68px 0 74px; }
.hero-copy, .hero-stage, .feature-section > *, .workflow > * { min-width: 0; }
.eyebrow { margin: 0 0 17px; color: var(--blue); font-weight: 750; font-size: .79rem; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.065em; }
h1 { margin-bottom: 25px; font-size: clamp(3.15rem, 5vw, 5.45rem); line-height: .98; }
h2 { margin-bottom: 18px; font-size: clamp(2.45rem, 4.3vw, 4.3rem); line-height: 1; }
h3 { margin-bottom: 10px; font-size: 1.08rem; letter-spacing: -.025em; }
.hero-intro { max-width: 430px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 19px; border-radius: 11px; font-size: .95rem; font-weight: 730; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 10px 25px rgba(40,101,234,.22); }
.button-primary:hover { background: #1755da; }
.button-quiet { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.button-quiet:hover { border-color: #afc2eb; }
.hero-note { margin: 18px 0 0; color: #8996ae; font-size: .78rem; }.install-guide-trigger { border: 0; padding: 0; color: #536fba; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }.install-guide-trigger:hover { color: var(--blue); }

.hero-stage { margin: 0; overflow: hidden; border: 1px solid #d9e3f3; border-radius: 21px; background: var(--white); box-shadow: 0 26px 62px rgba(21, 48, 97, .16), 0 2px 5px rgba(21, 48, 97, .05); }
.stage-media { position: relative; aspect-ratio: 1.65 / 1; overflow: hidden; background: var(--surface); }
.stage-media::after { position: absolute; right: 0; bottom: 0; left: 0; height: 18px; content: ""; pointer-events: none; background: linear-gradient(transparent, rgba(245, 248, 253, .22)); }
.hero-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; background: var(--surface); }
.stage-caption { margin: 0; padding: 11px 15px 12px; color: var(--muted); border-top: 1px solid var(--line); background: var(--white); font-size: .78rem; font-weight: 650; letter-spacing: .01em; text-align: center; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles article { padding: 30px 30px 32px; border-left: 1px solid var(--line); }.principles article:first-child { border-left: 0; }
.principle-number { display: inline-block; margin-bottom: 35px; color: #91a2c2; font: 700 .73rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.principles h2 { margin-bottom: 9px; font-size: 1.28rem; letter-spacing: -.04em; }.principles p { margin-bottom: 0; max-width: 270px; color: var(--muted); font-size: .91rem; line-height: 1.65; }

.feature-section { padding: 138px 0; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(42px, 7vw, 80px); }.section-intro { position: sticky; top: 44px; align-self: start; }.section-intro h2 { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.feature-card { min-height: 210px; padding: 27px; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }.feature-card-featured { color: var(--white); border-color: var(--blue-deep); background: var(--blue-deep); }.feature-symbol { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; margin-bottom: 47px; border-radius: 9px; background: var(--surface); color: var(--blue); font-weight: 800; }.feature-card-featured .feature-symbol { background: rgba(255,255,255,.12); color: #cfe1ff; }.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .89rem; line-height: 1.65; }.feature-card-featured p { color: #c8d9fb; }

.workflow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; padding: 94px 62px; border-radius: 22px; color: #eaf1ff; background: linear-gradient(124deg, #0a1c3c 0%, #123b8a 100%); }.workflow h2 { margin-bottom: 0; }.workflow .eyebrow { color: #8eb3ff; }.workflow ol { margin: 0; padding: 0; list-style: none; }.workflow li { display: grid; grid-template-columns: 42px 1fr; gap: 17px; padding: 20px 0; border-top: 1px solid rgba(227,238,255,.2); }.workflow li:first-child { border-top: 0; padding-top: 0; }.workflow li > span { color: #8eb3ff; font: 700 .84rem ui-monospace, SFMono-Regular, Menlo, monospace; }.workflow h3 { margin-bottom: 5px; }.workflow p { margin-bottom: 0; color: #bfd0ef; font-size: .92rem; line-height: 1.65; }

.download-panel { margin: 136px 0 88px; text-align: center; }.download-panel p:not(.eyebrow) { max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 1rem; line-height: 1.7; }.download-panel .hero-actions { justify-content: center; }.button-light { background: var(--surface); }
footer { min-height: 105px; display: flex; align-items: center; gap: 23px; border-top: 1px solid var(--line); color: var(--muted); }.footer-links { display: flex; gap: 17px; margin-left: auto; }.footer-links a { font-size: .8rem; }.footer-links a:hover { color: var(--blue); } footer p { margin: 0; font-size: .8rem; }

.install-dialog { width: min(100% - 34px, 520px); padding: 30px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 28px 80px rgba(8, 23, 52, .28); }.install-dialog::backdrop { background: rgba(8, 22, 50, .48); backdrop-filter: blur(5px); }.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.dialog-header .eyebrow { margin-bottom: 12px; }.dialog-close { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: #5c6b86; background: var(--white); cursor: pointer; font-size: 1.45rem; line-height: 1; }.dialog-close:hover { border-color: #aebde0; color: var(--blue); }.install-dialog h2 { margin-bottom: 14px; font-size: 2.2rem; }.dialog-intro { margin-bottom: 24px; color: var(--muted); line-height: 1.65; }.install-steps { display: grid; gap: 15px; margin: 0; padding-left: 22px; color: #44536d; line-height: 1.6; }.install-steps code { display: block; margin-top: 9px; padding: 12px 14px; overflow-x: auto; border: 1px solid #d6e1f7; border-radius: 9px; color: #1446aa; background: #f3f7ff; font: 700 .88rem ui-monospace, SFMono-Regular, Menlo, monospace; }.install-help { margin: 25px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.6; }.install-help a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .hero { min-height: 560px; padding: 54px 0 64px; }
  .feature-section { grid-template-columns: minmax(245px, .72fr) minmax(0, 1.28fr); }
  .workflow { gap: 48px; padding: 76px 50px; }
}
@media (max-width: 860px) {
  .site-header, main, footer { width: min(100% - 32px, 640px); }.site-header { height: auto; min-height: 72px; flex-wrap: wrap; padding: 17px 0 14px; gap: 15px; }.site-header nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 12px; }
  nav a { flex: 1; padding: 8px 0; border-radius: 8px; text-align: center; background: var(--surface); }
  .hero { grid-template-columns: 1fr; gap: 45px; min-height: unset; padding: 55px 0 60px; }.hero-copy { max-width: 590px; }.hero-stage { width: 100%; max-width: 630px; }.principles, .feature-section, .workflow { grid-template-columns: 1fr; }.principles article { border-left: 0; border-top: 1px solid var(--line); }.principles article:first-child { border-top: 0; }.feature-section { gap: 42px; padding: 85px 0; }.section-intro { position: static; }.workflow { gap: 40px; padding: 52px 31px; }.download-panel { margin: 84px 0 62px; } footer { flex-wrap: wrap; padding: 23px 0; gap: 11px; }.footer-links { width: 100%; margin-left: 0; }
}
@media (max-width: 480px) {
  .site-header, main, footer { width: calc(100% - 28px); }.site-header { padding-top: max(17px, env(safe-area-inset-top)); }.wordmark { gap: 8px; font-size: 1.34rem; }.wordmark-icon { width: 30px; height: 30px; border-radius: 7px; }.language-switch { min-height: 34px; padding: 0 11px; }
  nav a { font-size: .82rem; }.hero { gap: 35px; padding: 43px 0 50px; }.eyebrow { margin-bottom: 13px; font-size: .72rem; }.hero-intro { font-size: 1rem; }.hero-actions { align-items: stretch; margin-top: 24px; }.button { width: 100%; }.hero-stage { border-radius: 16px; }.stage-caption { display: none; }
  h1 { font-size: clamp(2.18rem, 11.4vw, 3rem); letter-spacing: -.055em; }.principles article { padding: 26px 0; }.principle-number { margin-bottom: 20px; }.principles h2 { font-size: 1.18rem; }.feature-section { padding: 68px 0; }.feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 180px; padding: 24px; }.feature-symbol { margin-bottom: 32px; }.workflow { padding: 37px 23px; border-radius: 17px; }.workflow li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }.download-panel { margin: 68px 0 52px; }.footer-links { flex-wrap: wrap; row-gap: 9px; }.install-dialog { width: calc(100% - 24px); padding: 22px; }.install-dialog h2 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.button { transition: none; } }
