/* =========================================================
   EASYPRINT TERMS AND CONDITIONS PAGE
   Formal legal layout using the EasyPrint theme
========================================================= */

:root {
    --terms-primary: #184e83;
    --terms-primary-dark: #123e69;
    --terms-blue: #2f9dde;
    --terms-cyan: #16b9d4;

    --terms-text: #34516f;
    --terms-muted: #6f86a1;
    --terms-muted-light: #8aa0b5;

    --terms-surface: rgba(255, 255, 255, 0.78);
    --terms-surface-strong: rgba(255, 255, 255, 0.92);
    --terms-surface-soft: rgba(245, 251, 255, 0.74);

    --terms-border: rgba(255, 255, 255, 0.88);
    --terms-line: rgba(47, 157, 222, 0.16);
    --terms-line-strong: rgba(47, 157, 222, 0.25);

    --terms-shadow:
        0 24px 64px rgba(24, 78, 131, 0.12);

    --terms-shadow-soft:
        0 14px 38px rgba(24, 78, 131, 0.08);

    --terms-radius-xl: 32px;
    --terms-radius-lg: 24px;
    --terms-radius-md: 16px;
    --terms-radius-sm: 11px;

    --terms-content-width: 1180px;
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    color: var(--terms-text);
    font-family: "ABeeZee", sans-serif;

    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(47, 157, 222, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 82%,
            rgba(22, 185, 212, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 52% 20%,
            rgba(255, 255, 255, 0.74),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #eaf8ff 0%,
            #f8fdff 48%,
            #e9fbff 100%
        );

    overflow-x: hidden;
}

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

a {
    color: inherit;
}

::selection {
    background: rgba(47, 157, 222, 0.22);
    color: var(--terms-primary-dark);
}

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

.legal-page {
    position: relative;
    z-index: 1;

    flex: 1;

    width: 100%;
    max-width: calc(var(--terms-content-width) + 48px);

    margin: 0 auto;
    padding: 24px;
}

/* Decorative background glows */

.legal-page::before,
.legal-page::after {
    content: "";

    position: fixed;
    z-index: -1;

    pointer-events: none;

    border-radius: 50%;
    filter: blur(20px);
}

.legal-page::before {
    width: 540px;
    height: 540px;

    top: -220px;
    left: -210px;

    background:
        radial-gradient(
            circle,
            rgba(47, 157, 222, 0.22),
            transparent 70%
        );
}

.legal-page::after {
    width: 620px;
    height: 620px;

    right: -250px;
    bottom: -260px;

    background:
        radial-gradient(
            circle,
            rgba(22, 185, 212, 0.2),
            transparent 70%
        );
}

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

.legal-header {
    position: relative;

    padding: clamp(32px, 5vw, 54px);

    overflow: hidden;

    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.84),
            rgba(255, 255, 255, 0.52)
        );

    box-shadow:
        var(--terms-shadow),
        inset 0 0 0 1px rgba(47, 157, 222, 0.04);

    backdrop-filter:
        blur(20px)
        saturate(135%);

    -webkit-backdrop-filter:
        blur(20px)
        saturate(135%);
}

.legal-header::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -120px;
    right: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 185, 212, 0.19),
            transparent 70%
        );

    pointer-events: none;
}

.legal-back-link {
    position: relative;
    z-index: 1;

    width: fit-content;
    min-height: 40px;
    padding: 9px 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(47, 157, 222, 0.16);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.58);
    color: var(--terms-primary);

    font-family: "Hammersmith One", sans-serif;
    font-size: 12px;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
    transform: translateY(-1px);

    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(47, 157, 222, 0.3);
}

