:root {
    --bg: #f7faf9;
    --bg-soft: #eef7f4;
    --surface: #ffffff;
    --surface-strong: #fbfefd;
    --text: #101828;
    --muted: #667085;
    --line: #dce7e5;
    --accent: #0f8f82;
    --accent-dark: #08685f;
    --accent-soft: #dff6ef;
    --green: #4f9f52;
    --gold: #c59b3b;
    --shadow: 0 20px 60px rgba(16, 24, 40, 0.12);
    --header-height: 76px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

code {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f4f8f7;
    padding: 0.08rem 0.32rem;
    font-size: 0.9em;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.container.narrow {
    width: min(760px, calc(100% - 40px));
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: 6px;
    background: var(--accent-dark);
    color: white;
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 231, 229, 0.9);
    background: rgba(247, 250, 249, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(15, 143, 130, 0.18);
    border-radius: var(--radius);
    background: var(--accent-soft);
}

.brand-mark svg {
    width: 27px;
    height: 27px;
}

.brand-mark path:first-child {
    fill: var(--accent);
}

.brand-wave {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.65rem;
    margin-left: 1rem;
}

.site-nav a,
.footer-grid a,
.text-link {
    color: #344054;
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-grid a:hover,
.text-link:hover {
    color: var(--accent-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.68rem 1rem;
    color: var(--text);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 12px 26px rgba(15, 143, 130, 0.22);
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary,
.button-ghost {
    border-color: var(--line);
    background: var(--surface);
}

.button-secondary:hover,
.button-ghost:hover {
    border-color: rgba(15, 143, 130, 0.38);
    color: var(--accent-dark);
}

.button-light {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.86);
}

.button-large {
    min-height: 52px;
    padding: 0.9rem 1.25rem;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    content: "";
}

.menu-toggle-bars::before {
    transform: translateY(-7px);
}

.menu-toggle-bars::after {
    transform: translateY(5px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(247, 250, 249, 0.94) 0%, rgba(247, 250, 249, 0.83) 42%, rgba(247, 250, 249, 0.58) 100%),
        url("../img/smartare-spa-hero.jpg");
    background-position: center;
    background-size: cover;
}

.hero-inner {
    position: relative;
    padding: 7rem 0 5rem;
    max-width: 940px;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 850;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    line-height: 1.08;
}

h1 {
    max-width: 900px;
    font-size: 4rem;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.32rem;
}

.hero-lead {
    max-width: 680px;
    margin: 1.35rem 0 0;
    color: #344054;
    font-size: 1.22rem;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.section {
    padding: 5rem 0;
}

.intro-strip {
    padding: 1.25rem 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.intro-grid div {
    min-width: 0;
    padding: 1rem;
    border-left: 3px solid var(--accent);
}

.intro-grid strong,
.intro-grid span {
    display: block;
}

.intro-grid span {
    color: var(--muted);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.section-heading p {
    max-width: 780px;
}

.section-heading p:not(.eyebrow) {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card,
.order-card,
.form-card,
.status-panel,
.price-card,
.accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}

.feature-card {
    min-height: 248px;
    padding: 1.45rem;
}

.feature-kicker {
    display: inline-flex;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(15, 143, 130, 0.22);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 0.24rem 0.62rem;
    font-size: 0.82rem;
    font-weight: 850;
}

.feature-card p {
    margin: 0.9rem 0 0;
    color: var(--muted);
}

.split-section {
    background: var(--bg-soft);
}

.split-grid,
.order-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 2rem;
    align-items: start;
}

.split-copy p:not(.eyebrow),
.contact-copy p {
    max-width: 620px;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 0.8rem;
    color: var(--accent-dark);
}

.status-panel {
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
}

.status-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.status-panel-header span {
    color: var(--muted);
    font-weight: 750;
}

.status-panel-header strong {
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 0.3rem 0.65rem;
    font-size: 0.9rem;
}

.meter {
    height: 12px;
    margin: 1.6rem 0;
    overflow: hidden;
    border-radius: 999px;
    background: #d8e8e4;
}

.meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.status-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin: 0;
}

.status-list div {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0.85rem;
}

.status-list dt {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.status-list dd {
    margin: 0.25rem 0 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 850;
}

.faq-preview {
    background: var(--bg);
}

.accordion-list {
    width: min(960px, calc(100% - 40px));
}

.accordion-item + .accordion-item {
    margin-top: 0.85rem;
}

.accordion-button {
    display: flex;
    width: 100%;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 1.2rem 1.45rem;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.accordion-icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.accordion-icon::before,
.accordion-icon::after {
    position: absolute;
    inset: 8px 2px auto;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.accordion-icon::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.accordion-button[aria-expanded="true"] .accordion-icon::after {
    transform: rotate(0deg);
}

.accordion-panel {
    padding: 0 1.45rem 1.35rem;
}

.accordion-panel p {
    margin: 0;
    color: #6b7a90;
    font-size: 1.05rem;
}

.accordion-panel a {
    color: var(--accent-dark);
    font-weight: 750;
}

.centered-action {
    margin-top: 1.5rem;
    text-align: center;
}

.page-hero {
    padding: 6rem 0 3.5rem;
    background:
        linear-gradient(180deg, rgba(239, 248, 246, 0.86), rgba(247, 250, 249, 1)),
        var(--bg);
}

.page-hero.compact {
    text-align: center;
}

.page-hero h1 {
    margin: 0 auto;
    font-size: 3.7rem;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 1.18rem;
}

.order-hero {
    text-align: left;
}

.order-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: end;
}

.order-hero p:not(.eyebrow) {
    margin-left: 0;
}

.price-card {
    padding: 1.35rem;
    background: var(--surface-strong);
}

.price-card span {
    display: block;
    color: var(--muted);
    font-weight: 750;
}

.price-card strong {
    display: block;
    margin: 0.45rem 0;
    color: var(--accent-dark);
    font-size: 2rem;
    line-height: 1.1;
}

.price-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.order-section,
.contact-section,
.legal-content,
.faq-section {
    padding-top: 3rem;
}

.order-card,
.form-card {
    padding: 1.5rem;
}

.order-card h2,
.contact-copy h2 {
    font-size: 1.75rem;
}

.order-card p,
.form-card p {
    color: var(--muted);
}

.paypal-form {
    margin-top: 1.5rem;
}

.form {
    display: grid;
    gap: 1rem;
}

.form label {
    display: grid;
    gap: 0.35rem;
    color: #344054;
    font-weight: 760;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    padding: 0.78rem 0.85rem;
}

.form textarea {
    resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus,
.accordion-button:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid rgba(15, 143, 130, 0.22);
    outline-offset: 3px;
}

.check-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
}

.check-row input {
    width: 18px;
    height: 18px;
    margin-top: 0.32rem;
}

.notice {
    display: grid;
    gap: 0.25rem;
    margin: 0 0 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
}

.notice.success {
    border-color: rgba(15, 143, 130, 0.26);
    background: #edf9f4;
}

.notice.error {
    border-color: rgba(177, 48, 48, 0.28);
    background: #fff5f3;
}

.notice.soft {
    margin: 1.5rem 0;
    background: var(--surface);
}

.notice ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}

.contact-methods {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
    color: var(--muted);
}

.contact-methods a {
    color: var(--accent-dark);
    font-weight: 850;
    text-decoration: none;
}

.text-page {
    color: var(--muted);
}

.text-page h2 {
    margin-top: 2rem;
    color: var(--text);
    font-size: 1.35rem;
}

.text-page h2:first-child {
    margin-top: 0;
}

.text-page a {
    color: var(--accent-dark);
    font-weight: 750;
}

.final-cta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0c3f3b;
    color: white;
}

.final-cta .eyebrow,
.final-cta h2 {
    color: white;
}

.final-cta-inner {
    display: grid;
    justify-items: center;
    gap: 1rem;
    text-align: center;
}

.final-cta h2 {
    max-width: 780px;
}

.site-footer {
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-grid h2 {
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    margin: 0.45rem 0;
    color: var(--muted);
}

.footer-brand p {
    max-width: 320px;
    color: var(--muted);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 1.2rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 920px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.9rem;
        padding: 0.75rem 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav,
    .header-actions {
        display: none;
        width: 100%;
    }

    .site-nav.is-open,
    .header-actions.is-open {
        display: grid;
    }

    .site-nav {
        order: 3;
        margin-left: 0;
        gap: 0;
        border-top: 1px solid var(--line);
        padding-top: 0.5rem;
    }

    .site-nav a {
        padding: 0.8rem 0;
    }

    .header-actions {
        order: 4;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-left: 0;
    }

    .hero {
        min-height: 620px;
    }

    h1 {
        font-size: 3.1rem;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .intro-grid,
    .feature-grid,
    .split-grid,
    .order-grid,
    .contact-grid,
    .order-hero-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .price-card {
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container,
    .container.narrow,
    .accordion-list {
        width: min(100% - 28px, 1120px);
    }

    .brand-text {
        max-width: 170px;
        white-space: normal;
        line-height: 1.1;
    }

    .hero {
        min-height: 590px;
    }

    .hero-media {
        background-image:
            linear-gradient(180deg, rgba(247, 250, 249, 0.95) 0%, rgba(247, 250, 249, 0.84) 58%, rgba(247, 250, 249, 0.68) 100%),
            url("../img/smartare-spa-hero.jpg");
        background-position: 58% center;
    }

    .hero-inner {
        padding: 5rem 0 3.5rem;
    }

    h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-lead,
    .page-hero p:not(.eyebrow) {
        font-size: 1.05rem;
    }

    .section {
        padding: 3.6rem 0;
    }

    .page-hero {
        padding: 4.4rem 0 2.7rem;
    }

    .hero-actions,
    .page-actions,
    .header-actions.is-open {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .page-actions {
        display: grid;
    }

    .status-list {
        grid-template-columns: 1fr;
    }

    .accordion-button {
        min-height: 64px;
        padding: 1rem;
    }

    .accordion-panel {
        padding: 0 1rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
}
