:root {
  --ink: #172033;
  --muted: #5d6b80;
  --paper: #fbfcfe;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --line: #d8e1ec;
  --blue: #185abc;
  --blue-strong: #0f4caa;
  --blue-soft: #eaf1ff;
  --green: #137333;
  --green-soft: #e9f6ee;
  --teal: #0f766e;
  --teal-soft: #e6f5f3;
  --amber: #9a5a00;
  --amber-soft: #fff4dc;
  --rose: #b42318;
  --rose-soft: #fff0ee;
  --shadow: 0 16px 36px rgba(23, 32, 51, 0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.52;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 850;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.94rem;
  font-weight: 650;
}

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 18px;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 7vw, 5.05rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.hero-copy p {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.94rem;
  font-weight: 780;
  white-space: nowrap;
}

.btn:hover {
  border-color: #b7c4d7;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover { background: var(--blue-strong); }

.product-visual,
.step-card,
.result-card,
.guide-panel,
.faq-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-visual {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.video-visual {
  background: #0f172a;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.product-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--soft);
}

.visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-weight: 850;
}

.visual-caption span {
  color: var(--green);
  font-size: 0.82rem;
  white-space: nowrap;
}

.section {
  margin-top: 38px;
  padding-top: 8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section h2,
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 7px;
}

.section-head p,
.lead {
  max-width: 620px;
  color: var(--muted);
}

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

.step-card {
  box-shadow: none;
  padding: 18px;
  min-height: 190px;
}

.step-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.02rem;
  line-height: 1.18;
  margin-bottom: 8px;
}

.step-card p,
.result-card p,
.guide-panel p,
.faq-panel p {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.result-card {
  box-shadow: none;
  padding: 16px;
  min-height: 136px;
}

.result-card strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.18;
  margin-bottom: 8px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 10px;
}

.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-teal { background: var(--teal-soft); color: var(--teal); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-rose { background: var(--rose-soft); color: var(--rose); }

.guide-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  padding: 22px;
}

.guide-panel h2 {
  font-size: 1.45rem;
  line-height: 1.12;
  margin-bottom: 8px;
}

.link-row {
  align-content: start;
}

.link-row a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 760;
}

.link-row a:first-child {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.link-row a:hover { text-decoration: none; }

.faq-panel {
  box-shadow: none;
  overflow: hidden;
}

.faq-panel details {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.faq-panel details:last-child { border-bottom: 0; }

.faq-panel summary {
  cursor: pointer;
  font-weight: 850;
  list-style-position: outside;
}

.faq-panel p { margin-top: 10px; max-width: 760px; }

.footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .hero,
  .guide-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

@media (max-width: 760px) {
  .shell { padding: 18px 14px 46px; }
  .topbar { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .nav { justify-content: flex-start; gap: 12px; }
  .step-grid,
  .result-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .product-shot,
  .video-frame { aspect-ratio: 16 / 9; }
  .footer { flex-direction: column; }
}

@media (max-width: 540px) {
  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .visual-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .link-row a { flex: 1 1 auto; justify-content: center; }
}