.legal-eyebrow {
    position: relative;
    z-index: 1;

    display: block;

    margin-top: 28px;

    color: var(--terms-blue);

    font-family: "Hammersmith One", sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-header h1 {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 10px 0 0;

    color: var(--terms-primary);

    font-family: "Hammersmith One", sans-serif;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.05;
}

.legal-introduction {
    position: relative;
    z-index: 1;

    max-width: 790px;

    margin: 20px 0 0;

    color: var(--terms-text);

    font-size: 14px;
    line-height: 1.8;
}

.legal-date {
    position: relative;
    z-index: 1;

    margin: 20px 0 0;

    color: var(--terms-muted);

    font-size: 12px;
}

.legal-date time {
    color: var(--terms-primary);
}

/* =========================================================
   MAIN LEGAL LAYOUT
========================================================= */

.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);

    align-items: start;

    gap: 24px;

    margin-top: 24px;
}

/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.legal-navigation {
    position: sticky;
    top: 24px;

    max-height: calc(100vh - 48px);
    padding: 24px;

    overflow-y: auto;
    overscroll-behavior: contain;

    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.48)
        );

    box-shadow:
        var(--terms-shadow-soft),
        inset 0 0 0 1px rgba(47, 157, 222, 0.04);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.legal-navigation h2 {
    margin: 0 0 16px;

    color: var(--terms-primary);

    font-family: "Hammersmith One", sans-serif;
    font-size: 20px;
    font-weight: 400;
}

.legal-navigation nav {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.legal-navigation a {
    padding: 9px 11px;

    border-radius: 9px;

    color: var(--terms-muted);

    font-size: 11px;
    line-height: 1.4;
    text-decoration: none;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        transform 0.18s ease;
}

.legal-navigation a:hover,
.legal-navigation a:focus-visible {
    color: var(--terms-primary);

    background: rgba(222, 244, 253, 0.78);

    transform: translateX(2px);
}

/* Scrollbar for contents */

.legal-navigation {
    scrollbar-width: thin;
    scrollbar-color:
        rgba(47, 157, 222, 0.34)
        transparent;
}

.legal-navigation::-webkit-scrollbar {
    width: 6px;
}

.legal-navigation::-webkit-scrollbar-track {
    background: transparent;
}

.legal-navigation::-webkit-scrollbar-thumb {
    background: rgba(47, 157, 222, 0.3);
    border-radius: 999px;
}

/* =========================================================
   TERMS ARTICLE
========================================================= */

.legal-content {
    min-width: 0;

    padding: clamp(26px, 4vw, 44px);

    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.86),
            rgba(255, 255, 255, 0.59)
        );

    box-shadow:
        var(--terms-shadow-soft),
        inset 0 0 0 1px rgba(47, 157, 222, 0.04);

    backdrop-filter:
        blur(20px)
        saturate(130%);

    -webkit-backdrop-filter:
        blur(20px)
        saturate(130%);
}

/* =========================================================
   LEGAL SECTIONS
========================================================= */

.legal-section {
    scroll-margin-top: 24px;

    padding: 0 0 34px;
    margin: 0 0 34px;

    border-bottom: 1px solid var(--terms-line);
}

.legal-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;

    border-bottom: 0;
}

.legal-section h2 {
    margin: 0 0 16px;

    color: var(--terms-primary);

    font-family: "Hammersmith One", sans-serif;
    font-size: clamp(22px, 3vw, 27px);
    font-weight: 400;
    line-height: 1.25;
}

.legal-section h3 {
    margin: 24px 0 10px;

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

    font-family: "Hammersmith One", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.legal-section p {
    margin: 0 0 15px;

    color: var(--terms-text);

    font-size: 13px;
    line-height: 1.85;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--terms-primary);

    font-weight: 400;
}

/* =========================================================
   LISTS
========================================================= */

