.content-page__hero {
    padding: 104px 0 86px;

    background: var(--sndas-bg);
}

.content-page__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
    gap: 64px;
    align-items: center;
}

.content-page__hero-inner--solo {
    grid-template-columns: minmax(0, 1fr);
}

.content-page__title {
    max-width: 880px;

    margin: 0;
}

.content-page__excerpt {
    max-width: 640px;
    margin: 24px 0 0;
    color: var(--sndas-muted);
    font-size: 18px;
    line-height: 1.7;
}

.content-page__hero-media {
    overflow: hidden;
    border-radius: var(--sndas-radius);
    background: var(--sndas-bg);
    box-shadow: var(--sndas-shadow);
}

.content-page__hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.content-page__body {
    padding: 64px 0 88px;
    background: var(--sndas-paper);
}

.content-page__content {
    max-width: 860px;
}

.content-page__content h2,
.content-page__content h3 {
    color: var(--sndas-dark);
}

.content-page__content h2 {
    margin: 2.5em 0 .75em;

    font-size: 34px;
    line-height: 1.25;
}

.content-page__content h3 {
    margin: 2em 0 .65em;

    font-size: 22px;
    line-height: 1.3;
}

.content-page__content p {
    margin: 0 0 1.35em;
}

.content-page__content ul,
.content-page__content ol {
    margin: 0 0 1.35em;
    padding-left: 1.4em;
}

.content-page__content li + li {
    margin-top: .45em;
}

.content-page__content a {
    color: var(--sndas-green);

    text-decoration-line: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;

    transition: color var(--sndas-transition);
}

.content-page__content a:hover {
    color: var(--sndas-green-dark);
}

.content-page__content strong {
    font-weight: 700;
}

.content-page__content blockquote {
    margin: 2em 0;
    padding: .25em 0 .25em 1.5em;

    border-left: 3px solid var(--sndas-green);
}

.content-page__content table {
    display: block;

    width: 100%;
    max-width: 100%;
    margin: 2em 0;

    overflow-x: auto;

    border-collapse: collapse;
}

.content-page__content th,
.content-page__content td {
    padding: 12px 14px;

    border: 1px solid var(--sndas-border);

    text-align: left;
}

.content-page__content th {
    font-weight: 700;
}

.content-page__content img {
    display: block;

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

.content-page__content figure {
    margin: 2em 0;
}

.content-page__content figcaption {
    margin-top: .75em;
}

@media (max-width: 768px) {
    .content-page__hero {
        padding: 64px 0 52px;
    }

    .content-page__hero-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .content-page__body {
        padding-bottom: 72px;
    }

    .content-page__content h2 {
        margin-top: 2em;
        margin-bottom: .65em;
    }

    .content-page__content h3 {
        margin-top: 1.7em;
        margin-bottom: .55em;
    }

    .content-page__content p,
    .content-page__content ul,
    .content-page__content ol {
        margin-bottom: 1.1em;
    }

    .content-page__content blockquote {
        margin: 1.5em 0;
        padding-left: 1em;
    }
}

.inquiry-form-section {
    padding: 72px 0 110px;
    background: var(--sndas-bg-soft);
}

.inquiry-form {
    padding: 34px;
    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius);
    background: var(--sndas-paper);
    box-shadow: 0 12px 38px rgba(13, 18, 15, .05);
    max-width: 840px;
}

.inquiry-form__title {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.inquiry-form__hint {
    margin: 12px 0 30px;
    color: var(--sndas-muted);
    font-size: 14px;
}

.inquiry-form__product {
    margin: 0 0 2em;
    padding: 14px 16px;

    border: 1px solid var(--sndas-border);
    background: var(--sndas-bg-soft);
}

.inquiry-form__product-label {
    display: block;

    margin-bottom: 4px;

    font-weight: 700;
}

.inquiry-form__product-name {
    display: block;
}

.inquiry-status {
    max-width: 840px;
    margin: 0 0 28px;
    padding: 14px 16px;

    border: 1px solid var(--sndas-border);
    background: var(--sndas-bg-soft);
    color: var(--sndas-dark);
}

.inquiry-status:focus {
    outline: 2px solid var(--sndas-green);
    outline-offset: 3px;
}

.inquiry-status--success {
    border-left: 3px solid var(--sndas-green);
    background: var(--sndas-bg-green);
}

.inquiry-status--invalid,
.inquiry-status--failed {
    border-left: 3px solid #a13a29;
    background: #fff1eb;
    color: #7c2e22;
}

.inquiry-form__form {
    max-width: 840px;
}

.inquiry-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.inquiry-form__field {
    margin: 0 0 20px;
}

.inquiry-form__label {
    display: block;

    margin: 0 0 8px;

    font-weight: 700;
}

.inquiry-form__input,
.inquiry-form__textarea {
    box-sizing: border-box;
    display: block;

    width: 100%;
    padding: 13px 14px;

    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius-sm);
    background: var(--sndas-paper);
    color: var(--sndas-dark);

    font: inherit;
}

