:root {
    --snf-ink: #12131f;
    --snf-ink-soft: #3d4054;
    --snf-muted: #71748a;
    --snf-paper: #fffaf1;
    --snf-paper-2: #f7efe4;
    --snf-surface: #ffffff;
    --snf-line: rgba(18, 19, 31, .12);
    --snf-dark: #161728;
    --snf-dark-2: #22233a;
    --snf-accent: #f26f57;
    --snf-accent-2: #ffb36b;
    --snf-green: #7aa987;
    --snf-radius: 28px;
    --snf-radius-sm: 18px;
    --snf-shadow: 0 24px 70px rgba(18, 19, 31, .12);
    --snf-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--snf-accent);
}

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

.skip-link,
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    background: var(--snf-surface);
    clip: auto !important;
    clip-path: none;
    color: var(--snf-ink);
    display: block;
    height: auto;
    left: 1rem;
    padding: 1rem;
    top: 1rem;
    width: auto;
    z-index: 10000;
    border-radius: 12px;
    box-shadow: var(--snf-shadow);
}

.snf-container {
    width: min(calc(100% - 40px), var(--snf-max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 250, 241, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(18, 19, 31, .08);
}

.admin-bar .site-header {
    top: 32px;
}

.snf-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.custom-logo-link img {
    display: block;
    max-height: 54px;
    width: auto;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--snf-paper);
    background: linear-gradient(135deg, var(--snf-accent), var(--snf-accent-2));
    border-radius: 15px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(242, 111, 87, .28);
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: -.02em;
}

.brand-text em {
    color: var(--snf-muted);
    font-style: normal;
    font-size: .78rem;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.primary-menu,
.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.primary-menu a,
.footer-menu a {
    text-decoration: none;
    color: var(--snf-ink-soft);
    font-weight: 700;
}

.primary-menu a:hover,
.footer-menu a:hover {
    color: var(--snf-accent);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .78rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
    line-height: 1.1;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.nav-cta,
.button-primary {
    color: #fff;
    background: var(--snf-ink);
    box-shadow: 0 14px 28px rgba(18, 19, 31, .16);
}

.nav-cta:hover,
.button-primary:hover {
    color: #fff;
    background: var(--snf-accent);
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(242, 111, 87, .28);
}

.button-ghost {
    color: var(--snf-ink);
    background: rgba(255, 255, 255, .74);
    border: 1px solid var(--snf-line);
}

.button-ghost:hover {
    color: var(--snf-ink);
    background: #fff;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--snf-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--snf-ink);
    border-radius: 999px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 7rem);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(18px);
    opacity: .45;
}

.hero-section::before {
    background: radial-gradient(circle, rgba(242, 111, 87, .38), transparent 66%);
    top: 4rem;
    left: -8rem;
}

.hero-section::after {
    background: radial-gradient(circle, rgba(255, 179, 107, .44), transparent 66%);
    right: -9rem;
    bottom: 2rem;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
    gap: clamp(2.5rem, 5vw, 5.5rem);
    align-items: center;
}

.eyebrow {
    margin: 0 0 .75rem;
    color: var(--snf-accent);
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--snf-accent-2);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--snf-ink);
    line-height: 1.02;
    letter-spacing: -.055em;
}

h1 {
    max-width: 780px;
    font-size: clamp(3rem, 8.5vw, 6.9rem);
}

h2 {
    font-size: clamp(2.2rem, 4.4vw, 4.4rem);
}

h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.hero-lede {
    max-width: 660px;
    margin: 1.35rem 0 0;
    color: var(--snf-ink-soft);
    font-size: clamp(1.12rem, 2vw, 1.4rem);
}

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

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.4rem;
}

.trust-strip span,
.value-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .85rem;
    border: 1px solid var(--snf-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--snf-ink-soft);
    font-size: .9rem;
    font-weight: 800;
}

.hero-card {
    position: relative;
    min-height: 560px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: calc(var(--snf-radius) + 8px);
    background:
        linear-gradient(145deg, rgba(255,255,255,.8), rgba(255,250,241,.55)),
        radial-gradient(circle at 20% 15%, rgba(255, 179, 107, .5), transparent 34%),
        radial-gradient(circle at 80% 80%, rgba(242, 111, 87, .35), transparent 40%);
    box-shadow: var(--snf-shadow);
    overflow: hidden;
}