.legal-section ul,
.legal-section ol {
    margin: 8px 0 19px;
    padding-left: 24px;

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

.legal-section li {
    padding-left: 5px;
    margin-bottom: 10px;

    font-size: 13px;
    line-height: 1.7;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section li::marker {
    color: var(--terms-blue);
}

/* =========================================================
   LINKS
========================================================= */

.legal-section a {
    color: var(--terms-blue);

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color 0.18s ease;
}

.legal-section a:hover,
.legal-section a:focus-visible {
    color: var(--terms-primary);
}

.legal-inline-link {
    width: fit-content;
    min-height: 42px;
    padding: 10px 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(47, 157, 222, 0.2);
    border-radius: 12px;

    background: rgba(222, 244, 253, 0.7);
    color: var(--terms-primary) !important;

    font-family: "Hammersmith One", sans-serif;
    font-size: 12px;
    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.legal-inline-link:hover,
.legal-inline-link:focus-visible {
    transform: translateY(-1px);

    background: rgba(222, 244, 253, 0.96);
    border-color: rgba(47, 157, 222, 0.34);
}

/* =========================================================
   CONTACT CARD
========================================================= */

.legal-contact-card {
    margin-top: 18px;
    padding: 21px;

    border: 1px solid var(--terms-line-strong);
    border-radius: var(--terms-radius-md);

    background:
        linear-gradient(
            135deg,
            rgba(231, 248, 255, 0.84),
            rgba(255, 255, 255, 0.68)
        );

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.legal-contact-card p {
    display: grid;
    grid-template-columns: minmax(90px, 130px) minmax(0, 1fr);

    gap: 14px;

    margin-bottom: 10px;
}

.legal-contact-card p:last-child {
    margin-bottom: 0;
}

.legal-contact-card strong {
    color: var(--terms-primary);

    font-family: "Hammersmith One", sans-serif;
    font-size: 12px;
}

.legal-contact-card a {
    overflow-wrap: anywhere;
}

/* =========================================================
   REVIEW NOTICE
========================================================= */

.legal-review-notice {
    margin-top: 20px !important;
    padding: 16px 18px;

    border-left: 4px solid var(--terms-blue);
    border-radius:
        0
        var(--terms-radius-sm)
        var(--terms-radius-sm)
        0;

    background: rgba(234, 247, 253, 0.8);

    color: var(--terms-muted) !important;

    font-size: 11px !important;
    line-height: 1.65 !important;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--terms-blue);
    outline-offset: 3px;
}

/* =========================================================
   BACKDROP-FILTER FALLBACK
========================================================= */

@supports not (
    (backdrop-filter: blur(18px))
    or
    (-webkit-backdrop-filter: blur(18px))
) {
    .legal-header,
    .legal-navigation,
    .legal-content {
        background: rgba(255, 255, 255, 0.96);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-navigation {
        position: static;

        max-height: none;
    }

    .legal-navigation nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 6px 12px;
    }
}

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

@media (max-width: 680px) {
    .legal-page {
        padding: 12px;
    }

    .legal-header {
        padding: 28px 22px;

        border-radius: 25px;
    }

    .legal-eyebrow {
        margin-top: 24px;
    }

    .legal-header h1 {
        font-size: 38px;
    }

    .legal-introduction {
        font-size: 13px;
        line-height: 1.7;
    }

    .legal-layout {
        gap: 16px;
        margin-top: 16px;
    }

    .legal-navigation {
        padding: 20px;

        border-radius: 21px;
    }

    .legal-navigation nav {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 24px 20px;

        border-radius: 24px;
    }

    .legal-section {
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 12.5px;
    }

    .legal-contact-card p {
        grid-template-columns: 1fr;

        gap: 3px;
    }
}

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

@media (max-width: 420px) {
    .legal-header {
        padding: 24px 18px;
    }

    .legal-header h1 {
        font-size: 33px;
    }

    .legal-content {
        padding: 22px 17px;
    }

    .legal-navigation {
        padding: 18px;
    }

    .legal-inline-link {
        width: 100%;

        text-align: center;
    }
}

/* =========================================================
   PRINT VERSION
========================================================= */

@media print {
    body {
        display: block;

        background: #ffffff;
        color: #000000;
    }

    .legal-page {
        max-width: none;

        padding: 0;
    }

    .legal-page::before,
    .legal-page::after,
    .legal-navigation,
    .legal-back-link,
    .site-footer {
        display: none !important;
    }

    .legal-header,
    .legal-content {
        padding: 0;

        border: 0;
        border-radius: 0;

        background: #ffffff;
        box-shadow: none;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .legal-layout {
        display: block;

        margin-top: 30px;
    }

    .legal-header h1,
    .legal-section h2,
    .legal-section h3 {
        color: #000000;
    }

    .legal-section {
        break-inside: avoid;

        border-color: #cccccc;
    }

    .legal-section p,
    .legal-section li {
        color: #111111;
    }

    .legal-contact-card {
        border: 1px solid #cccccc;

        background: #ffffff;
        box-shadow: none;
    }

    a {
        color: #000000 !important;
        text-decoration: none !important;
    }
}

/* EASYPRINT PUBLIC TERMS V2
   ---------------------------------------------------------
   Public legal page aligned with:
   Landing / Guest Support / Contact Us
--------------------------------------------------------- */


/* =========================================================
   GLOBAL
========================================================= */

body {
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  background:
    linear-gradient(
      180deg,
      #f4fbff 0%,
      #e4f5ff 20%,
      #eef9ff 42%,
      #dff2ff 68%,
      #edf9ff 100%
    ) !important;
}

.legal-page {
  max-width:
    1080px !important;

  padding:
    18px
    20px
    48px !important;
}


/* =========================================================
   PUBLIC TOPBAR
========================================================= */

.legal-topbar {
  width:
    100%;

  min-height:
    64px;

  padding:
    10px 4px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    16px;

  border-bottom:
    1px solid
    rgba(24, 78, 131, 0.08);
}

.legal-brand {
  display:
    inline-flex;

  align-items:
    center;

  color:
    #184e83;

  text-decoration:
    none;
}

.legal-brand-copy {
  display:
    grid;

  gap:
    1px;
}

.legal-brand-copy strong {
  color:
    #184e83;

  font-size:
    21px;

  font-weight:
    800;

  line-height:
    1.1;

  letter-spacing:
    -0.3px;
}

.legal-brand-copy small {
  color:
    #8193a1;

  font-size:
    10px;

  font-weight:
    400;

  line-height:
    1.3;
}

.legal-top-actions {
  display:
    inline-flex;

  align-items:
    center;
}

.legal-home-link {
  min-height:
    38px;

  padding:
    0 14px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    1px solid
    rgba(24, 78, 131, 0.09);

  border-radius:
    10px;

  background:
    rgba(255, 255, 255, 0.76);

  color:
    #184e83;

  font-size:
    11px;

  font-weight:
    700;

  text-decoration:
    none;

  box-shadow:
    0 5px 14px
    rgba(24, 78, 131, 0.035);
}


/* =========================================================
   LEGAL HERO
========================================================= */

.legal-header {
  margin-top:
    34px !important;

  padding:
    8px
    4px
    30px !important;

  overflow:
    visible !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;
}

.legal-header::after {
  display:
    none !important;
}

.legal-back-link {
  display:
    none !important;
}

.legal-eyebrow {
  margin-top:
    0 !important;

  color:
    #4f91ba !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    9px !important;

  font-weight:
    800 !important;

  letter-spacing:
    1.6px !important;
}

.legal-header h1 {
  max-width:
    720px !important;

  margin:
    8px
    0
    0 !important;

  color:
    #184e83 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    clamp(30px, 6vw, 42px) !important;

  font-weight:
    800 !important;

  line-height:
    1.08 !important;

  letter-spacing:
    -0.7px !important;
}

.legal-introduction {
  max-width:
    650px !important;

  margin:
    12px
    0
    0 !important;

  color:
    #60798c !important;

  font-size:
    12.5px !important;

  line-height:
    1.65 !important;
}

.legal-date {
  margin:
    9px
    0
    0 !important;

  color:
    #8798a6 !important;

  font-size:
    10px !important;
}

.legal-date time {
  color:
    #50758f !important;

  font-weight:
    700;
}


/* =========================================================
   LEGAL LAYOUT
========================================================= */

.legal-layout {
  grid-template-columns:
    minmax(220px, 250px)
    minmax(0, 1fr) !important;

  gap:
    22px !important;

  margin-top:
    10px !important;
}


/* =========================================================
   CONTENTS
========================================================= */

.legal-navigation {
  top:
    18px !important;

  max-height:
    calc(100vh - 36px) !important;

  padding:
    18px !important;

  border:
    1px solid
    rgba(24, 78, 131, 0.08) !important;

  border-radius:
    18px !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92),
      rgba(239, 249, 255, 0.90)
    ) !important;

  box-shadow:
    0 10px 24px
    rgba(24, 78, 131, 0.045) !important;

  backdrop-filter:
    none !important;
}

.legal-navigation h2 {
  margin:
    0 0
    12px !important;

  color:
    #184e83 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    17px !important;

  font-weight:
    800 !important;
}

.legal-navigation nav {
  gap:
    3px !important;
}

.legal-navigation a {
  padding:
    7px
    8px !important;

  border-radius:
    8px !important;

  color:
    #718696 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    10px !important;

  line-height:
    1.35 !important;

  text-decoration:
    none !important;
}

.legal-navigation a:hover,
.legal-navigation a:focus-visible {
  background:
    #e8f6ff !important;

  color:
    #245f89 !important;
}


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

.legal-content {
  padding:
    24px !important;

  border:
    1px solid
    rgba(24, 78, 131, 0.08) !important;

  border-radius:
    20px !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.93),
      rgba(242, 250, 255, 0.91)
    ) !important;

  box-shadow:
    0 10px 24px
    rgba(24, 78, 131, 0.045) !important;

  backdrop-filter:
    none !important;
}

