/* Source: POC-CD/tailwind.config.js, AppShell.tsx and HomePage.tsx. */
:root {
  color-scheme: light;
  --brand: #274c50;
  --brand-dark: #1d3a3d;
  --sage-100: #cbd6bc;
  --sage-400: #94b3a1;
  --cream: #e7e2dc;
  --card: #fcfbf9;
  --panel: #f7f5f1;
  --ink: #1a2b2a;
  --ink-soft: #45544f;
  --line: #ddd6cc;
  --line-soft: #eae4da;
  --shadow-card: 0 1px 2px rgba(26, 43, 42, .04), 0 8px 22px rgba(26, 43, 42, .05);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  text-underline-offset: .25em;
}

a:hover { color: var(--brand-dark); }

a:focus-visible,
iframe:focus-visible {
  outline: 2px solid #58959a;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: 11px;
  background: white;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* The POC app's light header and compact ADEAS / Health+ lockup. */
.site-header {
  border-bottom: 1px solid rgba(26, 43, 42, .07);
  background: rgba(255, 255, 255, .72);
}

.header-inner,
.main-content,
.site-footer {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-link { display: inline-flex; }
.logo { display: block; width: auto; height: 30px; }

.header-wordmark {
  border-left: 1px solid rgba(26, 43, 42, .15);
  padding-left: 14px;
  color: var(--brand);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-size: 14px;
}

.header-link:hover { border-color: var(--sage-400); }

.main-content {
  flex: 1;
  max-width: 800px;
  padding-top: clamp(20px, 3.6vw, 40px);
  padding-bottom: 40px;
}

/* Same gradient, radius, spacing and type scale as the POC welcome panel. */
.introduction {
  margin-bottom: 22px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 18px;
  background: linear-gradient(to bottom right, #274c50, #2f5a57, #3b6a62);
  color: white;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.1;
}

.wordmark { white-space: nowrap; }
.plus { color: var(--sage-400); }
.introduction .plus { color: var(--sage-100); }

.intro-copy {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  font-weight: 300;
}

.signup-card {
  min-width: 0;
  padding-top: 8px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-card);
}

.signup-frame {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 720px;
  margin-inline: auto;
  border: 0;
  background: var(--panel);
  /* Microsoft owns the embedded UI. Keep its scrolling available. */
}

.form-fallback {
  margin-top: 20px;
  padding: 16px 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.form-fallback p { margin: 0; color: var(--ink-soft); }
.form-fallback a, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4084ad;
}

.form-fallback a:hover, .site-footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
}

.site-footer p { margin: 0; }

@media (max-width: 56rem) {
  .signup-frame { height: 800px; }
}

@media (max-width: 30rem) {
  .header-inner { gap: 8px 12px; }
  .brand-group { gap: 10px; }
  .logo { height: 22px; }
  .header-wordmark { padding-left: 10px; font-size: 21px; }
  .header-link { padding-inline: 10px; font-size: 12px; }
  .form-fallback { padding-inline: 18px; }
}

@media (max-width: 25rem) {
  .signup-frame { height: 880px; }
}

/* Deliberately static; no entrance animation or smooth scrolling. */
