:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #f2f4f1;
  --ink: #111713;
  --muted: #647067;
  --faint: #8c968f;
  --line: rgba(17, 23, 19, 0.1);
  --line-strong: rgba(17, 23, 19, 0.16);
  --accent: #16A34A;
  --accent-dark: #12843d;
  --accent-soft: rgba(22, 163, 74, 0.1);
  --shadow: 0 28px 70px -38px rgba(17, 23, 19, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 50% -20%, rgba(22, 163, 74, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfbfa 0%, var(--bg) 58%, #f1f3ef 100%);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 16px clamp(18px, 4vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  margin-left: 12px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.spacer {
  flex: 1;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 680;
  white-space: nowrap;
  box-shadow: 0 8px 22px -18px rgba(17, 23, 19, 0.5);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ghost:hover {
  color: var(--accent-dark);
  border-color: rgba(22, 163, 74, 0.34);
  transform: translateY(-1px);
}

.stage {
  flex: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 44px) 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero {
  display: grid;
  justify-items: center;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.sub {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.sub strong {
  color: var(--ink);
  font-weight: 760;
  box-shadow: inset 0 -0.45em 0 var(--accent-soft);
}

.screening-card {
  width: min(100%, 520px);
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: left;
}

.field-row {
  display: grid;
  gap: 9px;
}

label {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
}

.asset-chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 660;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.95rem;
  font-weight: 650;
}

.hint-toggle {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
}

.hint-line {
  margin: 11px 4px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 18px 34px -24px rgba(22, 163, 74, 0.9);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 24px 40px -24px rgba(22, 163, 74, 0.95);
}

.footer {
  padding: 14px 24px 24px;
  color: var(--faint);
  font-size: 0.84rem;
  font-weight: 620;
  text-align: center;
}

@media (max-width: 720px) {
  .topbar {
    min-height: 64px;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .ghost {
    min-height: 36px;
    padding-inline: 13px;
  }

  .stage {
    padding-top: 8px;
  }

  h1 {
    font-size: clamp(2.82rem, 14vw, 3.55rem);
  }

  .sub {
    margin-top: 14px;
    max-width: 34ch;
  }

  .screening-card {
    margin-top: 24px;
    padding: 14px;
    border-radius: 18px;
  }

  .address-shell {
    min-height: 54px;
    gap: 8px;
  }

  .asset-chip {
    padding-inline: 8px;
  }

  input {
    font-size: 0.94rem;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
  }

  .primary {
    min-height: 54px;
  }

  .footer {
    padding-bottom: 18px;
  }
}

@media (max-width: 390px) {
  .brand span {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .address-shell {
    align-items: stretch;
    flex-direction: column;
  }

  input {
    padding: 0 2px 4px;
  }
}