.legal-section {
  padding-bottom:
    24px !important;

  margin-bottom:
    24px !important;

  border-bottom:
    1px solid
    rgba(24, 78, 131, 0.07) !important;

  scroll-margin-top:
    20px;
}

.legal-section:last-child {
  padding-bottom:
    0 !important;

  margin-bottom:
    0 !important;

  border-bottom:
    0 !important;
}

.legal-section h2 {
  margin:
    0 0
    12px !important;

  color:
    #245f89 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    18px !important;

  font-weight:
    800 !important;

  line-height:
    1.3 !important;

  letter-spacing:
    -0.2px !important;
}

.legal-section h3 {
  margin:
    16px
    0
    7px !important;

  color:
    #315f82 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    12px !important;

  font-weight:
    700 !important;
}

.legal-section p,
.legal-section li {
  color:
    #62798a !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    11.5px !important;

  line-height:
    1.7 !important;
}

.legal-section p {
  margin:
    0 0
    10px !important;
}

.legal-section ul,
.legal-section ol {
  margin:
    8px 0
    12px !important;

  padding-left:
    20px !important;
}

.legal-section li {
  margin-bottom:
    5px !important;
}


/* =========================================================
   INLINE LINKS + CONTACT CARD
========================================================= */

.legal-inline-link {
  display:
    inline-flex !important;

  margin-top:
    4px !important;

  padding:
    8px
    11px !important;

  border:
    1px solid
    rgba(47, 157, 222, 0.12) !important;

  border-radius:
    9px !important;

  background:
    #edf8ff !important;

  color:
    #245f89 !important;

  font-size:
    10px !important;

  font-weight:
    700 !important;

  text-decoration:
    none !important;
}