.inquiry-form__textarea {
    min-height: 168px;

    resize: vertical;
}

.inquiry-form__input:focus,
.inquiry-form__textarea:focus {
    border-color: var(--sndas-green);
    outline: 2px solid var(--sndas-green);
    outline-offset: 1px;
}

.inquiry-honeypot {
    position: absolute;

    width: 1px;
    height: 1px;
    overflow: hidden;

    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .inquiry-form-section {
        padding-bottom: 72px;
    }

    .inquiry-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .inquiry-form {
        padding: 24px 20px;
    }
}

/* Contact page */
.contact-page__hero {
    padding: 118px 0 110px;
    background: var(--sndas-bg);
}

.contact-page__hero .content-page__title {
    max-width: 820px;
    font-size: clamp(50px, 5vw, 72px);
    text-wrap: balance;
}

.contact-page__hero .content-page__excerpt {
    max-width: 620px;
    margin: 30px 0 0;
    color: var(--sndas-muted);
    font-size: 18px;
    line-height: 1.7;
}

.contact-page__hero .content-page__hero-inner {
    height: 430px;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.contact-page__hero-content {
    min-width: 0;
}

.contact-page__hero-visual {
    position: relative;
    display: grid;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius);
    background:
        linear-gradient(rgba(23, 104, 63, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 104, 63, .08) 1px, transparent 1px),
        radial-gradient(circle at 52% 46%, rgba(44, 154, 95, .16), transparent 52%),
        var(--sndas-bg-soft);
    background-size: 46px 46px, 46px 46px, auto, auto;
    place-items: center;
}

.contact-page__hero-visual--image {
    display: block;
    background: var(--sndas-bg-soft);
}

.contact-page__hero-visual--image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.contact-page__hero-shape {
    position: absolute;
    display: block;
}

.contact-page__hero-shape--frame {
    width: 56%;
    aspect-ratio: 1;
    border: 1px solid rgba(23, 104, 63, .48);
    border-radius: 18px;
    transform: rotate(12deg);
}

.contact-page__hero-shape--line {
    width: 78%;
    height: 2px;
    background: var(--sndas-green);
    transform: rotate(-28deg);
    box-shadow: 0 0 22px rgba(44, 154, 95, .38);
}

.contact-page__hero-shape--node {
    width: 30px;
    aspect-ratio: 1;
    border: 7px solid var(--sndas-bg-soft);
    border-radius: 50%;
    background: var(--sndas-green);
    box-shadow: 0 0 0 1px var(--sndas-green-dark);
    transform: translate(108px, -92px);
}

@media (max-width: 980px) {
    .contact-page__hero .content-page__hero-inner {
        height: auto;
        grid-template-columns: 1fr;
    }

    .contact-page__hero-visual {
        height: 330px;
        min-height: 0;
    }

    .contact-page__hero-visual--image img {
        height: 100%;
        min-height: 0;
    }
}

.contact-page__main {
    padding: 64px 0 96px;
    background: var(--sndas-bg-soft);
}

