:root {
  --bg: #f5f5f5;
  --panel: #ffffff;
  --panel-alt: #f7f7f7;
  --text: #121212;
  --muted: #5b5b5b;
  --line: #e6e6e6;
  --primary: #f37011;
  --primary-hover: #d95f08;
  --accent: #121212;
  --success: #17633f;
  --error: #b42318;
  --shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(243, 112, 17, 0.2), transparent 22rem),
    linear-gradient(180deg, #fcfbfa 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: inherit;
}

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

.hidden {
  display: none !important;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.brand-mark-fmk {
  object-fit: contain;
  background: transparent;
  padding: 0;
}

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

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  transition: 0.2s ease;
}

.site-nav a:hover {
  background: rgba(18, 18, 18, 0.06);
  color: var(--text);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #121212;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  gap: 10px;
}

.alt-chip {
  background: var(--primary);
}

.button-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.content {
  display: grid;
  gap: 24px;
}

.hero,
.panel,
.step-card {
  background: var(--panel);
  border: 1px solid rgba(18, 18, 18, 0.06);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  padding: 40px;
  border-radius: calc(var(--radius) + 4px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  max-width: 12ch;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(243, 112, 17, 0.08), rgba(18, 18, 18, 0.08)),
    var(--panel-alt);
  overflow: hidden;
}

.shipment-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-package-icon,
.hero-gpu {
  position: absolute;
  top: 50%;
  filter: brightness(0) saturate(100%) invert(49%) sepia(87%) saturate(1735%) hue-rotate(355deg) brightness(101%) contrast(91%);
}

.hero-package-icon {
  width: 118px;
  left: 14%;
  z-index: 4;
  transform: translateY(-50%);
  filter:
    brightness(0) saturate(100%) invert(49%) sepia(87%) saturate(1735%) hue-rotate(355deg) brightness(101%) contrast(91%)
    drop-shadow(0 10px 18px rgba(243, 112, 17, 0.22));
  animation: packagePulse 3.6s ease-in-out infinite;
}

.hero-gpu {
  width: 102px;
  left: 50%;
  z-index: 3;
  transform: translateY(-50%);
  animation: gpuToBox 3.6s ease-in-out infinite;
}

.scene-dot,
.scene-trail {
  position: absolute;
  background: rgba(243, 112, 17, 0.32);
  border-radius: 999px;
  opacity: 0;
}

.scene-dot {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 12px rgba(243, 112, 17, 0.28);
  animation: sceneDots 3.6s ease-in-out infinite;
}

.dot-one {
  left: 32%;
  top: 33%;
  animation-delay: 0.1s;
}

.dot-two {
  left: 44%;
  top: 26%;
  animation-delay: 0.35s;
}

.dot-three {
  left: 56%;
  top: 38%;
  animation-delay: 0.55s;
}

.scene-trail {
  height: 3px;
  top: 50%;
  background: rgba(243, 112, 17, 0.22);
  animation: sceneTrail 3.6s ease-in-out infinite;
}

.trail-one {
  width: 24px;
  left: 69%;
  margin-top: -10px;
}

.trail-two {
  width: 38px;
  left: 74%;
  margin-top: 4px;
  animation-delay: 0.08s;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

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

.button-secondary {
  background: transparent;
  border-color: rgba(18, 18, 18, 0.12);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--panel-alt);
}

