:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #182033;
  background: #f5f7fb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, #ffffff 0, #f5f7fb 42rem),
    #f5f7fb;
}

.shell {
  width: min(940px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(56px, 11vh, 112px) 0 32px;
  display: flex;
  flex-direction: column;
}

.intro {
  margin-bottom: 34px;
  text-align: center;
}

.brand {
  margin: 0 0 10px;
  color: #3659d9;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 0;
  color: #111827;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

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

.method {
  position: relative;
  min-height: 286px;
  padding: 30px 30px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid #dfe4ee;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(24, 32, 51, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.method-primary {
  border-color: #cfd8ff;
  box-shadow: 0 16px 42px rgba(54, 89, 217, 0.09);
}

.tag {
  display: inline-flex;
  min-height: 24px;
  margin-bottom: 22px;
  padding: 4px 9px;
  align-items: center;
  border-radius: 999px;
  color: #2949c7;
  background: #eef1ff;
  font-size: 12px;
  font-weight: 700;
}

.tag-muted {
  color: #536078;
  background: #f0f2f6;
}

h2 {
  margin-bottom: 10px;
  color: #151d2d;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.method p {
  margin-bottom: 0;
  color: #68738a;
  font-size: 15px;
  line-height: 1.7;
}

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

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

.action:active {
  transform: translateY(0);
}

.action:focus-visible {
  outline: 3px solid rgba(54, 89, 217, 0.24);
  outline-offset: 3px;
}

.action-primary {
  color: #ffffff;
  background: #3659d9;
  box-shadow: 0 8px 18px rgba(54, 89, 217, 0.22);
}

.action-primary:hover {
  box-shadow: 0 11px 24px rgba(54, 89, 217, 0.28);
}

.action-secondary {
  color: #263248;
  border-color: #d8deea;
  background: #f8f9fc;
  cursor: grab;
}

.action-secondary:hover {
  border-color: #bfc8d9;
}

.action-secondary:active {
  cursor: grabbing;
}

.action-hint {
  position: absolute;
  right: 30px;
  bottom: 17px;
  left: 30px;
  margin: 0;
  color: #7b869c;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .method:hover {
    transform: translateY(-2px);
    border-color: #cbd3e1;
    box-shadow: 0 20px 48px rgba(24, 32, 51, 0.09);
  }

  .method-primary:hover {
    border-color: #bdc9fb;
    box-shadow: 0 20px 48px rgba(54, 89, 217, 0.12);
  }
}

footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #8791a5;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 520px);
    padding-top: 48px;
  }

  .intro {
    margin-bottom: 26px;
  }

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

  .method {
    min-height: 238px;
    padding: 25px 25px 43px;
  }

  .action-hint {
    right: 25px;
    bottom: 14px;
    left: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method,
  .action {
    transition: none;
  }

  .method:hover,
  .action:hover {
    transform: none;
  }
}
