/* Receive SMS page — public/css/receive-sms.css */
* { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; background: #FAFAFA; color: #111827; }
h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; }
.header-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.mobile-menu { transform: translateX(100%); transition: transform 300ms ease-out; }
.mobile-menu.open { transform: translateX(0); }
.otp-row-card { transition: box-shadow 200ms ease, border-color 200ms ease; }
.otp-row-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.06); border-color: rgba(37, 99, 235, 0.2); }
.sms-hero-frame {
  position: relative;
  isolation: isolate;
}
.sms-hero-copy {
  position: relative;
  z-index: 2;
}
.sms-hero-angle {
  position: relative;
  z-index: 1;
}
.sms-hero-angle-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.sms-hero-angle-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.sms-hero-angle-mobile {
  position: relative;
  width: 100%;
  min-height: min(58vw, 320px);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #eff6ff 0%, #e2e8f0 100%);
}
@media (max-width: 1023px) {
  .sms-hero-frame {
    display: flex;
    flex-direction: column;
  }
  .sms-hero-mobile-wrap {
    order: -1;
    margin-top: 0;
  }
  .sms-hero-copy {
    order: 0;
  }
  .sms-hero-angle-mobile .sms-hero-angle-inner img {
    object-position: center;
  }
  .sms-hero-angle-mobile {
    z-index: 1;
    clip-path: none;
  }
}
@media (min-width: 640px) {
  .sms-hero-angle-mobile {
    min-height: min(50vw, 360px);
  }
}
@media (min-width: 1024px) {
  .sms-hero-frame {
    min-height: 520px;
    display: flex;
    align-items: stretch;
  }
  .sms-hero-copy {
    flex: 0 0 40%;
    max-width: 26rem;
    min-height: 520px;
    box-sizing: border-box;
    background: #fff;
    padding: 2.75rem 1.25rem 2.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sms-hero-angle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 38%;
    z-index: 1;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(165deg, #f8fafc 0%, #eff6ff 40%, #e2e8f0 100%);
  }
  .sms-hero-angle-inner img {
    object-position: center;
  }
}
.sms-starting-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  font-size: 0.875rem;
  color: #374151;
}
.sms-starting-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.125rem;
  color: #111827;
}
/* Desktop table vs mobile cards — do not rely on Tailwind lg: variants (standalone script). */
.sms-otp-table-wrap {
  display: none;
}
.sms-otp-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.sms-otp-section-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.sms-otp-section-intro__lead {
  min-width: 0;
}
.sms-otp-section-intro__aside {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .sms-otp-table-wrap {
    display: block;
  }
  .sms-otp-cards {
    display: none;
  }
  .sms-otp-section-intro {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
  .sms-otp-section-intro__lead {
    flex: 1 1 auto;
    max-width: 40rem;
  }
  .sms-otp-section-intro__aside {
    flex: 0 0 20rem;
    max-width: 20rem;
  }
}
.sms-otp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.sms-otp-table th,
.sms-otp-table td {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.sms-otp-table th:nth-child(1),
.sms-otp-table td:nth-child(1) { width: 26%; }
.sms-otp-table th:nth-child(2),
.sms-otp-table td:nth-child(2) { width: 28%; }
.sms-otp-table th:nth-child(3),
.sms-otp-table td:nth-child(3) { width: 30%; }
.sms-otp-table th:last-child,
.sms-otp-table td:last-child {
  width: 16%;
  text-align: right;
  vertical-align: middle;
}
.sms-otp-table th,
.sms-otp-table td {
  padding: 1rem 1.25rem;
}
.sms-otp-table thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280;
  background: #F5F5F5;
}
.sms-otp-table tbody tr {
  border-top: 1px solid #f3f4f6;
}
.sms-otp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 8.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}
.sms-otp-cards .sms-otp-card-actions {
  width: 100%;
}
.sms-otp-cards .sms-otp-btn {
  width: 100%;
  min-width: 0;
}
.otp-row-card {
  width: 100%;
  box-sizing: border-box;
}
