@charset "UTF-8";
/* ===========================================================================
   /privacy-policy/ AND /terms-and-conditions/
   ---------------------------------------------------------------------------
   Two long legal documents -- fifteen and seventeen numbered sections. Live,
   each is a single centred column roughly 4,700px tall with no way to get to
   a section except scrolling, and the column's left edge sat 345px in from
   the masthead above it, so the page read as two pieces that did not belong
   to each other.

   WHAT THIS BUILDS INSTEAD
   A document with a contents rail. On a wide screen the rail is sticky in the
   left margin and marks the section you are in; the prose runs beside it at a
   measured width with its section numbers hanging in the gutter. Under 62rem
   the rail folds into a closed <details> above the text, because seventeen
   anchors between a reader and the first sentence is a wall on a phone.

   The markup it needs -- ids on the headings, the number wrapped in a span,
   and the rail itself -- is added to the REDESIGN COPIES ONLY by
   scratchpad/legal_toc.py, which builds the rail FROM the headings so the two
   can never disagree. Not one word of the policies is changed.

   WHY THE RAIL IS A SIBLING OF .legal-doc and not inside it: `position:
   sticky` can only move within its own grid area, and inside the document the
   rail's area would be one row -- no taller than the first paragraph. As a
   sibling, both sit in one two-column grid and the rail's area is the whole
   document.

   NOTHING HERE IS !important. assets/css/ryp-overrides.css is a live file
   loaded thirteenth; every redesign sheet loads after it, so matching its
   specificity is enough. Where a selector looks long, it is matching the
   live one exactly for that reason.
   =========================================================================== */

#ryp-legal-privacy,
#ryp-legal-terms {
    --lg-rail: 15rem;
    --lg-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
}

/* -- the masthead ---------------------------------------------------------
   ryp-overrides.css centres .legal-doc in a 76ch column, so the document sat
   128px in from the heading above it. The document now fills the container
   and the two share a left edge. */
#ryp-legal-privacy .legal-doc,
#ryp-legal-terms .legal-doc {
    max-width: none;
    margin-inline: 0;
    color: var(--ryp-ink-soft);
    font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
    line-height: 1.75;
}

/* The measure, not the column. The column is as wide as the grid gives it;
   the LINES are held to about 72 characters, which is where a long document
   stops being tiring. (Figtree's `ch` is 0.64em here, so 46ch is ~72
   characters, not 46 -- measured, not assumed.) */
#ryp-legal-privacy .legal-doc > p,
#ryp-legal-terms .legal-doc > p,
#ryp-legal-privacy .legal-doc .legal-list,
#ryp-legal-terms .legal-doc .legal-list,
#ryp-legal-privacy .legal-doc .legal-seealso,
#ryp-legal-terms .legal-doc .legal-seealso { max-width: 46ch; }

#ryp-legal-privacy .legal-doc a,
#ryp-legal-terms .legal-doc a {
    color: var(--ryp-red-ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
#ryp-legal-privacy .legal-doc a:hover,
#ryp-legal-terms .legal-doc a:hover,
#ryp-legal-privacy .legal-doc a:focus-visible,
#ryp-legal-terms .legal-doc a:focus-visible { color: var(--ryp-red-deep); }

/* -- "Last updated" -------------------------------------------------------
   Was a mint pill floating above the text. It is a date, not a badge: one
   quiet line, set apart by a rule rather than by a shape. */
#ryp-legal-privacy .legal-doc .legal-updated,
#ryp-legal-terms .legal-doc .legal-updated {
    display: block;
    margin: 0 0 1.5rem;
    padding: 0 0 .75rem;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 26, .14);
    border-radius: 0;
    color: var(--ryp-ink-soft);
    font-size: .8125rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
#ryp-legal-privacy .legal-doc .legal-updated strong,
#ryp-legal-terms .legal-doc .legal-updated strong { color: var(--ryp-ink); font-weight: 700; }

/* -- the opening paragraph ------------------------------------------------
   Was a cream box with a gold edge. Now it is simply the biggest text on the
   page with a red rule beside it -- the same device the rest of the redesign
   uses for a lead. */
