:root {
        --ink: #172033;
        --muted: #667085;
        --line: #e6eaf0;
        --bg: #f7f9fc;
        --card: #ffffff;
        --primary: #165dff;
        --primary-dark: #0f46c8;
        --accent: #edf4ff;
        --radius: 22px;
        --shadow: 0 20px 60px rgba(23, 32, 51, 0.08);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        color: var(--ink);
        font-family:
          "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Segoe UI", sans-serif;
        line-height: 1.6;
        background: var(--bg);
      }

      a {
        color: inherit;
        text-decoration: none;
      }

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

      .container {
        width: min(1120px, calc(100% - 40px));
        margin: 0 auto;
      }

      .site-header {
        position: sticky;
        top: 0;
        z-index: 20;
        background: rgba(255, 255, 255, 0.92);
        border-bottom: 1px solid var(--line);
        backdrop-filter: blur(18px);
      }

      .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-height: 72px;
      }

      .brand {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-weight: 800;
        letter-spacing: -0.03em;
      }

      .brand small {
        color: var(--muted);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: -0.02em;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: 18px;
        color: #344054;
        font-size: 15px;
        font-weight: 700;
      }

      .nav a {
        transition: color 0.2s ease;
      }

      .nav a:hover,
      .dropdown:hover > a {
        color: var(--primary);
      }

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

      /* Mobile Menu Toggle Button */
      .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 110;
      }

      .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--ink);
        border-radius: 999px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.3s ease;
      }

      body.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }

      body.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
      }

      body.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 18px;
        border: 1px solid transparent;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.02em;
        transition: 0.2s ease;
      }

      .button-primary {
        color: #fff;
        background: var(--primary);
        box-shadow: 0 12px 30px rgba(22, 93, 255, 0.25);
      }

      .button-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
      }

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

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

      .button-ghost {
        color: #344054;
        background: transparent;
        border-color: var(--line);
      }

      .section {
        padding: 92px 0;
      }

      .section-heading {
        max-width: 680px;
        margin-bottom: 34px;
      }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        margin-bottom: 14px;
        padding: 6px 12px;
        color: var(--primary);
        background: var(--accent);
        border-radius: 999px;
        font-size: 14px;
        font-weight: 800;
      }

      h1,
      h2,
      h3,
      p {
        margin-top: 0;
      }

      h1 {
        margin-bottom: 22px;
        font-size: clamp(40px, 6vw, 68px);
        line-height: 1.08;
        letter-spacing: -0.055em;
      }

      h2 {
        margin-bottom: 12px;
        font-size: clamp(30px, 4vw, 44px);
        line-height: 1.18;
        letter-spacing: -0.045em;
      }

      h3 {
        margin-bottom: 8px;
        font-size: 21px;
        line-height: 1.3;
        letter-spacing: -0.035em;
      }

      p {
        color: var(--muted);
        letter-spacing: -0.02em;
      }

      .hero {
        padding: 86px 0 70px;
        background: linear-gradient(
          135deg,
          #ffffff 0%,
          #f2f7ff 48%,
          #eef4ff 100%
        );
      }

      .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        align-items: center;
        gap: 68px;
      }

      .hero-copy p {
        max-width: 620px;
        margin-bottom: 28px;
        font-size: 20px;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 20px;
      }

      .hero-meta {
        color: #475467;
        font-weight: 800;
      }

      .hero-visual {
        max-width: 400px;
        margin-left: auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0.76);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 34px;
        box-shadow: var(--shadow);
      }

      .printer-illustration {
        min-height: 360px;
        padding: 28px;
        background: linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
        border: 1px solid #dce7ff;
        border-radius: 28px;
      }

      .printer-body {
        position: relative;
        width: 100%;
        max-width: 360px;
        margin: 72px auto 0;
        padding: 28px 28px 34px;
        background: #fff;
        border: 2px solid #d9e3f5;
        border-radius: 24px;
        box-shadow: 0 22px 45px rgba(34, 67, 120, 0.13);
      }

      .printer-top {
        position: absolute;
        left: 50%;
        top: -62px;
        width: 70%;
        height: 76px;
        background: #dfe9fb;
        border: 2px solid #cbd8ee;
        border-radius: 18px 18px 10px 10px;
        transform: translateX(-50%);
      }

      .printer-screen {
        width: 72px;
        height: 42px;
        margin-left: auto;
        background: #163b78;
        border-radius: 10px;
      }

      .paper {
        width: 74%;
        height: 92px;
        margin: 28px auto 0;
        padding: 16px;
        background: #f8fbff;
        border: 2px solid #d9e3f5;
        border-radius: 8px;
      }

      .paper span {
        display: block;
        height: 8px;
        margin-bottom: 10px;
        background: #c5d6f1;
        border-radius: 999px;
      }

      .paper span:nth-child(2) {
        width: 72%;
      }

      .paper span:nth-child(3) {
        width: 48%;
      }

      .stats-grid,
      .card-grid,
      .pricing-grid,
      .setup-grid,
      .faq-grid {
        display: grid;
        gap: 18px;
      }

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

      .card-grid,
      .setup-grid,
      .faq-grid {
        grid-template-columns: repeat(4, 1fr);
      }

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

      .card,
      .stat,
      .price-card,
      .setup-card,
      .faq-card,
      .process-step {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: 0 14px 38px rgba(23, 32, 51, 0.05);
      }

      .card,
      .stat,
      .price-card,
      .setup-card,
      .faq-card {
        padding: 26px;
      }

      .stat strong {
        display: block;
        font-size: 18px;
        line-height: 1.35;
        letter-spacing: -0.035em;
      }

      .card p,
      .setup-card p,
      .faq-card p {
        margin-bottom: 0;
      }

      .section-white {
        background: #fff;
      }

      .price-card strong {
        display: block;
        margin-bottom: 8px;
        color: var(--primary);
        font-size: 24px;
        letter-spacing: -0.04em;
      }

      .price-note {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
      }

      .pill {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 0 14px;
        color: #184079;
        background: var(--accent);
        border-radius: 999px;
        font-size: 14px;
        font-weight: 800;
      }

      .process-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
        counter-reset: step;
      }

      .process-step {
        padding: 22px;
      }

      .process-step::before {
        counter-increment: step;
        content: counter(step);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin-bottom: 16px;
        color: #fff;
        background: var(--primary);
        border-radius: 50%;
        font-weight: 900;
      }

      .setup-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 130px;
        margin-bottom: 20px;
        background: var(--accent);
        border-radius: 18px;
      }

      .mini-printer {
        width: 92px;
        height: 62px;
        position: relative;
        background: #fff;
        border: 2px solid #c7d7f2;
        border-radius: 14px;
        box-shadow: 0 12px 24px rgba(22, 93, 255, 0.12);
      }

      .mini-printer::before {
        content: "";
        position: absolute;
        left: 17px;
        top: -26px;
        width: 58px;
        height: 34px;
        background: #dce8fb;
        border: 2px solid #c7d7f2;
        border-radius: 10px 10px 4px 4px;
      }

      .mini-printer::after {
        content: "";
        position: absolute;
        left: 20px;
        bottom: -28px;
        width: 52px;
        height: 36px;
        background: #fff;
        border: 2px solid #c7d7f2;
        border-radius: 6px;
      }

      .support-panel,
      .contact-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
        padding: 34px;
        background: var(--ink);
        border-radius: 28px;
        box-shadow: var(--shadow);
      }

      .support-panel h2,
      .support-panel p,
      .contact-panel h2,
      .contact-panel p {
        color: #fff;
      }

      .support-panel p,
      .contact-panel p {
        opacity: 0.78;
        margin-bottom: 0;
      }

      .area-box {
        padding: 34px;
        background: linear-gradient(135deg, #165dff 0%, #174ea6 100%);
        border-radius: 28px;
        color: #fff;
        box-shadow: var(--shadow);
      }

      .area-box h2,
      .area-box p {
        color: #fff;
      }

      .area-box p {
        opacity: 0.85;
        margin-bottom: 0;
      }

      .contact-layout {
        display: grid;
        grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
        gap: 28px;
        align-items: start;
      }

      form {
        padding: 28px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 28px;
        box-shadow: var(--shadow);
      }

      .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
      }

      .field {
        display: flex;
        flex-direction: column;
        gap: 7px;
      }

      .field-full {
        grid-column: 1 / -1;
      }

      label {
        font-size: 14px;
        font-weight: 800;
      }

      input,
      select,
      textarea {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        color: var(--ink);
        background: #fff;
        border: 1px solid #cfd8e6;
        border-radius: 14px;
        font: inherit;
      }

      textarea {
        min-height: 128px;
        resize: vertical;
      }

      .form-note {
        margin: 14px 0 20px;
        font-size: 14px;
      }

      .site-footer {
        padding: 40px 0;
        color: #98a2b3;
        background: #101828;
      }

      .footer-inner {
        display: flex;
        justify-content: space-between;
        gap: 24px;
      }

      .footer-inner strong {
        color: #fff;
      }

      @media (max-width: 980px) {
        .menu-toggle {
          display: flex;
        }

        .nav {
          display: flex !important;
          position: fixed;
          top: 72px;
          right: -100%;
          width: 280px;
          height: calc(100vh - 72px);
          background: var(--card);
          border-left: 1px solid var(--line);
          flex-direction: column;
          align-items: stretch;
          justify-content: flex-start;
          padding: 34px 24px;
          gap: 22px;
          transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          overflow-y: auto;
          box-shadow: -10px 0 40px rgba(23, 32, 51, 0.1);
          z-index: 99;
        }

        body.menu-open .nav {
          right: 0;
        }

        body.menu-open {
          overflow: hidden;
        }

        /* Mobile GNB links formatting */
        .nav a {
          font-size: 17px;
          font-weight: 700;
          padding: 4px 0;
        }

        /* Services dropdown styling inside drawer */
        .nav .dropdown {
          display: block;
          position: static;
        }

        .nav .dropdown > a {
          font-weight: 700;
        }

        .nav .dropdown-content {
          display: block !important;
          position: static;
          box-shadow: none;
          border: none;
          background: transparent;
          padding: 6px 0 0 16px;
          margin-top: 0;
          min-width: unset;
        }

        .nav .dropdown-content a {
          font-size: 14px;
          color: var(--muted);
          padding: 8px 0;
          font-weight: 600;
        }

        .nav .dropdown::after {
          display: none;
        }

        /* Group actions and toggle on the right for tablet */
        @media (min-width: 641px) {
          .header-actions {
            margin-left: auto;
            margin-right: 12px;
          }
        }

        /* Mobile overlay backing */
        .mobile-overlay {
          display: block;
          position: fixed;
          top: 72px;
          left: 0;
          width: 100%;
          height: calc(100vh - 72px);
          background: rgba(23, 32, 51, 0.4);
          backdrop-filter: blur(4px);
          z-index: 98;
          opacity: 0;
          pointer-events: none;
          transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body.menu-open .mobile-overlay {
          opacity: 1;
          pointer-events: auto;
        }

        .hero-grid,
        .contact-layout,
        .support-panel,
        .contact-panel {
          grid-template-columns: 1fr;
        }

        .stats-grid,
        .card-grid,
        .setup-grid,
        .faq-grid,
        .pricing-grid {
          grid-template-columns: repeat(2, 1fr);
        }

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

      @media (max-width: 640px) {
        .container {
          width: min(100% - 28px, 1120px);
        }

        .header-inner {
          display: grid !important;
          grid-template-columns: 1fr auto;
          align-items: center;
          gap: 14px;
          padding: 14px 0;
          min-height: unset;
        }

        .brand {
          grid-column: 1;
        }

        .menu-toggle {
          grid-column: 2;
          align-self: center;
        }

        .header-actions {
          grid-column: 1 / span 2;
          width: 100%;
          display: flex;
          gap: 8px;
        }

        .header-actions .button {
          flex: 1;
        }

        .section {
          padding: 64px 0;
        }

        .hero {
          padding-top: 58px;
        }

        .stats-grid,
        .card-grid,
        .setup-grid,
        .faq-grid,
        .pricing-grid,
        .process-grid,
        .form-grid {
          grid-template-columns: 1fr;
        }

        .hero-actions,
        .support-panel .hero-actions,
        .contact-panel .hero-actions {
          flex-direction: column;
        }

        .button {
          width: 100%;
        }

        .footer-inner {
          flex-direction: column;
        }
      }

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(23, 32, 51, 0.08);
  border-color: var(--primary);
}
a.card h3 {
  transition: color 0.2s ease;
}
a.card:hover h3 {
  color: var(--primary);
}

.setup-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px rgba(22, 93, 255, 0.08);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background-color: var(--card);
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.12);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 100;
  border: 1px solid var(--line);
  margin-top: 16px;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

/* Floating Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(22, 93, 255, 0.25);
}

.scroll-to-top svg {
  display: block;
  transition: transform 0.2s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}