.table-visual {
    position: relative;
    width: min(100%, 350px);
    aspect-ratio: 1;
    margin: 1rem auto 2rem;
}

.table-core {
    position: absolute;
    inset: 25%;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(145deg, var(--snf-dark), var(--snf-dark-2));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 26px 60px rgba(18,19,31,.28);
}

.table-core strong {
    font-size: 5rem;
    line-height: .85;
    letter-spacing: -.08em;
}

.table-core span {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    color: rgba(255,255,255,.75);
}

.seat {
    position: absolute;
    width: 68px;
    height: 68px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 35px rgba(18,19,31,.12);
}

.seat::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: inherit;
    background: var(--snf-accent);
}

.seat-one { top: 2%; left: 50%; transform: translateX(-50%); }
.seat-two { top: 24%; right: 2%; }
.seat-three { right: 5%; bottom: 15%; }
.seat-four { bottom: 2%; left: 50%; transform: translateX(-50%); }
.seat-five { left: 5%; bottom: 15%; }
.seat-six { top: 24%; left: 2%; }

.hero-card-content {
    position: relative;
    padding: 1.35rem;
    border-radius: var(--snf-radius-sm);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.62);
}

.hero-card-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.hero-card-content p:last-child {
    margin-bottom: 0;
}

.card-kicker,
.post-meta {
    margin: 0 0 .45rem;
    color: var(--snf-muted);
    font-size: .85rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.section {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-soft {
    background: var(--snf-paper-2);
}

.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(242, 111, 87, .28), transparent 32%),
        linear-gradient(135deg, var(--snf-dark), #20223a);
}

.section-dark h2,
.section-dark p,
.section-dark strong {
    color: #fff;
}

.section-dark p {
    color: rgba(255,255,255,.74);
}

.split-section,
.dark-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.rich-text p {
    margin-top: 0;
    color: var(--snf-ink-soft);
    font-size: 1.16rem;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2.4rem;
}

.section-heading.compact {
    margin-bottom: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.step-card,
.large-card,
.entry-card,
.post-card {
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--snf-line);
    border-radius: var(--snf-radius);
    box-shadow: 0 18px 50px rgba(18, 19, 31, .07);
}

.step-card {
    padding: 1.35rem;
    min-height: 330px;
}

.step-card span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.3rem;
    color: #fff;
    background: var(--snf-dark);
    border-radius: 14px;
    font-weight: 900;
    font-size: .82rem;
}

.step-card p,
.large-card p {
    color: var(--snf-ink-soft);
}

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

.feature-list div {
    padding: 1.1rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--snf-radius-sm);
    background: rgba(255,255,255,.07);
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list strong {
    margin-bottom: .25rem;
}

.feature-list span {
    color: rgba(255,255,255,.72);
}

.two-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.large-card {
    min-height: 390px;
    padding: clamp(1.4rem, 4vw, 3rem);
}

.large-card h2 {
    max-width: 720px;
}

.accent-card {
    background:
        linear-gradient(145deg, rgba(242,111,87,.92), rgba(255,179,107,.82));
}

.accent-card .eyebrow,
.accent-card h2,
.accent-card p {
    color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, .75fr));
    gap: .85rem;
    align-items: center;
}

.value-pill {
    justify-content: center;
    text-align: center;
    min-height: 74px;
    border-radius: 22px;
}

.final-cta {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--snf-ink);
}

.final-cta-inner {
    padding: clamp(2rem, 5vw, 5rem);
    text-align: center;
    color: #fff;
    border-radius: calc(var(--snf-radius) + 12px);
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 179, 107, .32), transparent 28%),
        radial-gradient(circle at 80% 90%, rgba(242, 111, 87, .34), transparent 33%),
        linear-gradient(145deg, #20223a, #11121f);
    box-shadow: var(--snf-shadow);
}

.final-cta h2 {
    color: #fff;
    max-width: 900px;
    margin-inline: auto;
}

