/*
 * Surveys & Forms page (Surveys/Index) content area.
 * The theme stylesheet is purged, so these components carry their own styles instead of
 * relying on utility classes that may not exist in the build. Header and footer are untouched.
 * Page colours match the other redesigned pages and are redefined under html.uc-dark. The app
 * previews (.sf-app) keep the control panel's own light look in both modes, like screenshots.
 */

.sf {
    --sf-bg: #FBF8F4;
    --sf-surface: #FFFFFF;
    --sf-band: #FFFFFF;
    --sf-panel: #F4EFE8;
    --sf-border: #EFE9E1;
    --sf-border-strong: #E2DBCF;
    --sf-rule: #E8E2D8;
    --sf-text: #14201C;
    --sf-text-2: #4A4640;
    --sf-text-3: #5B5650;
    --sf-accent: #0E5A49;
    --sf-accent-hover: #0A4537;
    --sf-accent-ink: #0E5A49;
    --sf-accent-soft: #E3EFEA;
    --sf-on-accent: #FFFFFF;
    --sf-deep: #0B3B31;
    --sf-quote-bg: #E3EFEA;
    --sf-quote-text: #0B3B31;
    --sf-quote-sub: #2F4A41;
    --sf-shadow-card: 0 20px 36px -24px rgba(11, 59, 49, .35);

    background: var(--sf-bg);
    color: var(--sf-text);
    overflow-x: clip;
}

.uc-dark .sf {
    --sf-bg: #101513;
    --sf-surface: #171D1B;
    --sf-band: #131917;
    --sf-panel: #1E2624;
    --sf-border: #252D2A;
    --sf-border-strong: #313B37;
    --sf-rule: #252D2A;
    --sf-text: #EEF3F1;
    --sf-text-2: #B7C1BD;
    --sf-text-3: #9CA7A2;
    --sf-accent: #17846A;
    --sf-accent-hover: #1C9A7C;
    --sf-accent-ink: #5FC4A6;
    --sf-accent-soft: #173029;
    --sf-deep: #0A2F27;
    --sf-quote-bg: #173029;
    --sf-quote-text: #EEF3F1;
    --sf-quote-sub: #B7C1BD;
    --sf-shadow-card: 0 20px 36px -24px rgba(0, 0, 0, .7);
}

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

/* The theme forces `svg :not([fill="none"]) { fill: currentColor }`; restore normal inheritance. */
.sf svg :not([fill]) {
    fill: inherit;
}

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

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

.sf h1,
.sf h2,
.sf h3 {
    font-family: inherit;
    color: var(--sf-text);
}

