:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f6f8fb;
  --panel-strong: #eef3f8;
  --text: #17202a;
  --muted: #64707d;
  --line: #dbe2ea;
  --red: #ff3045;
  --blue: #1683ff;
  --blue-deep: #075ec8;
  --shadow: 0 22px 70px rgba(23, 32, 42, 0.12);
  --radius: 18px;
  --max: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid rgba(219, 226, 234, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.16);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.header-nav a,
.header-action,
.site-footer a {
  text-decoration: none;
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--blue-deep);
}

.header-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  background: var(--bg);
}

.section-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  min-height: 0;
  padding: clamp(34px, 5vw, 60px) 0 28px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  margin: 28px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-body {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(22, 131, 255, 0.25);
}

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

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: var(--bg);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
}

.hero-facts div {
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

.hero-facts dt {
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: -34px -36px 48px 48px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(22, 131, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 48, 69, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: 34px;
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d2dc;
}

.app-window img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.fabrication-card {
  position: absolute;
  right: 28px;
  bottom: -34px;
  width: min(330px, 70%);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.12);
}

.fabrication-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.machine-line {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.workflow,
.features,
.local-processing,
.requirements,
.support {
  padding: clamp(74px, 9vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.workflow {
  padding-top: clamp(42px, 5vw, 62px);
}

.section-heading {
  width: 100%;
}

.section-heading h2,
.feature-copy h2,
.local-processing h2,
.requirements h2,
.support-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.local-processing p,
.support-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading p {
  max-width: 760px;
}

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

.workflow-step {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.workflow-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.workflow-image--artwork {
  object-fit: contain;
  padding: 12px;
  background: var(--panel);
}

.workflow-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.workflow-output-panel {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  background: #fff;
}

.workflow-output-art {
  display: block;
  width: min(100%, 160px);
  height: min(100%, 160px);
  object-fit: contain;
}

.workflow-output-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.workflow-step-copy {
  padding: 24px 26px 28px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  border-radius: 999px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 850;
  background: #e8f2ff;
}

.workflow-step h3,
.feature-list h3 {
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.35;
}

.workflow-step p,
.feature-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.features,
.local-processing,
.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.feature-media,
.local-processing img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-media img,
.local-processing img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.feature-list article {
  padding-left: 18px;
  border-left: 4px solid var(--red);
}

.local-processing {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1fr);
  padding: clamp(54px, 8vw, 92px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
}

.requirements h2 {
  max-width: 760px;
}

.requirements-list {
  margin: 34px 0 0;
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.requirements-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.requirements-list dt {
  font-weight: 750;
}

.requirements-list dd {
  margin: 0;
  color: var(--muted);
}

.support {
  align-items: start;
}

.support-note {
  font-size: 15px;
}

.support-note a {
  color: var(--blue-deep);
  font-weight: 750;
}

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

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  background: #ffffff;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(22, 131, 255, 0.16);
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.form-status.is-error {
  color: #b42335;
}

.form-status.is-success {
  color: #157347;
}

button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.policy-page,
.not-found {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.policy-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin: 0 0 22px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.14;
}

.policy-card h2 {
  margin: 32px 0 8px;
  font-size: 22px;
}

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

.policy-date {
  margin-top: 34px;
  font-size: 14px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
}

.not-found h1 {
  margin: 24px 0 0;
  font-size: clamp(38px, 5vw, 60px);
}

.not-found p {
  margin: 8px 0 24px;
  color: var(--muted);
}

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

  .button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .hero,
  .features,
  .local-processing,
  .support {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

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

  .workflow-step {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .workflow-image {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .workflow-output {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

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

  .header-action {
    min-height: 36px;
    padding: 0 12px;
  }

  .section-band,
  .site-footer,
  .policy-page,
  .not-found {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 36px;
  }

  .hero-facts,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .requirements-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .workflow-image {
    height: auto;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-output {
    height: auto;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fabrication-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .local-processing {
    padding: 28px;
    border-radius: 24px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-footer,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
