:root {
    --sw-red: #d8232a;
    --sw-red-d: #b01b22;
    --sw-red-l: #fbe4e5;
    --sw-stone: #6b7066;
    --sw-stone-d: #3f433c;
    --sw-granite: #2b2e29;
    --sw-bg: #f4f3ef;
    --sw-paper: #ffffff;
    --sw-paper-2: #ecebe5;
    --sw-ink: #1c1e1a;
    --sw-ink-2: #43463f;
    --sw-ink-3: #797d72;
    --sw-line: #ddddd4;
    --sw-line-2: #c6c6ba;

    --sw-font-head: "Futura", "Avenir Next", "Avenir", "Century Gothic", "Helvetica Neue", sans-serif;
    --sw-font-body: "Avenir Next", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;

    --sw-wrap: 1240px;
    --sw-gap: 1.5rem;
    --sw-radius: 6px;
    --sw-radius-lg: 12px;
    --sw-shadow: 0 1px 2px rgba(43, 46, 41, 0.06), 0 8px 24px rgba(43, 46, 41, 0.08);
    --sw-shadow-sm: 0 1px 3px rgba(43, 46, 41, 0.1);
    --sw-base: 17px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sw-font-body);
    font-size: var(--sw-base);
    line-height: 1.65;
    color: var(--sw-ink-2);
    background: var(--sw-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--sw-font-head);
    color: var(--sw-ink);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sw-red-d);
    font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--sw-red-d); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.sw-wrap {
    width: 100%;
    max-width: var(--sw-wrap);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sw-section { padding: 4.5rem 0; }
.sw-section--tight { padding: 3rem 0; }
.sw-section--alt { background: var(--sw-paper); }
.sw-section--dark { background: var(--sw-granite); color: #d6d8d2; }
.sw-section--dark h2, .sw-section--dark h3 { color: #fff; }

.sw-eyebrow {
    display: inline-block;
    font-family: var(--sw-font-head);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--sw-red-d);
    margin-bottom: 0.75rem;
}

.sw-lead {
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--sw-ink-2);
    max-width: 60ch;
}

.sw-section__head { max-width: 64ch; margin-bottom: 2.5rem; }
.sw-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons: pill, with arrow */
.sw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sw-font-head);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.sw-btn:hover { text-decoration: none; transform: translateY(-1px); }
.sw-btn__arrow { transition: transform 0.2s ease; }
.sw-btn:hover .sw-btn__arrow { transform: translateX(3px); }

.sw-btn--primary { background: var(--sw-red); color: #fff; }
.sw-btn--primary:hover { background: var(--sw-red-d); color: #fff; }
.sw-btn--ghost { background: transparent; color: var(--sw-ink); border-color: var(--sw-line-2); }
.sw-btn--ghost:hover { border-color: var(--sw-granite); color: var(--sw-ink); }
.sw-btn--light { background: #fff; color: var(--sw-granite); }
.sw-btn--light:hover { background: var(--sw-paper-2); color: var(--sw-granite); }

/* Header */
.sw-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 243, 239, 0.94);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--sw-line);
}
.sw-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.sw-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--sw-font-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sw-ink);
    letter-spacing: -0.01em;
}
.sw-brand:hover { text-decoration: none; }
.sw-brand__mark {
    width: 34px; height: 34px;
    background: var(--sw-red);
    border-radius: 7px;
    display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 1rem;
}

.sw-nav { display: flex; align-items: center; gap: 0.3rem; }
.sw-nav__link {
    font-family: var(--sw-font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--sw-ink-2);
    padding: 0.5rem 0.8rem;
    border-radius: var(--sw-radius);
}
.sw-nav__link:hover { color: var(--sw-ink); background: var(--sw-paper-2); text-decoration: none; }
.sw-nav__link--active { color: var(--sw-red-d); }
.sw-nav__cta { margin-left: 0.5rem; }

.sw-burger {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 44px; height: 44px;
    flex-direction: column; justify-content: center; gap: 5px;
}
.sw-burger span {
    display: block; height: 2px; width: 24px;
    background: var(--sw-granite); border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.sw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero — stats-left */
.sw-hero {
    background: linear-gradient(180deg, var(--sw-paper) 0%, var(--sw-bg) 100%);
    border-bottom: 1px solid var(--sw-line);
    padding: 4.5rem 0 4rem;
}
.sw-hero__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}
.sw-hero__stats { display: grid; gap: 1.6rem; }
.sw-stat__num {
    font-family: var(--sw-font-head);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--sw-red-d);
    line-height: 1;
}
.sw-stat__label {
    font-size: 0.92rem;
    color: var(--sw-ink-3);
    margin-top: 0.3rem;
}
.sw-stat + .sw-stat { padding-top: 1.4rem; border-top: 1px solid var(--sw-line); }

