/* =====================================================================
   Switch-Stores.com landing page (index.php)
   Stand-alone stylesheet for the 2026 refresh.
   style-desktop.css is left untouched for thankyou.php / privacypolicy.php
   ===================================================================== */

:root {
    --ss-navy: #1C2D52;        /* deep navy: headings, dark band */
    --ss-navy-2: #2B3E67;      /* original Switch-Stores navy */
    --ss-red: #C14038;         /* original Switch-Stores red */
    --ss-red-deep: #A3332C;    /* red hover */
    --ss-mist: #EBEFF5;        /* cool section background */
    --ss-white: #FFFFFF;
    --ss-ink: #18213A;         /* body text */
    --ss-muted: #4E5A73;       /* secondary text */
    --ss-line: #D3DAE6;        /* borders */
    --ss-error: #B42318;
    --ss-error-soft: #FDECEA;

    --ss-font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --ss-font-body: 'Public Sans', 'Segoe UI', Arial, sans-serif;

    --ss-wrap: 1180px;
    --ss-gutter: 24px;
    --ss-top-h: 68px;
    --ss-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--ss-white);
    color: var(--ss-ink);
    font-family: var(--ss-font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--ss-navy-2);
}
h1, h2, h3 {
    margin: 0;
    font-family: var(--ss-font-display);
    color: var(--ss-navy);
}
p {
    margin: 0;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
[id] {
    scroll-margin-top: calc(var(--ss-top-h) + 12px);
}
:focus-visible {
    outline: 3px solid var(--ss-red);
    outline-offset: 3px;
}
.ss-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ss-wrap {
    width: 100%;
    max-width: calc(var(--ss-wrap) + (var(--ss-gutter) * 2));
    margin: 0 auto;
    padding: 0 var(--ss-gutter);
}
.ss-section {
    position: relative;
    padding: 112px 0;
}
.ss-h2 {
    font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem);
    font-stretch: 80%;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.ss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border: 0;
    border-radius: 8px;
    background: var(--ss-red);
    color: var(--ss-white);
    font-family: var(--ss-font-display);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease;
}
.ss-btn:hover {
    background: var(--ss-navy);
}
.ss-btn--small {
    padding: 10px 18px;
    font-size: .9375rem;
}

/* ---------- Top bar ---------- */
.ss-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ss-white);
    transition: box-shadow .3s ease;
}
.ss-top.is-scrolled {
    box-shadow: 0 1px 0 var(--ss-line), 0 10px 24px -18px rgba(28, 45, 82, .5);
}
.ss-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: var(--ss-top-h);
}
.ss-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ss-navy);
    text-decoration: none;
    font-family: var(--ss-font-display);
    font-size: 1.3125rem;
    font-stretch: 85%;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.ss-brand__switch {
    width: 42px;
    height: 24px;
    flex: none;
}

/* ---------- Hero ---------- */
.ss-hero {
    position: relative;
    padding-bottom: 72px;
}
.ss-hero__img {
    height: clamp(300px, 40vw, 520px);
    background-image:
        linear-gradient(180deg, rgba(28, 45, 82, 0) 60%, rgba(28, 45, 82, .22) 100%),
        url('../images/banner2.jpg');
    background-size: cover;
    background-position: center 62%;
}
.ss-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    grid-template-areas: "claim tag";
    column-gap: 64px;
    align-items: center;
}
.ss-hero__claim {
    grid-area: claim;
    max-width: 30em;
    padding-top: 40px;
    font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem);
    line-height: 1.45;
    color: var(--ss-navy-2);
}
.ss-hero__claim strong {
    display: block;
    margin-top: 4px;
    color: var(--ss-navy);
    font-weight: 700;
}

