:root {
  --bg: #071412;
  --panel: #10211f;
  --panel-strong: #142d29;
  --text: #f6fbf8;
  --muted: #b8c9c4;
  --line: rgba(255, 255, 255, 0.14);
  --green: #11c875;
  --green-dark: #079456;
  --mint: #9ff3c9;
  --amber: #ffb545;
  --red: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 181, 69, 0.16), transparent 28rem),
    linear-gradient(180deg, #06110f 0%, #0b1b18 48%, #071412 100%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  appearance: none;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.page-shell.compact {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 170px);
}

.hero-media {
  position: relative;
  min-height: 540px;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1e1b;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: block;
  object-fit: cover;
}

.hero-content {
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.lookup-panel,
.progress-panel,
.result-screen,
.number-card,
.safety-copy,
.metric-box,
.auth-output,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 33, 31, 0.96), rgba(10, 24, 22, 0.96));
  box-shadow: var(--shadow);
}

.lookup-panel {
  width: min(100%, 560px);
  margin-top: 28px;
  padding: 18px;
}

.lookup-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--mint);
  font-weight: 800;
}

.phone-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.country-code {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--mint);
  font-weight: 900;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.input-phone {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 800;
}

.input-phone::placeholder {
  color: rgba(246, 251, 248, 0.45);
}

.form-error {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  color: #03110c;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.cta-button:not(:disabled):hover,
.ghost-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 200, 117, 0.2);
}

.cta-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(3, 17, 12, 0.18);
  flex: 0 0 auto;
}

.consent-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.progress-panel {
  width: min(100%, 560px);
  margin-top: 18px;
  padding: 18px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mint);
  font-weight: 900;
}

.progress-track {
  height: 12px;
  margin: 12px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transition: width 520ms ease;
}

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

.progress-list li {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.progress-list li.done {
  color: var(--mint);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.trust-strip div,
.info-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-strip div {
  min-height: 94px;
  padding: 16px;
}

.trust-strip strong,
.trust-strip span,
.metric-box span,
.number-card span,
.number-card strong {
  display: block;
}

.trust-strip strong {
  color: var(--text);
  font-size: 1.02rem;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.info-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: stretch;
}

.info-copy {
  padding: 24px;
}

.info-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.info-copy p + p {
  margin-top: 12px;
}

.metric-box {
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: 24px;
  text-align: center;
}

.metric-number {
  color: var(--amber);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 16px 30px;
  color: rgba(246, 251, 248, 0.64);
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(246, 251, 248, 0.72);
  text-decoration: none;
}

.result-screen {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 42px);
}

.number-card {
  margin-top: 24px;
  padding: 18px;
  box-shadow: none;
}

.number-card span {
  color: var(--muted);
  font-weight: 700;
}

.number-card strong {
  margin-top: 8px;
  color: var(--mint);
  font-size: clamp(1.7rem, 7vw, 3rem);
  letter-spacing: 0;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  box-shadow: none;
}

.profile-card[hidden] {
  display: none;
}

.profile-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(159, 243, 201, 0.72);
  background: rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.profile-card span,
.profile-card strong {
  display: block;
}

.profile-card span {
  color: var(--muted);
  font-weight: 700;
}

.profile-card strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 1.1rem;
}

.next-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.safety-copy {
  margin-top: 20px;
  padding: 18px;
  box-shadow: none;
}

.auth-output {
  margin-top: 16px;
  padding: 14px;
  box-shadow: none;
}

.auth-output label {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-weight: 800;
}

.auth-output input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.06);
}

.safety-copy strong {
  color: var(--amber);
}

.safety-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 620px);
    padding-top: 14px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 18px;
  }

  .hero-media {
    width: 100%;
    min-height: 270px;
    max-height: 360px;
  }

  .hero-media img {
    min-height: 270px;
    object-position: 50% 16%;
  }

  .hero-content {
    margin-top: -26px;
    padding: 20px 0 0;
    background: linear-gradient(180deg, rgba(7, 20, 18, 0.74), rgba(7, 20, 18, 1) 52%);
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.45rem);
  }

  .trust-strip,
  .info-section {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: min(100% - 18px, 620px);
  }

  .lookup-panel,
  .progress-panel,
  .info-copy,
  .metric-box,
  .result-screen {
    padding: 15px;
  }

  .phone-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .input-phone {
    padding: 0 12px;
    font-size: 1rem;
  }

  .cta-button,
  .ghost-button {
    min-height: 54px;
    padding: 12px 14px;
  }
}
