/* Wendy public marketing site - no framework, single stylesheet */

:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #eff4ff;
    --brand-softer: #f6f8fe;
    --ink: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --white: #ffffff;
    --shell: #f7f8fc;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06), 0 1px 3px rgba(17, 24, 39, .08);
    --shadow-md: 0 10px 24px rgba(17, 24, 39, .08);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, .14);
    --wrap: 1120px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.75rem; font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: 1.125rem; color: var(--muted); }
.eyebrow {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1rem;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c7cfdb; color: var(--ink); }
.btn.btn-subtle { background:var(--muted);color:#fff;}
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .9rem; }
.link-subtle { text-decoration: underline; text-underline-offset: 3px; border: 0; color: var(--text); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 68px;
}
.brand-link { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.brand-link img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: var(--text); font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.nav-toggle-btn { display: none; }
.lang-switch { display: inline-flex; gap: .35rem; align-items: center; font-size: .8rem; }
.lang-switch a { color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.lang-switch a.is-active { color: var(--ink); }
.lang-switch span { color: var(--line); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--shell) 0%, #fff 100%); padding: 3rem 0 2rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 16em; }
.hero-sub { font-size: 1.0625rem; color: #4b5563; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.float-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: .6rem .8rem;
    font-size: .8rem;
    line-height: 1.35;
}
.float-card .fc-label {
    display: block;
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
.float-card .fc-value { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.float-card .fc-note { color: var(--muted); font-size: .72rem; }
.float-card.inline-row { display: inline-flex; align-items: center; gap: .5rem; }
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex: none; }
.float-card .bar { height: 6px; border-radius: 999px; background: var(--line); margin-top: .4rem; overflow: hidden; }
.float-card .bar > i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }

.hero-cards { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* Trust bar */
.trustbar { padding: 1rem 0 2.5rem; }
.trustbar-inner {
    background: var(--brand-soft);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.5rem;
    display: grid;
    gap: .6rem 2rem;
    font-size: .9rem;
}
.trustbar strong { color: var(--ink); }
.trustbar span { color: var(--muted); }

/* Screenshot band */
.shotband { padding: 1rem 0 3.5rem; }
.shotband-media { position: relative; }
.shotband-media > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.shotband-phone { display: none; }
.shot-caption { color: var(--muted); font-size: .95rem; margin-top: 1.25rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--brand-softer); }
.section-head { max-width: 34em; margin: 0 auto 2.5rem; text-align: center; }

.feature-row { display: grid; gap: 1.75rem; align-items: center; padding: 1.5rem 0; }
.feature-row img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.feature-row h3 { font-size: 1.45rem; }
.feature-row p { color: var(--muted); margin-bottom: 0; }

.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    margin-bottom: .9rem;
}
.step p { color: var(--muted); margin-bottom: 0; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* CTA */
.cta { background: var(--brand); color: #fff; padding: 3.5rem 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .88); max-width: 32em; margin-left: auto; margin-right: auto; }
.cta .btn-ghost { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-note { font-size: .85rem; color: rgba(255, 255, 255, .8); margin-top: 1rem; }

/* Pricing */
.plans { display: grid; gap: 1.5rem; align-items: start; }
.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.plan.is-featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.plan-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .25rem .6rem;
    border-radius: 999px;
    margin-bottom: .75rem;
}
.plan-price { font-size: 2.25rem; font-weight: 800; color: var(--ink); line-height: 1; }
.plan-period { color: var(--muted); font-size: .9rem; }
.plan-desc { color: var(--muted); font-size: .95rem; }
.plan ul { list-style: none; margin: 1.25rem 0; padding: 0; }
.plan li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; font-size: .95rem; }
.plan li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}
.plan .btn { margin-top: auto; }
.note { font-size: .85rem; color: var(--muted); }

.include-box {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    background: var(--brand-soft);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}
.include-box h3 { font-size: 1rem; margin-bottom: .35rem; }
.include-box p { margin: 0; color: var(--text); font-size: .95rem; }

/* Forms / signup / onboarding */
.form-page { background: var(--shell); padding: 3rem 0; }
.form-grid { display: grid; gap: 2rem; align-items: start; }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select {
    width: 100%;
    min-height: 46px;
    padding: .6rem .8rem;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}
.field input:focus, .field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.field-hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.field-row { display: grid; gap: 1rem; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: 1rem 0; }
.checkbox input { margin-top: .25rem; width: 18px; height: 18px; flex: none; }

.choice { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.choice label {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .9rem 1rem;
    cursor: pointer;
    font-size: .95rem;
}
.choice label:hover { border-color: #c7cfdb; }
.choice input { margin-top: .2rem; width: 18px; height: 18px; flex: none; }
.choice strong { display: block; color: var(--ink); }
.choice small { color: var(--muted); }

.benefits { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.benefits li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; color: var(--text); font-size: .95rem; }
.benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .35em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
}

.alert { border-radius: 10px; padding: .8rem 1rem; font-size: .9rem; margin-bottom: 1.25rem; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

.progress-steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.progress-steps i { flex: 1; height: 5px; border-radius: 999px; background: var(--line); }
.progress-steps i.is-done { background: var(--brand); }
.step-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.form-actions .skip { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #d1d5db; padding: 3rem 0 2rem; font-size: .92rem; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .75rem; }
.footer-brand img { height: 28px; width: auto; }
.site-footer h2 { font-size: .8rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    font-size: .82rem;
    color: #9ca3af;
}

/* Tablet and up */
@media (min-width: 700px) {
    .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
    body { font-size: 17px; }
    .hero { padding: 4.5rem 0 2rem; }
    .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
    .hero-cards { display: none; }
    .trustbar-inner { grid-template-columns: repeat(4, 1fr); padding: 1.25rem 2rem; }
    .plans { grid-template-columns: repeat(3, 1fr); }
    .form-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
    .feature-row { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding: 2.5rem 0; }
    .feature-row.is-reversed .feature-text { order: 2; }
    .section { padding: 4.5rem 0; }

    /* Floating hero cards, reference layout */
    .hero-media .float-card { position: absolute; }
    .hero-media .fc-1 { top: 6%; left: -6%; width: 170px; }
    .hero-media .fc-2 { top: 12%; right: -4%; }
    .hero-media .fc-3 { bottom: 16%; right: -6%; width: 190px; }
    .hero-media .fc-4 { bottom: 6%; left: -4%; }

    .shotband-phone {
        display: block;
        position: absolute;
        right: 4%;
        bottom: -6%;
        width: 22%;
        border-radius: 18px;
        box-shadow: var(--shadow-lg);
    }
    .shotband { padding-bottom: 5rem; }
}

@media (max-width: 899px) {
    .site-nav { gap: 1rem; }
    .site-nav .nav-secondary { display: none; }
}

@media (max-width: 560px) {
    .site-nav a.btn { display: none; }
    .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
