/* =========================================================
   SMARTER APPLIANCES
   TERMS & CONDITIONS

   Converted from:
   src/routes/terms-and-conditions.tsx
   ========================================================= */

:root {
    --terms-obsidian: oklch(0.168 0.020 220);
    --terms-mint-dark: oklch(0.6775 0.1257 170.29);
    --terms-paper: oklch(0.972 0.006 80);

    --terms-text-50:
        color-mix(
            in oklab,
            var(--terms-obsidian) 50%,
            transparent
        );

    --terms-text-60:
        color-mix(
            in oklab,
            var(--terms-obsidian) 60%,
            transparent
        );

    --terms-text-70:
        color-mix(
            in oklab,
            var(--terms-obsidian) 70%,
            transparent
        );

    --terms-border-10:
        color-mix(
            in oklab,
            var(--terms-obsidian) 10%,
            transparent
        );
}


/* =========================================================
   PAGE

   Vite:
   px-6 py-24
   ========================================================= */

.terms-page {
    width: 100%;

    padding: 96px 24px;

    background: var(--terms-paper);
    color: var(--terms-obsidian);

    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   CONTAINER

   max-w-3xl = 768px
   ========================================================= */

.terms-container {
    width: 100%;
    max-width: 768px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.terms-eyebrow {
    margin: 0 0 12px;

    color: var(--terms-mint-dark);

    font-family: "DM Sans", sans-serif;

    font-size: 12px;
    font-weight: 700;

    line-height: 16px;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   MAIN TITLE

   Vite:
   mb-4
   text-4xl
   font-bold
   tracking-tight
   ========================================================= */

.terms-title {
    margin: 0 0 16px;

    color: var(--terms-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 36px;
    font-weight: 700;

    line-height: 40px;

    letter-spacing: -0.025em;
}


/* =========================================================
   COMPANY / VERSION TEXT

   Vite:
   mb-12
   text-sm
   text-foreground/60
   ========================================================= */

.terms-subtitle {
    margin: 0 0 48px;

    color: var(--terms-text-60);

    font-size: 14px;

    line-height: 20px;
}


/* =========================================================
   MAIN CONTENT

   Vite:
   space-y-8
   text-sm
   leading-relaxed
   text-foreground/70
   ========================================================= */

.terms-content {
    display: flex;

    flex-direction: column;

    gap: 32px;

    color: var(--terms-text-70);

    font-size: 14px;

    line-height: 1.625;
}


.terms-content p {
    margin: 0;
}


.terms-content strong {
    color: var(--terms-obsidian);

    font-weight: 700;
}


/* =========================================================
   IMPORTANT NOTICE

   Vite:
   rounded-sm
   border border-foreground/10
   bg-paper
   p-6
   ========================================================= */

.terms-notice {
    padding: 24px;

    border:
        1px solid
        var(--terms-border-10);

    border-radius: 2px;

    background: var(--terms-paper);
}


.terms-notice h2 {
    margin: 0 0 12px;

    color: var(--terms-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 18px;
    font-weight: 700;

    line-height: 28px;
}


.terms-notice p + p {
    margin-top: 16px;
}


/* =========================================================
   NORMAL NUMBERED SECTIONS

   Section component:
   h2 mb-3
   text-lg
   font-bold
   ========================================================= */

.terms-section h2 {
    margin: 0 0 12px;

    color: var(--terms-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 18px;
    font-weight: 700;

    line-height: 28px;
}


.terms-section p + p {
    margin-top: 12px;
}


/* =========================================================
   SCHEDULE 1
   ========================================================= */

.terms-schedule__title {
    margin: 0 0 24px;

    color: var(--terms-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;
    font-weight: 700;

    line-height: 28px;
}


.terms-schedule__intro {
    margin: 0 0 24px !important;
}


/* Vite space-y-6 */

.terms-subsections {
    display: flex;

    flex-direction: column;

    gap: 24px;
}


/* =========================================================
   SCHEDULE SUBSECTIONS

   Vite:
   text-base
   font-semibold
   mb-2
   ========================================================= */

.terms-subsection h3 {
    margin: 0 0 8px;

    color: var(--terms-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 16px;
    font-weight: 600;

    line-height: 24px;
}


.terms-subsection p {
    margin: 0;
}


/* =========================================================
   LAST UPDATED
   ========================================================= */

.terms-updated {
    color: var(--terms-text-50);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .terms-page {
        padding:
            72px
            20px;
    }


    .terms-title {
        font-size: 32px;

        line-height: 36px;
    }


    .terms-subtitle {
        margin-bottom: 40px;
    }


    .terms-notice {
        padding: 20px;
    }

}