:root {
  --ink: #0b1630;
  --ink-2: #142341;
  --muted: #667085;
  --green: #0f9f88;
  --green-2: #18b79b;
  --green-soft: #e8f8f4;
  --copper: #e9ad3a;
  --copper-2: #f3c866;
  --ivory: #f8f7f2;
  --sand: #ece8dc;
  --white: #fff;
  --line: #e3e8f0;
  --danger: #a33b37;
  --danger-soft: #f8eceb;
  --shadow-sm: 0 10px 28px rgba(11,22,48,.07);
  --shadow-lg: 0 24px 70px rgba(11,22,48,.13);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", 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: "Manrope", system-ui, sans-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: "Manrope", system-ui, sans-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: "Manrope", system-ui, sans-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: "SUBMIT • REVIEW • MANAGE"; 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; }
}

/* ApplicationHub premium product layer */
body { background: #fbfcfe; color: var(--ink); }
.site-header { background: rgba(255,255,255,.93); border-bottom-color: rgba(227,232,240,.9); }
.brand img { width: 215px; }
.main-nav a { color: #475467; }
.button-primary { background: linear-gradient(135deg,#0b1630,#15264a); box-shadow: 0 10px 28px rgba(11,22,48,.17); }
.button-primary:hover { background: #101f3e; }
.button-green { background: var(--green); }
.button-copper { background: linear-gradient(135deg,#e9ad3a,#d99520); color:#15203a; }
.eyebrow { color: var(--green); }
.eyebrow-light { color: #60dcc5; }

.hero-premium { padding: 78px 0 72px; background: radial-gradient(circle at 82% 15%,rgba(15,159,136,.10),transparent 25%),radial-gradient(circle at 14% 20%,rgba(233,173,58,.08),transparent 22%),linear-gradient(180deg,#fff 0%,#f6f8fc 100%); }
.hero-grid-premium { grid-template-columns: .95fr 1.05fr; gap: 58px; }
.hero-premium h1 { font-family:"Manrope",system-ui,sans-serif; font-size:clamp(48px,5.8vw,76px); font-weight:800; letter-spacing:-.055em; line-height:1.02; }
.hero-premium h1 span { color:var(--green); }
.hero-copy { color:#667085; font-size:18px; }
.hero-media { position:relative; padding:18px 12px 10px; }
.hero-media > img { width:100%; border-radius:30px; filter:drop-shadow(0 28px 42px rgba(11,22,48,.18)); }
.hero-float { position:absolute; z-index:2; background:#fff; border:1px solid #e7ebf2; border-radius:16px; box-shadow:0 20px 45px rgba(11,22,48,.15); padding:14px 16px; }
.hero-float strong { display:block; color:var(--ink); }
.hero-float span { font-size:11px; color:#667085; }
.hero-float-top { right:-16px; top:52px; min-width:150px; }
.hero-float-top strong { font-size:24px; }
.hero-float-bottom { left:-18px; bottom:42px; display:flex; align-items:center; gap:10px; min-width:210px; }
.hero-float-bottom .mini-check { width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--green-soft);color:var(--green);font-size:16px;font-weight:900; }
.hero-float-bottom > div span { display:block; margin-top:2px; }
.logo-strip { background:#fff; border-top:1px solid #eef1f6; border-bottom:1px solid #eef1f6; }
.logo-strip-inner { min-height:74px; display:flex; align-items:center; justify-content:center; gap:30px; flex-wrap:wrap; color:#98a2b3; font-size:12px; }
.logo-strip-inner > span { text-transform:uppercase; letter-spacing:.12em; font-weight:800; color:#b0b8c5; }
.logo-strip-inner b { color:#536076; font-size:13px; }
.text-link { margin-top:auto; color:var(--green); font-weight:800; font-size:13px; }
.text-link span { display:inline-block; transition:transform .18s ease; }.text-link:hover span { transform:translateX(3px); }
.service-card { border-color:#e6eaf1; box-shadow:0 14px 32px rgba(11,22,48,.035); }
.service-card:hover { border-color:#cfd8e5; box-shadow:0 20px 42px rgba(11,22,48,.08); }
.service-icon { background:#e8f8f4; }
.feature-showcase { background:radial-gradient(circle at 85% 15%,rgba(31,198,169,.10),transparent 28%),#0b1630; }
.feature-showcase-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:58px; align-items:center; }
.feature-showcase h2 { font-family:"Manrope",system-ui,sans-serif; font-size:clamp(38px,4.8vw,58px); line-height:1.08; letter-spacing:-.04em; margin:12px 0 18px; }
.feature-showcase p { color:#aab6ca; max-width:580px; }
.feature-checks { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:30px; }
.feature-checks > div { display:flex; gap:10px; align-items:flex-start; color:#dbe3f1; font-size:13px; }
.feature-checks b { width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(31,198,169,.14);color:#5ce0c7;flex:0 0 auto; }
.feature-checks strong { color:#fff; }
.dashboard-card-preview { background:#f8fafc; border:1px solid rgba(255,255,255,.12); border-radius:24px; padding:20px; box-shadow:0 34px 80px rgba(0,0,0,.28); color:var(--ink); }
.preview-top { height:45px; display:flex; align-items:center; gap:6px; border-bottom:1px solid #e5eaf1; color:#667085; font-size:11px; }
.preview-top span { width:7px;height:7px;border-radius:50%;background:#cbd3df; }.preview-top b { margin-left:8px; }
.preview-metrics { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0; }.preview-metrics div{background:#fff;border:1px solid #e5eaf1;border-radius:14px;padding:14px}.preview-metrics span{display:block;font-size:10px;color:#98a2b3}.preview-metrics strong{display:block;font-size:23px;margin-top:4px}
.preview-table { background:#fff;border:1px solid #e5eaf1;border-radius:14px;overflow:hidden; }.preview-row{display:grid;grid-template-columns:1.25fr 1fr .9fr;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid #eef1f5;font-size:11px}.preview-row:last-child{border-bottom:0}.preview-head{font-size:9px;color:#98a2b3;font-weight:800;text-transform:uppercase;letter-spacing:.05em;background:#fafbfc}.preview-pill{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;background:#fff1d5;color:#95650f;font-size:9px;font-weight:800}.preview-pill.green{background:#e6f8f2;color:#0d7f6c}.preview-pill.amber{background:#e9f1ff;color:#3566a5}
.workflow-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }.workflow-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px}.workflow-grid article>span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:900}.workflow-grid h3{margin:18px 0 8px;font-size:18px}.workflow-grid p{margin:0;color:var(--muted);font-size:13px}
.cta-band { background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.12),transparent 26%),linear-gradient(125deg,#0f9f88,#0b6f62); }.cta-kicker{display:block;color:#d6fff7;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;margin-bottom:6px}
.display-subheading { font-family:"Manrope",system-ui,sans-serif !important;font-size:42px !important;line-height:1.1 !important;letter-spacing:-.035em;margin:12px 0 18px !important; }
.about-product { background:#0b1630; padding:20px; display:grid;place-items:center; }.about-product img{width:92%;filter:drop-shadow(0 25px 30px rgba(0,0,0,.25));}.about-product::after{display:none}
.contact-panel,.result-panel { background:radial-gradient(circle at 90% 10%,rgba(31,198,169,.10),transparent 28%),#0b1630; }

.admin-topbar { background:#0b1630; height:74px; }.admin-brand{display:flex;align-items:center;gap:9px;font-weight:800}.admin-brand-mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#fff;color:#0f9f88;font-weight:900}.admin-brand em{font-style:normal;color:#6fe4ce}.admin-nav a{color:#c5d0e3}.admin-nav a:hover{color:#fff}.demo-badge{padding:5px 8px;border-radius:999px;background:rgba(233,173,58,.16);color:#f3c866;font-size:10px;font-weight:800}
.admin-body { background:#f5f7fb; }.metric{border-color:#e4e9f1;box-shadow:0 8px 20px rgba(11,22,48,.03)}.metric strong{font-family:"Manrope",system-ui,sans-serif}.admin-card{border-color:#e3e8f0}.admin-table .ref{color:var(--green)}
.auth-wrap-premium{min-height:100vh;grid-template-columns:minmax(340px,1fr) minmax(460px,620px);gap:0;padding:0;background:#0b1630}.auth-side-copy{min-height:100vh;padding:64px clamp(34px,7vw,110px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 20% 10%,rgba(31,198,169,.13),transparent 27%),radial-gradient(circle at 90% 80%,rgba(233,173,58,.09),transparent 24%),#0b1630;color:#fff}.auth-side-copy img{width:230px;margin-bottom:70px}.auth-kicker{color:#5ddcc5;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800}.auth-side-copy h2{font-family:"Manrope",system-ui,sans-serif;font-size:clamp(38px,4vw,58px);line-height:1.05;letter-spacing:-.045em;margin:14px 0 18px;max-width:670px}.auth-side-copy p{color:#aab6ca;max-width:620px}.auth-feature-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px;color:#dbe4f3;font-size:13px}.auth-feature-list span::first-letter{color:#5ddcc5}.auth-wrap-premium .auth-card{width:100%;max-width:none;height:100%;min-height:100vh;border-radius:0;box-shadow:none;padding:clamp(40px,7vw,90px);display:flex;flex-direction:column;justify-content:center}.auth-card .auth-logo{width:220px;margin-bottom:42px}.auth-card h1{font-family:"Manrope",system-ui,sans-serif;font-size:40px;letter-spacing:-.04em}.demo-login-box{background:#f7f9fc;border:1px solid #e0e6ef;border-radius:15px;padding:15px 16px;margin:0 0 20px}.demo-login-box>div{display:flex;justify-content:space-between;gap:10px}.demo-login-box span{text-transform:uppercase;letter-spacing:.08em;font-size:9px;color:#98a2b3;font-weight:800}.demo-login-box strong{font-size:12px}.demo-login-box p{margin:8px 0 0;font-size:12px;color:#536076;line-height:1.7}
.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.settings-card{overflow:hidden}.settings-help{padding:22px}.settings-help h3{font-size:18px;margin:12px 0}.settings-help ol{padding-left:20px;color:#667085;font-size:12px;line-height:1.8}.settings-help code,.demo-settings-warning code{background:#eef2f7;border-radius:6px;padding:2px 5px;font-size:11px;color:#334155}.demo-settings-warning{display:flex;gap:12px;align-items:flex-start;background:#fff8e8;border:1px solid #f0d597;border-radius:14px;padding:16px 18px;margin-bottom:20px;color:#745217;font-size:12px}.demo-settings-warning strong{white-space:nowrap}.demo-settings-warning span{color:#85662a}
button:disabled,input:disabled{opacity:.62;cursor:not-allowed}

@media (max-width:1050px){.hero-grid-premium,.feature-showcase-grid{grid-template-columns:1fr}.hero-media{max-width:760px;margin:10px auto 0}.workflow-grid{grid-template-columns:repeat(2,1fr)}.auth-wrap-premium{grid-template-columns:1fr}.auth-side-copy{display:none}.auth-wrap-premium .auth-card{min-height:100vh}.settings-grid{grid-template-columns:1fr}}
@media (max-width:820px){.hero-float{display:none}.feature-checks{grid-template-columns:1fr}.logo-strip-inner{gap:16px;min-height:90px}.workflow-grid{grid-template-columns:1fr 1fr}.admin-nav>span:not(.demo-badge){display:none}}
@media (max-width:560px){.workflow-grid{grid-template-columns:1fr}.preview-row{grid-template-columns:1.1fr .9fr}.preview-row span:nth-child(2){display:none}.auth-wrap-premium .auth-card{padding:32px 22px}.auth-feature-list{grid-template-columns:1fr}.demo-settings-warning{display:block}.demo-settings-warning strong{display:block;margin-bottom:5px}.brand img{width:190px}}

/* Final brand refinements */
.site-footer { background:#071024; }
.section-soft { background:#f6f8fb; border-color:#edf1f6; }
.page-hero { background:linear-gradient(180deg,#f5f8fc,#fbfcfe); border-bottom-color:#edf1f6; }
.form-control:focus { border-color:var(--green); box-shadow:0 0 0 4px rgba(15,159,136,.10); }
.auth-wrap-premium { place-items:stretch; }
