/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1 {
  font-weight: 600;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.1;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

h2 {
  font-weight: 600;
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

h3 {
  font-weight: 600;
  font-size: 1rem;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #718096;
  margin-bottom: 2rem;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.phone-display {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.label {
  font-size: 0.875rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.number {
  display: block;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 600;
  color: #1a202c;
  margin: 1rem 0;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.number:hover,
.number:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.number-region {
  font-size: 0.8125rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.hint {
  font-size: 0.875rem;
  color: #a0aec0;
  margin-top: 1rem;
}

/* ============================================
   BUTTONS & ACTIONS
============================================ */
.btn-primary {
  display: inline-block;
  background: #4a5568;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #2d3748;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #edf2f7;
  color: #4a5568;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-secondary:focus-visible {
  outline: 2px solid #4a5568;
  outline-offset: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ============================================
   HOW IT WORKS SECTION
============================================ */
.how-it-works {
  padding: 4rem 0;
}

.steps {
  list-style: none;
  counter-reset: step-counter;
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #edf2f7;
}

.step:last-child {
  border-bottom: none;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  background: #fafafa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content p {
  color: #718096;
  font-size: 0.9375rem;
}

/* ============================================
   NUMBERS LIST SECTION
============================================ */
.numbers-list {
  padding: 2rem 0 4rem;
}

.number-grid {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.number-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.number-text {
  color: #2d3748;
  font-weight: 500;
  text-decoration: none;
}

.number-text:hover,
.number-text:focus-visible {
  text-decoration: underline;
}

.number-label {
  font-size: 0.875rem;
  color: #a0aec0;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  padding: 2rem 0 4rem;
  text-align: center;
  color: #a0aec0;
  font-size: 0.875rem;
}

/* ============================================
   MOBILE TWEAKS
============================================ */
@media (max-width: 400px) {
  .container {
    padding: 0 1rem;
  }

  .phone-display {
    padding: 1.5rem;
  }

  .number-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ACCESSIBILITY REDUCED MOTION
============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