.sf-sec {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 575px) {
    .sf-sec {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.sf-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--sf-accent-ink);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sf-eyebrow--light {
    color: #9FD0BE;
}

.sf .sf-h2 {
    margin: 0;
    font-size: clamp(32px, 3.6vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.04;
    font-weight: 700;
}

.sf .sf-h2--md {
    font-size: clamp(30px, 3.2vw, 46px);
}

.sf .sf-h2--sm {
    font-size: clamp(30px, 3vw, 42px);
}

.sf-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
}

.sf-head--split {
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

.sf-head--split > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-link {
    font-weight: 600;
    padding: 6px 0;
    text-decoration: none;
}

.sf-link:hover {
    text-decoration: underline;
}

.sf-center {
    text-align: center;
}

/* Buttons */
.sf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    border: 1px solid var(--sf-accent);
    background: var(--sf-accent);
    color: var(--sf-on-accent) !important;
    padding: 14px 22px;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.sf-btn:hover {
    background: var(--sf-accent-hover);
    border-color: var(--sf-accent-hover);
}

.sf-btn--lg {
    font-size: 16px;
    padding: 15px 24px;
}

.sf-btn--ghost {
    background: var(--sf-surface);
    border-color: var(--sf-border-strong);
    color: var(--sf-text) !important;
}

.sf-btn--ghost:hover {
    background: var(--sf-surface);
    border-color: var(--sf-accent-ink);
}

.sf-btn--light {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #0B3B31 !important;
    font-weight: 700;
}

.sf-btn--light:hover {
    background: #E3EFEA;
    border-color: #E3EFEA;
}

.sf-btn--line {
    background: transparent;
    border-color: #3E7A69;
    color: #FFFFFF !important;
}

.sf-btn--line:hover {
    background: rgba(255, 255, 255, .08);
    border-color: #FFFFFF;
}

/* ------------------------------------------------------------------ */
/* App previews (illustrations in the control panel's own look)        */
/* ------------------------------------------------------------------ */

.sf-app {
    color: #1A1A24;
    font-size: 13px;
    line-height: 1.4;
}

.sf-win {
    background: #FFFFFF;
    border: 1px solid #DCDCE6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(40, 24, 90, .4);
}

.uc-dark .sf-win {
    border-color: #2A2F3A;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}

.sf-pad {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.sf-row--between {
    justify-content: space-between;
}

.sf-pill {
    border: 1px solid #E1E1EA;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    white-space: nowrap;
}

.sf-pill b {
    color: #6D3BE8;
}

.sf-pill--live {
    background: #FFF7DD;
    border-color: #F2D27A;
    color: #7A5A10;
    font-weight: 600;
}

.sf-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    background: #E8E5FC;
    color: #3B3196;
}

.sf-chip--solid {
    background: #6D3BE8;
    color: #FFFFFF;
}

.sf-chip--blue {
    background: #E3EAFD;
    color: #2A4BB0;
}

.sf-chip--amber {
    background: #FBEFC8;
    color: #6E5210;
}

.sf-lbl {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B6B7B;
}

.sf-fld {
    border: 1px solid #E1E1EA;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #8A8A98;
    background: #FFFFFF;
}

.sf-fld--filled {
    color: #1A1A24;
}

.sf-fld--tall {
    height: 60px;
}

.sf-muted {
    font-size: 11px;
    color: #6B6B7B;
}

.sf-small {
    font-size: 12px;
    color: #3A3A48;
}

.sf-qb {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #14141C;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-qb--purple {
    background: #6D3BE8;
}

.sf-radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #C9C9D6;
    flex: 0 0 auto;
    display: inline-block;
}

.sf-radio--on {
    border: 4px solid #6D3BE8;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.sf-hero {
    /* The site navigation overlays the top of the page, so the hero clears it. */
    padding-top: 120px;
    padding-bottom: 80px;
}

@media (min-width: 992px) {
    .sf-hero {
        padding-top: 144px;
    }
}

.sf-hero__row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.sf-hero__copy {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sf .sf-hero__title {
    margin: 0;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.sf-hero__lead {
    margin: 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--sf-text-2);
    max-width: 520px;
}

.sf-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--sf-text-2);
}

.sf-hero__visual {
    flex: 1.3 1 560px;
    min-width: 0;
    position: relative;
}

.sf-win__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #EEEEF4;
    font-size: 12px;
}

.sf-builder {
    display: flex;
    min-height: 400px;
}

.sf-builder__edit {
    flex: 1 1 50%;
    min-width: 0;
    padding: 14px;
    background: #FAFAFC;
    border-right: 1px solid #EEEEF4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-addq {
    background: #6D3BE8;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 7px;
    white-space: nowrap;
}

