* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #111827;
  line-height: 1.65;
}

/* Header */
.service-header {
  background: #1d2a5b;
  padding: 20px 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px; /* Increased base padding */
}

.service-name {
  font-weight: 600;
  font-size: 18px;
  color: white;
}

/* Main Content */
.main-content {
  padding-top: 48px;
  padding-bottom: 72px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
}

.lead {
  font-size: 17px;
  color: #475569;
  margin-bottom: 32px;
  max-width: 600px;
}

/* Notice */
.notice {
  background: #eef2ff;
  border-left: 5px solid #1d2a5b;
  padding: 20px 22px;
  border-radius: 10px;
  margin-bottom: 44px;
  font-size: 14px;
}

/* Questions */
.question-block {
  padding: 28px 0;
  border-bottom: 1px solid #e5e7eb;
}

.question-block h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.button-group {
  display: flex;
  gap: 14px;
  max-width: 340px;
}

/* Buttons */
button {
  flex: 1;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid #1d2a5b;
  background: white;
  color: #1d2a5b;
  cursor: pointer;
  transition: all 0.15s ease;
}

button:hover {
  background: #eef2ff;
  transform: translateY(-1px);
}

button.yes.selected {
  background: #1d2a5b;
  color: white;
}

button.no.selected {
  background: #374151;
  border-color: #374151;
  color: white;
}

button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* Result */
.result {
  margin-top: 44px;
  padding: 32px;
  border-left: 8px solid;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
}

.result.required {
  border-color: #b45309;
  background: #fff7ed;
  color: #7c2d12;
}

.result.not-required {
  border-color: #15803d;
  background: #f0fdf4;
  color: #14532d;
}

/* Result Actions */
.result-actions {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.restart {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  background: #111827;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.restart:hover {
  background: #0b1220;
}

.share-link {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.share-link:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* -------------------- */
/* 📱 MOBILE OPTIMISATION */
/* -------------------- */

@media (max-width: 600px) {

  .wrapper {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .button-group {
    flex-direction: column;
    max-width: 100%;
  }

  button {
    width: 100%;
  }

  .result {
    font-size: 18px;
    padding: 24px;
  }

  .result-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .restart {
    width: 100%;
  }

}