/*
Theme Name: Alpha Motors Systems LLC
Template: woodmart
Description: Automotive catalog services and digital project ordering.
Version: 1.0.0
Text Domain: alpha-motors
*/

body.alpha-site {
    --ink: #151e23;
    --muted: #4e5a60;
    --line: #d5d9d8;
    --paper: #fffefa;
    --mist: #f1f2ef;
    --orange: #ff6723;
    --rust: #a93707;
    --gutter: clamp(20px, 5vw, 80px);
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 400 17px/1.63 Inter, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.alpha-site *, .alpha-site *::before, .alpha-site *::after { box-sizing: border-box; }
.alpha-site :is(h1, h2, h3) {
    color: inherit;
    font-family: inherit;
    font-weight: 750;
    line-height: 1.1;
    text-transform: none;
    margin: 0 0 .58em;
    text-wrap: balance;
}
.alpha-site h1 { font-size: clamp(2.45rem, 5vw, 4.35rem); letter-spacing: -.055em; }
.alpha-site h2 { font-size: clamp(1.8rem, 3.3vw, 2.85rem); letter-spacing: -.044em; }
.alpha-site h3 { font-size: 1.35rem; letter-spacing: -.028em; }
.alpha-site p { margin: 0 0 1em; }
.alpha-site a { color: inherit; text-underline-offset: .2em; }
.alpha-site a:hover { color: var(--rust); }
.alpha-site :focus-visible { outline: 3px solid #00739b; outline-offset: 4px; }
.alpha-site [hidden] { display: none !important; }
.alpha-site .alpha-wrap, .alpha-site .alpha-page {
    width: min(1280px, calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}
.alpha-skip {
    position: absolute;
    inset: auto auto auto -10000px;
    background: white;
    padding: 12px 20px;
    z-index: 9999;
}
.alpha-skip:focus { left: 1rem; }

/* Navigation */
.alpha-header { border-bottom: 1px solid var(--line); }
.alpha-header-inner, .alpha-footer-bottom, .alpha-actions, .alpha-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.alpha-header-inner { min-height: 84px; justify-content: space-between; position: relative; }
.alpha-site a.alpha-brand {
    display: inline-flex;
    align-items: center;
    gap: .8em;
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.1;
    text-decoration: none;
}
.alpha-mark {
    display: inline-block;
    flex: 0 0 auto;
    width: 1.65em;
    height: 1.18em;
    margin-inline: .17em;
    transform: skewX(-23deg);
    background: linear-gradient(90deg, var(--orange) 26%, transparent 26% 37%, var(--orange) 37% 63%, transparent 63% 74%, var(--orange) 74%);
}
.alpha-header .alpha-menu, .alpha-footer ul, .alpha-process ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.alpha-header .alpha-menu { gap: clamp(1.25rem, 3vw, 2.65rem); }
.alpha-header li, .alpha-footer li { margin: 0; }
.alpha-menu a, .alpha-mobile-menu summary {
    display: inline-block;
    padding: 12px 0;
    font-size: .96rem;
    font-weight: 650;
    text-decoration: none;
}
.alpha-menu a[aria-current], .alpha-menu a:hover { text-decoration: underline; text-underline-offset: .42em; }
.alpha-menu li:last-child a { border: 1px solid currentColor; border-radius: 5px; padding: .52rem 1.14rem; }
.alpha-mobile-menu { display: none; }

/* Home */
.alpha-hero, .alpha-example-inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 84px);
    align-items: center;
}
.alpha-hero { padding-block: clamp(44px, 6vw, 88px); }
.alpha-site .alpha-eyebrow {
    display: flex;
    align-items: center;
    gap: .76em;
    margin-bottom: 1.45rem;
    font: 700 .75rem/1.45 "IBM Plex Mono", Consolas, monospace;
    letter-spacing: .105em;
    text-transform: uppercase;
}
.alpha-eyebrow::before { content: ""; width: 27px; height: 3px; background: var(--orange); }
.alpha-hero h1 {
    margin-bottom: .32em;
    font-size: clamp(3rem, 5.35vw, 5.28rem);
    letter-spacing: -.065em;
    line-height: .995;
    text-wrap: wrap;
}
.alpha-hero h1 > span { display: block; }
.alpha-period { color: var(--orange); }
.alpha-intro {
    font-size: clamp(1.04rem, 1.33vw, 1.22rem);
    line-height: 1.56;
    max-width: 54ch;
    color: var(--muted);
}
.alpha-hero-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 7px;
}
.alpha-actions { flex-wrap: wrap; gap: 16px 28px; margin-top: 1.85rem; }
.alpha-site :is(a.alpha-button, .alpha-page .button, .alpha-page button, .alpha-page input[type="submit"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
    min-height: 48px;
    padding: .84rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--orange);
    color: #15191b;
    box-shadow: none;
    font: 700 1rem/1.32 Inter, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
}
.alpha-site :is(a.alpha-button, .alpha-page .button, .alpha-page button, .alpha-page input[type="submit"]):hover {
    background: #ff824b;
    color: #14191c;
}
.alpha-site .alpha-page button:disabled { opacity: .6; cursor: default; }
.alpha-button span[aria-hidden], .alpha-text-link span[aria-hidden] { font-size: 1.25em; line-height: 1; }
.alpha-site a.alpha-text-link { font-weight: 650; font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; }
.alpha-example { background: var(--mist); border-block: 1px solid var(--line); scroll-margin-top: 48px; }
.alpha-example-inner, .alpha-process { padding-block: clamp(42px, 5.5vw, 80px); }
.alpha-example-inner > div > p:not(.alpha-eyebrow), .alpha-process li p { color: var(--muted); }
.alpha-sample {
    margin: 0;
    padding: clamp(18px, 2.3vw, 34px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
}
.alpha-sample :is(figcaption, caption) {
    padding: 0 0 .56rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    text-align: left;
    caption-side: top;
}
.alpha-sample samp {
    display: block;
    padding: 14px;
    color: white;
    background: var(--ink);
    font: 500 .9rem/1.55 "IBM Plex Mono", Consolas, monospace;
    overflow-wrap: anywhere;
}
.alpha-site :is(.alpha-sample, .alpha-page) table {
    width: 100%;
    margin: 1.5rem 0 0;
    border-collapse: collapse;
    font-size: .96rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.alpha-site :is(.alpha-sample, .alpha-page) :is(th, td) {
    padding: .72rem;
    border: 1px solid var(--line);
    color: var(--ink);
    text-align: left;
    font-size: inherit;
    text-transform: none;
}
.alpha-site :is(.alpha-sample, .alpha-page) th { background: #f5f5f2; font-weight: 700; }
.alpha-process ol, .alpha-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); }
.alpha-process ol { counter-reset: step; margin-block: 2rem; }
.alpha-process li { border-top: 1px solid #a9b1b3; padding-top: 1.1rem; margin: 0; }
.alpha-process li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: .9rem;
    color: var(--rust);
    font: 700 .9rem/1.4 "IBM Plex Mono", Consolas, monospace;
}

/* Service, checkout and policy pages */
.alpha-site .alpha-page {
    max-width: 900px;
    padding-block: clamp(42px, 6vw, 86px);
    overflow-wrap: anywhere;
}
.alpha-site .alpha-page:has(.alpha-packages) { max-width: 1200px; }
.alpha-page > :is(p, ul, ol) { max-width: 76ch; }
.alpha-page h2 { margin-top: 1.5em; font-size: clamp(1.55rem, 3vw, 2.12rem); }
.alpha-page h3 { margin-top: 1.25em; }
.alpha-page li { margin-bottom: .35rem; }
.alpha-page a:not(.alpha-button, .button) { color: var(--rust); text-decoration: underline; }
.alpha-page a:not(.alpha-button, .button):hover { color: var(--ink); }
.alpha-page details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.alpha-page summary { font-weight: 700; cursor: pointer; }
.alpha-page details[open] summary { margin-bottom: 1rem; }
.alpha-packages { margin-block: 2rem; gap: 20px; }
.alpha-packages > article, .alpha-page form {
    margin: 0;
    padding: clamp(18px, 2.1vw, 32px);
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}
.alpha-packages > article { display: flex; flex-direction: column; border-top: 4px solid var(--orange); }
.alpha-packages article :is(h2, h3) { font-size: 1.42rem; margin-top: 0; }
.alpha-packages article > :last-child { margin-bottom: 0; }
.alpha-page .alpha-packages article > :last-child { margin-top: auto; }
.alpha-page .alpha-packages .alpha-buy { border-bottom: 0; padding-bottom: 0; }
.alpha-page .alpha-buy summary {
    padding: .8rem 1rem;
    background: var(--ink);
    color: white;
    border-radius: 4px;
}
.alpha-page .alpha-buy form, .alpha-page form.self-serve-form { border: 0; }
.alpha-page .alpha-buy form { padding: 0; margin-bottom: 0; }
.alpha-page .alpha-price { font-weight: 800; font-size: clamp(1.55rem, 2.4vw, 2.2rem); letter-spacing: -.045em; line-height: 1.25; }
.alpha-page form { margin-block: 1.4rem; }
.alpha-page fieldset { min-width: 0; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); }
.alpha-page legend { font-weight: 700; padding-inline: .32rem; }
.alpha-page label { display: block; margin-bottom: 1rem; font-size: .98rem; font-weight: 650; }
.alpha-page :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"]), select, textarea) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    margin-top: .32rem;
    padding: .68rem;
    border: 1px solid #788284;
    border-radius: 4px;
    color: var(--ink);
    background-color: white;
    font: 400 1rem/1.4 Inter, "Helvetica Neue", Arial, sans-serif;
}
.alpha-page select { padding-right: 2rem; height: auto; }
.alpha-page textarea { min-height: 120px; resize: vertical; }
.alpha-page :is(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; vertical-align: middle; accent-color: var(--rust); }
.alpha-page small { color: var(--muted); font-weight: 400; }
.alpha-page [role="alert"] { border-left: 4px solid var(--rust); padding: .7rem 1rem; background: #fff2e8; }

/* Footer */
.alpha-footer { background: var(--ink); color: #e3e8ea; font-size: .95rem; }
.alpha-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-block: 3.2rem; }
.alpha-footer-intro { min-width: 0; overflow-wrap: anywhere; }
.alpha-footer-intro p { max-width: 34ch; margin-block: 1rem; color: #c1cbce; }
.alpha-footer-intro address { margin: 0; font-style: normal; line-height: 1.7; }
.alpha-footer-intro .alpha-seller { margin: .95rem 0 .28rem; color: white; }
.alpha-footer h2 { font-size: 1rem; letter-spacing: normal; color: white; margin-bottom: 1.15rem; }
.alpha-footer li + li { margin-top: .42rem; }
.alpha-footer nav a { text-decoration: none; }
.alpha-footer a:hover { color: #ffc29e; text-decoration: underline; }
.alpha-footer a:focus-visible { outline-color: var(--orange); }
.alpha-footer-bottom { justify-content: space-between; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid #485358; color: #cad2d5; font-size: .88rem; }
.alpha-cards, .alpha-cards .payment-brands { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.alpha-cards img { display: block; width: 51px; height: auto; }

@media (max-width: 920px) {
    .alpha-hero h1 { font-size: clamp(2.6rem, 5.65vw, 3.45rem); }
    .alpha-example-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
    .alpha-sample :is(th, td) { padding: .5rem; }
    .alpha-packages { grid-template-columns: 1fr; }
    .alpha-footer-grid { grid-template-columns: 1fr 1fr; }
    .alpha-footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .alpha-header-inner { min-height: 70px; }
    .alpha-header nav > .alpha-menu { display: none; }
    .alpha-mobile-menu { display: block; }
    .alpha-mobile-menu summary { cursor: pointer; list-style: none; }
    .alpha-mobile-menu summary::-webkit-details-marker { display: none; }
    .alpha-mobile-menu summary::after { content: " +"; }
    .alpha-mobile-menu[open] summary::after { content: " −"; }
    .alpha-mobile-menu .alpha-menu {
        position: absolute;
        z-index: 10;
        top: 100%;
        left: calc(-1 * var(--gutter));
        right: calc(-1 * var(--gutter));
        display: block;
        background: var(--paper);
        padding: 6px var(--gutter) 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px #151e2317;
    }
    .alpha-mobile-menu a { width: 100%; }
    .alpha-mobile-menu li:last-child a { width: auto; margin-top: .4rem; }
    .alpha-hero, .alpha-example-inner, .alpha-process ol { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .alpha-hero h1 { font-size: clamp(2.8rem, 10vw, 4.1rem); }
    .alpha-hero-photo { max-height: 410px; }
    .alpha-process li p { margin-bottom: 0; }
    .alpha-process li::before { float: left; margin: .15rem .75rem 0 0; }
    .alpha-example-inner h2 { max-width: 22ch; }
    .alpha-footer-grid { gap: 2rem 1.25rem; }
}
@media (max-width: 490px) {
    .alpha-site a.alpha-brand { font-size: .99rem; gap: .62em; }
    .alpha-header-inner { gap: 10px; }
    .alpha-header nav { flex: none; }
    .alpha-hero, .alpha-example-inner, .alpha-process { padding-block: 36px; }
    .alpha-site .alpha-eyebrow { font-size: .7rem; margin-bottom: 1rem; }
    .alpha-actions { gap: 15px 21px; }
    .alpha-site .alpha-sample :is(th, td), .alpha-site .alpha-page :is(th, td) { padding: .5rem .36rem; font-size: .84rem; }
    .alpha-sample samp { font-size: .83rem; }
    .alpha-footer-grid { grid-template-columns: 1fr; }
}
