/* Excalibur Construction Technologies — site styles */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #14427a;        /* Excalibur blue */
  --brand-dark: #0d2f59;
  --navy: #0c1522;         /* hero / footer */
  --navy-2: #131f30;
  --orange: #e2560f;       /* primary action */
  --orange-hover: #c44708;
  --ink: #101418;
  --ink-2: #3a424d;
  --muted: #5c6672;
  --line: #d8dde4;
  --bg: #ffffff;
  --bg-2: #f2f4f7;
  --sand: #efe9e1;
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--head); margin: 0 0 .5em; line-height: 1.05; }
h1 { font-weight: 800; font-stretch: 78%; font-size: clamp(2.4rem, 4.8vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-stretch: 80%; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.005em; }
h3 { font-weight: 700; font-stretch: 90%; font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } body { font-size: 16px; } }
.skip { position: absolute; left: -999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px; }

/* announcement bar */
.announce { background: var(--navy-2); color: #fff; font-size: .95rem; font-weight: 600; text-align: center; padding: 11px 16px; }
.announce a { color: #fff; margin-left: 10px; white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }

/* header */
.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.masthead .wrap { display: flex; align-items: center; height: 76px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo svg { width: 34px; height: 39px; }
.logo b { display: block; font: 800 1.35rem/1 var(--head); font-stretch: 85%; letter-spacing: .06em; }
.logo small { display: block; font: 600 .66rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 6px; font: 600 .98rem var(--body); color: var(--ink); text-decoration: none; background: none; border: 0; padding: 26px 12px; cursor: pointer; }
.menu > li > button::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.menu > li:hover > button, .menu > li > a:hover, .menu [aria-current="page"] { color: var(--brand); }
.drop { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); box-shadow: 0 16px 40px rgba(12,21,34,.14); padding: 10px 0; list-style: none; margin: 0; }
.menu > li:hover .drop, .menu > li:focus-within .drop { display: block; }
.drop a { display: block; padding: 10px 22px; color: var(--ink); text-decoration: none; }
.drop a b { display: block; font-weight: 650; }
.drop a span { display: block; font-size: .87rem; color: var(--muted); }
.drop a:hover { background: var(--bg-2); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.tools > a:not(.btn) { font-weight: 600; color: var(--ink); text-decoration: none; }
.tools > a:not(.btn):hover { color: var(--brand); }
.mobile-nav { display: none; margin-left: auto; }
@media (max-width: 1080px) {
  .masthead nav, .tools { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; font-weight: 700; border: 2px solid var(--ink); padding: 8px 14px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav .panel { position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 18px 24px; box-shadow: 0 16px 30px rgba(0,0,0,.1); max-height: 80vh; overflow: auto; }
  .mobile-nav h4 { font: 700 .75rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
  .mobile-nav a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mobile-nav .btn { display: inline-block; margin-top: 16px; color: #fff; }
}

/* breadcrumb band */
.crumbs { background: var(--brand); color: #fff; }
.crumbs .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 50px; gap: 16px; font-size: .92rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .8; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 700; }
.crumbs .btn { padding: 7px 18px; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1.2 var(--body); padding: 15px 26px; border: 2px solid transparent; border-radius: 2px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); }
.btn-blue { background: var(--brand); color: #fff; }
.btn-blue:hover { background: var(--brand-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { border-color: #fff; color: #fff; background: transparent; }
.btn-white:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.arrow { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow::after { content: "→"; transition: transform .15s; }
.arrow:hover::after { transform: translateX(4px); }

/* hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 78% 40%, rgba(40,90,160,.35), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero .product { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.hero .product i { width: 28px; height: 28px; background: var(--orange); display: grid; place-items: center; font: 800 .95rem var(--head); font-style: normal; }
.hero h1 { color: #fff; }
.hero p.lede { font-size: 1.2rem; color: #c9d3e0; max-width: 34em; }
.monitor { background: #05080d; border: 10px solid #1c2633; border-bottom-width: 18px; border-radius: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.monitor img { width: 100%; }
.pricebar { position: relative; border-top: 1px solid rgba(255,255,255,.14); }
.pricebar .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.pricebar span { margin-right: 8px; color: #dfe6ef; }
.pricebar b { color: #fff; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; } .pricebar .wrap { justify-content: flex-start; } }
@media (max-width: 520px) { .pricebar .btn { flex: 1 1 100%; } }

/* page hero (inner pages) */
.page-hero { background: var(--sand); padding: 64px 0 56px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.page-hero .kicker { display: flex; align-items: center; gap: 10px; font: 500 .82rem/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.page-hero .kicker::before { content: ""; width: 14px; height: 14px; background: var(--orange); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.page-hero h1 { margin: 0; }
.page-hero p { font-size: 1.15rem; font-weight: 500; margin: 0 0 20px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--navy); color: #d7dee8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-title { max-width: 820px; margin-bottom: 44px; }
.section-title p { font-size: 1.12rem; color: var(--ink-2); }
.section.dark .section-title p { color: #b8c3d1; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 800 1.9rem/1.05 var(--head); font-stretch: 80%; margin-bottom: 6px; }
.facts span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; padding-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts div { border-left: 0; padding-left: 0; } .facts div + div { border-top: 1px solid var(--line); } }

.row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 96px; }
.row.flip > :first-child { order: 2; }
.row ul { padding-left: 1.2em; color: var(--ink-2); }
.row li { margin-bottom: 6px; }
.row .label { font: 700 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; display: block; }
.shot { border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(12,21,34,.16); background: #fff; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; gap: 28px; } .row.flip > :first-child { order: 0; } .row + .row { margin-top: 64px; } }

/* editions */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--ink); padding: 30px 28px 32px; display: flex; flex-direction: column; }
.plan.pick { border-top-color: var(--orange); }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.plan .cost { font: 800 2.6rem/1 var(--head); font-stretch: 80%; }
.plan .cost small { font: 500 .95rem var(--body); color: var(--ink-2); margin-left: 6px; }
.plan .after { font-size: .92rem; color: var(--ink-2); margin: 8px 0 20px; min-height: 2.8em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid var(--line); }
.plan li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: .96rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 6px; border-left: 2.4px solid var(--brand); border-bottom: 2.4px solid var(--brand); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan .after { min-height: 0; } }

/* tables */
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 1rem; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 700; }
thead th.us { background: var(--orange); }
td.us { background: #fff4ec; font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody th { font-weight: 650; }
.source { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.source a { color: var(--muted); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 700 1.2rem/1.3 var(--head); font-stretch: 92%; padding: 22px 48px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.8rem var(--body); color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); max-width: 72ch; padding-bottom: 8px; }

/* cta band */
.cta { background: var(--brand); color: #fff; padding: 64px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #d6e2f2; font-size: 1.1rem; }
.cta .btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* downloads */
.dl { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center; }
.dl:first-child { border-top: 2px solid var(--ink); }
.dl h3 { margin-bottom: 6px; }
.dl p { margin: 0; color: var(--ink-2); }
.dl .meta { font-size: .88rem; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.dl .hash { font: .78rem/1.4 ui-monospace, Consolas, monospace; color: var(--muted); word-break: break-all; margin-top: 6px; }
@media (max-width: 700px) { .dl { grid-template-columns: 1fr; } }
pre { background: var(--navy); color: #e3e9f1; padding: 18px 20px; font: .9rem/1.5 ui-monospace, Consolas, monospace; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.cols p { color: var(--ink-2); }
.section.dark .cols > div { border-top-color: var(--orange); }
.section.dark .cols p { color: #b8c3d1; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 28px; } }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--ink-2); }

/* footer */
.footer { background: var(--navy); color: #aeb9c7; padding: 64px 0 32px; font-size: .95rem; }
.footer .top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid #243246; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer .logo small { color: #8e9bab; }
.footer h4 { color: #fff; font: 700 .95rem var(--body); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #aeb9c7; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .base { padding-top: 24px; font-size: .82rem; line-height: 1.6; color: #8290a2; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } .footer .top > :first-child { grid-column: 1 / -1; } }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cols-4 { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .92rem; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }
.feature-list { columns: 2; column-gap: 48px; padding-left: 1.2em; color: var(--ink-2); }
.feature-list li { break-inside: avoid; margin-bottom: 8px; }
@media (max-width: 700px) { .feature-list { columns: 1; } }
