/* AWXPERT site styles. Plain CSS, system fonts, no external requests. */
:root {
  --navy: #232f3e;
  --navy-deep: #161e2a;
  --navy-soft: #2f3d51;
  --orange: #f69628;
  --orange-dark: #c8730f;
  --ink: #1b2431;
  --muted: #5b6678;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 30, 42, .06), 0 8px 24px rgba(22, 30, 42, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul.plain { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: #dbe2ec; text-decoration: none; font-weight: 500; font-size: .97rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; margin: auto; transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: var(--navy-deep); font-weight: 700; text-decoration: none; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--orange); cursor: pointer; font: inherit; font-weight: 700; transition: background .15s, transform .15s; }
.btn:hover { background: #ffa94a; color: var(--navy-deep); transform: translateY(-1px); }
.btn-small { padding: .45rem 1.1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); color: #fff; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(246, 150, 40, .22), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8edf4; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 1.2rem; color: #c8d2e0; max-width: 34em; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange); margin-bottom: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-art { justify-self: center; width: 100%; max-width: 420px; }
.page-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8edf4; }
.page-hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero .lead { font-size: 1.15rem; color: #c8d2e0; max-width: 40em; margin: 0; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #d6deea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.dark .section-head p { color: #b7c3d4; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: .8rem; font-weight: 600; }
.dark .card { background: var(--navy-soft); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.dark .card p { color: #c3cedd; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(246, 150, 40, .15); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 24px; height: 24px; }
.dark .icon { color: var(--orange); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 3rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--orange); color: var(--navy-deep); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 14.4 3.6 10l1.4-1.4L8 11.6l7-7L16.4 6z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 14.4 3.6 10l1.4-1.4L8 11.6l7-7L16.4 6z'/%3E%3C/svg%3E") center/contain no-repeat; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.pills li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; font-size: .88rem; color: var(--navy); }

/* Role list on the experts page */
.role { scroll-margin-top: 90px; display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.role:first-of-type { border-top: 0; }
.role h2 { font-size: 1.35rem; margin: 0; }
.role .tag { color: var(--orange-dark); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.subnav a { display: inline-block; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; text-decoration: none; color: var(--navy); font-size: .92rem; }
.subnav a:hover { border-color: var(--orange); }

/* Pricing */
.price-card { border-top: 4px solid var(--orange); }
.price-card .term { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: .3em; }
.price-card.featured { border-color: var(--orange); border-top-width: 4px; transform: translateY(-6px); }

/* Callout and quote bands */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; border-radius: 20px; padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #c8d2e0; }
.note { border-left: 4px solid var(--orange); background: var(--bg-alt); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }

/* Terminal-style visual */
.terminal { background: #0f151e; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--mono); font-size: .86rem; color: #d6deea; overflow: hidden; }
.terminal .dots { display: flex; gap: 6px; padding: .7rem .9rem; background: #1a2230; }
.terminal .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a465a; }
.terminal pre { margin: 0; padding: 1.1rem 1.2rem 1.3rem; white-space: pre-wrap; line-height: 1.7; }
.terminal .o { color: var(--orange); }
.terminal .g { color: #7fd6a0; }
.terminal .d { color: #7d8ba1; }

/* Form */
.form { display: grid; gap: 1.1rem; }
.form label { font-weight: 600; color: var(--navy); display: block; margin-bottom: .3rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c5cdd9; border-radius: 10px; padding: .75rem .9rem; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--orange); outline: 3px solid rgba(246, 150, 40, .35); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #1a7f43; }
.form-status.err { color: #b3261e; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aab6c8; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer a { color: #dbe2ec; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.foot-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: .8rem; }
.site-footer li { margin-bottom: .45rem; }
.legal { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.3rem; font-size: .85rem; }
.legal p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .grid.cols-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .role { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 1rem 1rem 1.5rem; gap: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open { display: flex; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps, .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .site-footer, .actions, .cta-band { display: none; } }
.more-link { margin-top: 1.6rem; font-weight: 600; }

/* Intro block on the experts page */
.prose.intro { margin-bottom: 2rem; }