#ryp-legal-privacy .legal-doc .legal-intro,
#ryp-legal-terms .legal-doc .legal-intro {
    max-width: 46ch;
    margin: 0 0 2.5rem;
    padding: 0 0 0 clamp(.875rem, .6rem + 1vw, 1.25rem);
    background: none;
    border: 0;
    border-left: 2px solid var(--ryp-red);
    border-radius: 0;
    color: var(--ryp-ink);
    font-size: clamp(1rem, .95rem + .35vw, 1.1875rem);
    line-height: 1.62;
}
#ryp-legal-privacy .legal-doc .legal-intro strong,
#ryp-legal-terms .legal-doc .legal-intro strong { color: var(--ryp-red-ink); }

/* -- the section headings -------------------------------------------------
   The number is part of the heading's own text (legal_toc.py only wraps it),
   so it still reads as "4. Deposit and payment" to a screen reader and in a
   plain-text copy. Visually it is lifted out into the gutter, which is what
   lets the titles themselves line up down the page. */
#ryp-legal-privacy .legal-doc h2.small-heading,
#ryp-legal-terms .legal-doc h2.small-heading {
    position: relative;
    margin: 3rem 0 .875rem;
    padding: 1.25rem 0 0;
    border-bottom: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    max-width: 46ch;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
    line-height: 1.22;
    color: var(--ryp-ink);
    scroll-margin-top: 7rem;
}
#ryp-legal-privacy .legal-doc h2.small-heading:first-of-type,
#ryp-legal-terms .legal-doc h2.small-heading:first-of-type { margin-top: 1.75rem; }

#ryp-legal-privacy .legal-doc .lg-num,
#ryp-legal-terms .legal-doc .lg-num {
    color: var(--ryp-red-ink);
    font-family: "Figtree", system-ui, sans-serif;
    font-weight: 700;
    font-size: .6875em;
    letter-spacing: .02em;
}

/* -- the lists ------------------------------------------------------------ */
#ryp-legal-privacy .legal-doc .legal-list li::marker,
#ryp-legal-terms .legal-doc .legal-list li::marker { color: var(--ryp-red); }
#ryp-legal-privacy .legal-doc .legal-list li,
#ryp-legal-terms .legal-doc .legal-list li { margin-bottom: .625rem; }
#ryp-legal-privacy .legal-doc .legal-list strong,
#ryp-legal-terms .legal-doc .legal-list strong { color: var(--ryp-ink); }

#ryp-legal-privacy .legal-doc .legal-seealso,
#ryp-legal-terms .legal-doc .legal-seealso {
    border-top: 2px solid var(--ryp-red);
    padding-top: 1.125rem;
}

/* ---------------------------------------------------------------------------
   THE CONTENTS RAIL
   --------------------------------------------------------------------------- */
#ryp-legal-privacy .lg-toc,
#ryp-legal-terms .lg-toc {
    margin: 0 0 2rem;
    border-top: 2px solid var(--ryp-red);
}

#ryp-legal-privacy .lg-toc__summary,
#ryp-legal-terms .lg-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .875rem 0;
    cursor: pointer;
    list-style: none;
    font-family: "Figtree", system-ui, sans-serif;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ryp-ink);
}
#ryp-legal-privacy .lg-toc__summary::-webkit-details-marker,
#ryp-legal-terms .lg-toc__summary::-webkit-details-marker { display: none; }
/* A chevron drawn in CSS rather than fetched: one element, no request, and it
   turns with the disclosure state. */
#ryp-legal-privacy .lg-toc__summary::after,
#ryp-legal-terms .lg-toc__summary::after {
    content: "";
    width: .5rem;
    height: .5rem;
    border-right: 1.5px solid var(--ryp-red-ink);
    border-bottom: 1.5px solid var(--ryp-red-ink);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease;
}
#ryp-legal-privacy .lg-toc[open] .lg-toc__summary::after,
#ryp-legal-terms .lg-toc[open] .lg-toc__summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

#ryp-legal-privacy .lg-toc__list,
#ryp-legal-terms .lg-toc__list {
    margin: 0 0 .75rem;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
#ryp-legal-privacy .lg-toc__list a,
#ryp-legal-terms .lg-toc__list a {
    display: grid;
    grid-template-columns: 1.625rem minmax(0, 1fr);
    align-items: baseline;
    padding: .375rem 0;
    color: var(--ryp-ink-soft);
    font-size: .8125rem;
    line-height: 1.4;
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: .625rem;
    transition: color .18s ease, border-color .18s ease;
}
#ryp-legal-privacy .lg-toc__num,
#ryp-legal-terms .lg-toc__num {
    font-weight: 700;
    font-size: .75rem;
    color: var(--ryp-red-ink);
}
#ryp-legal-privacy .lg-toc__list a:hover,
#ryp-legal-terms .lg-toc__list a:hover,
#ryp-legal-privacy .lg-toc__list a:focus-visible,
#ryp-legal-terms .lg-toc__list a:focus-visible { color: var(--ryp-ink); }

