/**
 * Trustholm Migrate — product landing (Govern-style split auth shell).
 * Marketing content lives at https://www.trustholm.com/migrate
 */

:root {
  --highlight: #4da3f2;
  --shell-header: #292929;
  --surface1: #292929;
  --surface2: #333333;
  --border: #3d3d3d;
  --text-primary: #ffffff;
  --text-secondary: #d6d6d6;
  --text-muted: #a19f9d;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --max-form: 400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface1);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--highlight);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* DS-SHELL-02: Meraki-style split (hero left, panel right) */
.split {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--surface1);
}

@media (min-width: 1024px) {
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
  }
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--shell-header) 88%, transparent) 0%,
    color-mix(in srgb, var(--shell-header) 72%, transparent) 55%,
    color-mix(in srgb, var(--shell-header) 94%, transparent) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 520px;
  color: #fff;
}

@media (max-width: 1023px) {
  .hero-content {
    padding: 1.25rem;
  }
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, #ffffff 30%, transparent);
  background: color-mix(in srgb, var(--shell-header) 78%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}

.wordmark-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wordmark-row img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: block;
}

.wordmark {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wordmark .trust {
  color: #fff;
}

.wordmark .holm {
  color: var(--highlight);
}

.product-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--highlight) 55%, transparent);
  background: color-mix(in srgb, var(--highlight) 18%, transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-headline {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, #ffffff 92%, transparent);
}

.hero-subcopy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: color-mix(in srgb, #ffffff 92%, transparent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, #ffffff 35%, transparent);
  background: color-mix(in srgb, #ffffff 12%, transparent);
  font-size: 0.8125rem;
  color: #fff;
}

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  background: var(--surface1);
}

@media (max-width: 1023px) {
  .panel {
    padding: 1.25rem;
  }
}

.panel-inner {
  width: 100%;
  max-width: var(--max-form);
}

.panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.panel-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.panel-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--highlight);
  color: #0a1628;
  border-color: color-mix(in srgb, #ffffff 12%, transparent);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--surface2);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: #3a3a3a;
}

.meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.meta a {
  color: var(--highlight);
  text-decoration: none;
}

.meta a:hover {
  text-decoration: underline;
}

.footer-link {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-link a {
  color: var(--highlight);
  text-decoration: none;
}

.footer-link a:hover {
  text-decoration: underline;
}
