.app-main {
  padding: 48px 0 96px;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.app-panel,
.app-card,
.login-panel,
.status-card {
  border: 1px solid rgba(27, 28, 27, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 243, 242, 0.92)),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.014) 0 1px,
      transparent 1px 22px
    );
  box-shadow: 0 18px 34px rgba(17, 19, 23, 0.05);
}

.app-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
}

.app-kicker,
.status-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.app-summary,
.app-copy,
.app-card p,
.login-panel p,
.status-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.app-trust-grid,
.account-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.app-card,
.status-card {
  padding: 18px;
}

.app-card h3,
.status-card strong,
.login-help-list strong,
.app-inline-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.3;
}

.app-inline-note {
  padding: 16px 18px;
  border: 1px dashed rgba(0, 102, 255, 0.22);
  background: rgba(0, 102, 255, 0.04);
}

.app-inline-note.is-error {
  border-color: rgba(182, 56, 78, 0.24);
  background: rgba(182, 56, 78, 0.06);
}

.app-inline-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.login-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.login-panel-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button.is-disabled,
.button[disabled] {
  cursor: not-allowed;
  opacity: 0.42;
  pointer-events: none;
}

.login-help-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.login-help-list li {
  padding: 12px 0 0;
  border-top: 1px solid rgba(27, 28, 27, 0.08);
}

.login-help-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.link-row a:not(.button) {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.link-row a:not(.button):hover {
  color: var(--accent);
}

.link-row .button {
  min-width: 180px;
}

.scan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.scan-header-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scan-header-copy .mono-title {
  max-width: 14ch;
}

.scan-header-copy p {
  margin: 0;
  max-width: 50rem;
  color: var(--text-soft);
  line-height: 1.72;
}

.account-strip {
  margin-bottom: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-label {
  color: var(--text-muted);
}

.status-value {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.42rem;
  line-height: 1;
}

.app-subsection {
  margin-top: 24px;
}

.app-subsection .section-heading {
  margin-bottom: 20px;
}

.pricing-card-actions {
  display: flex;
  margin-top: auto;
}

.pricing-card-actions .button {
  width: 100%;
}

.app-footer-note {
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .app-hero,
  .app-trust-grid,
  .account-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .scan-header {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .app-main {
    padding: 28px 0 72px;
  }

  .app-panel,
  .login-panel {
    padding: 22px;
  }

  .link-row {
    gap: 12px;
  }
}
