:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #f9fafb;
  --text: #142033;
  --muted: #667085;
  --line: #dde3ea;
  --line-soft: #edf1f5;
  --accent: #1769aa;
  --accent-dark: #0f4d7e;
  --accent-soft: #eaf4fb;
  --green: #24785f;
  --danger: #b42318;
  --warning: #946200;
  --shadow: 0 14px 34px rgba(20, 32, 51, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.header-inner,
.main,
.footer-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--text);
  font-weight: 750;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

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

.main {
  padding: 36px 0 76px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 32px;
  align-items: center;
  padding: 30px 0 42px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}

h1,
h2,
h3 {
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 14px;
  font-size: 40px;
}

h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

p {
  margin: 0 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

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

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: #c9e4f6;
}

.phone-frame {
  width: min(100%, 210px);
  aspect-ratio: 1206 / 2622;
  justify-self: center;
  padding: 8px;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 22px;
}

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

.card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

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

.sample-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sample-card h3 {
  margin-top: 16px;
}

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

.business-card-sample {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 91 / 55;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #d9e0e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 32, 51, 0.08);
  color: #111827;
}

.sample-company,
.sample-name,
.sample-title,
.sample-branch,
.sample-lines span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-company {
  font-size: 13px;
  font-weight: 750;
}

.sample-branch,
.sample-title,
.sample-lines {
  color: #667085;
  font-size: 9px;
}

.sample-name {
  margin-top: auto;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.sample-lines {
  margin-top: 8px;
  line-height: 1.45;
}

.sample-logo {
  padding-top: 58px;
  background:
    linear-gradient(180deg, rgba(23, 105, 170, 0.12) 0 48px, transparent 48px),
    #ffffff;
}

.sample-logo-band {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sample-logo-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #1769aa;
  color: #fff;
  font-weight: 800;
}

.sample-logo .sample-name {
  font-size: 22px;
}

.sample-qr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: end;
}

.sample-qr .sample-name {
  margin-top: 26px;
  font-size: 22px;
}

.sample-qr-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: 54px;
  height: 54px;
  padding: 5px;
  border: 1px solid #cfd7e2;
  background:
    linear-gradient(90deg, #111827 2px, transparent 2px) 0 0 / 8px 8px,
    linear-gradient(#111827 2px, transparent 2px) 0 0 / 8px 8px,
    #fff;
}

.sample-qr-mark span {
  background: #111827;
}

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

.step {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step .phone-frame {
  width: min(100%, 170px);
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-soft);
}

.notice,
.success,
.error {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid;
  background: var(--surface);
}

.notice {
  color: var(--warning);
  border-color: #f4d48b;
  background: #fff8e6;
}

.success {
  color: var(--green);
  border-color: #9ed8c6;
  background: #eefaf6;
}

.error {
  color: var(--danger);
  border-color: #f2aaa3;
  background: #fff0ee;
}

.form {
  display: grid;
  gap: 18px;
  max-width: 760px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

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

.help-text {
  color: var(--muted);
  font-size: 13px;
}

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

.doc-list {
  max-width: 860px;
}

.doc-list h2 {
  margin-top: 30px;
}

.doc-list h2:first-child {
  margin-top: 0;
}

.doc-list ul {
  padding-left: 1.4em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

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

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

  h1 {
    font-size: 32px;
  }

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

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

  .phone-frame {
    width: min(100%, 178px);
  }
}