.sf-qcard {
    background: #FFFFFF;
    border: 1px solid #E6E6EE;
    border-radius: 10px;
    padding: 9px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.sf-qcard--active {
    border-left: 3px solid #6D3BE8;
    flex-direction: column;
    align-items: stretch;
}

.sf-qtabs {
    display: flex;
    gap: 14px;
    font-size: 11px;
    border-bottom: 1px solid #EEEEF4;
    padding-bottom: 6px;
    color: #6B6B7B;
}

.sf-qtabs .is-on {
    color: #6D3BE8;
    font-weight: 700;
    border-bottom: 2px solid #6D3BE8;
    padding-bottom: 5px;
    margin-bottom: -7px;
}

.sf-soft {
    align-self: flex-start;
    background: #F1EEFE;
    color: #4B2BB8;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 6px;
}

.sf-grey {
    background: #F1F1F6;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
}

.sf-builder__preview {
    flex: 1 1 50%;
    min-width: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.sf-preview__title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.sf-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.sf-options span {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sf-rule {
    font-size: 11px;
    color: #6B6B7B;
    border-top: 1px solid #EEEEF4;
    padding-top: 8px;
}

.sf-faces {
    gap: 10px;
}

.sf-float {
    position: absolute;
    right: -10px;
    top: 70px;
    width: 230px;
    background: #FFFFFF;
    border: 1px solid #E1DCFA;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 24px 48px -20px rgba(40, 24, 90, .45);
}

.sf-float .sf-fld {
    padding: 6px 10px;
    font-size: 12px;
}

.sf-tag {
    align-self: flex-start;
    background: #6D3BE8;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
}

@media (max-width: 767px) {
    /* Phones: the preview alone, without the overlapping card */
    .sf-float,
    .sf-builder__edit {
        display: none;
    }

    .sf-builder {
        min-height: 0;
    }

    .sf-win__steps {
        display: none;
    }
}

/* ------------------------------------------------------------------ */
/* Logos                                                               */
/* ------------------------------------------------------------------ */

.sf-logos-wrap {
    padding-bottom: 72px;
}

.sf-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 48px;
    border-top: 1px solid var(--sf-rule);
    border-bottom: 1px solid var(--sf-rule);
    padding: 26px 0;
}

.sf-logos__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--sf-text-3);
}

.sf-logos img {
    height: 30px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .6;
    mix-blend-mode: multiply;
}

.uc-dark .sf-logos img {
    mix-blend-mode: normal;
    filter: grayscale(1) invert(1) brightness(1.4);
    opacity: .55;
}

/* ------------------------------------------------------------------ */
/* What do you want to build?                                          */
/* ------------------------------------------------------------------ */

.sf-band {
    background: var(--sf-band);
    border-top: 1px solid var(--sf-border);
    border-bottom: 1px solid var(--sf-border);
}