/* Set by static/js/site.js as you read. It is a marker, never the only way to
   tell where you are -- the heading itself is still on the screen. */
#ryp-legal-privacy .lg-toc__list a.is-current,
#ryp-legal-terms .lg-toc__list a.is-current {
    border-left-color: var(--ryp-red);
    color: var(--ryp-ink);
    font-weight: 600;
}

/* ---------------------------------------------------------------------------
   THE TWO-COLUMN GRID — wide screens only
   --------------------------------------------------------------------------- */
@media (min-width: 62rem) {
    #ryp-legal-privacy .col-lg-12,
    #ryp-legal-terms .col-lg-12 {
        display: grid;
        grid-template-columns: minmax(0, var(--lg-rail)) minmax(0, 1fr);
        column-gap: var(--lg-gap);
        align-items: start;
    }
    /* One row, two cells — so the rail's grid area is as tall as the whole
       document, which is what `sticky` moves within. */
    #ryp-legal-privacy .lg-toc,
    #ryp-legal-terms .lg-toc {
        position: sticky;
        top: 6.5rem;
        max-height: calc(100vh - 9rem);
        overflow-y: auto;
        margin-bottom: 0;
    }
    /* Open on a wide screen and not a disclosure any more: the summary stays
       as the rail's label, but there is nothing to disclose. */
    #ryp-legal-privacy .lg-toc__summary,
    #ryp-legal-terms .lg-toc__summary { cursor: default; }
    #ryp-legal-privacy .lg-toc__summary::after,
    #ryp-legal-terms .lg-toc__summary::after { display: none; }
}

/* ---------------------------------------------------------------------------
   PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    #ryp-legal-privacy .legal-doc > p,
    #ryp-legal-terms .legal-doc > p,
    #ryp-legal-privacy .legal-doc .legal-list,
    #ryp-legal-terms .legal-doc .legal-list,
    #ryp-legal-privacy .legal-doc .legal-intro,
    #ryp-legal-terms .legal-doc .legal-intro,
    #ryp-legal-privacy .legal-doc h2.small-heading,
    #ryp-legal-terms .legal-doc h2.small-heading,
    #ryp-legal-privacy .legal-doc .legal-seealso,
    #ryp-legal-terms .legal-doc .legal-seealso { max-width: none; }

    #ryp-legal-privacy .legal-doc h2.small-heading,
    #ryp-legal-terms .legal-doc h2.small-heading { margin-top: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    #ryp-legal-privacy .lg-toc__summary::after,
    #ryp-legal-terms .lg-toc__summary::after,
    #ryp-legal-privacy .lg-toc__list a,
    #ryp-legal-terms .lg-toc__list a { transition: none; }
}

/* ---------------------------------------------------------------------------
   THE MASTHEAD SHARES THE DOCUMENT'S SHAPE
   ---------------------------------------------------------------------------
   The document stops at the rail plus a 46ch measure -- about 930px inside a
   1296px container. Left to run the full width, the standfirst above it ended
   a long way past where every line beneath it ends, and the two read as
   separate pieces. Capped, the page has one right-hand edge.
   --------------------------------------------------------------------------- */
#ryp-legal-privacy .heading-wrapper > p.text-center,
#ryp-legal-terms .heading-wrapper > p.text-center { max-width: 62ch; }

/* ---------------------------------------------------------------------------
   TOUCH TARGETS
   ---------------------------------------------------------------------------
   Measured at 375px with touch emulation on: the rail's links came out 32px
   tall. They are a navigation control, so they get the 44px the rest of the
   site uses. This sheet loads after static/css/mobile-touch.css, which is why
   the rule lives here rather than there.

   The links INSIDE the policies are left alone on purpose. They sit in the
   middle of sentences, and growing them would open gaps in the lines; WCAG
   2.5.5 excepts a link whose target is inline in a block of text for exactly
   that reason.
   --------------------------------------------------------------------------- */
@media (pointer: coarse) {
    #ryp-legal-privacy .lg-toc__list a,
    #ryp-legal-terms .lg-toc__list a {
        min-height: 44px;
        align-content: center;
    }
    #ryp-legal-privacy .lg-toc__summary,
    #ryp-legal-terms .lg-toc__summary { min-height: 44px; }
}

