/* ============================================================
   Audion Design Group — Clean Editorial Design
   Fonts: DM Serif Display (display) + Inter (UI/body)
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:          #f7f6f2;
    --bg-alt:      #edecea;
    --text:        #111110;
    --text-mid:    #58564f;
    --text-soft:   #9a9790;
    --accent:      #b06a2a;
    --border:      #dcdad3;
    --border-soft: #e8e6e0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(247, 246, 242, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* The brand mark (Corner Arcs) — synced from branding/logos via sync-web.sh */
.logo-mark {
    height: 20px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--accent);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 140px 3rem 100px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
}

.hero-secondary {
    padding: 120px 3rem 80px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 3.25rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 720px;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-secondary p {
    margin-bottom: 0;
}

.cta-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    padding: 0.75rem 1.75rem;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    background: transparent;
}

.cta-button:hover {
    background: var(--accent);
    color: var(--bg);
}


/* ============================================================
   SHARED SECTION STRUCTURE
   ============================================================ */

section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--accent);
    width: fit-content;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 2.5rem;
}


/* ============================================================
   SERVICES  (ruled list, not cards)
   ============================================================ */

.services {
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    background: var(--bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.15s;
}

.service-card:hover {
    background: var(--bg-alt);
}

.service-num {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}

/* ============================================================
   APPROACH  (numbered items)
   ============================================================ */

.approach {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    padding: 5rem 0;
}

.approach-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.approach-item {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem 3rem 2.5rem 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.approach-num {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-soft);
    min-width: 24px;
    padding-top: 3px;
    flex-shrink: 0;
}

.approach-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.approach-item p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}


/* ============================================================
   INDUSTRIES  (clean columnar list)
   ============================================================ */

.industries {
    border-bottom: 1px solid var(--border);
}

