:root {
  --navy: #0a2540;
  --blue: #1f7ae0;
  --gold: #c9a14a;
  --blue-dark: #145eaf;
  --muted: #f5f8fc;
  --white: #ffffff;
  --ink: #102235;
  --text: #526173;
  --line: #d9e3f0;
  --success: #0f7b58;
  --warning: #b56a00;
  --shadow: 0 24px 70px rgba(10, 37, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 240, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 320px;
}

.brand img {
  display: block;
  width: min(380px, 70vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 560px);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 8vw, 112px) clamp(20px, 5vw, 72px) 68px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(31, 122, 224, 0.34), transparent 32%),
    linear-gradient(135deg, #071c31 0%, var(--navy) 58%, #0d355f 100%);
}

.hero-content {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fc4ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3rem, 7.4vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subclaim {
  max-width: 790px;
  margin: 24px 0 0;
  color: #d7e7f8;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(31, 122, 224, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-payment {
  color: var(--white);
  background: var(--success);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.full {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 0;
}

.trust-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.trust-strip dt {
  color: var(--white);
  font-weight: 800;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: #bdd5ef;
  font-size: 0.9rem;
}

.hero-disclaimer {
  max-width: 820px;
  margin: 18px 0 0;
  color: #bdd5ef;
  font-size: 0.96rem;
}

.need-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
  margin-top: 22px;
}

.need-questions p {
  margin: 0;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  font-weight: 700;
}

.hero-visual {
  min-width: 0;
}

.evidence-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.custody-timeline {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.custody-timeline div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  padding: 14px;
  color: var(--ink);
  background: #f7faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.custody-timeline span {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy);
  background: rgba(201, 161, 74, 0.24);
  border-radius: 8px;
  font-weight: 800;
}

.custody-timeline strong {
  color: var(--navy);
}

.custody-timeline small {
  color: var(--text);
}

.panel-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.panel-top span {
  width: 11px;
  height: 11px;
  background: #c8d5e5;
  border-radius: 50%;
}

.case-id {
  padding: 12px 14px;
  color: var(--blue);
  background: #edf5ff;
  border-radius: 8px;
  font-weight: 800;
}

.chat-preview {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.message {
  max-width: 86%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.incoming {
  color: var(--ink);
  background: #eef3f9;
}

.outgoing {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.hash-card,
.status-grid {
  color: var(--ink);
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hash-card {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.hash-card span,
.status-grid span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

code {
  color: var(--navy);
  font-family: Consolas, Monaco, monospace;
  word-break: break-all;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-muted {
  background: var(--muted);
}

.why-section {
  background: var(--white);
}

.why-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: 34px;
}

.why-hero {
  max-width: 940px;
}

.why-hero h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.why-hero p:not(.eyebrow) {
  max-width: 840px;
  color: var(--text);
  font-size: 1.08rem;
}

.section-photo,
.wide-photo {
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 37, 64, 0.14);
}

.section-photo {
  aspect-ratio: 4 / 3;
}

.wide-photo {
  aspect-ratio: 16 / 7;
  margin-bottom: 22px;
}

.section-photo img,
.wide-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-photo {
  margin-top: 18px;
  margin-bottom: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-grid article {
  min-height: 238px;
  padding: 26px;
  background: #f9fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.why-grid span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: var(--navy);
  background: rgba(31, 122, 224, 0.1);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.why-grid h3 {
  margin: 18px 0 8px;
  color: var(--navy);
}

.why-grid p {
  margin: 0;
  color: var(--text);
}

.commitment-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-top: 20px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #123c67);
  border-radius: 8px;
}

.commitment-band h3 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.commitment-band p {
  margin: 0;
  color: #d7e7f8;
}

.commitment-band .eyebrow {
  color: #8fc4ff;
}

.section-assurance {
  background:
    linear-gradient(180deg, var(--white) 0%, #f9fbff 100%);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 1.05rem;
}

.steps-grid,
.service-grid,
.pricing-grid,
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps-grid article,
.service-grid article,
.assurance-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.assurance-grid article {
  min-height: 286px;
  padding: 30px;
  box-shadow: 0 18px 54px rgba(10, 37, 64, 0.08);
}

.assurance-grid span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: var(--navy);
  background: rgba(201, 161, 74, 0.18);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.steps-grid article {
  min-height: 214px;
}

.steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: #eaf3ff;
  border-radius: 8px;
  font-weight: 800;
}

.steps-grid h3,
.service-grid h3,
.assurance-grid h3 {
  margin: 18px 0 8px;
  color: var(--navy);
}

.steps-grid p,
.service-grid p,
.assurance-grid p {
  margin: 0;
  color: var(--text);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, #071c31 0%, var(--navy) 66%, #123c67 100%);
}

.split-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
}

.split-copy p:not(.eyebrow) {
  color: #d7e7f8;
  font-size: 1.06rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-grid article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.comparison-grid h3 {
  margin: 0 0 16px;
}

.comparison-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #d7e7f8;
}

.tech-section {
  background: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tech-grid article {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(10, 37, 64, 0.08);
}

.tech-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: rgba(201, 161, 74, 0.22);
  border-radius: 8px;
  font-weight: 800;
}

.tech-grid h3 {
  margin: 18px 0 8px;
  color: var(--navy);
}

.tech-grid p {
  margin: 0 0 16px;
  color: var(--text);
}

.tech-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.tech-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 14px;
  margin-top: 18px;
  padding: 22px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.tech-note strong {
  color: #8fc4ff;
}

.expert-section {
  background: var(--white);
}

.expert-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.expert-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1.03;
}

.expert-panel p:not(.eyebrow) {
  max-width: 820px;
  color: var(--text);
  font-size: 1.08rem;
}

.expert-card {
  padding: 26px;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.expert-card h3 {
  margin: 0 0 18px;
  color: var(--white);
}

.expert-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.expert-card div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.expert-card dt {
  color: #8fc4ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.expert-card dd {
  margin: 4px 0 0;
  color: #d7e7f8;
  font-weight: 700;
}

.expert-card a {
  color: var(--white);
}

.expert-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.expert-scope article {
  padding: 24px;
  background: #f9fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expert-scope h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.expert-scope p {
  margin: 0;
  color: var(--text);
}

.price-card {
  min-height: 136px;
  padding: 22px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.price-card:hover,
.price-card.selected {
  border-color: var(--blue);
  box-shadow: 0 16px 42px rgba(31, 122, 224, 0.15);
}

.price-card.featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.price-card span,
.price-card strong {
  display: block;
}

.price-card span {
  min-height: 52px;
  font-weight: 700;
}

.price-card strong {
  margin-top: 18px;
  color: var(--blue);
  font-size: 1.18rem;
}

.price-card.featured strong {
  color: #8fc4ff;
}

.pricing-note {
  margin: 18px 0 0;
  padding: 18px 20px;
  color: var(--text);
  background: #f9fbff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  font-weight: 700;
}

.section-form {
  background: linear-gradient(180deg, var(--white), var(--muted));
}

.case-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.form-card,
.summary-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.08);
}

.form-card h3,
.summary-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full-field {
  grid-column: 1 / -1;
}

.form-helper {
  margin: -6px 0 18px;
  color: var(--text);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfdbea;
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 122, 224, 0.12);
}

.upload-card,
.legal-card,
.identity-card {
  margin-top: 20px;
}

.identity-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.identity-upload-grid label {
  padding: 16px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.identity-upload-grid input {
  background: var(--white);
}

.identity-upload-grid small {
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}

.upload-zone {
  display: grid;
  place-items: center;
  min-height: 218px;
  padding: 28px;
  text-align: center;
  color: var(--text);
  background: #f8fbff;
  border: 2px dashed #b7cbe4;
  border-radius: 8px;
  cursor: pointer;
}

.upload-zone.dragover {
  background: #edf5ff;
  border-color: var(--blue);
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 2rem;
  font-weight: 600;
}

.upload-zone strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.upload-zone small {
  max-width: 420px;
}

.file-meta {
  margin-top: 16px;
  padding: 14px;
  color: var(--ink);
  background: #eef8f4;
  border: 1px solid #bde4d5;
  border-radius: 8px;
  font-size: 0.92rem;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  margin: 12px 0;
  color: var(--text);
  font-weight: 600;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.summary-card {
  position: sticky;
  top: 104px;
}

.summary-card dl {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}

.summary-card dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-card dt {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.form-message {
  min-height: 26px;
  margin: 0 0 12px;
  color: var(--warning);
  font-weight: 700;
}

.form-message.success {
  color: var(--success);
}

.payment-note {
  display: block;
  margin-top: 12px;
  color: var(--text);
}

.site-footer {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  padding: 34px clamp(20px, 5vw, 72px);
  color: #d7e7f8;
  background: var(--navy);
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 0.95rem;
}

.footer-logo {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 8px;
}

.site-footer p {
  margin: 0;
  max-width: 740px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 22px;
  color: #bdd5ef;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.maintenance-page {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(31, 122, 224, 0.3), transparent 34%),
    linear-gradient(135deg, #071c31 0%, var(--navy) 62%, #0d355f 100%);
}

.maintenance-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.maintenance-card {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 56px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.maintenance-logo {
  display: block;
  width: min(330px, 82vw);
  height: auto;
  margin-bottom: 34px;
  padding: 10px 12px;
  background: var(--white);
  border-radius: 8px;
}

.maintenance-card h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 7vw, 4.8rem);
}

.maintenance-card p:not(.eyebrow) {
  max-width: 640px;
  color: #d7e7f8;
  font-size: 1.08rem;
}

.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.maintenance-secondary {
  background: rgba(255, 255, 255, 0.12);
}

.maintenance-copy {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem !important;
}

.account-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--white), var(--muted));
}

.account-nav {
  display: flex;
}

.account-shell {
  display: grid;
  min-height: calc(100vh - 82px);
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
}

.account-card {
  width: min(1040px, 100%);
  padding: clamp(28px, 6vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.account-card h1 {
  color: var(--navy);
  font-size: clamp(2.35rem, 6vw, 4.4rem);
}

.account-card p:not(.eyebrow):not(.form-message) {
  color: var(--text);
}

.account-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.account-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.account-form {
  padding: 22px;
  background: #f9fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-form h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.session-panel {
  margin: 20px 0 28px 0;
  padding: 18px 22px;
  background: #f8fafc;
  border: 1px solid rgba(31, 56, 100, 0.15);
  border-left: 4px solid var(--gold, #c9a14a);
  border-radius: 8px;
}

.session-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.session-info {
  flex: 1 1 240px;
  min-width: 0;
}

.session-label {
  margin: 0 0 4px 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 600;
}

.session-id {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
  word-break: break-all;
}

.session-id strong {
  font-weight: 700;
}

.session-logout {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(31, 56, 100, 0.4);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.session-logout:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.session-logout:focus-visible {
  outline: 2px solid var(--gold, #c9a14a);
  outline-offset: 2px;
}

.session-note {
  margin: 14px 0 0 0;
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.5;
}

.session-note a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold, #c9a14a);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.session-note a:hover {
  color: var(--gold, #c9a14a);
}

@media (max-width: 1040px) {
  .hero,
  .case-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 620px;
  }

  .steps-grid,
  .service-grid,
  .pricing-grid,
  .why-grid,
  .assurance-grid,
  .comparison-grid,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-intro,
  .split-section,
  .expert-panel,
  .commitment-band {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .hero {
    padding-top: 44px;
  }

  .trust-strip,
  .need-questions,
  .steps-grid,
  .service-grid,
  .pricing-grid,
  .why-grid,
  .assurance-grid,
  .comparison-grid,
  .tech-grid,
  .expert-scope,
  .identity-upload-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid article {
    min-height: auto;
  }

  .tech-note {
    grid-template-columns: 1fr;
  }

  .account-tabs,
  .session-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .wide-photo {
    aspect-ratio: 4 / 3;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Páginas legales (aviso, privacidad, cookies, condiciones)
   ========================================================= */

.legal-page main {
  padding-top: 3rem;
}

.legal-nav a[aria-current="page"] {
  color: var(--accent, #c9a14a);
  font-weight: 700;
}

.legal-section {
  max-width: 880px;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(31, 56, 100, 0.12);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.6rem 0 0.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0a0e1a;
}

.legal-updated {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: #6b7280;
  font-style: italic;
}

.legal-content {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #1a1d2e;
}

.legal-content h2 {
  margin: 2.6rem 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f3864;
  line-height: 1.3;
}

.legal-content h3 {
  margin: 1.8rem 0 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f3864;
}

.legal-content p {
  margin: 0.8rem 0;
}

.legal-content ul,
.legal-content ol {
  margin: 0.8rem 0 1.2rem 1.2rem;
  padding-left: 0.6rem;
}

.legal-content li {
  margin: 0.4rem 0;
}

.legal-content a {
  color: #1f3864;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #c9a14a;
}

.legal-lead {
  font-size: 1.08rem;
  background: rgba(31, 56, 100, 0.04);
  border-left: 3px solid #c9a14a;
  padding: 1rem 1.2rem;
  border-radius: 0 6px 6px 0;
  margin: 0 0 1.8rem 0;
}

.legal-data {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 1.2rem 0 1.8rem;
  padding: 1.2rem 1.4rem;
  background: rgba(31, 56, 100, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(31, 56, 100, 0.08);
}

.legal-data > div {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(31, 56, 100, 0.1);
}

.legal-data > div:last-child {
  border-bottom: none;
}

.legal-data dt {
  font-weight: 600;
  color: #1f3864;
  font-size: 0.92rem;
}

.legal-data dd {
  margin: 0;
  color: #1a1d2e;
}

.placeholder {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  background: rgba(201, 161, 74, 0.15);
  border: 1px dashed #c9a14a;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #8c6b2a;
  font-style: italic;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid rgba(31, 56, 100, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.legal-table thead {
  background: rgba(31, 56, 100, 0.06);
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(31, 56, 100, 0.08);
}

.legal-table th {
  font-weight: 600;
  color: #1f3864;
  font-size: 0.9rem;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table code {
  background: rgba(31, 56, 100, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1rem 0;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.85;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-sibling {
  margin: 0.8rem 0;
  font-size: 0.88rem;
  opacity: 0.75;
}

.footer-sibling a {
  color: #c9a14a;
  font-weight: 600;
}

@media (max-width: 720px) {
  .legal-data > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .legal-table {
    font-size: 0.88rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 0.55rem 0.7rem;
  }
}

/* =========================================================
   Toggle mostrar/ocultar contraseña (accesibilidad)
   ========================================================= */

.password-wrapper {
  position: relative;
  display: block;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  color: #1f3864;
  opacity: 0.65;
  transition: opacity 0.15s, background-color 0.15s;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  opacity: 1;
  background-color: rgba(31, 56, 100, 0.08);
  outline: none;
}

.password-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(201, 161, 74, 0.5);
}

.password-toggle svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* Icono visible/oculto controlado por estado del botón */
.password-toggle .icon-hide { display: none; }
.password-toggle[aria-pressed="true"] .icon-show { display: none; }
.password-toggle[aria-pressed="true"] .icon-hide { display: block; }

/* =========================================================
   FAQ — acordeón nativo con <details>/<summary>
   ========================================================= */

.section-intro {
  font-size: 1.05rem;
  color: #4a5568;
  max-width: 720px;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

.faq-list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(31, 56, 100, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: rgba(201, 161, 74, 0.5);
  box-shadow: 0 4px 12px rgba(31, 56, 100, 0.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: #1f3864;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid #c9a14a;
  border-bottom: 2px solid #c9a14a;
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  color: #c9a14a;
}

.faq-item summary:focus-visible {
  outline: 2px solid #c9a14a;
  outline-offset: -2px;
}

.faq-item > p {
  padding: 0 1.4rem 1.3rem 1.4rem;
  margin: 0;
  color: #2d3748;
  line-height: 1.65;
  font-size: 0.98rem;
}

.faq-item > p a {
  color: #1f3864;
  text-decoration: underline;
  text-decoration-color: #c9a14a;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.faq-item > p a:hover {
  color: #c9a14a;
}

/* ============================================================
   Subida cifrada - aviso al cliente y barras de progreso
   ============================================================ */

.upload-notice {
  background: #f3f0e2;
  border-left: 4px solid #c9a14a;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 0.95rem;
  color: #1f3864;
  line-height: 1.55;
}

.upload-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: #1f3864;
}

.upload-notice code {
  background: rgba(31, 56, 100, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.upload-notice em {
  color: #4a5568;
  font-size: 0.9em;
}

.upload-progress-section {
  margin: 20px 0 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
}

.upload-progress-section h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #1f3864;
}

.upload-progress-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-card {
  background: #f7f9fc;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.upload-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.upload-card-header strong {
  color: #1f3864;
  font-size: 0.95rem;
}

.upload-card-filename {
  color: #4a5568;
  font-size: 0.88rem;
  word-break: break-all;
}

.upload-card-size {
  color: #6b7280;
  font-size: 0.85rem;
  margin-left: auto;
}

.upload-card-stage {
  font-size: 0.88rem;
  color: #1f4f9f;
  margin-bottom: 6px;
  font-weight: 500;
}

.upload-card-progress {
  width: 100%;
  height: 6px;
  background: #e3e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 4px 0;
}

.upload-card-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1f3864, #c9a14a);
  transition: width 200ms ease;
}

.upload-card-detail {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.upload-card-ok {
  border-color: #0f7b58;
  background: #f0faf5;
}

.upload-card-ok .upload-card-stage {
  color: #0f7b58;
  font-weight: 600;
}

.upload-card-ok .upload-card-progress-bar {
  background: #0f7b58;
}

.upload-card-err {
  border-color: #b03a3a;
  background: #fdf3f3;
}

.upload-card-err .upload-card-stage {
  color: #b03a3a;
  font-weight: 600;
}