.sw-hero__title { margin-bottom: 1.2rem; }
.sw-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.sw-hero__media {
    margin-top: 2.5rem;
    border-radius: var(--sw-radius-lg);
    overflow: hidden;
    box-shadow: var(--sw-shadow);
}
.sw-hero__media img { width: 100%; height: 420px; object-fit: cover; }

/* Cards — media-top */
.sw-grid { display: grid; gap: var(--sw-gap); }
.sw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sw-grid--4 { grid-template-columns: repeat(4, 1fr); }

.sw-card {
    background: var(--sw-paper);
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sw-card:hover { transform: translateY(-3px); box-shadow: var(--sw-shadow); }
.sw-card__media { height: 200px; overflow: hidden; background: var(--sw-paper-2); }
.sw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sw-card:hover .sw-card__media img { transform: scale(1.04); }
.sw-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sw-card__tag {
    font-family: var(--sw-font-head);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--sw-stone);
    margin-bottom: 0.5rem;
}
.sw-card h3 { margin-bottom: 0.6rem; }
.sw-card p { font-size: 0.97rem; color: var(--sw-ink-2); }
.sw-card__link {
    margin-top: 1rem;
    font-family: var(--sw-font-head);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Team */
.sw-team__card { text-align: left; }
.sw-team__avatar { height: 240px; border-radius: var(--sw-radius-lg); overflow: hidden; margin-bottom: 1rem; background: var(--sw-paper-2); }
.sw-team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sw-team__name { font-family: var(--sw-font-head); font-weight: 700; font-size: 1.1rem; color: var(--sw-ink); }
.sw-team__role { color: var(--sw-red-d); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.sw-team__card p { font-size: 0.95rem; }

/* Steps / numbered */
.sw-steps { counter-reset: step; display: grid; gap: 1.5rem; }
.sw-step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.sw-step__num {
    counter-increment: step;
    font-family: var(--sw-font-head);
    font-weight: 700;
    font-size: 1.1rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--sw-red-l);
    color: var(--sw-red-d);
    display: grid; place-items: center;
}
.sw-step__num::before { content: counter(step); }

/* Two-col prose */
.sw-twocol { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.sw-twocol__media { border-radius: var(--sw-radius-lg); overflow: hidden; box-shadow: var(--sw-shadow); }
.sw-twocol__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

.sw-prose h2 { margin-bottom: 1rem; }
.sw-prose h3 { margin: 2rem 0 0.75rem; }
.sw-prose p { margin-bottom: 1.1rem; }
.sw-prose ul { margin: 0 0 1.1rem 1.2rem; }
.sw-prose li { margin-bottom: 0.5rem; }

/* Table */
.sw-table-wrap { overflow-x: auto; border: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg); }
.sw-table { width: 100%; border-collapse: collapse; background: var(--sw-paper); min-width: 540px; }
.sw-table th, .sw-table td { padding: 0.95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--sw-line); }
.sw-table th { font-family: var(--sw-font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sw-ink-3); background: var(--sw-paper-2); }
.sw-table tr:last-child td { border-bottom: none; }

/* Pricing */
.sw-plan {
    background: var(--sw-paper);
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius-lg);
    padding: 2rem;
    display: flex; flex-direction: column;
}
.sw-plan--featured { border-color: var(--sw-red); border-width: 2px; position: relative; }
.sw-plan__badge {
    position: absolute; top: -12px; left: 2rem;
    background: var(--sw-red); color: #fff;
    font-family: var(--sw-font-head); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem; border-radius: 999px;
}
.sw-plan__name { font-family: var(--sw-font-head); font-weight: 700; font-size: 1.2rem; color: var(--sw-ink); }
.sw-plan__price { font-family: var(--sw-font-head); font-size: 2.4rem; font-weight: 700; color: var(--sw-ink); margin: 0.8rem 0; }
.sw-plan__price span { font-size: 1rem; color: var(--sw-ink-3); font-weight: 400; }
.sw-plan__features { list-style: none; margin: 1.2rem 0; flex: 1; }
.sw-plan__features li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; border-bottom: 1px solid var(--sw-line); font-size: 0.95rem; }
.sw-plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--sw-red); font-weight: 700; }

/* Accordion / FAQ */
.sw-faq { max-width: 800px; }
.sw-faq__item { border-bottom: 1px solid var(--sw-line); }
.sw-faq__q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    font-family: var(--sw-font-head); font-weight: 600; font-size: 1.05rem; color: var(--sw-ink);
    padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
}
.sw-faq__q::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--sw-red); transition: transform 0.2s ease;
}
.sw-faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.sw-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.sw-faq__a-inner { padding: 0 0 1.3rem; color: var(--sw-ink-2); }