.industries-cols {
    columns: 3;
    column-gap: 3rem;
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.industries-cols li {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding: 0.4rem 0;
    break-inside: avoid;
    transition: color 0.15s;
}

.industries-cols li:hover {
    color: var(--text);
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact {
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact > p {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
}

.contact-info {
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.contact-info p {
    margin: 0.35rem 0;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem;
    font-size: 0.8rem;
    color: var(--text-soft);
    border-top: 1px solid var(--border);
}


/* ============================================================
   MODAL
   ============================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(17, 17, 16, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg);
    padding: 3rem;
    max-width: 560px;
    width: 90%;
    border: 1px solid var(--border);
    position: relative;
    animation: slideIn 0.2s ease;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(17, 17, 16, 0.15);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.25rem;
    color: var(--text-soft);
    cursor: pointer;
    transition: color 0.15s;
    background: none;
    border: none;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text);
}

.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.15s;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Service box-select — hidden checkbox + styled label ("spec builder"
   pattern). Square corners + warm accent to match the site's design language. */
.service-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.service-fieldset legend {
    /* mirrors .form-group label — legend can't be targeted by that selector */
    margin-bottom: 0.4rem;
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.service-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.service-option input {
    /* visually hidden but still focusable/checkable — the label is the UI */
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option label {
    /* override the uppercase .form-group label styling — these are options */
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0;
    background: white;
    border: 1px solid var(--border);
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-mid);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
    height: 100%;
}

.service-option label::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.service-option label:hover {
    border-color: var(--accent);
}

.service-option input:checked + label {
    border-color: var(--accent);
    background: rgba(176, 106, 42, 0.06);
    color: var(--text);
}

.service-option input:checked + label::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: inset 0 0 0 2.5px white;
}

.service-option input:focus-visible + label {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

@media (max-width: 480px) {
    .service-select {
        grid-template-columns: 1fr;
    }
}

.submit-button {
    background: var(--text);
    color: var(--bg);
    padding: 0.875rem 2rem;
    border: 1px solid var(--text);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.submit-button:hover {
    background: transparent;
    color: var(--text);
}


/* ============================================================
   PRODUCT / INNER PAGES
   ============================================================ */

.product-intro,
.plotter-intro {
    border-bottom: 1px solid var(--border);
}

.content-wrapper {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.content-wrapper h2 {
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.content-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.content-text > p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.feature-list {
    display: grid;
    gap: 1.75rem;
}

.feature-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}


/* ============================================================
   FEATURES / KEY FEATURES
   ============================================================ */

.features-detailed,
.key-features {
    background: var(--bg-alt);
    max-width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
}

.features-detailed > h2,
.key-features > h2 {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    padding: 0 3rem;
}

.features-grid,
.features-grid-plotter {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.feature-card,
.feature-item-plotter {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.feature-card:hover,
.feature-item-plotter:hover {
    background: var(--bg);
}

.feature-card h3,
.feature-item-plotter h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: 0;
}

.feature-card p,
.feature-item-plotter p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}


/* ============================================================
   HOW IT WORKS (workflow steps)
   ============================================================ */

.how-it-works {
    border-bottom: 1px solid var(--border);
}

.how-it-works > h2 {
    margin-bottom: 0;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.workflow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.workflow-step.reverse {
    direction: rtl;
}

.workflow-step.reverse > * {
    direction: ltr;
}

.step-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    min-width: 24px;
    padding-top: 4px;
    flex-shrink: 0;
}

.step-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: 0;
}

.step-text p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.step-image .image-placeholder {
    background: var(--bg-alt);
    padding: 1rem;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.step-image .image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================================
   USE CASES
   ============================================================ */

.use-cases {
    border-bottom: 1px solid var(--border);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.use-case-card {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.use-case-card:hover {
    background: var(--bg-alt);
}

.use-case-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.use-case-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}


/* ============================================================
   PROJECT SHOWCASE
   ============================================================ */

.project-showcase {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    padding: 5rem 3rem;
}

.project-showcase h2 {
    max-width: 1400px;
    margin: 0 auto 0.75rem;
    text-align: center;
}

.showcase-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.showcase-image {
    margin: 3rem auto;
    max-width: 1200px;
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.showcase-item {
    background: var(--bg);
    padding: 1rem;
    border: 1px solid var(--border);
}

.showcase-item img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-soft);
    text-align: center;
}


/* ============================================================
   DOWNLOAD / SUPPORT
   ============================================================ */

.download-section,
.support-section {
    border-bottom: 1px solid var(--border);
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.price-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.price-text {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.02em;
}

.price-subtitle {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-top: 0.5rem;
}

.download-description {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.licensing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
    margin: 2.5rem 0;
    text-align: left;
}

.license-card {
    padding: 2rem 2.5rem;
    border-right: 1px solid var(--border);
}

.license-card:last-child {
    border-right: none;
}

.license-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.license-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}

.license-card.commercial {
    background: var(--bg-alt);
}

.availability-notice {
    background: var(--bg-alt);
    padding: 2.5rem;
    margin: 2.5rem 0;
    border: 1px solid var(--border);
    border-left: 3px solid var(--text);
    text-align: left;
}

.availability-notice h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.availability-notice p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.support-card {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.support-card:hover {
    background: var(--bg-alt);
}

.support-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.support-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.support-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: border-color 0.15s;
}

.support-link:hover {
    border-color: var(--text);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-soft);
}


/* ============================================================
   TRAINING PAGE
   ============================================================ */

.training-intro {
    border-bottom: 1px solid var(--border);
}

.courses-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    padding: 5rem 0;
}

.courses-section > h2 {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    padding: 0 3rem;
}

.courses-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.course-card {
    padding: 2.5rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg);
    transition: background 0.15s;
}

.course-card:hover {
    background: white;
}

.course-card.featured {
    background: white;
}

.course-badge {
    position: absolute;
    top: 0; right: 2rem;
    background: var(--text);
    color: var(--bg);
    padding: 0.3rem 0.875rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.course-level {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    border: 1px solid var(--border);
    padding: 0.3rem 0.6rem;
}

.course-duration {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.course-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.course-card > p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.course-topics {
    list-style: none;
    margin: 1.25rem 0;
    flex-grow: 1;
}

.course-topics li {
    font-size: 0.85rem;
    color: var(--text-mid);
    padding: 0.3rem 0 0.3rem 1.25rem;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}

.course-topics li:before {
    content: "–";
    color: var(--text-soft);
    position: absolute;
    left: 0;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.course-price {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
}

.course-price s {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-right: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: line-through;
}

.course-button {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.15s;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.course-button:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}

.learning-features {
    border-bottom: 1px solid var(--border);
}

.features-grid-training {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.training-feature h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.training-feature p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
}

.pricing-section {
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-card-single {
    max-width: 460px;
    margin: 0 auto;
    background: var(--bg-alt);
    padding: 3rem;
    border: 1px solid var(--border);
    text-align: left;
}

.price-tag {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.pricing-card-single h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.pricing-card-single > p {
    font-size: 0.875rem;
    color: var(--text-mid);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.feature-checklist {
    list-style: none;
    margin: 1.75rem 0;
}

.feature-checklist li {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}

.feature-checklist li:before {
    content: "✓";
    color: var(--text);
    position: absolute;
    left: 0;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-note {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.cta-section {
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.cta-section p {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
}

.placeholder-visual {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-form-section {
    border-bottom: 1px solid var(--border);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-form-main {
    background: var(--bg-alt);
    padding: 3rem;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-notice {
    background: var(--bg);
    border-left: 2px solid var(--text);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

.form-notice p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
}

.contact-info-sidebar {
    position: sticky;
    top: 100px;
}

.contact-info-sidebar h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-soft);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--text-mid);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.15s;
}

.contact-detail a:hover {
    color: var(--text);
}


/* ============================================================
   RESOURCES PAGE
   ============================================================ */

.resources-grid-section {
    border-bottom: 1px solid var(--border);
}

.resources-container {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
}

.resource-card-large {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.15s;
}

.resource-card-large:hover {
    background: var(--bg-alt);
    margin: 0 -3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.resource-badge {
    display: inline-block;
    background: transparent;
    color: var(--text-soft);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.resource-card-large h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
    text-shadow: none;
}

.resource-card-large > p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.resource-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.25rem;
}

.resource-features span {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.resource-link-arrow {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.03em;
    transition: letter-spacing 0.15s;
    white-space: nowrap;
    margin-top: 0.5rem;
    align-self: center;
}

.resource-card-large:hover .resource-link-arrow {
    letter-spacing: 0.08em;
}


/* ============================================================
   STEP IMAGE GRID (product page)
   ============================================================ */

.step-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.doc-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
}

.doc-image p {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.workflow-step.workflow-step-export {
    grid-template-columns: 1fr;
}

.workflow-step-export .step-images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .workflow-step,
    .workflow-step.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .workflow-step.reverse > * {
        direction: ltr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-sidebar {
        position: static;
    }

    .resource-card-large {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 120px 1.5rem 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    section {
        padding: 3.5rem 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .industries-cols {
        columns: 2;
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-main {
        padding: 2rem 1.5rem;
    }

    .step-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .course-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .step-images-grid,
    .workflow-step-export .step-images-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .features-grid-plotter,
    .courses-grid {
        padding: 0 1.5rem;
    }

    footer {
        padding: 1.5rem;
    }
}


/* ============================================================
   LEGAL PAGES (privacy.html)
   Narrow reading column; overrides the wide section default.
   ============================================================ */

.legal {
    max-width: 760px;
    padding-top: 4rem;
}

.legal h2 {
    font-size: 1.35rem;
    margin: 2.5rem 0 0.9rem;
}

.legal p,
.legal li {
    color: var(--text-mid);
    margin-bottom: 1rem;
}

.legal ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.legal a {
    color: var(--accent);
}

footer a {
    color: var(--text-soft);
    margin-left: 0.75rem;
}