.contact-page__layout {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.contact-page__layout--no-content {
    grid-template-columns: minmax(0, 960px);
    justify-content: center;
}

.contact-page__content {
    min-width: 0;
    max-width: none;
}

.contact-page__content > :first-child {
    margin-top: 0;
}

.contact-page__layout .inquiry-form {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .contact-page__hero {
        padding: 78px 0 70px;
    }

    .contact-page__hero .content-page__title {
        font-size: clamp(45px, 13vw, 68px);
    }

    .contact-page__hero .content-page__excerpt {
        font-size: 16px;
    }

    .contact-page__hero-visual {
        height: 250px;
        min-height: 0;
    }

    .contact-page__hero-visual--image img {
        height: 100%;
        min-height: 0;
    }

    .contact-page__hero-shape--node {
        width: 22px;
        border-width: 5px;
        transform: translate(72px, -58px);
    }

    .contact-page__main {
        padding: 48px 0 72px;
    }

    .contact-page__layout,
    .contact-page__layout--no-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* About brand page */

.about-brand-hero {
    padding: 118px 0 110px;
    background: var(--sndas-bg);
    color: var(--sndas-text);
}

.about-brand-hero__inner {
    height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.about-brand-hero__content {
    min-width: 0;
}

.about-brand-hero .sndas-eyebrow {
    color: var(--sndas-green);
}

.about-brand-hero__title {
    max-width: 820px;
    color: var(--sndas-text);
    font-size: clamp(50px, 5vw, 72px);
    text-wrap: balance;
}

.about-brand-hero__copy {
    max-width: 620px;
    margin: 30px 0 0;
    color: var(--sndas-muted);
    font-size: 18px;
    line-height: 1.7;
}

.about-brand-focus {
    display: grid;
    max-width: 620px;
    margin: 52px 0 0;
    padding: 0;
    border-top: 1px solid var(--sndas-border);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
}

.about-brand-focus li {
    padding: 15px 18px 15px 0;
    border-bottom: 1px solid var(--sndas-border);
    color: var(--sndas-text);
    font-size: 14px;
    font-weight: 650;
}

.about-brand-focus li:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--sndas-border);
}

.about-brand-hero__visual {
    position: relative;
    display: grid;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(145, 216, 168, .24);
    border-radius: var(--sndas-radius);
    background:
        linear-gradient(rgba(145, 216, 168, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(145, 216, 168, .08) 1px, transparent 1px),
        radial-gradient(circle at 48% 48%, rgba(44, 154, 95, .2), transparent 52%),
        var(--sndas-bg-soft);
    background-size: 46px 46px, 46px 46px, auto, auto;
    place-items: center;
}

.about-brand-hero__visual--image {
    display: block;
    background: var(--sndas-bg-soft);
}

.about-brand-hero__visual--image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.about-brand-hero__shape {
    position: absolute;
    display: block;
}

.about-brand-hero__shape--ring {
    width: 58%;
    aspect-ratio: 1;
    border: 1px solid rgba(145, 216, 168, .65);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(44, 154, 95, .08), 0 0 0 58px rgba(44, 154, 95, .045);
}

.about-brand-hero__shape--bar {
    width: 46%;
    height: 14px;
    border-radius: 99px;
    background: var(--sndas-green);
    transform: rotate(-34deg);
    box-shadow: 0 0 30px rgba(44, 154, 95, .48);
}

.about-brand-hero__shape--dot {
    width: 18px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #91d8a8;
    box-shadow: 0 0 0 12px rgba(145, 216, 168, .12);
    transform: translate(118px, -112px);
}

.about-brand-role {
    background: var(--sndas-paper);
}

.about-brand-role__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 10vw, 150px);
    align-items: end;
}

.about-brand-role__copy {
    max-width: 620px;
    margin: 0;
    color: var(--sndas-muted);
    font-size: 18px;
    line-height: 1.8;
}

.about-brand-capabilities {
    background: var(--sndas-bg);
}

.about-brand-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-brand-capability {
    min-width: 0;
    padding: 24px 24px 28px;
    border-top: 2px solid var(--sndas-green);
    background: rgba(255, 255, 255, .5);
}