.legal-contact-card {
  margin-top:
    14px !important;

  padding:
    14px !important;

  border:
    1px solid
    rgba(47, 157, 222, 0.10) !important;

  border-radius:
    12px !important;

  background:
    rgba(232, 246, 255, 0.70) !important;
}

.legal-contact-card p {
  font-size:
    10.5px !important;
}

.legal-review-notice {
  margin-top:
    14px !important;

  padding:
    12px
    13px !important;

  border-left:
    3px solid
    rgba(47, 157, 222, 0.40);

  border-radius:
    8px;

  background:
    rgba(238, 248, 255, 0.72);

  color:
    #708695 !important;

  font-size:
    9.5px !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .legal-layout {
    grid-template-columns:
      1fr !important;
  }

  .legal-navigation {
    position:
      static !important;

    max-height:
      330px !important;

    overflow-y:
      auto !important;
  }

  .legal-navigation nav {
    display:
      grid !important;

    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap:
      3px
      8px !important;
  }

}


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

@media (max-width: 680px) {

  .legal-page {
    padding:
      10px
      16px
      40px !important;
  }

  .legal-topbar {
    min-height:
      64px;

    padding:
      10px
      0;
  }

  .legal-header {
    margin-top:
      28px !important;

    padding:
      4px
      0
      28px !important;
  }

  .legal-header h1 {
    font-size:
      30px !important;
  }

  .legal-introduction {
    font-size:
      12px !important;

    line-height:
      1.6 !important;
  }

  .legal-layout {
    gap:
      18px !important;

    margin-top:
      6px !important;
  }

  .legal-navigation {
    max-height:
      290px !important;

    padding:
      16px !important;

    border-radius:
      16px !important;
  }

  .legal-navigation h2 {
    font-size:
      16px !important;
  }

  .legal-navigation nav {
    grid-template-columns:
      1fr !important;
  }

  .legal-navigation a {
    padding:
      6px
      7px !important;

    font-size:
      9.5px !important;
  }

  .legal-content {
    padding:
      20px
      16px !important;

    border-radius:
      18px !important;
  }

  .legal-section {
    padding-bottom:
      22px !important;

    margin-bottom:
      22px !important;
  }

  .legal-section h2 {
    font-size:
      17px !important;
  }

  .legal-section p,
  .legal-section li {
    font-size:
      11px !important;

    line-height:
      1.65 !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .legal-header h1 {
    font-size:
      28px !important;
  }

  .legal-content {
    padding:
      18px
      14px !important;
  }

}

/* EASYPRINT TERMS ACCORDION V3
   ---------------------------------------------------------
   Contents and legal sections combined into one accordion.
--------------------------------------------------------- */


/* =========================================================
   SINGLE COLUMN
========================================================= */

.legal-layout {
  display:
    block !important;

  margin-top:
    10px !important;
}

.legal-navigation {
  display:
    none !important;
}

.legal-content {
  width:
    100% !important;

  max-width:
    820px;

  margin:
    0 auto;

  padding:
    22px !important;

  border:
    1px solid
    rgba(24, 78, 131, 0.08) !important;

  border-radius:
    20px !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.94),
      rgba(241, 250, 255, 0.92)
    ) !important;

  box-shadow:
    0 10px 24px
    rgba(24, 78, 131, 0.045) !important;
}