/* ===========================================================================
   THE THIRD COLUMN, AND THE CLOSING BAND
   ---------------------------------------------------------------------------
   Owner, 16 Nov 2026: "privacy-policy, terms-and-conditions page ko full size
   main kar do and perfect design ho esa karo, sections bhi add karo."

   MEASURED at 1440 before touching anything:
     .container   60..1380   1320 wide
     the grid     15rem rail + 1fr        -> document column 997 wide
     a paragraph  371..755   383 wide     (46ch, the reading measure)
   So the document column was 997px holding a 383px line, and the right 614px
   of the page was empty. That is the "full size" complaint: not that the
   lines are too short — 46ch is ~72 characters here and that is right for a
   long document — but that nothing was using the space they left.

   So the page becomes three columns from 75rem: contents rail, document at
   its measure, and a new rail that carries the things a reader actually wants
   beside a policy — who holds this, where they are, when it last changed, and
   how to reach a person. Below 75rem the new rail drops under the document
   and reads as two more blocks; below 62rem everything is one column, as it
   already was.

   NOTHING IN THE NEW RAIL IS NEW POLICY. Every line in it is already printed
   in the document beside it — the controller and address from section 1, the
   e-mail and phone from the contact section, the date from the "Last updated"
   line. The jump list only points at headings that already exist. A legal
   page is the last place to paraphrase, so nothing here is paraphrased.
   =========================================================================== */

#ryp-legal-privacy,
#ryp-legal-terms { --lg-aside: 17rem; }

/* -- the rail itself ----------------------------------------------------- */
#ryp-legal-privacy .lg-aside,
#ryp-legal-terms .lg-aside {
    display: grid;
    gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    align-content: start;
    font-size: .875rem;
    line-height: 1.6;
}

#ryp-legal-privacy .lg-card,
#ryp-legal-terms .lg-card {
    padding-top: .875rem;
    border-top: 2px solid var(--ryp-red);
}
#ryp-legal-privacy .lg-card__label,
#ryp-legal-terms .lg-card__label {
    margin: 0 0 .75rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ryp-red-ink);
}

/* -- the facts: a label above its value, ruled apart --------------------- */
#ryp-legal-privacy .lg-facts,
#ryp-legal-terms .lg-facts { margin: 0; }
#ryp-legal-privacy .lg-facts dt,
#ryp-legal-terms .lg-facts dt {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ryp-ink-soft);
}
#ryp-legal-privacy .lg-facts dd,
#ryp-legal-terms .lg-facts dd {
    margin: .1875rem 0 0;
    padding-bottom: .75rem;
    color: var(--ryp-ink);
}
#ryp-legal-privacy .lg-facts dd + dt,
#ryp-legal-terms .lg-facts dd + dt {
    padding-top: .75rem;
    border-top: 1px solid rgba(26, 26, 26, .14);
}
#ryp-legal-privacy .lg-facts dd:last-child,
#ryp-legal-terms .lg-facts dd:last-child { padding-bottom: 0; }

/* -- the jump list: the same ruled entries the rest of the site uses ------ */
#ryp-legal-privacy .lg-jump,
#ryp-legal-terms .lg-jump { margin: 0; padding: 0; list-style: none; }
#ryp-legal-privacy .lg-jump li + li,
#ryp-legal-terms .lg-jump li + li { border-top: 1px solid rgba(26, 26, 26, .14); }
#ryp-legal-privacy .lg-jump a,
#ryp-legal-terms .lg-jump a {
    display: block;
    padding: .5rem 0;
    color: var(--ryp-ink);
    text-decoration: none;
}
#ryp-legal-privacy .lg-jump a:hover,
#ryp-legal-terms .lg-jump a:hover { color: var(--ryp-red-ink); }
#ryp-legal-privacy .lg-jump a:focus-visible,
#ryp-legal-terms .lg-jump a:focus-visible { outline: 2px solid var(--ryp-red); outline-offset: 2px; }

