@font-face {
  font-family: "Jimmy Display SC";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./fonts/jimmy-display-sc.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --canvas: #f1f3f4;
  --canvas-strong: #e6eaed;
  --surface: #fafbfb;
  --surface-solid: #ffffff;
  --ink: #08142f;
  --ink-soft: #536071;
  --line: rgba(8, 20, 47, 0.16);
  --line-strong: rgba(8, 20, 47, 0.46);
  --accent: #ee531a;
  --accent-action: #cf4310;
  --accent-action-hover: #b5360a;
  --accent-contrast: #ffffff;
  --accent-text: #c83d0b;
  --accent-soft: rgba(238, 83, 26, 0.1);
  --header: rgba(241, 243, 244, 0.94);
  --shadow: 0 24px 60px rgba(24, 39, 61, 0.1);
  --shell: min(1280px, calc(100% - 80px));
  --header-height: 72px;
  --section-space: clamp(88px, 9vw, 144px);
  --font-display: "Jimmy Display SC", "Bahnschrift", "Arial Narrow", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-body: "Aptos", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0e151e;
    --canvas-strong: #141e28;
    --surface: #19242e;
    --surface-solid: #202c37;
    --ink: #eef3f7;
    --ink-soft: #b5c0c9;
    --line: rgba(238, 243, 247, 0.16);
    --line-strong: rgba(238, 243, 247, 0.42);
    --accent: #ff6a2b;
    --accent-action: #ff6a2b;
    --accent-action-hover: #ff8552;
    --accent-contrast: #08142f;
    --accent-text: #ff8552;
    --accent-soft: rgba(255, 106, 43, 0.13);
    --header: rgba(14, 21, 30, 0.94);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  }

  .brand-logo {
    padding: 4px;
    background: #e9edf0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

::selection {
  background: var(--accent-action);
  color: var(--accent-contrast);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  text-decoration: none;
}

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

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-word {
  display: grid;
  min-width: 0;
  gap: 1px;
  line-height: 1.1;
}

.brand-word strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-word small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.nav-links a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links a[aria-current="location"] {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="location"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  min-height: 44px;
  padding-inline: 18px;
  background: var(--ink);
  color: var(--canvas) !important;
}

.nav-contact:hover {
  background: var(--accent-action);
  color: var(--accent-contrast) !important;
}

.nav-contact:active,
.button:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button-primary {
  background: var(--accent-action);
  color: var(--accent-contrast);
}

.button-primary:hover {
  background: var(--accent-action-hover);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  width: 24px;
  height: 1px;
  content: "";
  background: var(--accent);
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(1.58);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-heading h2 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
}

.section-heading p {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 32px;
  padding-block: 42px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-brand small,
.site-footer p {
  color: var(--ink-soft);
}

.site-footer a {
  min-height: 44px;
  align-content: center;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-text);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 56px, 960px);
  }

  .brand-word small {
    display: none;
  }

  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 840px) {
  :root {
    --shell: calc(100% - 40px);
    --section-space: 96px;
  }

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    border-bottom: 0 solid var(--line);
    background: var(--canvas);
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 280ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 180ms ease,
      padding 280ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .menu-open .nav-links {
    max-height: calc(100dvh - var(--header-height));
    padding-block: 18px 24px;
    border-bottom-width: 1px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-contact {
    margin-top: 8px;
    justify-content: center;
    border-bottom: 0 !important;
  }

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

  .site-footer p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 32px);
    --section-space: 78px;
  }

  .brand-logo,
  .product-brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-word strong {
    font-size: 0.9rem;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10.6vw, 3.2rem);
  }

  .button {
    min-height: 50px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .site-footer p {
    grid-column: auto;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--canvas);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