/* =========================================================
   CONTENTS HEADER
========================================================= */

.legal-accordion-heading {
  padding:
    2px
    2px
    18px;

  border-bottom:
    1px solid
    rgba(24, 78, 131, 0.08);
}

.legal-accordion-heading > span {
  display:
    block;

  margin-bottom:
    6px;

  color:
    #4f91ba;

  font-size:
    8.5px;

  font-weight:
    800;

  letter-spacing:
    1.4px;
}

.legal-accordion-heading h2 {
  margin:
    0;

  color:
    #184e83;

  font-size:
    20px;

  font-weight:
    800;

  line-height:
    1.2;
}

.legal-accordion-heading p {
  margin:
    6px 0 0;

  color:
    #7a8e9e;

  font-size:
    10px;

  line-height:
    1.5;
}


/* =========================================================
   ACCORDION ITEM
========================================================= */

.legal-accordion-item {
  margin:
    0 !important;

  padding:
    0 !important;

  border:
    0 !important;

  border-bottom:
    1px solid
    rgba(24, 78, 131, 0.07) !important;

  background:
    transparent !important;

  scroll-margin-top:
    18px;
}

.legal-accordion-item:last-child {
  border-bottom:
    0 !important;
}


/* Remove native triangle */

.legal-accordion-item summary {
  list-style:
    none;

  cursor:
    pointer;
}