.sf-kinds {
    padding-top: 96px;
    padding-bottom: 96px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-tabs button {
    border: 1px solid var(--sf-border-strong);
    background: var(--sf-surface);
    color: var(--sf-text);
    padding: 12px 22px;
    border-radius: 999px;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.sf-tabs button:hover {
    border-color: var(--sf-accent-ink);
}

.sf-tabs button[aria-selected="true"] {
    border-color: var(--sf-accent);
    background: var(--sf-accent);
    color: #FFFFFF;
    font-weight: 600;
}

.sf-kind {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    background: var(--sf-panel);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 56px);
    align-items: center;
}

.sf-kind[hidden] {
    display: none;
}

.sf-kind__copy {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sf .sf-kind__copy h3 {
    margin: 0;
    font-size: clamp(28px, 2.6vw, 38px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 700;
}

.sf-kind__copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--sf-text-2);
}

.sf-kind__best {
    font-size: 14px;
    font-weight: 600;
}

.sf-best {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-best li {
    background: var(--sf-surface);
    border: 1px solid var(--sf-border-strong);
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 14px;
}

.sf-kind__copy .sf-btn {
    margin-top: 8px;
}

.sf-kind__visual {
    flex: 1.1 1 460px;
    min-width: 0;
}

.sf-brandname {
    font-size: 12px;
    color: #6D3BE8;
}

.sf-progress {
    height: 5px;
    border-radius: 9px;
    background: #EEEEF4;
}

.sf-progress span {
    display: block;
    height: 100%;
    border-radius: 9px;
    background: #6D3BE8;
}

.sf-question {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.sf-nps {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 4px;
    font-size: 12px;
    text-align: center;
}

.sf-nps span {
    border: 1px solid #E1E1EA;
    border-radius: 6px;
    padding: 8px 0;
    font-weight: 600;
}

.sf-nps .is-on {
    border-color: #6D3BE8;
    background: #6D3BE8;
    color: #FFFFFF;
}

.sf-ghostbtn,
.sf-purplebtn {
    border: 1px solid #E1E1EA;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
}

.sf-purplebtn {
    background: #6D3BE8;
    border-color: #6D3BE8;
    color: #FFFFFF;
    padding: 9px 18px;
}

.sf-formstack {
    position: relative;
    padding-bottom: 24px;
}

.sf-form {
    max-width: 420px;
}

.sf-form__title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #EEEEF4;
}

.sf-req {
    color: #C8414E;
}

.sf-submit {
    align-self: flex-start;
    margin-top: 8px;
    background: #4A8A5E;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
}

.sf-subs {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 280px;
    padding: 16px;
    gap: 10px;
}

.sf-count {
    background: #E3EAFD;
    color: #2A4BB0;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.sf-subs__latest {
    background: #F5F3FF;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.sf-subs__latest strong {
    color: #6D3BE8;
}

.sf-subs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 11px;
}

.sf-subs__grid > span {
    border: 1px solid #E6E6EE;
    border-radius: 6px;
    padding: 6px 8px;
}

@media (max-width: 575px) {
    .sf-subs {
        display: none;
    }

    .sf-formstack {
        padding-bottom: 0;
    }
}

.sf-poll {
    max-width: 460px;
}

.sf-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #1E6F3A;
    font-weight: 600;
}

.sf-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2E9E57;
}

.sf-poll__opt {
    position: relative;
    border: 1px solid #E1E1EA;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
}

.sf-poll__opt.is-lead {
    border-color: #6D3BE8;
}

.sf-poll__bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #F4F2FC;
}

.sf-poll__opt.is-lead .sf-poll__bar {
    background: #EEEAFE;
}

.sf-poll__label {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
}

.sf-poll__label b:first-child {
    font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Features                                                            */
/* ------------------------------------------------------------------ */

.sf-feature {
    padding-top: 56px;
    padding-bottom: 56px;
}

.sf-feature--first {
    padding-top: 112px;
}

.sf-feature__row {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: center;
}

.sf-feature__row--reverse {
    flex-wrap: wrap-reverse;
}

.sf-feature__copy {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sf-feature__copy p {
    margin: 0;
    font-size: 18px;
    color: var(--sf-text-2);
    line-height: 1.6;
}

.sf-feature__visual {
    flex: 1.2 1 480px;
    min-width: 0;
}

.sf-ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-ticks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.5;
}

.sf-ticks svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--sf-accent-ink);
}

.sf-flow {
    padding: 24px;
    gap: 0;
}

.sf-flow__q {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #E6E6EE;
    border-radius: 12px;
    font-size: 14px;
}

.sf-flow__q .sf-chip {
    margin-left: auto;
}

.sf-flow__q--branch {
    border: 1.5px dashed #6D3BE8;
    background: #FAF8FF;
}

.sf-flow__line {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 4px 0 4px 28px;
    font-size: 12px;
    color: #6B6B7B;
}

.sf-flow__line span {
    width: 2px;
    height: 30px;
    background: #C9BEFA;
}

.sf-piped {
    background: #F1EEFE;
    color: #4B2BB8;
    padding: 1px 6px;
    border-radius: 5px;
}

.sf-flow .sf-muted {
    margin-top: 12px;
    font-size: 12px;
}

.sf-brands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sf-brand {
    padding: 20px;
    gap: 10px;
    font-size: 15px;
}

.sf-brand__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sf-brand__logo i {
    width: 22px;
    height: 22px;
}