.about-brand-capability__number,
.oem-service-customization__number {
    color: var(--sndas-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.about-brand-capability h3,
.oem-service-customization__item h3 {
    margin: 36px 0 0;
    font-size: 23px;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.about-brand-capability p,
.oem-service-customization__item p {
    margin: 13px 0 0;
    color: var(--sndas-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* OEM / ODM service page */

.oem-service-hero {
    padding: 118px 0 110px;
    background: var(--sndas-bg);
}

.oem-service-hero__inner {
    height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.oem-service-hero__content {
    min-width: 0;
}

.oem-service-hero__title {
    max-width: 820px;
    font-size: clamp(50px, 5vw, 72px);
    text-wrap: balance;
}

.oem-service-hero__copy {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--sndas-muted);
    font-size: 18px;
    line-height: 1.7;
}

.oem-service-hero__content .sndas-button {
    margin-top: 36px;
}

.oem-service-hero__visual {
    position: relative;
    display: grid;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius);
    background:
        linear-gradient(rgba(23, 104, 63, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 104, 63, .08) 1px, transparent 1px),
        radial-gradient(circle at 52% 46%, rgba(44, 154, 95, .16), transparent 52%),
        var(--sndas-bg-soft);
    background-size: 46px 46px, 46px 46px, auto, auto;
    place-items: center;
}

.oem-service-hero__visual--image {
    display: block;
    background: var(--sndas-bg-soft);
}

.oem-service-hero__visual--image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.oem-service-hero__shape {
    position: absolute;
    display: block;
}

.oem-service-hero__shape--frame {
    width: 56%;
    aspect-ratio: 1;
    border: 1px solid rgba(23, 104, 63, .48);
    border-radius: 18px;
    transform: rotate(12deg);
}

.oem-service-hero__shape--line {
    width: 78%;
    height: 2px;
    background: var(--sndas-green);
    transform: rotate(-28deg);
    box-shadow: 0 0 22px rgba(44, 154, 95, .38);
}

.oem-service-hero__shape--node {
    width: 30px;
    aspect-ratio: 1;
    border: 7px solid var(--sndas-bg-soft);
    border-radius: 50%;
    background: var(--sndas-green);
    box-shadow: 0 0 0 1px var(--sndas-green-dark);
    transform: translate(108px, -92px);
}

.oem-service-customization {
    background: var(--sndas-paper);
}

.oem-service-customization__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.oem-service-customization__item {
    min-width: 0;
    padding: 24px 22px 28px;
    border-top: 2px solid var(--sndas-green);
    background: var(--sndas-paper);
}

.oem-service-process {
    background: var(--sndas-bg);
}

.oem-service-process__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.oem-service-process__step {
    min-width: 0;
    padding: 0 22px 0 24px;
    border-top: 1px solid var(--sndas-border);
}

.oem-service-process__step + .oem-service-process__step {
    border-left: 1px solid var(--sndas-border);
}

.oem-service-process__marker {
    display: flex;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 1px solid var(--sndas-green);
    border-radius: 50%;
    background: var(--sndas-paper);
    color: var(--sndas-green-dark);
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.oem-service-process__step h3 {
    margin: 28px 0 0;
    font-size: 21px;
    letter-spacing: -.02em;
}

.oem-service-process__step p {
    margin: 12px 0 0;
    color: var(--sndas-muted);
    font-size: 14px;
    line-height: 1.65;
}

.oem-service-models {
    background: var(--sndas-paper);
}

.oem-service-models__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.oem-service-model {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius);
    background: var(--sndas-paper);
}

.oem-service-model__label {
    margin: 0;
    color: var(--sndas-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.oem-service-model h3 {
    max-width: 500px;
    margin: 28px 0 0;
    font-size: 28px;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.oem-service-model > p:last-child {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--sndas-muted);
    line-height: 1.7;
}

@media (min-width: 981px) {
    .about-brand-hero__content,
    .oem-service-hero__content,
    .contact-page__hero-content {
        align-self: start;
        padding-top: 40px;
    }
}

@media (max-width: 980px) {
    .about-brand-hero__content,
    .oem-service-hero__content,
    .contact-page__hero-content {
        padding-top: 0;
    }
}

@media (max-width: 980px) {
    .about-brand-hero__inner,
    .oem-service-hero__inner {
        height: auto;
        grid-template-columns: 1fr;
    }

    .about-brand-hero__visual,
    .oem-service-hero__visual {
        height: 330px;
        min-height: 0;
    }

    .about-brand-hero__visual--image img,
    .oem-service-hero__visual--image img {
        height: 100%;
        min-height: 0;
    }

    .about-brand-capabilities__grid,
    .oem-service-customization__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oem-service-process__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 48px;
    }

    .oem-service-process__step:nth-child(4) {
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .about-brand-hero,
    .oem-service-hero {
        padding: 78px 0 70px;
    }

    .about-brand-hero__title,
    .oem-service-hero__title {
        font-size: clamp(45px, 13vw, 68px);
    }

    .about-brand-hero__copy,
    .oem-service-hero__copy,
    .about-brand-role__copy {
        font-size: 16px;
    }

    .about-brand-focus {
        margin-top: 38px;
    }

    .about-brand-hero__visual,
    .oem-service-hero__visual {
        height: 250px;
        min-height: 0;
    }

    .about-brand-hero__visual--image img,
    .oem-service-hero__visual--image img {
        height: 100%;
        min-height: 0;
    }

    .about-brand-role__inner,
    .about-brand-capabilities__grid,
    .oem-service-customization__grid,
    .oem-service-models__grid {
        grid-template-columns: 1fr;
    }

    .about-brand-role__copy {
        margin-top: 30px;
    }

    .about-brand-capability h3,
    .oem-service-customization__item h3 {
        margin-top: 26px;
    }

    .oem-service-process__steps {
        display: block;
    }

    .oem-service-process__step,
    .oem-service-process__step + .oem-service-process__step,
    .oem-service-process__step:nth-child(4) {
        padding: 0 0 30px 24px;
        border-top: 0;
        border-left: 1px solid var(--sndas-border);
    }

    .oem-service-process__step:last-child {
        padding-bottom: 0;
    }

    .oem-service-process__marker {
        margin: 0 0 0 -45px;
    }

    .oem-service-process__step h3 {
        margin-top: -33px;
        margin-left: 58px;
    }

    .oem-service-process__step p {
        margin-left: 58px;
    }
    .oem-service-hero__content .sndas-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-brand-focus {
        grid-template-columns: 1fr;
    }

    .about-brand-focus li:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }

    .about-brand-hero__shape--dot,
    .oem-service-hero__shape--node {
        transform: translate(72px, -62px);
    }

    .oem-service-model {
        padding: 24px 20px;
    }
}

/* App directories, legal pages and support pages stay intentionally plain and content-led. */
.app-page-header {
    padding: 86px 0 68px;
    border-bottom: 1px solid var(--sndas-border);
    background: var(--sndas-bg);
}

.app-page__kicker {
    margin: 0 0 20px;
    color: var(--sndas-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.app-page__title {
    max-width: 920px;
    font-size: clamp(44px, 5.4vw, 72px);
}

.app-page__excerpt {
    max-width: 700px;
    margin: 22px 0 0;
    color: var(--sndas-muted);
    font-size: 18px;
    line-height: 1.7;
}

.app-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    color: var(--sndas-muted);
    font-size: 13px;
}

.app-directory,
.app-legal__body,
.app-support__body {
    padding: 64px 0 96px;
    background: var(--sndas-paper);
}

.app-directory__content {
    max-width: 800px;
    color: var(--sndas-text);
    line-height: 1.75;
}

.app-directory__content > :first-child {
    margin-top: 0;
}

.app-directory__content > :last-child {
    margin-bottom: 0;
}

.app-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.app-resource-card {
    display: block;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius-sm);
    background: var(--sndas-paper);
    color: var(--sndas-text);
    overflow-wrap: anywhere;
}

.app-resource-card:hover {
    border-color: var(--sndas-green);
}

.app-resource-card h2 {
    margin: 0;
    color: var(--sndas-dark);
    font-size: 22px;
    line-height: 1.3;
}

.app-resource-card p {
    margin: 12px 0 0;
    color: var(--sndas-muted);
    line-height: 1.65;
}

.app-legal__layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 800px);
    gap: 44px;
    align-items: start;
    max-width: none;
    justify-content: start;
}

.app-legal__layout--no-toc {
    grid-template-columns: minmax(0, 800px);
    max-width: 800px;
}

.app-legal__toc--mobile {
    display: none;
}

.app-legal__toc {
    position: sticky;
    top: 112px;
    min-width: 0;
    margin-left: -12px;
    padding-left: 14px;
    border-left: 1px solid var(--sndas-border);
}

.app-legal__toc-title {
    margin: 0 0 14px;
    color: var(--sndas-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-legal__toc ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-legal__toc a {
    color: var(--sndas-muted);
    font-size: 13px;
    line-height: 1.45;
}

.app-legal__toc a:hover {
    color: var(--sndas-green);
}

.app-legal__content {
    min-width: 0;
    max-width: 800px;
    color: var(--sndas-text);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.app-legal__content h2,
.app-legal__content h3 {
    color: var(--sndas-dark);
}

.app-legal__content h2 {
    margin: 2.25em 0 .7em;
    scroll-margin-top: 112px;
    font-size: 30px;
    line-height: 1.25;
}

.app-legal__content h2:first-child {
    margin-top: 0;
}

.app-legal__content h3 {
    margin: 1.8em 0 .6em;
    font-size: 21px;
    line-height: 1.35;
}

.app-legal__content p,
.app-legal__content ul,
.app-legal__content ol {
    margin: 0 0 1.2em;
}

.app-legal__content ul,
.app-legal__content ol {
    padding-left: 1.4em;
}

.app-legal__content li + li {
    margin-top: .45em;
}

.app-legal__content a,
.app-support__content a {
    color: var(--sndas-green);
    text-decoration-line: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

.app-legal__content a:hover,
.app-support__content a:hover {
    color: var(--sndas-green-dark);
}

.app-legal__content strong {
    font-weight: 700;
}

.app-legal__content .app-legal-notice {
    margin-bottom: 2em;
    padding: 14px 16px;
    border-left: 3px solid var(--sndas-green);
    background: var(--sndas-bg-green);
    color: var(--sndas-dark);
}

.app-legal__content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.8em 0 2.2em;
    overflow-x: auto;
    border-collapse: collapse;
}

.app-legal__content th,
.app-legal__content td {
    padding: 12px 14px;
    border: 1px solid var(--sndas-border);
    text-align: left;
    vertical-align: top;
    overflow-wrap: normal;
    word-break: normal;
    min-width: 8rem;
}

.app-legal__content th {
    background: var(--sndas-bg-soft);
    color: var(--sndas-dark);
    font-weight: 700;
}

.app-support__content {
    max-width: 920px;
    color: var(--sndas-text);
    overflow-wrap: anywhere;
}

.app-support__content h2 {
    margin: 0 0 12px;
    color: var(--sndas-dark);
    font-size: 22px;
    line-height: 1.3;
}

.app-support__content p {
    margin: 0 0 1.2em;
    line-height: 1.7;
}

.app-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 48px;
}

.app-support-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--sndas-border);
    border-radius: var(--sndas-radius-sm);
    background: var(--sndas-paper);
}

.app-support-card p:last-child {
    margin-bottom: 0;
}

.app-support-contact {
    max-width: 700px;
    padding-top: 28px;
    border-top: 1px solid var(--sndas-border);
}

.app-support-contact p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .app-page-header {
        padding: 64px 0 52px;
    }

    .app-page__title {
        font-size: clamp(42px, 11vw, 62px);
    }

    .app-page__excerpt {
        font-size: 16px;
    }

    .app-directory,
    .app-legal__body,
    .app-support__body {
        padding: 48px 0 72px;
    }

    .app-resource-grid,
    .app-legal__layout,
    .app-support-grid {
        grid-template-columns: 1fr;
    }

    .app-legal__layout {
        gap: 0;
    }

    .app-legal__toc--desktop {
        display: none;
    }

    .app-legal__toc--mobile {
        display: block;
        position: static;
        margin: 0 0 24px;
        padding: 16px 0;
        border-top: 1px solid var(--sndas-border);
        border-bottom: 1px solid var(--sndas-border);
        border-left: 0;
    }

    .app-legal__toc--mobile summary {
        color: var(--sndas-dark);
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .app-legal__toc--mobile[open] summary {
        margin-bottom: 14px;
    }

    .app-legal__toc--mobile ul {
        display: grid;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .app-legal__toc--mobile a {
        font-size: 14px;
    }
}


.error-404 {
    padding: 112px 0;
    background: var(--sndas-bg-soft);
}

.error-404__inner {
    max-width: 800px;
    text-align: center;
}

.error-404__inner > p:not(.sndas-eyebrow) {
    margin: 20px auto 0;
    color: var(--sndas-muted);
}

.error-404__actions {
    display: flex;
    margin-top: 32px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .error-404 {
        padding: 80px 0;
    }
}

/* Contact inquiry verification. */
.inquiry-captcha__row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.inquiry-captcha__image { width: 190px; height: 58px; border-radius: 4px; }
.inquiry-captcha__refresh { padding: 8px 12px; border: 1px solid #cdd5cc; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
.inquiry-captcha .inquiry-form__input { max-width: 190px; }
.inquiry-captcha p { margin: 0; font-size: 14px; }
.inquiry-form button:disabled { opacity: .55; cursor: not-allowed; }
.inquiry-status[hidden], .inquiry-captcha__image[hidden] { display: none; }