.legal-accordion-item summary::-webkit-details-marker {
  display:
    none;
}


/* Summary row */

.legal-accordion-item > summary {
  min-height:
    54px;

  padding:
    15px
    4px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;

  color:
    #315f82;

  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.legal-accordion-item > summary:hover {
  color:
    #184e83;
}

.legal-accordion-title {
  min-width:
    0;

  font-size:
    12px;

  font-weight:
    700;

  line-height:
    1.45;
}


/* Plus / minus */

.legal-accordion-icon {
  position:
    relative;

  width:
    24px;

  height:
    24px;

  flex:
    0 0 24px;

  border:
    1px solid
    rgba(47, 157, 222, 0.12);

  border-radius:
    8px;

  background:
    #edf8ff;
}

.legal-accordion-icon::before,
.legal-accordion-icon::after {
  content:
    "";

  position:
    absolute;

  top:
    50%;

  left:
    50%;

  width:
    9px;

  height:
    1.5px;

  border-radius:
    999px;

  background:
    #3981ae;

  transform:
    translate(-50%, -50%);
}

.legal-accordion-icon::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);

  transition:
    transform 0.18s ease;
}


/* Open state */

.legal-accordion-item[open] > summary {
  color:
    #184e83;
}

.legal-accordion-item[open]
.legal-accordion-icon::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}


/* =========================================================
   EXPANDED CONTENT
========================================================= */

.legal-accordion-body {
  padding:
    0
    36px
    18px
    4px;
}

.legal-accordion-body p,
.legal-accordion-body li {
  color:
    #62798a !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    11px !important;

  line-height:
    1.7 !important;
}

.legal-accordion-body p {
  margin:
    0 0
    10px !important;
}

.legal-accordion-body h3 {
  margin:
    16px
    0
    7px !important;

  color:
    #315f82 !important;

  font-size:
    12px !important;

  font-weight:
    700 !important;
}

.legal-accordion-body ul,
.legal-accordion-body ol {
  margin:
    8px
    0
    12px !important;

  padding-left:
    20px !important;
}

.legal-accordion-body li {
  margin-bottom:
    5px !important;
}


/* =========================================================
   LINKS / INNER CARDS
========================================================= */

.legal-accordion-body .legal-inline-link {
  display:
    inline-flex !important;
}

.legal-accordion-body .legal-contact-card {
  margin-top:
    14px !important;
}


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

@media (max-width: 680px) {

  .legal-content {
    padding:
      17px
      15px !important;

    border-radius:
      18px !important;
  }

  .legal-accordion-heading {
    padding:
      2px
      2px
      15px;
  }

  .legal-accordion-heading h2 {
    font-size:
      18px;
  }

  .legal-accordion-item > summary {
    min-height:
      52px;

    padding:
      14px
      2px;
  }

  .legal-accordion-title {
    font-size:
      11px;
  }

  .legal-accordion-icon {
    width:
      23px;

    height:
      23px;

    flex-basis:
      23px;
  }

  .legal-accordion-body {
    padding:
      0
      30px
      16px
      2px;
  }

  .legal-accordion-body p,
  .legal-accordion-body li {
    font-size:
      10.5px !important;
  }

}

/* === EasyPrint V2.55 - public desktop width expansion: TERMS ===
   Wider legal accordion surface while preserving readable paragraph lengths. */
@media screen and (min-width: 1025px) {
  .legal-page {
    width: 100% !important;
    max-width: 1500px !important;
    margin-inline: auto !important;
    padding-inline: clamp(28px, 3.2vw, 56px) !important;
  }
  .legal-page .legal-header,
  .legal-page .legal-layout {
    width: 100% !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
  }
  .legal-page .legal-content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .legal-page .legal-content p {
    max-width: 94ch;
  }
}
/* === End EasyPrint V2.55 === */