/* CTA band */
.sw-cta {
    background: var(--sw-granite);
    color: #e7e8e3;
    border-radius: var(--sw-radius-lg);
    padding: 3rem;
    display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.sw-cta h2 { color: #fff; margin-bottom: 0.5rem; }
.sw-cta p { color: #b8bab3; margin: 0; }
.sw-cta__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Forms */
.sw-form { display: grid; gap: 1.2rem; }
.sw-field { display: grid; gap: 0.4rem; }
.sw-field label { font-family: var(--sw-font-head); font-weight: 600; font-size: 0.9rem; color: var(--sw-ink); }
.sw-field input, .sw-field select, .sw-field textarea {
    font-family: var(--sw-font-body); font-size: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--sw-line-2); border-radius: var(--sw-radius);
    background: var(--sw-paper); color: var(--sw-ink);
}
.sw-field input:focus, .sw-field select:focus, .sw-field textarea:focus {
    outline: none; border-color: var(--sw-red); box-shadow: 0 0 0 3px var(--sw-red-l);
}
.sw-field textarea { resize: vertical; min-height: 130px; }
.sw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.sw-form__note { font-size: 0.85rem; color: var(--sw-ink-3); }
.sw-form__status {
    padding: 0.9rem 1.1rem; border-radius: var(--sw-radius); font-size: 0.95rem;
    background: var(--sw-red-l); color: var(--sw-red-d); display: none;
}
.sw-form__status--show { display: block; }

/* Info grid (contact) */
.sw-info { display: grid; gap: 1.3rem; }
.sw-info__item { padding-left: 0; }
.sw-info__item h4 { color: var(--sw-stone); margin-bottom: 0.3rem; }
.sw-info__item p { font-size: 0.97rem; }

address { font-style: normal; }

/* Footer */
.sw-footer { background: var(--sw-granite); color: #aeb0a8; padding: 3.5rem 0 2rem; }
.sw-footer a { color: #d4d6cf; }
.sw-footer a:hover { color: #fff; }
.sw-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.sw-footer__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sw-font-head); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.sw-footer__brand .sw-brand__mark { background: var(--sw-red); }
.sw-footer p { font-size: 0.92rem; color: #9a9c94; }
.sw-footer h5 { font-family: var(--sw-font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 1rem; }
.sw-footer__links { list-style: none; display: grid; gap: 0.6rem; }
.sw-footer__links a { font-size: 0.92rem; }
.sw-footer__legal { border-top: 1px solid #41443d; padding-top: 1.8rem; font-size: 0.85rem; color: #8a8c84; }
.sw-footer__legal address { margin-bottom: 0.6rem; line-height: 1.7; }

/* Breadcrumb */
.sw-crumb { font-size: 0.85rem; color: var(--sw-ink-3); padding: 1.2rem 0; }
.sw-crumb a { color: var(--sw-stone); }

/* Page banner */
.sw-banner { background: var(--sw-paper); border-bottom: 1px solid var(--sw-line); padding: 3rem 0; }
.sw-banner__media { margin-top: 2rem; border-radius: var(--sw-radius-lg); overflow: hidden; box-shadow: var(--sw-shadow); }
.sw-banner__media img { width: 100%; height: 360px; object-fit: cover; }

/* Utilities */
.sw-center { text-align: center; }
.sw-mt { margin-top: 2.5rem; }

/* Accessibility */
:focus-visible { outline: 3px solid var(--sw-red); outline-offset: 2px; border-radius: 3px; }
.sw-skip {
    position: absolute; left: -999px; top: 0;
    background: var(--sw-red); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 var(--sw-radius) 0;
}
.sw-skip:focus { left: 0; }

/* Responsive */
@media (max-width: 900px) {
    .sw-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
    .sw-hero__stats { grid-template-columns: repeat(3, 1fr); }
    .sw-stat + .sw-stat { padding-top: 0; border-top: none; }
    .sw-grid--3, .sw-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .sw-twocol { grid-template-columns: 1fr; gap: 2rem; }
    .sw-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .sw-cta { grid-template-columns: 1fr; }

    .sw-burger { display: flex; }
    .sw-nav {
        position: fixed; inset: 72px 0 auto 0;
        background: var(--sw-paper); flex-direction: column; align-items: stretch;
        padding: 1rem 1.5rem 1.5rem; gap: 0.2rem;
        border-bottom: 1px solid var(--sw-line); box-shadow: var(--sw-shadow);
        transform: translateY(-120%); transition: transform 0.28s ease;
    }
    .sw-nav--open { transform: translateY(0); }
    .sw-nav__link { padding: 0.85rem 0.5rem; }
    .sw-nav__cta { margin: 0.5rem 0 0; text-align: center; justify-content: center; }
}

@media (max-width: 720px) {
    .sw-hero__media img { height: 280px; }
    .sw-form__row { grid-template-columns: 1fr; }
    .sw-section { padding: 3.2rem 0; }
}

@media (max-width: 480px) {
    :root { --sw-base: 16px; }
    .sw-grid--2, .sw-grid--3, .sw-grid--4 { grid-template-columns: 1fr; }
    .sw-hero__stats { grid-template-columns: 1fr 1fr; }
    .sw-footer__grid { grid-template-columns: 1fr; }
    .sw-cta { padding: 2rem; }
}

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