/* The hang tag */
.ss-tag-wrap {
    grid-area: tag;
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * clamp(170px, 16vw, 230px));
    transform: rotate(-2deg);
    transform-origin: 50% 34px;
    filter: drop-shadow(0 24px 28px rgba(28, 45, 82, .38));
}
.ss-tag-wrap::before {
    /* the string the tag hangs from */
    content: '';
    position: absolute;
    left: calc(50% - 1px);
    bottom: calc(100% - 34px);
    width: 2px;
    height: 110px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 1px rgba(28, 45, 82, .15);
}
.ss-tag {
    position: relative;
    padding: 72px 40px 44px;
    background: var(--ss-red);
    color: var(--ss-white);
    text-align: center;
    -webkit-clip-path: polygon(40px 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%, 0 40px);
    clip-path: polygon(40px 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%, 0 40px);
    -webkit-mask: radial-gradient(circle 10px at 50% 34px, transparent 96%, #000 100%);
    mask: radial-gradient(circle 10px at 50% 34px, transparent 96%, #000 100%);
}
.ss-tag__text {
    color: var(--ss-white);
}
.ss-tag__lead {
    display: block;
    font-family: var(--ss-font-display);
    font-size: clamp(1.125rem, .95rem + .6vw, 1.375rem);
    font-weight: 700;
    line-height: 1.32;
}
.ss-tag__big {
    display: block;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 2px dashed rgba(255, 255, 255, .45);
    font-size: clamp(2.75rem, 1.9rem + 3vw, 4.25rem);
    font-stretch: 75%;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -0.005em;
}
.ss-tag__big span {
    display: block;
}

/* ---------- Video + retailers ---------- */
.ss-video {
    padding-bottom: 104px;
}
.ss-video__frame {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ss-navy);
    box-shadow: 0 36px 60px -34px rgba(28, 45, 82, .6);
}
.ss-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ss-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 44px;
    max-width: 880px;
    margin: 56px auto 0;
}
.ss-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 64px;
}
.ss-logos img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(1) contrast(1.15);
    opacity: .7;
    mix-blend-mode: multiply;
}

/* ---------- What big-box stores cost us ---------- */
.ss-costs {
    background: var(--ss-mist);
}
.ss-costs__title {
    max-width: 14em;
}
.ss-costs__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    margin-top: 48px;
}
.ss-cost {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-top: 2px solid var(--ss-navy);
}
.ss-cost__icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--ss-white);
}
.ss-cost__icon img {
    width: auto;
    max-width: 54px;
    max-height: 54px;
}
.ss-cost p {
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ss-ink);
}

/* ---------- Few conglomerates (navy band) ---------- */
.ss-brands {
    background: var(--ss-navy);
    color: var(--ss-white);
}
.ss-brands__grid {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}
.ss-brands__img img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(255, 255, 255, .07), 0 0 0 28px rgba(255, 255, 255, .035);
}
.ss-brands__text {
    max-width: 22em;
    font-family: var(--ss-font-display);
    font-size: clamp(1.625rem, 1.15rem + 1.6vw, 2.375rem);
    font-weight: 500;
    line-height: 1.22;
    color: rgba(255, 255, 255, .82);
}
.ss-brands__text strong {
    font-weight: 800;
    color: var(--ss-white);
}

/* ---------- Track record (lawsuits) ---------- */
.ss-record {
    background: var(--ss-mist);
    padding-top: 128px;
}
.ss-record__slime {
    position: absolute;
    top: 0;
    right: 9%;
    width: 120px;
    pointer-events: none;
}
.ss-record__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 780px);
    gap: 56px;
    align-items: start;
}
.ss-record__title {
    position: sticky;
    top: calc(var(--ss-top-h) + 32px);
    font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
}
.ss-clips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
}
.ss-clip img {
    width: 100%;
    padding: 8px;
    background: var(--ss-white);
    box-shadow: 0 1px 0 var(--ss-line), 0 18px 28px -20px rgba(28, 45, 82, .55);
    transform: rotate(-1deg);
}
.ss-clip:nth-child(2n) img {
    transform: rotate(.8deg);
}
.ss-clip:nth-child(3n) img {
    transform: rotate(-.4deg);
}
.ss-clip p {
    margin-top: 16px;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ss-ink);
}

