@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --orange: #ff4518;
  --orange-dark: #ee3a10;
  --ink: #252525;
  --muted: #a4a4a4;
  --panel: rgba(250, 250, 250, 0.95);
  --line: rgba(255, 69, 24, 0.1);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

img, a, button { -webkit-user-drag: none; }

button, a { font: inherit; }
button { cursor: pointer; }

.site-shell {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.menu-stage {
  position: absolute;
  left: 50%;
  top: 44.1%;
  transform: translate(-50%, -50%);
  width: min(340px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark {
  width: 190px;
  height: 62px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1060 / 346;
}

.menu-wrap { width: min(127px, calc(100vw - 48px)); position: relative; }

.home-toggle {
  appearance: none;
  border: 0;
  border-radius: 999px;
  width: 100%;
  height: 31px;
  position: relative;
  z-index: 2;
  color: white;
  background: linear-gradient(180deg, #ff7250 0%, var(--orange) 45%, #ff3a0b 100%);
  box-shadow: 0 5px 8px rgba(183, 58, 22, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: filter 180ms ease, transform 180ms ease;
}

.home-toggle::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 5px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.home-toggle:hover { filter: saturate(1.08) brightness(1.03); }
.home-toggle:active { transform: translateY(1px); }
.home-toggle:focus-visible, .label-menu button:focus-visible, .social-link:focus-visible { outline: 3px solid rgba(255, 69, 24, 0.3); outline-offset: 4px; }

.chevron {
  position: absolute;
  right: -22px;
  top: 6px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 12px solid var(--orange);
  filter: drop-shadow(2px 2px 1px rgba(0,0,0,0.05));
  transition: transform 180ms ease;
}

.home-toggle[aria-expanded='true'] .chevron { transform: rotate(180deg); }

.label-menu {
  position: relative;
  margin: -1px auto 0;
  width: calc(100% - 26px);
  padding: 15px 0 17px;
  background: var(--panel);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.025);
  transform-origin: top;
  animation: menu-in 180ms ease-out both;
}

.label-menu ul { list-style: none; padding: 0; margin: 0; }
.label-menu li { opacity: 0; animation: item-in 200ms ease-out forwards; }
.label-menu li:nth-child(1) { animation-delay: 25ms; }
.label-menu li:nth-child(2) { animation-delay: 40ms; }
.label-menu li:nth-child(3) { animation-delay: 55ms; }
.label-menu li:nth-child(4) { animation-delay: 70ms; }
.label-menu li:nth-child(5) { animation-delay: 85ms; }
.label-menu li:nth-child(6) { animation-delay: 100ms; }
.label-menu li:nth-child(7) { animation-delay: 115ms; }
.label-menu li:nth-child(8) { animation-delay: 130ms; }

.label-menu button {
  appearance: none;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 3px 4px;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.34;
  transition: color 150ms ease, transform 150ms ease;
}

.label-menu button:hover { color: var(--orange-dark); transform: translateX(2px); }
.label-menu small { color: rgba(255, 69, 24, 0.5); font-size: 7px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }

@keyframes menu-in { from { opacity: 0; transform: scaleY(0.86) translateY(-4px); } to { opacity: 1; transform: scaleY(1) translateY(0); } }
@keyframes item-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }

.site-footer {
  position: absolute;
  left: 5.55%;
  right: 5.55%;
  bottom: 5.3%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--muted);
}

.company-info { font-size: 12px; line-height: 1.28; letter-spacing: -0.035em; }
.company-info p { margin: 0; }
.social-links { display: flex; align-items: center; gap: 22px; }
.social-link { display: grid; place-items: center; width: 24px; height: 24px; color: #aeaeae; transition: color 160ms ease, transform 160ms ease; }
.social-link:hover { color: #777; transform: translateY(-2px); }
.social-link svg { width: 24px; height: 24px; fill: currentColor; }
.social-link:nth-child(2) svg { fill: none; stroke: currentColor; stroke-width: 2.1; }
.social-link:nth-child(2) .fill-dot { fill: currentColor; stroke: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 31px;
  transform: translate(-50%, 12px);
  background: rgba(37, 37, 37, 0.9);
  color: #fff;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: -0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .menu-stage { top: 41%; width: min(310px, calc(100vw - 48px)); }
  .wordmark { width: 170px; height: 56px; margin-bottom: 18px; }
  .menu-wrap { width: min(127px, calc(100vw - 48px)); }
  .home-toggle { height: 29px; font-size: 14px; }
  .label-menu button { font-size: 13px; }
  .label-menu small { font-size: 7px; }
  .site-footer { left: 24px; right: 24px; bottom: 24px; align-items: flex-end; }
  .company-info { font-size: 10px; max-width: 210px; }
  .social-links { gap: 13px; }
  .social-link, .social-link svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