/* -- reach us ------------------------------------------------------------ */
#ryp-legal-privacy .lg-reach__line,
#ryp-legal-terms .lg-reach__line { margin: 0 0 .625rem; color: var(--ryp-ink-soft); }
#ryp-legal-privacy .lg-reach,
#ryp-legal-terms .lg-reach { margin: 0; padding: 0; list-style: none; }
#ryp-legal-privacy .lg-reach li,
#ryp-legal-terms .lg-reach li { padding: .25rem 0; }
#ryp-legal-privacy .lg-reach a,
#ryp-legal-terms .lg-reach a { color: var(--ryp-red-ink); }
#ryp-legal-privacy .lg-reach__also,
#ryp-legal-terms .lg-reach__also {
    margin: .75rem 0 0;
    padding-top: .75rem;
    border-top: 1px solid rgba(26, 26, 26, .14);
}

/* -- the closing band ---------------------------------------------------
   A sibling of the grid, inside the container, so it runs the full width
   under all three columns. .row is flex, hence the explicit 100%. ------- */
#ryp-legal-privacy .lg-closing,
#ryp-legal-terms .lg-closing {
    width: 100%;
    margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
    padding-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    border-top: 2px solid var(--ryp-red);
}
#ryp-legal-privacy .lg-closing__inner,
#ryp-legal-terms .lg-closing__inner { max-width: 60ch; }
#ryp-legal-privacy .lg-closing__kicker,
#ryp-legal-terms .lg-closing__kicker {
    margin: 0 0 .375rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ryp-red-ink);
}
#ryp-legal-privacy .lg-closing__title,
#ryp-legal-terms .lg-closing__title {
    margin: 0 0 .625rem;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.375rem, 1.2rem + .9vw, 2rem);
    line-height: 1.2;
    color: var(--ryp-ink);
}
#ryp-legal-privacy .lg-closing__text,
#ryp-legal-terms .lg-closing__text { margin: 0; color: var(--ryp-ink-soft); }
#ryp-legal-privacy .lg-closing__actions,
#ryp-legal-terms .lg-closing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
#ryp-legal-privacy .lg-btn,
#ryp-legal-terms .lg-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1.375rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9375rem;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
#ryp-legal-privacy .lg-btn--primary,
#ryp-legal-terms .lg-btn--primary {
    background: var(--ryp-red);
    border: 1px solid var(--ryp-red);
    color: #fff;
}
#ryp-legal-privacy .lg-btn--primary:hover,
#ryp-legal-terms .lg-btn--primary:hover { background: var(--ryp-red-deep); border-color: var(--ryp-red-deep); }
#ryp-legal-privacy .lg-btn--ghost,
#ryp-legal-terms .lg-btn--ghost {
    background: transparent;
    border: 1px solid var(--ryp-red);
    color: var(--ryp-red-ink);
}
#ryp-legal-privacy .lg-btn--ghost:hover,
#ryp-legal-terms .lg-btn--ghost:hover { background: var(--ryp-red); color: #fff; }
#ryp-legal-privacy .lg-btn:focus-visible,
#ryp-legal-terms .lg-btn:focus-visible { outline: 2px solid var(--ryp-red); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    #ryp-legal-privacy .lg-btn,
    #ryp-legal-terms .lg-btn { transition: none; }
}

/* -- THE THREE-COLUMN COMPOSITION ---------------------------------------
   Only from 75rem. Between 62 and 75 the page keeps its two columns and the
   new rail sits under the document, where it still reads in order. -------- */
@media (min-width: 75rem) {
    #ryp-legal-privacy .col-lg-12,
    #ryp-legal-terms .col-lg-12 {
        grid-template-columns:
            minmax(0, var(--lg-rail))
            minmax(0, 1fr)
            minmax(0, var(--lg-aside));
    }
    /* sticky needs its own grid AREA to move inside, not a parent box — so
       the rail is a sibling in a one-row grid, like .lg-toc already is. */
    #ryp-legal-privacy .lg-aside,
    #ryp-legal-terms .lg-aside {
        position: sticky;
        top: 6.5rem;
        grid-column: 3;
        grid-row: 1;
    }
    #ryp-legal-privacy .legal-doc,
    #ryp-legal-terms .legal-doc { grid-column: 2; grid-row: 1; }
    #ryp-legal-privacy .lg-toc,
    #ryp-legal-terms .lg-toc { grid-column: 1; grid-row: 1; }
    /* the band spans everything, under the three columns */
    #ryp-legal-privacy .lg-closing,
    #ryp-legal-terms .lg-closing { grid-column: 1 / -1; }
}

@media (max-width: 74.99rem) {
    #ryp-legal-privacy .lg-aside,
    #ryp-legal-terms .lg-aside {
        margin-top: clamp(2rem, 1.6rem + 1.6vw, 3rem);
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    }
}