/* ---------- Our criteria (receipt) ---------- */
.ss-criteria {
    padding: 120px 0;
    background: var(--ss-navy-2) url('../images/background-madeinusa.jpg') center / cover no-repeat;
}
.ss-criteria__panel {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    max-width: 980px;
    margin: 0 auto;
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .6);
}
.ss-criteria__title {
    padding: 52px 40px;
    background: var(--ss-red);
    color: var(--ss-white);
    font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
    font-stretch: 80%;
    font-weight: 800;
    line-height: 1.12;
}
.ss-receipt {
    padding: 40px 44px;
    background: rgba(255, 255, 255, .96);
}
.ss-receipt li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}
.ss-receipt__item {
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ss-ink);
}
.ss-receipt__dots {
    flex: 1 1 24px;
    min-width: 24px;
    align-self: flex-end;
    margin-bottom: 7px;
    border-bottom: 2px dotted #A9B3C6;
}
.ss-receipt__check {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ss-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 17px no-repeat;
}

/* ---------- 2 million shoppers ---------- */
.ss-million {
    text-align: center;
    background: #F7F7F7;   /* matches the 2million.jpg background */
}
.ss-million__img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}
.ss-million__title {
    max-width: 30em;
    margin: 36px auto 0;
    font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);
    font-weight: 700;
    line-height: 1.28;
    color: var(--ss-navy);
}
.ss-million__text {
    max-width: 40em;
    margin: 22px auto 0;
    font-size: 1.1875rem;
    color: var(--ss-muted);
}

/* ---------- Opt-in ---------- */
.ss-join {
    position: relative;
    z-index: 1;
    padding: 104px 0 32px;
}
.ss-join__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 64px;
    align-items: start;
}
.ss-join__title {
    font-size: clamp(3.25rem, 2rem + 4.6vw, 5.5rem);
    font-stretch: 75%;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -0.01em;
    color: var(--ss-red);
}
.ss-join__title span {
    display: block;
}
.ss-join__note {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    max-width: 30em;
}
.ss-join__note img {
    flex: none;
    width: 84px;
}
.ss-join__note p {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--ss-ink);
}

.ss-form-card {
    padding: 34px 34px 28px;
    border: 1px solid var(--ss-line);
    border-radius: 16px;
    background: var(--ss-white);
    box-shadow: 0 30px 60px -36px rgba(28, 45, 82, .45);
}
.ss-alert {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-left: 4px solid var(--ss-error);
    border-radius: 8px;
    background: var(--ss-error-soft);
    color: #8A1C12;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.45;
}
.ss-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ss-field {
    margin-bottom: 16px;
}
.ss-field label,
.ss-field .fieldname {
    display: block;
    margin: 0 0 6px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ss-ink);
}
.ss-req {
    color: var(--ss-red);
}
.ss-form input[type="text"],
.ss-form input[type="email"],
.ss-form input[type="tel"],
.ss-form input[type="number"],
.ss-form .custom-select {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 15px;
    border: 1.5px solid var(--ss-line);
    border-radius: 10px;
    background: #F7F9FC;
    color: var(--ss-ink);
    font-family: var(--ss-font-body);
    font-size: 1rem;  /* 16px keeps iOS from zooming in */
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ss-form input::placeholder {
    color: #8A93A6;
}
.ss-form input:hover,
.ss-form .custom-select:hover {
    border-color: #AEB9CC;
}
.ss-form input:focus,
.ss-form .custom-select:focus {
    border-color: var(--ss-navy-2);
    background: var(--ss-white);
    box-shadow: 0 0 0 4px rgba(43, 62, 103, .16);
}
.ss-select {
    position: relative;
}
.ss-form .custom-select {
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2D52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}
.ss-field__error {
    display: none;
    margin-top: 6px;
    color: var(--ss-error);
    font-size: .8125rem;
    font-weight: 600;
}
.ss-field.is-invalid input,
.ss-field.is-invalid .custom-select {
    border-color: var(--ss-error);
    background: var(--ss-error-soft);
}
.ss-field.is-invalid input:focus {
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .16);
}
.ss-field.is-invalid .ss-field__error {
    display: block;
}