.final-cta p:not(.eyebrow) {
    max-width: 720px;
    margin: 1rem auto 1.6rem;
    color: rgba(255,255,255,.72);
    font-size: 1.12rem;
}

.content-main,
.intake-page-main {
    padding: clamp(3rem, 6vw, 6rem) 0;
}

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

.content-wrap {
    width: min(calc(100% - 40px), 1020px);
}

.entry-card,
.post-card,
.archive-header {
    padding: clamp(1.4rem, 4vw, 3rem);
}

.entry-header {
    margin-bottom: 1.6rem;
}

.entry-header h1,
.archive-header h1 {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content p,
.entry-content li {
    color: var(--snf-ink-soft);
}

.entry-content a {
    color: var(--snf-accent);
}

.archive-list {
    display: grid;
    gap: 1rem;
}

.post-card h1,
.post-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.post-card h1 a,
.post-card h2 a {
    text-decoration: none;
}

.post-excerpt {
    color: var(--snf-ink-soft);
}

.intake-hero {
    padding: clamp(2rem, 5vw, 4rem) 0 1rem;
    text-align: center;
}

.intake-hero h1 {
    margin-inline: auto;
    font-size: clamp(2.5rem, 5.4vw, 5rem);
}

.intake-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 1rem auto 0;
    color: var(--snf-ink-soft);
    font-size: 1.12rem;
}

.intake-form-section {
    padding-top: 1rem;
}

/* Six New Friends Connecting Plugin form polish */
.snf-intake-form {
    max-width: 1040px !important;
    margin: 2rem auto !important;
}

.snf-form-section {
    border-color: var(--snf-line) !important;
    border-radius: var(--snf-radius) !important;
    box-shadow: 0 18px 50px rgba(18, 19, 31, .07) !important;
}

.snf-form-section h2 {
    letter-spacing: -.04em;
}

.snf-intake-form input[type="text"],
.snf-intake-form input[type="email"],
.snf-intake-form select,
.snf-intake-form textarea {
    border: 1px solid rgba(18, 19, 31, .14) !important;
    border-radius: 14px !important;
    background: #fff !important;
    min-height: 48px;
}

.snf-note {
    border-left-color: var(--snf-accent) !important;
    background: var(--snf-paper-2) !important;
}

.snf-submit {
    color: #fff !important;
    background: var(--snf-ink) !important;
    border-radius: 999px !important;
    box-shadow: 0 14px 28px rgba(18, 19, 31, .16) !important;
}

.snf-submit:hover {
    background: var(--snf-accent) !important;
}

.snf-confirmation {
    border: 1px solid rgba(122, 169, 135, .35) !important;
    background: #eff8f1 !important;
    border-radius: var(--snf-radius) !important;
}

.site-footer {
    padding: 3rem 0 1.5rem;
    color: rgba(255,255,255,.78);
    background: #10111d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand {
    color: #fff;
    font-weight: 900;
}

.site-footer h2 {
    color: #fff;
    margin-bottom: .8rem;
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.footer-menu {
    display: grid;
    gap: .4rem;
}

.footer-menu a {
    color: rgba(255,255,255,.74);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    font-size: .9rem;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 20px;
        right: 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: .9rem;
        padding: 1rem;
        background: rgba(255, 250, 241, .98);
        border: 1px solid var(--snf-line);
        border-radius: 22px;
        box-shadow: var(--snf-shadow);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-menu {
        align-items: stretch;
        flex-direction: column;
        gap: .45rem;
    }

    .primary-menu a {
        display: block;
        padding: .65rem .35rem;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-grid,
    .split-section,
    .dark-grid,
    .two-card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid .section-heading {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .snf-container,
    .narrow-content,
    .content-wrap {
        width: min(calc(100% - 28px), var(--snf-max));
    }

    .snf-header-inner {
        min-height: 68px;
    }

    .brand-text em {
        display: none;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .hero-card {
        min-height: auto;
        padding: 1rem;
    }

    .table-visual {
        width: min(100%, 285px);
    }

    .seat {
        width: 54px;
        height: 54px;
    }

    .seat::after {
        inset: 15px;
    }

    .steps-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: auto;
    }

    .large-card {
        min-height: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
