/* Xdevora LLC */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #2b5fb4;
  --blue-dark: #1f4a92;
  --ink: #14233a;
  --muted: #55657d;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --line: #dbe3ee;
  --font: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img, svg { max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.eyebrow { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin: 0 0 14px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.wrap { width: min(1100px, 100% - 40px); margin: 0 auto; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand small { font-family: var(--mono); font-weight: 400; font-size: .68rem; color: var(--muted); margin-left: 2px; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); padding: 0 14px; min-height: 48px; display: inline-flex; align-items: center; border-radius: 8px; font-weight: 500; font-size: .96rem; }
.nav a:hover { background: var(--soft); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.nav .nav-cta { background: var(--navy); color: #fff; margin-left: 8px; border-radius: 999px; padding: 0 20px; box-shadow: none; }
.nav .nav-cta:hover { background: var(--blue); color: #fff; }
.menu-btn { min-width: 48px; min-height: 48px; padding: 0 16px; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 20px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn, .mobile-nav { display: none !important; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(43,95,180,.7); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero */
.hero { text-align: center; padding: 64px 0 64px; background: linear-gradient(#fff, var(--soft)); border-bottom: 1px solid var(--line); min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); display: flex; align-items: center; }
.hero > .wrap { width: min(1100px, 100% - 40px); }
.hero h1 { max-width: 15ch; margin: 0 auto 24px; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin: 0 auto 34px; }
.hero .btn-row { justify-content: center; }
.hero-note { margin-top: 40px; font-family: var(--mono); font-size: .8rem; color: var(--muted); }

.section { padding: 80px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* cards with corner bracket */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 28px 28px; }
.card::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-top: 3px solid var(--blue); border-left: 3px solid var(--blue); border-radius: 3px 0 0 0; }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); position: relative; font-size: .98rem; }
.card li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 36px -24px rgba(11,31,58,.5); color: inherit; }
.card .more { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 600; }
.step-num { font-family: var(--mono); font-size: .8rem; color: var(--blue); }

/* service detail blocks */
.svc { display: grid; gap: 28px; padding: 56px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 8px; }
@media (min-width: 900px) { .svc { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.svc h2 { margin: 6px 0 14px; }
.svc .col-title { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0 0 8px; }
.list { list-style: none; padding: 0; margin: 0 0 24px; }
.list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); }
.list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.fit { background: var(--soft); border-left: 4px solid var(--blue); border-radius: 8px; padding: 14px 18px; margin: 0; font-size: .98rem; color: var(--muted); }
.fit strong { color: var(--navy); }

.page-hero { padding: 72px 0 48px; background: linear-gradient(#fff, var(--soft)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 16px; }

/* facts, prose */
.facts { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; padding: 15px 22px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--mono); font-size: .76rem; color: var(--muted); text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose-wrap { padding: 56px 0 90px; }

/* contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list b { display: block; font-family: var(--mono); font-size: .76rem; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; font-weight: 500; }
form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: 0 24px 48px -36px rgba(11,31,58,.5); }
.field { margin-bottom: 20px; }
.row2 { display: grid; gap: 20px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8a9bb3; border-radius: 10px; }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 5px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 26px; font-weight: 500; }
.notice.ok { background: #e6f2ea; border: 1px solid #3b8c5a; }
.notice.err { background: #fbe9e5; border: 1px solid #c2553c; }

.cta { background: var(--navy); color: #dbe6f6; }
.cta h2 { color: #fff; }
.cta .eyebrow { color: #8fb2ea; }
.cta .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta .btn-primary:hover { background: #8fb2ea; color: var(--navy); }

.foot { background: #07162b; color: #9fb0c8; padding: 56px 0 26px; font-size: .95rem; }
.foot a { color: #e4ecf8; }
.foot a:hover { color: #fff; }
.foot-grid { display: grid; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #1c3050; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h2 { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: #8fb2ea; margin-bottom: 14px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

[id] { scroll-margin-top: 96px; }
.brand { min-height: 48px; }
.steps h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.eyebrow, .crumb, .hero-note, .foot h2, .facts dt, .contact-list b, .col-title, .step-num { font-size: max(.8rem, 12.5px); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.subnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 600; }
.subnav a:hover { border-color: var(--blue); color: var(--blue); }
details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.1rem; color: var(--navy); padding: 12px 4px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--blue); transition: transform .15s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { padding: 0 4px 20px; margin: 0; color: var(--muted); max-width: 44rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 34px 68px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--mono); display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.steps li::after { content: ""; position: absolute; left: 22px; top: 54px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0 0 8px; }
.steps .you { display: inline-block; font-size: .9rem; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; color: var(--ink); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .wrap > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > *:nth-child(2) { animation-delay: .08s; }
.hero .wrap > *:nth-child(3) { animation-delay: .16s; }
.hero .wrap > *:nth-child(4) { animation-delay: .24s; }
.hero .wrap > *:nth-child(5) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal, .hero .wrap > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; } }
.crumb { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--muted); }
.foot-map { display: grid; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #1c3050; }