/* Captcha */
.ss-captcha__row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ss-captcha__sum {
    flex: none;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--ss-mist);
    color: var(--ss-navy);
    font-family: var(--ss-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.ss-form .ss-captcha__row input[type="number"] {
    width: 110px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    -moz-appearance: textfield;
}
.ss-form input[type="number"]::-webkit-outer-spin-button,
.ss-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Submit */
.ss-form #submitbutton {
    display: block;
    width: 100%;
    min-height: 58px;
    margin-top: 8px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--ss-red);
    color: var(--ss-white);
    font-family: var(--ss-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .25s ease;
}
.ss-form #submitbutton:hover {
    background: var(--ss-navy);
}
.ss-form #submitbutton:disabled {
    opacity: .65;
    cursor: wait;
}
.ss-consent {
    margin-top: 16px;
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--ss-muted);
}
.ss-consent a {
    color: inherit;
}
.ss-required-note {
    margin-top: 8px;
    font-size: .8125rem;
    color: var(--ss-muted);
}

/* ---------- Forest strip + footer ---------- */
.ss-forest {
    height: 28vw;
    min-height: 120px;
    max-height: 480px;
    background:
        linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 38%),
        url('../images/background-forest.jpg') center bottom / 100% auto no-repeat;
}
.ss-footer {
    padding: 28px 0 36px;
    background: #F0F0F0;
    font-size: .8125rem;
    color: #666666;
}
.ss-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}
.ss-footer a {
    color: inherit;
}
.ss-footer__links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ss-office {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #333333;
    color: #FFFFFF !important;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .3s ease;
}
.ss-office:hover {
    background: #707070;
}
.ss-footer__disclaimer {
    margin-top: 16px;
    color: #6B6B6B;
}

/* =====================================================================
   Motion: the tag swings into place on load, the receipt ticks in once
   ===================================================================== */
@keyframes ss-swing {
    0%   { transform: rotate(9deg); }
    35%  { transform: rotate(-6deg); }
    60%  { transform: rotate(2deg); }
    80%  { transform: rotate(-3deg); }
    100% { transform: rotate(-2deg); }
}
@keyframes ss-tick {
    from { transform: scale(0); }
    70%  { transform: scale(1.15); }
    to   { transform: scale(1); }
}
.ss-tag-wrap {
    animation: ss-swing 1.8s var(--ss-ease) .2s both;
}
.js .ss-receipt[data-reveal] .ss-receipt__check {
    transform: scale(0);
}
.js .ss-receipt[data-reveal].is-visible .ss-receipt__check {
    animation: ss-tick .45s var(--ss-ease) both;
}
.js .ss-receipt.is-visible li:nth-child(1) .ss-receipt__check { animation-delay: .1s; }
.js .ss-receipt.is-visible li:nth-child(2) .ss-receipt__check { animation-delay: .25s; }
.js .ss-receipt.is-visible li:nth-child(3) .ss-receipt__check { animation-delay: .4s; }
.js .ss-receipt.is-visible li:nth-child(4) .ss-receipt__check { animation-delay: .55s; }
.js .ss-receipt.is-visible li:nth-child(5) .ss-receipt__check { animation-delay: .7s; }
.js .ss-receipt.is-visible li:nth-child(6) .ss-receipt__check { animation-delay: .85s; }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .js .ss-receipt[data-reveal] .ss-receipt__check {
        transform: none;
    }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
    .ss-hero__grid {
        column-gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    }
    .ss-record__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .ss-record__title {
        position: static;
        max-width: 24em;
    }
    .ss-brands__grid {
        gap: 48px;
        grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    }
    .ss-join__grid {
        gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    }
}