.sf-brand__opts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.sf-brand__opts span {
    border: 1px solid #F3C9BB;
    border-radius: 8px;
    padding: 7px 10px;
}

.sf-brand__btn {
    align-self: flex-end;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
}

.sf-brand--bakery {
    border-top: 6px solid #E4572E;
}

.sf-brand--bakery .sf-brand__logo {
    color: #E4572E;
}

.sf-brand--bakery .sf-brand__logo i {
    border-radius: 6px;
    background: #E4572E;
}

.sf-brand--bakery .sf-brand__opts .is-on {
    border: 1.5px solid #E4572E;
    background: #FDF0EB;
    font-weight: 600;
}

.sf-brand--bakery .sf-brand__btn {
    background: #E4572E;
    color: #FFFFFF;
    border-radius: 999px;
}

.sf-brand--school {
    background: #12233F;
    border-color: #12233F;
    color: #FFFFFF;
    margin-top: 36px;
}

.sf-brand--school .sf-brand__logo {
    color: #8FB8FF;
    text-transform: none;
}

.sf-brand--school .sf-brand__logo i {
    border-radius: 50%;
    border: 3px solid #8FB8FF;
}

.sf-stars {
    color: #F2C14E;
    font-size: 22px;
    letter-spacing: 2px;
}

.sf-stars span {
    color: #3B5687;
}

.sf-brand__area {
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid #2D4775;
}

.sf-brand--school .sf-brand__btn {
    background: #8FB8FF;
    color: #12233F;
    font-weight: 700;
    border-radius: 8px;
}

@media (max-width: 575px) {
    .sf-brands {
        grid-template-columns: 1fr;
    }

    .sf-brand--school {
        margin-top: 0;
    }
}

/* Distribution */
.sf-channels-wrap {
    padding-top: 56px;
    padding-bottom: 96px;
}

.sf-channels-wrap .sf-head {
    margin-bottom: 36px;
}

