:root {
  --bg: #fff8d8;
  --surface: #fff3bd;
  --surface-strong: #f6edc6;
  --panel: #fffdf2;
  --ink: #101418;
  --muted: #5d6673;
  --soft: #eadf9f;
  --glow-green: #d8ff7a;
  --glow-green-soft: #f2ffd5;
  --glow-green-border: #b8ef3f;
  --accent: #007d68;
  --accent-dark: #005b4d;
  --focus: #0b84ff;
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
}

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

.google-translate-host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body {
  top: 0 !important;
}

body > .skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 240px) auto;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 8px max(20px, calc((100vw - 1024px) / 2));
  border-bottom: 1px solid var(--soft);
  background: rgba(255, 250, 221, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.search {
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 0;
  padding: 3px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.hero-search {
  width: min(100%, 620px);
  margin-top: 28px;
  border-color: var(--glow-green-border);
  background: var(--glow-green-soft);
  box-shadow: 0 16px 42px rgba(184, 239, 63, 0.28);
}

.hero-search:focus-within {
  border-color: #8ed500;
  box-shadow: 0 0 0 4px rgba(216, 255, 122, 0.55), 0 18px 46px rgba(184, 239, 63, 0.32);
}

.search input {
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.search input::placeholder {
  color: #737b86;
  font-weight: 650;
}

.search button {
  min-width: 72px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--glow-green);
  color: #172000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

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

.nav-link,
.language-menu > summary {
  min-height: 44px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.nav-link[aria-current="page"] {
  border-color: var(--glow-green-border);
  background: var(--glow-green-soft);
}

.language-menu {
  position: relative;
  z-index: 30;
}

.language-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.language-menu > summary::-webkit-details-marker {
  display: none;
}

.language-menu > summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.language-chevron {
  transition: transform 180ms ease;
}

.language-menu[open] .language-chevron {
  transform: rotate(180deg);
}

.language-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 2px 18px;
  width: min(430px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 92px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(25, 31, 38, 0.14);
}

.language-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: #42526b;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.language-panel a:hover,
.language-panel a:focus-visible,
.language-panel a.is-active {
  background: #eef6e6;
  color: #4aa300;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 56px);
  max-width: none;
  margin: 0;
  padding: 72px max(20px, calc((100vw - 1024px) / 2)) 48px;
  background:
    linear-gradient(180deg, rgba(5, 17, 32, 0.34) 0%, rgba(5, 17, 32, 0.26) 42%, rgba(255, 248, 216, 0.76) 100%),
    url("assets/hero-logistics.png") center / cover no-repeat;
  text-align: center;
}

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

.hero .eyebrow,
.hero .hero-kicker,
.hero h1,
.hero .hero-copy {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.46);
}

.faq-hero {
  display: grid;
  justify-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 58px 20px 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 850;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 78px);
  line-height: 1;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: var(--panel);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.faq-section {
  border-top: 1px solid var(--soft);
  background: #fff2b8;
}

.hero-categories {
  width: min(100%, 980px);
  margin-top: 30px;
}

.section-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 30px;
}

.section-shell h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.section-intro {
  margin: 6px 0 20px;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: grid;
  grid-template-rows: 76px 42px;
  overflow: hidden;
  min-height: 118px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  border-color: #b7c1cc;
  box-shadow: 0 12px 28px rgba(25, 31, 38, 0.08);
  transform: translateY(-2px);
}

.icon-wrap {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--icon-bg, #eef2f6) 100%);
  color: var(--icon-stroke, var(--ink));
}

.icon-wrap svg {
  width: 48px;
  height: 48px;
}

.icon-wrap svg path,
.icon-wrap svg circle {
  fill: none;
  stroke: var(--icon-stroke, currentColor);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.icon-wrap svg path:first-child {
  fill: var(--icon-fill, #ffffff);
}

.category-card:nth-child(1) {
  --icon-bg: #e7fff7;
  --icon-fill: #c8f7e5;
  --icon-stroke: #007d68;
  --icon-accent: #00a98b;
}

.category-card:nth-child(2) {
  --icon-bg: #fff3df;
  --icon-fill: #ffd89b;
  --icon-stroke: #9b5200;
  --icon-accent: #ff9f1c;
}

.category-card:nth-child(3) {
  --icon-bg: #eef4ff;
  --icon-fill: #1b2430;
  --icon-stroke: #11161b;
  --icon-accent: #72a7ff;
}

.category-card:nth-child(4) {
  --icon-bg: #f1edff;
  --icon-fill: #d6c8ff;
  --icon-stroke: #5132a6;
  --icon-accent: #7d5cff;
}

.category-card:nth-child(5) {
  --icon-bg: #eaf8ff;
  --icon-fill: #bfeaff;
  --icon-stroke: #096b8f;
  --icon-accent: #18a6d9;
}

.category-card:nth-child(6) {
  --icon-bg: #effbf0;
  --icon-fill: #bdeec5;
  --icon-stroke: #1c7c36;
  --icon-accent: #3bb65f;
}

.category-card:nth-child(7) {
  --icon-bg: #fff0f4;
  --icon-fill: #ffd0dc;
  --icon-stroke: #a22c53;
  --icon-accent: #f45f8b;
}

.category-card:nth-child(8) {
  --icon-bg: #edf7ff;
  --icon-fill: #c8e7ff;
  --icon-stroke: #2456a6;
  --icon-accent: #3c83f6;
}

.category-card:nth-child(9) {
  --icon-bg: #fff7e8;
  --icon-fill: #ffe0a8;
  --icon-stroke: #8a5a00;
  --icon-accent: #f3b21a;
}

.category-card:nth-child(10) {
  --icon-bg: #f4f0ff;
  --icon-fill: #dfd3ff;
  --icon-stroke: #6441b8;
  --icon-accent: #9b72ff;
}

.category-card:nth-child(11) {
  --icon-bg: #e9fff9;
  --icon-fill: #c3f6e9;
  --icon-stroke: #08785f;
  --icon-accent: #10b995;
}

.category-card:nth-child(12) {
  --icon-bg: #f3f6ff;
  --icon-fill: #d9e2ff;
  --icon-stroke: #3b4f9f;
  --icon-accent: #7088ff;
}

.icon-wrap svg path:nth-child(2),
.icon-wrap svg path:nth-child(3),
.icon-wrap svg circle:nth-child(2) {
  stroke: var(--icon-accent, currentColor);
}

.category-card:nth-child(3) .icon-wrap svg path:nth-child(2),
.category-card:nth-child(3) .icon-wrap svg path:nth-child(3) {
  stroke: #ffffff;
}

.category-card strong {
  display: grid;
  place-items: center;
  padding: 0 8px;
  font-size: 14px;
  line-height: 1.2;
}

.empty-state {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
}

.content-section,
.faq-section {
  padding: 26px 20px 34px;
}

.faq-page-section {
  padding: 16px 20px 46px;
}

.blog-section {
  padding: 16px 20px 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 20px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.blog-meta {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.blog-card p {
  color: var(--muted);
}

.blog-card a {
  margin-top: auto;
  color: var(--ink);
  font-weight: 850;
  text-underline-offset: 3px;
}

.spreadsheet-section {
  padding: 12px 20px 30px;
}

.spreadsheet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.spreadsheet-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.spreadsheet-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.spreadsheet-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.spreadsheet-card a {
  margin-top: auto;
  color: var(--ink);
  font-weight: 850;
  text-underline-offset: 3px;
}

.spreadsheet-card a + a {
  margin-top: 8px;
}

.product-spreadsheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-find-card {
  display: flex;
  flex-direction: column;
  min-height: 224px;
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin-bottom: 14px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: #ffffff;
}

.product-find-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.product-find-card p {
  color: var(--muted);
}

.product-find-card a {
  margin-top: auto;
  color: var(--ink);
  font-weight: 850;
  text-underline-offset: 3px;
}

.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 58px 20px 52px;
}

.article-header {
  text-align: center;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.05;
}

.article-header p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.article-body {
  margin-top: 42px;
}

.article-body h2 {
  margin: 34px 0 10px;
  font-size: 28px;
  line-height: 1.25;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 17px;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 10px;
}

.article-body strong {
  color: var(--ink);
}

.copy-block {
  max-width: 700px;
  margin: 0 auto;
}

.copy-block h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

#how-to-use {
  scroll-margin-top: 88px;
}

.copy-block h3 {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.copy-block p,
.copy-block li {
  color: var(--muted);
}

.copy-block p {
  margin: 0 0 16px;
}

.copy-block ol {
  margin: 16px 0 0;
  padding-left: 23px;
}

.copy-block li + li {
  margin-top: 12px;
}

.faq-section article {
  padding: 12px 0;
}

.faq-list article {
  padding: 22px 0;
  border-top: 1px solid var(--soft);
}

.faq-list article:first-child {
  border-top: 0;
}

.faq-list h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.site-footer {
  padding: 22px max(20px, calc((100vw - 980px) / 2));
  border-top: 1px solid var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

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

  .header-actions {
    justify-content: end;
  }

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

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

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

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

@media (max-width: 560px) {
  .site-header {
    padding: 8px 14px;
  }

  .brand small {
    display: none;
  }

  .language-menu > summary span {
    display: none;
  }

  .language-panel {
    grid-template-columns: 1fr;
    right: -14px;
    width: min(300px, calc(100vw - 28px));
  }

  .hero {
    padding: 50px 18px 48px;
  }

  .faq-hero {
    padding: 44px 14px 26px;
  }

  .hero-kicker {
    font-size: 22px;
  }

  h1 {
    font-size: 52px;
  }

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

  .hero-points {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-points li {
    min-height: 34px;
    font-size: 13px;
  }

  .section-shell,
  .content-section,
  .faq-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .faq-page-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .blog-section {
    padding-left: 14px;
    padding-right: 14px;
  }

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

  .spreadsheet-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .spreadsheet-grid,
  .spreadsheet-grid.compact {
    grid-template-columns: 1fr;
  }

  .product-spreadsheet-grid {
    grid-template-columns: 1fr;
  }

  .article-page {
    padding: 44px 14px 42px;
  }

  .article-header h1 {
    font-size: 38px;
  }

  .article-header p {
    font-size: 17px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    grid-template-rows: 88px 46px;
    min-height: 134px;
  }

  .copy-block h2 {
    font-size: 28px;
  }

  .site-footer {
    padding: 20px 14px;
  }
}

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