.panel {
  border-radius: var(--radius);
  padding: 28px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.notice,
.agreement-box,
.feedback {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.notice {
  margin-bottom: 18px;
  background: rgba(243, 112, 17, 0.08);
  border: 1px solid rgba(243, 112, 17, 0.16);
  color: #7f4512;
}

.stack {
  display: grid;
  gap: 22px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.field-span-2 {
  grid-column: span 2;
}

.field,
.field-group {
  display: grid;
  gap: 9px;
}

.field span,
.field-group legend {
  font-weight: 700;
  font-size: 0.95rem;
}

.field small,
.helper-text {
  color: var(--muted);
  line-height: 1.5;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(243, 112, 17, 0.12);
  border-color: rgba(243, 112, 17, 0.35);
}

.field input:disabled {
  background: #f0f0f0;
  color: #808080;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-pill,
.checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.checkbox-pill {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.checkbox-pill input,
.checkbox-line input {
  width: 16px;
  height: 16px;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.05);
  color: #121212;
  font-size: 0.95rem;
  font-weight: 700;
}

.feedback {
  min-height: 24px;
  background: var(--panel-alt);
  color: var(--muted);
}

.feedback.success {
  background: rgba(23, 99, 63, 0.1);
  color: var(--success);
}

.feedback.error {
  background: rgba(180, 35, 24, 0.1);
  color: var(--error);
}

.results {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
}

.result-table th,
.result-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.result-table th {
  background: #121212;
  color: #fff;
  font-size: 0.88rem;
}

.result-table tr:last-child td {
  border-bottom: 0;
}

.carrier {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carrier-logo {
  width: 44px;
  height: 26px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.price {
  font-weight: 800;
  color: var(--primary);
}

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

.step-card {
  position: relative;
  border-radius: var(--radius);
  padding: 24px;
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3,
.subsection h3 {
  margin: 0 0 10px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.subsection + .subsection {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.agreement-box {
  background: var(--panel-alt);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.cutout-sheet {
  position: relative;
  margin-top: 16px;
  padding: 26px 18px 18px;
  border: 2px dashed rgba(243, 112, 17, 0.4);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(243, 112, 17, 0.05), rgba(243, 112, 17, 0.02)),
    #fffdfa;
}

.cutout-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(243, 112, 17, 0.1);
  color: #9a4d12;
  font-size: 0.9rem;
  font-weight: 700;
}

.cutout-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.cutout-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.label-preview-grid,
.suggestion-grid {
  display: grid;
  gap: 16px;
}

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

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

.label-card,
.suggestion-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.label-card-dashed {
  border-style: dashed;
}

.label-card h4 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.label-card p,
.suggestion-card span {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.5;
}

.suggestion-card {
  text-decoration: none;
  transition: 0.2s ease;
}

.suggestion-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 112, 17, 0.35);
}

.suggestion-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.compact {
  justify-content: flex-end;
}

#pdf-preview {
  width: 100%;
  height: min(75vh, 920px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f0f0f0;
}

@keyframes packagePulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  38% {
    transform: translateY(-50%) scale(1);
  }
  48% {
    transform: translateY(-50%) scale(1.08);
  }
  58% {
    transform: translateY(-50%) scale(1);
  }
}

@keyframes gpuToBox {
  0% {
    transform: translateY(-50%) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
  }
  34% {
    transform: translateY(-50%) translateX(0) scale(1);
    opacity: 1;
  }
  52% {
    transform: translateY(-50%) translateX(-128px) scale(0.94);
    opacity: 1;
  }
  58% {
    transform: translateY(-50%) translateX(-156px) scale(0.76);
    opacity: 0;
  }
  59%, 100% {
    transform: translateY(-50%) translateX(-156px) scale(0.76);
    opacity: 0;
  }
}

@keyframes sceneDots {
  0%, 20%, 100% {
    opacity: 0;
    transform: scale(0.6);
  }
  26%, 40% {
    opacity: 1;
    transform: scale(1);
  }
  55% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes sceneTrail {
  0%, 56%, 100% {
    opacity: 0;
    transform: translateX(0) scaleX(0.6);
  }
  68% {
    opacity: 0.3;
    transform: translateX(-18px) scaleX(1);
  }
  84% {
    opacity: 0;
    transform: translateX(-48px) scaleX(1.1);
  }
}

@media (max-width: 980px) {
  .hero,
  .grid-4,
  .steps,
  .suggestion-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-chip {
    width: fit-content;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 16px;
  }

  .hero,
  .panel,
  .step-card {
    padding: 20px;
  }

  .grid-2,
  .grid-3,
  .label-preview-grid {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .hero-visual {
    min-height: 220px;
  }

  .hero-package-icon {
    width: 92px;
    left: 12%;
  }

  .hero-gpu {
    width: 80px;
    left: 52%;
  }

  .site-nav a {
    padding: 0 12px;
  }
}
