/* Virtual Court Forms — static landing. One sheet, no framework, no external requests. */
:root {
  --navy: #16293f;
  --navy-deep: #0e1c2d;
  --navy-line: #2c4258;
  --ink: #1c2733;
  --dim: #5a6b7e;
  --paper: #eef1f5;
  --accent: #2a4e7e;
  --accent-bright: #35598a;
  --gold: #c9a84c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem;
  background: var(--navy);
}
.wordmark {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.open-app {
  color: #e8eef5;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
}
.open-app:hover { background: var(--navy-deep); color: #fff; }

/* ---- hero ---- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, #1b3350 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  padding: 4rem 1.4rem 4.5rem;
  flex-wrap: wrap;
}
.hero-text { max-width: 34rem; }
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}
.sub {
  font-size: 1.05rem;
  color: #c3d0de;
  margin: 0 0 1.6rem;
}
.sub strong { color: #fff; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cta {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
}
.cta:hover { background: var(--paper); }
.cta.ghost {
  background: transparent;
  color: #e8eef5;
  border: 1px solid var(--navy-line);
  font-weight: 500;
}
.cta.ghost:hover { background: var(--navy-deep); }

/* a stylized form face: the product, as ornament */
.hero-card { perspective: 900px; }
.form-face {
  width: 250px;
  height: 330px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: rotateY(-9deg) rotateX(3deg);
  padding: 1.1rem 1rem;
  position: relative;
}
.ff-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.ff-seal {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--navy); opacity: 0.8;
  background: radial-gradient(circle at center, transparent 55%, rgba(22, 41, 63, 0.18) 56%);
}
.ff-title { flex: 1; height: 12px; border-radius: 3px; background: var(--navy); opacity: 0.85; }
.ff-line {
  height: 0;
  border-bottom: 2px dotted #9fb0c2;
  margin: 1.15rem 0;
}
.ff-line.w90 { width: 90%; } .ff-line.w80 { width: 80%; }
.ff-line.w70 { width: 70%; } .ff-line.w60 { width: 60%; }
.ff-box {
  height: 64px;
  border: 1.5px solid #c4cfdb;
  border-radius: 4px;
  margin: 1rem 0;
}
.ff-stamp {
  position: absolute;
  bottom: 1rem; right: 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  transform: rotate(-8deg);
}

/* ---- shared section chrome ---- */
main section { padding: 3.2rem 1.4rem; }
main h2 { font-size: 1.5rem; margin: 0 0 0.6rem; letter-spacing: -0.01em; }

/* ---- agents ---- */
.agents { background: var(--navy-deep); color: #e8eef5; }
.agents h2 { color: #fff; }
.agents > * { max-width: 46rem; margin-left: auto; margin-right: auto; }
.agents > p { color: #c3d0de; margin: 0 auto 1.1rem; }
.prompt {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #091420;
  border: 1px solid var(--navy-line);
  border-radius: 8px;
  padding: 0.8rem 1rem;
}
.prompt code { flex: 1; font-size: 0.95rem; color: #f0f5fa; }
.prompt button {
  font: inherit;
  font-size: 0.9rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  white-space: nowrap;
}
.prompt button:hover { background: var(--accent-bright); }
.points { list-style: none; margin: 1.2rem auto 0; padding: 0; font-size: 0.92rem; color: #c3d0de; }
.points li { margin: 0.45rem 0; padding-left: 1.1rem; position: relative; }
.points li::before { content: '·'; position: absolute; left: 0.2rem; font-weight: 700; }
.points strong { color: #fff; }

/* ---- how it works ---- */
.how { max-width: 60rem; margin: 0 auto; }
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.2rem;
  margin: 1.4rem 0 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  background: var(--paper);
  border-radius: 10px;
  padding: 1.2rem 1.2rem 1rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -0.7rem; left: 1rem;
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 0.4rem 0 0.3rem; font-size: 1.02rem; }
.steps p { margin: 0; font-size: 0.9rem; color: #3c4c5e; }

/* ---- forms ---- */
.forms { max-width: 60rem; margin: 0 auto; }
.forms-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.forms-cols h3 { margin: 0 0 0.4rem; font-size: 0.95rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }
.forms-cols ul { list-style: none; margin: 0; padding: 0; }
.forms-cols li { padding: 0.45rem 0; border-bottom: 1px solid #e6ebf1; font-size: 0.95rem; }
.forms-cols strong { color: var(--accent); margin-right: 0.3rem; }
.forms-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--dim); max-width: 44rem; }
.forms-note a { color: var(--accent); }

/* ---- principles ---- */
.principles {
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.4rem;
}
.principle h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.principle p { margin: 0; font-size: 0.88rem; color: #3c4c5e; }

/* ---- prose pages (privacy, future per-form pages) ---- */
.prose {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.4rem 3rem;
}
.prose h1 { font-size: 1.9rem; margin: 0 0 0.5rem; letter-spacing: -0.015em; }
.prose h2 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; }
.prose .lede { font-size: 1.02rem; color: #3c4c5e; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.4rem 0; font-size: 0.95rem; }
.points a { color: #9fc0e8; }

/* ---- rendered official instructions (form pages; mirrors the app blade) ---- */
.vcf-md h2 { font-size: 1.1rem; margin: 0.6rem 0 0.5rem; letter-spacing: -0.01em; }
.vcf-md h3 { font-size: 0.95rem; margin: 1.1rem 0 0.3rem; }
.vcf-md p, .vcf-md li { font-size: 0.88rem; line-height: 1.5; color: #2a3744; }
.vcf-md p { margin: 0.5rem 0; }
.vcf-md ul { margin: 0.4rem 0; padding-left: 1.3rem; }
.prose .cta { margin: 0; background: var(--navy); color: #fff; }
.prose .cta:hover { background: var(--navy-deep); }
.prose .cta.ghost-light {
  background: transparent;
  color: var(--navy);
  border: 1px solid #b9c5d4;
  font-weight: 550;
}
.prose .cta.ghost-light:hover { background: var(--paper); }
.page-ctas { margin: 1rem 0 0.3rem; }
.cta-note { font-size: 0.84rem; color: var(--dim); margin: 0.3rem 0 1.4rem; }
/* ---- form pages: banded layout ---- */
.fp { max-width: 52rem; }
.fp-hero {
  display: flex;
  gap: 2.2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0.4rem 0 1.8rem;
}
.fp-hero-text { max-width: 28rem; }
.fp-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 17rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 28, 44, 0.07);
}
.fp-ctas .cta { text-align: center; }
.fp-ctas .cta-note { margin: 0.2rem 0 0; }
@media (max-width: 720px) {
  .fp-hero { flex-direction: column; gap: 1.2rem; }
  .fp-ctas { min-width: 0; width: 100%; }
}
.fp-facts {
  background: var(--paper);
  border-radius: 10px;
  padding: 1.1rem 1.4rem 1.2rem;
  margin: 0 0 1.6rem;
}
.fp-facts h2 { margin-top: 0; }
.fp-agents {
  background: var(--navy-deep);
  color: #c3d0de;
  border-radius: 10px;
  padding: 1.1rem 1.4rem 1.2rem;
  margin: 0 0 1.2rem;
}
.fp-agents h2 { color: #fff; margin-top: 0; }
.prose .fp-agents a { color: #9fc0e8; }
.prose .fp-agents code { background: #091420; color: #e8eef5; }

/* icon bullet list (form pages: the official-form facts) */
.iconlist { list-style: none; padding: 0; margin: 0.6rem 0; }
.iconlist li { position: relative; padding-left: 1.9rem; margin: 0.55rem 0; font-size: 0.95rem; }
.iconlist .ic { position: absolute; left: 0; top: 0.12rem; width: 18px; height: 18px; color: var(--accent); }
.iconlist .ic svg { width: 18px; height: 18px; display: block; }

/* the instructions blade — same pattern as inside the app's form page */
.blade {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(30rem, 92vw);
  background: #fff;
  border-left: 1px solid #d7dee7;
  box-shadow: -8px 0 24px rgba(16, 28, 44, 0.18);
  transform: translateX(105%);
  transition: transform 0.22s ease;
  z-index: 50;
  overflow-y: auto;
  padding: 1rem 1.3rem 2rem;
}
.blade--open { transform: none; }
.blade-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.3rem; }
.blade-head button {
  font: inherit;
  background: transparent;
  border: 1px solid #d7dee7;
  border-radius: 6px;
  color: var(--dim);
  padding: 0.15rem 0.55rem;
  cursor: pointer;
}
.blade-head button:hover { background: var(--paper); }
.prose a { color: var(--accent); }
.prose code { font-size: 0.85em; background: var(--paper); padding: 0.1em 0.35em; border-radius: 4px; }

/* ---- footer ---- */
.foot {
  background: var(--navy);
  color: #c3d0de;
  padding: 2rem 1.4rem 2.4rem;
  font-size: 0.82rem;
}
.foot p { max-width: 46rem; margin: 0 auto 0.6rem; }
.foot-dim { opacity: 0.7; }
.foot a { color: #e8eef5; }
