:root {
  --tinder-pink: #fd267d;
  --tinder-orange: #ff6036;
  --ink: #202124;
  --muted: #667085;
  --line: #e6e8ee;
  --surface: #ffffff;
  --soft: #f6f7fb;
  --dark: #151417;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(253, 38, 125, 0.08), rgba(255, 96, 54, 0.08)),
    var(--soft);
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--tinder-pink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tinder-pink), var(--tinder-orange));
}

h1 {
  margin: 24px 0 16px;
  max-width: 720px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--tinder-pink), var(--tinder-orange));
}

.button.secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.phone-frame {
  width: min(100%, 390px);
  min-height: 560px;
  justify-self: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--dark);
  box-shadow: 0 24px 80px rgba(20, 20, 24, 0.18);
}

.phone-screen {
  min-height: 524px;
  border-radius: 22px;
  overflow: hidden;
  background: white;
}

.wire-header {
  padding: 18px;
  color: white;
  background: linear-gradient(135deg, var(--tinder-pink), var(--tinder-orange));
}

.wire-card {
  margin: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.wire-card label,
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.answer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.answer-row input,
.field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

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

.rolling-list li {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

.info-band {
  border-top: 1px solid var(--line);
  background: white;
}

.info-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.info-item {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-item strong {
  display: block;
  margin-bottom: 8px;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.dialog[hidden],
.browser-guide[hidden] {
  display: none;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.dialog-panel {
  position: relative;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  padding: 24px;
  border-radius: 12px;
  background: white;
}

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

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 22px;
}

.terms {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  font-weight: 800;
}

.field {
  margin-bottom: 16px;
}

.file-name,
.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  padding: 14px;
  border-radius: 8px;
  background: #fff8ec;
  color: #7a4a00;
  font-size: 14px;
}

.browser-guide {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 0 0 8px 8px;
  color: white;
  background: #2d2a33;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 32px;
  }

  .phone-frame {
    justify-self: center;
  }

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

@media (max-width: 560px) {
  .hero,
  .info-inner,
  .footer,
  .browser-guide {
    width: min(100% - 24px, 1120px);
  }

  .actions,
  .answer-row {
    grid-template-columns: 1fr;
  }

  .actions .button,
  .answer-row .button {
    width: 100%;
  }

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