.sf-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.sf-channel {
    background: var(--sf-surface);
    border: 1px solid var(--sf-border);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-channel strong {
    font-size: 17px;
}

.sf-channel > span:last-child {
    font-size: 15px;
    color: var(--sf-text-2);
    line-height: 1.5;
}

.sf-channel__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sf-accent-soft);
    color: var(--sf-accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Results */
.sf-dark {
    background: var(--sf-deep);
    color: #F2F7F5;
}

.sf-results {
    padding-top: 104px;
    padding-bottom: 104px;
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: center;
}

.sf-results__copy {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sf .sf-results__copy .sf-h2 {
    color: #FFFFFF;
}

.sf-results__copy p {
    margin: 0;
    font-size: 18px;
    color: #B8D3C9;
    line-height: 1.6;
}

.sf .sf-results__link {
    align-self: flex-start;
    color: #FFFFFF;
    font-weight: 600;
    padding: 6px 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sf .sf-results__link:hover {
    color: #E3EFEA;
}

.sf-results__visual {
    flex: 1.3 1 520px;
    min-width: 0;
}

.sf-results__visual .sf-win {
    border-color: #22574A;
}

.sf-report__head {
    background: #FAFAFC;
    border-bottom: 1px solid #EEEEF4;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sf-report__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
}

.sf-report__body {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.sf-pie {
    flex: 0 0 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(#E890B0 0 46%, #B3AAF5 46% 77%, #6A5AE0 77% 100%);
}

.sf-report__table {
    flex: 1 1 260px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sf-report__row {
    display: grid;
    grid-template-columns: 1.6fr .6fr .8fr 1fr;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #F2F2F6;
    font-size: 13px;
    align-items: center;
}

.sf-report__row.sf-lbl {
    padding: 8px 0;
    border-bottom-color: #EEEEF4;
}

.sf-report__row b {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
}

.sf-report__row i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.sf-bar {
    height: 6px;
    border-radius: 9px;
    background: #EEEEF4;
    overflow: hidden;
}

.sf-bar span {
    display: block;
    height: 100%;
}

@media (max-width: 575px) {
    .sf-pie {
        flex-basis: 120px;
        height: 120px;
    }
}

/* Question types */
.sf-qtypes-wrap {
    padding-top: 96px;
    padding-bottom: 72px;
}

.sf-qtypes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-qtypes li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sf-surface);
    border: 1px solid var(--sf-border);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
}

.sf-qtypes__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--sf-accent-soft);
    color: var(--sf-accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Templates */
.sf-templates-wrap {
    padding-top: 24px;
    padding-bottom: 96px;
    scroll-margin-top: 96px;
}

.sf-templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.sf-template {
    text-decoration: none;
    color: var(--sf-text) !important;
    background: var(--sf-surface);
    border: 1px solid var(--sf-border);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.sf-template:hover {
    transform: translateY(-2px);
    box-shadow: var(--sf-shadow-card);
}

.sf-template__cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--sf-accent-ink);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sf-template strong {
    font-size: 20px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.sf-template__desc {
    font-size: 14px;
    color: var(--sf-text-2);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-template__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--sf-accent-ink);
    margin-top: auto;
    padding-top: 4px;
}

/* Trust */
.sf-trust-wrap {
    padding-bottom: 96px;
}

.sf-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sf-quote {
    flex: 1.3 1 480px;
    min-width: 0;
    margin: 0;
    background: var(--sf-quote-bg);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.sf-quote blockquote {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    font-weight: 500;
    color: var(--sf-quote-text);
}

.sf-quote figcaption {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    color: var(--sf-quote-text);
}

.sf-quote figcaption span span {
    color: var(--sf-quote-sub);
}

.sf-quote__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--sf-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex: 0 0 auto;
}

.sf-trust__list {
    flex: 1 1 340px;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-trust__list li {
    flex: 1 1 auto;
    background: var(--sf-surface);
    border: 1px solid var(--sf-border);
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.sf-trust__list svg {
    flex: 0 0 auto;
    color: var(--sf-accent-ink);
}

.sf-trust__list strong {
    display: block;
}

.sf-trust__list li > span > span {
    font-size: 14px;
    color: var(--sf-text-2);
}

/* FAQ */
.sf-faq-wrap {
    padding-bottom: 96px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.sf-faq__intro {
    flex: 1 1 300px;
    min-width: 0;
}

.sf-faq {
    flex: 2 1 560px;
    min-width: 0;
    border-top: 1px solid var(--sf-border-strong);
}

.sf-faq details {
    border-bottom: 1px solid var(--sf-border-strong);
    padding: 20px 4px;
}

.sf-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.sf-faq summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 767px) {
    .sf-faq,
    .sf-faq__intro {
        flex-basis: 100%;
    }
}

.sf-faq__q {
    flex: 1 1 auto;
    min-width: 0;
}

.sf-faq__pm {
    align-self: flex-start;
    flex: 0 0 auto;
    color: var(--sf-accent-ink);
    font-size: 22px;
    line-height: 1;
    transition: transform .15s ease;
}

.sf-faq details[open] .sf-faq__pm {
    transform: rotate(45deg);
}

.sf-faq p {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--sf-text-2);
}

/* Call to action */
.sf-cta-wrap {
    padding-bottom: 96px;
}

.sf-cta {
    background: var(--sf-deep);
    color: #F2F7F5;
    border-radius: 32px;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.sf-cta__text {
    flex: 1 1 480px;
    min-width: 0;
}

.sf .sf-cta .sf-h2 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.sf-cta__text p {
    margin: 0;
    font-size: 17px;
    color: #B8D3C9;
}

@media (prefers-reduced-motion: reduce) {
    .sf *,
    .sf *::before,
    .sf *::after {
        transition: none !important;
    }

    .sf-template:hover {
        transform: none;
    }
}
