:root {
  --ink: #14221d;
  --ink-2: #23352f;
  --muted: #68756f;
  --green: #1f6b57;
  --green-2: #2d8a70;
  --green-soft: #eaf4f0;
  --copper: #c9894c;
  --copper-2: #e5b27f;
  --ivory: #f7f4ed;
  --sand: #eee8dd;
  --white: #fff;
  --line: #dde5e1;
  --danger: #a33b37;
  --danger-soft: #f8eceb;
  --shadow-sm: 0 10px 28px rgba(20,34,29,.07);
  --shadow-lg: 0 24px 70px rgba(20,34,29,.13);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfcfb;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 12px; }

.independence-bar {
  background: var(--ink);
  color: #eaf2ee;
  text-align: center;
  font-size: 12px;
  padding: 8px 20px;
  letter-spacing: .01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,252,251,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221,229,225,.8);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 250px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.main-nav a { color: #40514a; font-size: 14px; font-weight: 700; position: relative; padding: 30px 0 28px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--copper); transition: right .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 8px 22px rgba(20,34,29,.16); }
.button-primary:hover { background: #20342d; box-shadow: 0 12px 30px rgba(20,34,29,.2); }
.button-green { color: #fff; background: var(--green); }
.button-green:hover { background: #185745; }
.button-light { background: #fff; color: var(--ink); border-color: var(--line); }
.button-light:hover { border-color: #b9c8c1; box-shadow: var(--shadow-sm); }
.button-copper { background: var(--copper); color: #fff; }
.button-sm { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.button-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--green); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--copper); }
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 87% 10%, rgba(201,137,76,.16), transparent 28%),
    radial-gradient(circle at 12% 14%, rgba(31,107,87,.08), transparent 22%),
    linear-gradient(180deg,#fbfcfb 0%,#f5f8f6 100%);
}
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(31,107,87,.12); border-radius: 50%; right: -210px; bottom: -260px; }
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 62px; align-items: center; }
.hero h1, .page-hero h1, .section-title h2, .content-prose h1, .auth-card h1 { font-family: "Playfair Display", Georgia, serif; }
.hero h1 { font-size: clamp(45px, 6vw, 78px); line-height: 1.02; letter-spacing: -.045em; margin: 20px 0 24px; max-width: 780px; }
.hero h1 span { color: var(--green); }
.hero-copy { font-size: 18px; color: #56645e; max-width: 690px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; align-items: center; margin-top: 30px; color: #5b6963; font-size: 13px; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-panel { background: var(--ink); color: #fff; border-radius: 30px; padding: 30px; box-shadow: var(--shadow-lg); position: relative; }
.hero-panel::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 22px; pointer-events: none; }
.panel-kicker { color: var(--copper-2); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.hero-panel h2 { font-size: 26px; line-height: 1.25; margin: 8px 0 18px; }
.process-list { display: grid; gap: 14px; margin: 22px 0 26px; }
.process-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.process-item b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink); background: var(--copper-2); font-size: 12px; }
.process-item strong { display: block; font-size: 14px; }
.process-item span { display: block; font-size: 12px; color: #b9c8c1; margin-top: 2px; }
.panel-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 12px; color: #b9c8c1; }

.section { padding: 82px 0; }
.section-soft { background: #f4f7f5; border-top: 1px solid #edf1ef; border-bottom: 1px solid #edf1ef; }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--ink); color: #fff; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-title.center { display: block; text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-title h2 { margin: 8px 0 0; font-size: clamp(34px,4.1vw,50px); line-height: 1.1; letter-spacing: -.03em; }
.section-title p { max-width: 540px; color: var(--muted); margin: 0; }
.section-dark .section-title p { color: #b9c8c1; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-height: 310px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 34px rgba(20,34,29,.035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #cbd7d1; box-shadow: var(--shadow-sm); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--green-soft); color: var(--green); margin-bottom: 20px; }
.service-icon svg { width: 25px; height: 25px; }
.service-card h3 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; }
.service-card p { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.service-card .button { margin-top: auto; width: max-content; }

.assurance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.assurance-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.assurance-number { font-size: 13px; font-weight: 800; color: var(--copper); }
.assurance-card h3 { margin: 10px 0 10px; font-size: 20px; }
.assurance-card p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 42px; background: linear-gradient(120deg,var(--green),#295546); border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px,4vw,42px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: #d9ebe4; max-width: 680px; }
.cta-actions { display: flex; gap: 10px; }

.page-hero { padding: 70px 0 54px; background: linear-gradient(180deg,#f4f7f5,#fbfcfb); border-bottom: 1px solid #edf1ef; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(42px,5vw,62px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 760px; margin: 0; }
.notice { margin-top: 24px; display: flex; align-items: flex-start; gap: 12px; background: #fff9f1; border: 1px solid #edd6bd; border-radius: 14px; padding: 15px 17px; color: #6c5136; font-size: 13px; }
.notice strong { color: #4b3825; }

.form-shell { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 28px; align-items: start; }
.form-card, .sidebar-card, .track-card, .content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-card { overflow: hidden; }
.form-section { padding: 30px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; }
.form-section-title b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 12px; }
.form-section-title h2 { font-size: 20px; margin: 0; }
.form-section-title p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 13px; font-weight: 800; color: #33463e; }
.required { color: var(--danger); }
.form-control {
  width: 100%;
  min-height: 50px;
  border: 1px solid #ced9d4;
  background: #fff;
  color: var(--ink);
  border-radius: 11px;
  padding: 11px 13px;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,107,87,.1); }
.form-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.input-pair { display: grid; grid-template-columns: 130px 1fr; gap: 9px; }
.upload-box { display: block; border: 1.5px dashed #bfcfc8; border-radius: 14px; padding: 26px; text-align: center; background: #fafcfb; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.upload-box:hover { background: var(--green-soft); border-color: var(--green); }
.upload-box input { position: absolute; opacity: 0; pointer-events: none; }
.upload-box strong { display: block; margin-bottom: 5px; }
.upload-box span { color: var(--muted); font-size: 12px; }
.file-name { margin-top: 8px; color: var(--green); font-size: 12px; font-weight: 700; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 3px; }
.check-row label { font-size: 13px; color: #4b5d55; }
.check-row a { color: var(--green); text-decoration: underline; font-weight: 700; }
.sidebar-card { padding: 22px; position: sticky; top: 112px; }
.sidebar-card h3 { margin: 0 0 16px; font-size: 16px; }
.sidebar-list { display: grid; gap: 15px; }
.sidebar-list div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.sidebar-list b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--green); font-size: 11px; }
.sidebar-list strong { font-size: 12px; display: block; }
.sidebar-list span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.sidebar-disclaimer { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.error-box, .success-box { border-radius: 13px; padding: 15px 17px; margin-bottom: 20px; font-size: 13px; }
.error-box { background: var(--danger-soft); color: #81302d; border: 1px solid #ecc8c6; }
.success-box { background: #eaf6f0; color: #245d49; border: 1px solid #c7e3d6; }
.error-box ul { margin: 7px 0 0 19px; padding: 0; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.track-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.track-card { padding: 28px; }
.track-card h2 { margin-top: 0; }
.result-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; min-height: 100%; box-shadow: var(--shadow-lg); }
.result-panel h2 { margin: 0 0 5px; }
.result-ref { color: var(--copper-2); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.detail-list { display: grid; gap: 0; margin-top: 24px; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.detail-row span:first-child { color: #aebcb6; }
.detail-row strong { text-align: right; }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 800; }
.status-blue { background: #e8f1fb; color: #2e5f95; }
.status-amber { background: #fbf0dc; color: #8b5b16; }
.status-purple { background: #f0eafb; color: #6d45a3; }
.status-cyan { background: #e2f5f7; color: #24717a; }
.status-green { background: #e6f5ed; color: #2f6d4e; }
.status-gray { background: #edf0ef; color: #59645f; }
.result-panel .status-pill { background: rgba(255,255,255,.12); color: #fff; }

.success-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 20px; background: radial-gradient(circle at 50% 0,rgba(31,107,87,.12),transparent 35%); }
.success-card { width: min(720px,100%); text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 48px; box-shadow: var(--shadow-lg); }
.success-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 22px; background: var(--green-soft); color: var(--green); font-size: 30px; font-weight: 800; }
.success-card h1 { font-family: "Playfair Display", Georgia, serif; font-size: 40px; line-height: 1.1; margin: 0 0 14px; }
.success-card p { color: var(--muted); }
.reference-box { margin: 28px auto; padding: 18px; background: var(--ivory); border-radius: 14px; border: 1px solid var(--sand); }
.reference-box span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.reference-box strong { display: block; margin-top: 5px; font-size: 24px; letter-spacing: .06em; }
.success-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.content-prose { max-width: 820px; margin: 0 auto; }
.content-prose h1 { font-size: 44px; line-height: 1.1; margin: 0 0 18px; }
.content-prose h2 { margin-top: 34px; font-size: 22px; }
.content-prose h3 { margin-top: 24px; font-size: 17px; }
.content-prose p, .content-prose li { color: #53635c; }
.content-prose a { color: var(--green); text-decoration: underline; font-weight: 700; }
.content-prose .lead { font-size: 18px; color: #44554d; }
.content-card { padding: 34px; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 45px; align-items: center; }
.about-art { min-height: 430px; border-radius: var(--radius-lg); background: var(--ink); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-art::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); top: -100px; right: -80px; }
.about-art::after { content: "PRIVATE • SECURE • INDEPENDENT"; position: absolute; left: 32px; bottom: 32px; color: var(--copper-2); font-weight: 800; font-size: 12px; letter-spacing: .16em; }
.document-visual { position: absolute; width: 230px; height: 280px; background: #f8f5ee; border-radius: 22px; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-4deg); box-shadow: 20px 24px 45px rgba(0,0,0,.23); padding: 26px; }
.document-visual .line { height: 8px; background: #dfe8e3; border-radius: 20px; margin-bottom: 12px; }
.document-visual .line:nth-child(1) { width: 58%; background: var(--green); height: 12px; }
.document-visual .line:nth-child(4) { width: 77%; }
.document-visual .stamp { width: 60px; height: 60px; border-radius: 18px; margin-top: 32px; background: var(--green-soft); border: 2px solid var(--green); display: grid; place-items: center; color: var(--green); font-weight: 900; font-size: 11px; transform: rotate(7deg); }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-question { width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 20px; text-align: left; font-weight: 800; color: var(--ink); }
.faq-question span:last-child { font-size: 22px; color: var(--green); transition: transform .18s ease; }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--muted); font-size: 14px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: start; }
.contact-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.contact-panel h2 { margin-top: 0; }
.contact-panel p { color: #b9c8c1; }
.contact-line { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-line span { display: block; color: #9eb0a8; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-line a, .contact-line strong { display: block; margin-top: 4px; font-size: 14px; }

.site-footer { background: #0d1713; color: #fff; padding: 60px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .65fr .65fr 1.15fr; gap: 42px; }
.footer-brand img { width: 245px; margin-bottom: 18px; }
.footer-brand p, .footer-assurance p { color: #9eb0a8; font-size: 12px; max-width: 360px; }
.footer-brand > a { color: var(--copper-2); font-size: 13px; font-weight: 700; }
.site-footer h3 { margin: 3px 0 16px; color: #d8e3de; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer div > a:not(.brand) { display: block; color: #9eb0a8; font-size: 12px; margin: 10px 0; }
.site-footer div > a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; color: #71837b; font-size: 11px; }
.footer-bottom a { color: #82978e; }

/* Admin */
.admin-body { min-height: 100vh; background: #f2f5f3; }
.admin-topbar { height: 72px; background: var(--ink); color: #fff; display: flex; align-items: center; }
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.admin-brand { font-weight: 800; }
.admin-brand span { color: var(--copper-2); }
.admin-nav { display: flex; align-items: center; gap: 15px; font-size: 12px; color: #c5d1cc; }
.admin-main { padding: 34px 0 60px; }
.admin-header { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.admin-header h1 { margin: 0 0 5px; font-size: 30px; }
.admin-header p { margin: 0; color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-bottom: 24px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 17px; }
.metric span { color: var(--muted); font-size: 11px; }
.metric strong { display: block; margin-top: 6px; font-size: 24px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(20,34,29,.035); }
.filter-bar { display: grid; grid-template-columns: 2fr repeat(4,1fr) auto; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.filter-bar .form-control { min-height: 42px; font-size: 12px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 960px; }
.admin-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #75817c; background: #fafbfa; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.admin-table td { font-size: 12px; padding: 14px; border-bottom: 1px solid #edf0ee; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .ref { font-weight: 800; color: var(--green); }
.admin-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; align-items: start; }
.admin-section { padding: 22px; border-bottom: 1px solid var(--line); }
.admin-section:last-child { border-bottom: 0; }
.admin-section h2 { margin: 0 0 16px; font-size: 17px; }
.admin-kv { display: grid; grid-template-columns: 180px 1fr; gap: 0; }
.admin-kv div { padding: 9px 0; border-bottom: 1px solid #edf0ee; font-size: 12px; }
.admin-kv div:nth-child(odd) { color: var(--muted); }
.admin-kv div:nth-last-child(-n+2) { border-bottom: 0; }
.admin-side { display: grid; gap: 15px; }
.admin-side .content-card { padding: 20px; }
.admin-side h3 { margin-top: 0; font-size: 15px; }
.note { padding: 13px 0; border-bottom: 1px solid #edf0ee; font-size: 12px; }
.note:last-child { border-bottom: 0; }
.note span { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; background: #f8faf9; border: 1px solid #e5ebe8; border-radius: 11px; margin-bottom: 8px; }
.doc-row strong { display: block; font-size: 12px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-row span { display: block; color: var(--muted); font-size: 10px; }

.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 20% 10%,rgba(31,107,87,.17),transparent 30%),var(--ink); }
.auth-card { width: min(460px,100%); background: #fff; border-radius: 24px; padding: 34px; box-shadow: 0 40px 90px rgba(0,0,0,.28); }
.auth-card .auth-logo { width: 250px; margin-bottom: 28px; }
.auth-card h1 { font-size: 34px; margin: 0 0 8px; }
.auth-card > p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.auth-card .form-group { margin-bottom: 15px; }
.auth-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 11px; color: var(--muted); }
.auth-meta a { color: var(--green); font-weight: 700; }
.secret-box { background: var(--ivory); border: 1px solid var(--sand); border-radius: 12px; padding: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; margin: 10px 0 16px; }

@media (max-width: 1050px) {
  .brand img { width: 220px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .filter-bar { grid-template-columns: repeat(3,1fr); }
  .filter-bar > :first-child { grid-column: span 2; }
}

@media (max-width: 820px) {
  .container, .narrow { width: min(100% - 28px, var(--container)); }
  .independence-bar { font-size: 10px; padding: 7px 12px; }
  .header-inner { min-height: 66px; }
  .brand img { width: 205px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: fixed; top: 97px; left: 14px; right: 14px; margin: 0; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; border-bottom: 1px solid #edf0ee; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .hero { padding: 62px 0; }
  .hero-grid, .about-grid, .form-shell, .track-wrap, .contact-grid, .admin-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px,11vw,64px); }
  .hero-panel { margin-top: 12px; }
  .section { padding: 62px 0; }
  .section-title { display: block; }
  .section-title p { margin-top: 12px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .assurance-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 30px; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .admin-kv { grid-template-columns: 140px 1fr; }
}

@media (max-width: 560px) {
  .brand img { width: 185px; }
  .hero-trust { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .service-grid, .form-grid, .footer-grid, .metric-grid, .filter-bar { grid-template-columns: 1fr; }
  .filter-bar > :first-child { grid-column: auto; }
  .service-card { min-height: auto; }
  .form-section { padding: 22px 18px; }
  .input-pair { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .success-card { padding: 34px 20px; }
  .success-card h1 { font-size: 34px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .about-art { min-height: 350px; }
  .admin-kv { grid-template-columns: 1fr; }
  .admin-kv div:nth-child(odd) { font-weight: 800; border-bottom: 0; padding-bottom: 0; }
  .admin-kv div:nth-child(even) { padding-top: 3px; }
  .admin-header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .admin-topbar .container { gap: 10px; }
  .admin-nav { gap: 8px; }
  .admin-nav > span { display: none; }
  .admin-brand { font-size: 13px; }
}
