/* root.css — verify.auriginal.app landing page (Phase C)
 *
 * Same oxblood + graphite design system as /check (root.html is the third
 * static surface; the planned tokens extraction can now happen once we
 * have time for the refactor — tokens duplicated across check.css,
 * verify-record.css, root.css for now to keep this Phase C change isolated.
 *
 * Layout discipline: two equal-weight CTA cards, no decorative chrome,
 * brand wordmark + tagline above, restraint-first per the design
 * principles. The two paths self-select on what the user has:
 *   - a media file → /check
 *   - a verification ID → /verify/:id (this page's form)
 */

:root {
  /* Brand */
  --brand-primary: #6E1F28;
  --brand-emphasis: #8C2431;
  --brand-gradient: linear-gradient(135deg, #6E1F28 0%, #8C2431 100%);

  /* Surfaces */
  --bg-page: #121212;
  --bg-card: #1C1C1E;
  --bg-input: #2A2A2D;

  /* Foreground */
  --fg-primary: #F5F2ED;
  --fg-secondary: #C9C3BC;
  --fg-tertiary: #A7A29A;
  --fg-quaternary: #8A857E;

  /* Borders */
  --border-default: #343438;
  --border-strong: #4A4A50;

  /* Status (semantic) */
  --status-verified: #1F8A70;        /* same muted teal-green as verify-record page */
  --status-failure:  #B23A48;

  /* Glass treatment — atmosphere, surface depth, hairline highlights.
     Used by body radial gradient + .container + nested cards. Goal is
     quiet premium depth (translucency + soft highlight), not specular
     reflections. */
  --glass-card-gradient: linear-gradient(180deg, rgba(36,36,40,0.86) 0%, rgba(28,28,30,0.86) 100%);
  --glass-card-border:    1px solid rgba(255,255,255,0.05);
  --glass-card-highlight: inset 0 1px 0 rgba(255,255,255,0.08);
  --glass-nested-gradient: linear-gradient(180deg, rgba(48,48,52,0.55) 0%, rgba(38,38,42,0.55) 100%);
  --glass-nested-highlight: inset 0 1px 0 rgba(255,255,255,0.05);

  /* Geometry */
  --radius-card: 16px;
  --radius-input: 10px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
               Ubuntu, Cantarell, sans-serif;
  /* Atmospheric base — flat graphite anchor with two soft radial washes
     (warm oxblood top-left, cool verified-teal bottom-right) that give the
     page depth without competing with content. Low opacity so the
     wordmark + CTAs still dominate. */
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(140,36,49,0.12) 0%, transparent 60%),
    radial-gradient(900px 700px at 100% 100%, rgba(31,138,112,0.10) 0%, transparent 65%),
    var(--bg-page);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px;
  color: var(--fg-primary);
  line-height: 1.55;
}

.container {
  /* Glass surface — translucent gradient + backdrop-blur lets the body's
     atmospheric radials show through. Top hairline highlight provides the
     specular touch; outer shadow grounds the card. */
  background: var(--glass-card-gradient);
  backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  border: var(--glass-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--glass-card-highlight), var(--shadow-card);
  max-width: 700px;
  width: 100%;
  padding: 40px 32px;
}

/* Logo / brand header */
.logo {
  text-align: center;
  margin-bottom: 28px;
}

/* Monogram seal mark — placeholder (Phase C). Will be replaced when the
   final brand identity lands. Sized for prominence without overpowering
   the wordmark beneath. */
.logo-mark {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
}

.logo h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  /* Brand-gradient text fill — the wordmark picks up the same warm-to-deep
     depth ladder as the CTAs, so logo + buttons read as one identity. */
  background: linear-gradient(135deg, #B23A48 0%, #8C2431 38%, #6E1F28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Warm halo grounds the wordmark on the glass surface without going
     theatrical. drop-shadow on the rendered glyphs (text-shadow would
     not fire on a transparent fill). */
  filter: drop-shadow(0 2px 12px rgba(110,31,40,0.35));
  margin-bottom: 10px;
}

.logo .tagline {
  color: var(--fg-tertiary);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Lede paragraph — sets the two-path framing */
.lede {
  color: var(--fg-secondary);
  font-size: 15px;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.55;
}

/* CTA cards — one per verification path. Nested-glass: lighter gradient
   than the container so the depth ladder reads (container > card > input).
   Hairline highlight at the top edge gives the card a small specular touch
   matching the container's. */
.cta-card {
  background: var(--glass-nested-gradient);
  border: var(--glass-card-border);
  border-radius: var(--radius-input);
  box-shadow: var(--glass-nested-highlight);
  padding: 22px;
  margin-bottom: 16px;
}

.cta-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 6px;
}

.cta-body {
  color: var(--fg-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.55;
}

/* Primary CTA — oxblood brand fill with a subtle highlight on the top edge
   and a warm drop-shadow. The highlight is the "glass" tell on buttons;
   the drop-shadow grounds the button on the card without going theatrical. */
.cta-primary {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius-input);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 4px 14px rgba(110,31,40,0.35);
  transition: filter 0.15s, box-shadow 0.15s, transform 0.15s;
}

.cta-primary:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 6px 18px rgba(110,31,40,0.45);
}

/* Secondary CTA — same affordance as primary but paired with an input */
.cta-secondary {
  background: var(--brand-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  padding: 11px 20px;
  border-radius: var(--radius-input);
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 4px 14px rgba(110,31,40,0.35);
  transition: filter 0.15s, box-shadow 0.15s;
}

.cta-secondary:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 6px 18px rgba(110,31,40,0.45);
}
.cta-secondary:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* Lookup form (Path B) */
.lookup-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.lookup-row {
  display: flex;
  gap: 8px;
}

.lookup-row input[type="text"] {
  flex: 1;
  background: var(--bg-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  color: var(--fg-primary);
  font-size: 14px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  padding: 11px 14px;
  min-width: 0; /* allow shrink in flex */
}

.lookup-row input[type="text"]:focus {
  outline: none;
  /* Verified-teal focus border: once the user is typing an ID, they're in
     verification mode — let the status color reinforce that. */
  border-color: var(--status-verified);
  box-shadow: 0 0 0 3px rgba(31,138,112,0.18);
}

.lookup-error {
  color: var(--status-failure);
  font-size: 13px;
  min-height: 18px;
  margin-top: 8px;
}

/* Help block beneath the CTAs */
.help {
  color: var(--fg-tertiary);
  font-size: 13px;
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.page-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-default);
  text-align: center;
}

.brand {
  font-size: 13px;
  color: var(--fg-quaternary);
}

.brand a {
  color: var(--fg-tertiary);
  text-decoration: none;
}

.brand a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 520px) {
  .container { padding: 28px 20px; }
  .logo h1 { font-size: 38px; }
  .lookup-row { flex-direction: column; gap: 10px; }
  .cta-secondary { width: 100%; }
}
