:root {
  color-scheme: light;
  --ink: #17222c;
  --muted: #607180;
  --line: #d7e0e7;
  --surface: #ffffff;
  --page: #f2f6f8;
  --primary: #1677d2;
  --primary-dark: #0d62b0;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.header-inner {
  width: min(100% - 32px, 980px);
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner strong { font-size: 18px; }
.header-inner span { color: var(--muted); font-size: 14px; }

.start-main {
  width: min(100% - 32px, 980px);
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 64px;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.start-actions {
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button.primary { color: white; background: var(--primary); }
.button.primary:hover { border-color: var(--primary-dark); background: var(--primary-dark); }
.button.secondary { color: var(--primary-dark); background: white; }
.button.secondary:hover { background: #eef7ff; }
.button:focus-visible { outline: 3px solid rgba(22, 119, 210, .22); outline-offset: 2px; }

.help-text {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.qr-panel {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.qr-panel img { display: block; width: 100%; height: auto; }
.qr-panel p { margin: 12px 4px 0; color: var(--muted); font-size: 13px; line-height: 1.4; text-align: center; }

footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

footer a { color: #355269; font-size: 13px; }

@media (max-width: 760px) {
  .start-main {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0 40px;
  }
  h1 { font-size: 36px; }
  .qr-panel { width: min(100%, 300px); margin: 0 auto; }
}

@media (max-width: 480px) {
  .start-actions { grid-template-columns: 1fr; }
  h1 { font-size: 31px; }
  .header-inner { min-height: 60px; }
}