@media (max-width: 860px) {
    :root {
        --ss-top-h: 60px;
    }
    .ss-section {
        padding: 80px 0;
    }
    .ss-hero {
        padding-bottom: 56px;
    }
    .ss-hero__img {
        height: clamp(280px, 60vw, 420px);
    }
    .ss-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "tag" "claim";
        row-gap: 40px;
    }
    .ss-tag-wrap {
        width: 100%;
        max-width: 480px;
        margin: calc(-1 * clamp(90px, 18vw, 150px)) auto 0;
    }
    .ss-hero__claim {
        max-width: 34em;
        margin: 0 auto;
        padding-top: 0;
        text-align: center;
    }
    .ss-video {
        padding-bottom: 80px;
    }
    .ss-logos {
        gap: 16px 28px;
        margin-top: 40px;
    }
    .ss-logos li {
        width: 84px;
        height: 54px;
    }
    .ss-costs__list {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
    }
    .ss-brands__grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }
    .ss-brands__img {
        max-width: 340px;
    }
    .ss-record {
        padding-top: 120px;
    }
    .ss-record__slime {
        right: 24px;
        width: 92px;
    }
    .ss-record__title {
        padding-right: 90px;
    }
    .ss-clips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }
    .ss-criteria {
        padding: 80px 0;
    }
    .ss-criteria__panel {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }
    .ss-criteria__title {
        padding: 36px 28px;
    }
    .ss-receipt {
        padding: 28px;
    }
    .ss-join {
        padding-top: 72px;
    }
    .ss-join__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ss-form-card {
        width: 100%;
        max-width: 560px;
    }
}

@media (max-width: 520px) {
    :root {
        --ss-gutter: 16px;
    }
    body {
        font-size: 1rem;
    }
    .ss-brand {
        font-size: 1.125rem;
        gap: 8px;
    }
    .ss-brand__switch {
        width: 36px;
        height: 21px;
    }
    .ss-btn--small {
        padding: 9px 14px;
        font-size: .875rem;
    }
    .ss-section {
        padding: 64px 0;
    }
    .ss-tag {
        padding: 64px 22px 32px;
    }
    .ss-tag__big {
        margin-top: 18px;
        padding-top: 18px;
    }
    .ss-cost {
        gap: 18px;
        padding: 22px 0;
    }
    .ss-cost__icon {
        width: 72px;
        height: 72px;
    }
    .ss-cost__icon img {
        max-width: 44px;
        max-height: 44px;
    }
    .ss-cost p {
        font-size: 1.0625rem;
    }
    .ss-record {
        padding-top: 104px;
    }
    .ss-record__title {
        padding-right: 0;
    }
    .ss-record__slime {
        width: 76px;
        right: 16px;
    }
    .ss-clips {
        gap: 28px 16px;
    }
    .ss-clip p {
        font-size: .875rem;
    }
    .ss-criteria {
        padding: 56px 0;
    }
    .ss-criteria__title {
        padding: 30px 22px;
    }
    .ss-receipt {
        padding: 18px 22px 22px;
    }
    .ss-receipt__item {
        font-size: 1.0625rem;
    }
    .ss-receipt__check {
        width: 26px;
        height: 26px;
        background-size: 15px;
    }
    .ss-million__title {
        font-size: 1.375rem;
    }
    .ss-million__text {
        font-size: 1.0625rem;
    }
    .ss-join__note {
        gap: 18px;
        margin-top: 28px;
    }
    .ss-join__note img {
        width: 64px;
    }
    .ss-join__note p {
        font-size: 1.0625rem;
    }
    .ss-form-card {
        padding: 26px 20px 22px;
        border-radius: 14px;
    }
    .ss-field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .ss-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
