
/* =========================================
   GLOBAL ROYAL LOGISTICS
   HOW IT WORKS PAGE
========================================= */

.grl-how-page {
    --grl-how-navy: #071a35;
    --grl-how-navy-light: #102b50;
    --grl-how-orange: #ff8b36;
    --grl-how-orange-dark: #ed7621;
    --grl-how-white: #ffffff;
    --grl-how-light: #f5f7fb;
    --grl-how-text: #536176;
    --grl-how-heading: #10213c;
    --grl-how-border: #e4e9f0;

    width: 100%;
    max-width: 100%;
    margin: 0;
    color: var(--grl-how-text);
    background: var(--grl-how-white);
    font-family: "DM Sans", sans-serif;
    overflow-x: clip;
}

.grl-how-page *,
.grl-how-page *::before,
.grl-how-page *::after {
    box-sizing: border-box;
}

.grl-how-page img,
.grl-how-page svg {
    display: block;
    max-width: 100%;
}

.grl-how-page a {
    text-decoration: none;
}

.grl-how-page h1,
.grl-how-page h2,
.grl-how-page h3,
.grl-how-page h4 {
    color: var(--grl-how-heading);
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    overflow-wrap: break-word;
}

.grl-how-page p {
    overflow-wrap: break-word;
}

.grl-how-page section,
.grl-how-page header,
.grl-how-page footer {
    position: relative;
    max-width: 100%;
}

.grl-how-page .container {
    width: 100%;
    min-width: 0;
}


/* NAVIGATION */

.grl-how-navbar {
    position: relative;
    z-index: 1000;
    width: 100%;
    padding-block: 1rem;
    background: var(--grl-how-white);
    border-bottom: 1px solid rgba(228, 233, 240, 0.8);
}

.grl-how-brand,
.grl-how-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: var(--grl-how-navy);
}

.grl-how-brand img {
    width: clamp(2.6rem, 4vw, 3.2rem);
    height: auto;
    flex: 0 0 auto;
}

.grl-how-brand span,
.grl-how-footer-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.grl-how-brand strong {
    color: var(--grl-how-navy);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    font-weight: 800;
}

.grl-how-brand small,
.grl-how-footer-brand small {
    margin-top: 0.25rem;
    color: var(--grl-how-orange-dark);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.grl-how-navbar .navbar-nav {
    gap: 0.25rem;
}

.grl-how-navbar .nav-link {
    padding: 0.65rem 0.75rem;
    color: var(--grl-how-navy);
    font-size: 0.91rem;
    font-weight: 600;
    transition: color 220ms ease;
}

.grl-how-navbar .nav-link:hover,
.grl-how-navbar .nav-link.active {
    color: var(--grl-how-orange-dark);
}

.grl-how-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    border: 0;
    border-radius: 0.65rem;
    background: var(--grl-how-orange);
    color: var(--grl-how-navy);
    font-weight: 800;
    transition: transform 220ms ease, background 220ms ease;
}

.grl-how-nav-button:hover {
    color: var(--grl-how-navy);
    background: var(--grl-how-orange-dark);
    transform: translateY(-2px);
}

.grl-how-toggler {
    border-color: var(--grl-how-border);
    box-shadow: none !important;
}

.grl-how-toggler:focus-visible,
.grl-how-page a:focus-visible,
.grl-how-page button:focus-visible {
    outline: 3px solid rgba(255, 139, 54, 0.55);
    outline-offset: 3px;
}


/* HERO */

.grl-how-hero {
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(4rem, 8vw, 7.5rem);
    background:
        radial-gradient(ellipse at 88% 16%, rgba(255, 139, 54, 0.13), transparent 35%),
        linear-gradient(135deg, #f7f9fc 0%, #ffffff 58%, #fff8f1 100%);
}

.grl-how-hero-pattern {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image: radial-gradient(#b9c7d8 0.8px, transparent 0.8px);
    background-size: 1.25rem 1.25rem;
    mask-image: linear-gradient(to right, transparent, black);
}

.grl-how-hero-container {
    position: relative;
    z-index: 1;
}

.grl-how-hero-content {
    max-width: 45rem;
}

.grl-how-eyebrow,
.grl-how-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--grl-how-orange-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.grl-how-eyebrow > span,
.grl-how-section-label > span {
    width: 1.8rem;
    height: 2px;
    flex: 0 0 auto;
    background: var(--grl-how-orange);
}

.grl-how-hero h1 {
    margin-block: 1.3rem;
    font-size: clamp(2.35rem, 5.2vw, 4.65rem);
    line-height: 1.12;
    letter-spacing: -0.055em;
}

.grl-how-hero h1 span,
.grl-how-intro-content h2 span,
.grl-how-section-heading h2 span,
.grl-how-journey-content h2 span,
.grl-how-faq-intro h2 span {
    display: block;
    color: var(--grl-how-orange-dark);
}

.grl-how-hero-content > p {
    max-width: 39rem;
    margin-bottom: 1.8rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.85;
}

.grl-how-hero-actions,
.grl-how-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.grl-how-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.3rem;
    border: 1px solid var(--grl-how-orange);
    border-radius: 0.7rem;
    background: var(--grl-how-orange);
    color: var(--grl-how-navy);
    font-weight: 800;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.grl-how-primary-btn:hover {
    border-color: var(--grl-how-orange-dark);
    background: var(--grl-how-orange-dark);
    color: var(--grl-how-navy);
    box-shadow: 0 0.7rem 1.8rem rgba(237, 118, 33, 0.2);
    transform: translateY(-3px);
}

.grl-how-text-link,
.grl-how-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--grl-how-navy);
    font-weight: 800;
    transition: color 200ms ease, gap 200ms ease;
}

.grl-how-text-link:hover,
.grl-how-inline-link:hover {
    gap: 0.5rem;
    color: var(--grl-how-orange-dark);
}

.grl-how-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    margin-top: 2rem;
}

.grl-how-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--grl-how-navy-light);
    font-size: 0.82rem;
    font-weight: 600;
}

.grl-how-hero-points i {
    color: var(--grl-how-orange-dark);
}


/* HERO VISUAL */

.grl-how-hero-visual {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 34rem;
    min-height: clamp(20rem, 38vw, 31rem);
    margin-inline: auto;
    place-items: center;
    isolation: isolate;
}

.grl-how-visual-glow {
    position: absolute;
    z-index: -2;
    width: 76%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 139, 54, 0.2), transparent 70%);
    filter: blur(0.3rem);
}

.grl-how-orbit {
    position: absolute;
    border: 1px solid rgba(16, 43, 80, 0.12);
    border-radius: 50%;
}

.grl-how-orbit-one {
    width: 64%;
    aspect-ratio: 1;
}

.grl-how-orbit-two {
    width: 88%;
    aspect-ratio: 1;
    border-style: dashed;
    animation: grlHowOrbit 38s linear infinite;
}

.grl-how-route-line {
    position: absolute;
    width: 73%;
    height: 48%;
    border: 2px dashed rgba(237, 118, 33, 0.55);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: rotate(-25deg);
}

.grl-how-route-dot {
    position: absolute;
    width: 0.8rem;
    aspect-ratio: 1;
    border: 3px solid var(--grl-how-white);
    border-radius: 50%;
    background: var(--grl-how-orange);
    box-shadow: 0 0 0 0.3rem rgba(255, 139, 54, 0.15);
}

.grl-how-route-dot-one {
    top: 0.5rem;
    left: 17%;
}

.grl-how-route-dot-two {
    top: 35%;
    right: -0.25rem;
}

.grl-how-route-dot-three {
    bottom: -0.25rem;
    left: 34%;
}

.grl-how-parcel-icon {
    display: grid;
    width: clamp(6.5rem, 14vw, 10rem);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 139, 54, 0.35);
    border-radius: 2.2rem;
    background: linear-gradient(145deg, var(--grl-how-white), #fff2e5);
    box-shadow: 0 1.5rem 4rem rgba(7, 26, 53, 0.12);
    color: var(--grl-how-orange-dark);
    font-size: clamp(3rem, 7vw, 5.2rem);
    animation: grlHowFloat 5s ease-in-out infinite;
}

.grl-how-floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: calc(100% - 1rem);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(228, 233, 240, 0.9);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1rem 2.5rem rgba(7, 26, 53, 0.1);
    animation: grlHowFloat 6s ease-in-out infinite;
}

.grl-how-floating-top {
    top: 8%;
    right: 0;
}

.grl-how-floating-bottom {
    bottom: 13%;
    left: 0;
    animation-delay: -2.5s;
}

.grl-how-floating-icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.8rem;
    background: #fff0e2;
    color: var(--grl-how-orange-dark);
    font-size: 1.25rem;
}

.grl-how-floating-card > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.grl-how-floating-card strong {
    color: var(--grl-how-navy);
    font-size: 0.82rem;
}

.grl-how-floating-card small {
    margin-top: 0.2rem;
    color: var(--grl-how-text);
    font-size: 0.72rem;
}

.grl-how-visual-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--grl-how-navy-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.grl-how-visual-caption i {
    color: var(--grl-how-orange-dark);
    font-size: 1.1rem;
}

.grl-how-hero-bottom {
    position: absolute;
    right: -5%;
    bottom: -5rem;
    left: -5%;
    height: 7rem;
    border-radius: 50% 50% 0 0;
    background: var(--grl-how-white);
}


/* SHARED SECTION HEADINGS */

.grl-how-section-heading {
    max-width: 48rem;
    margin-inline: auto;
}

.grl-how-section-heading h2,
.grl-how-intro-content h2,
.grl-how-journey-content h2,
.grl-how-faq-intro h2 {
    margin-block: 1rem;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.grl-how-section-heading > p {
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.8;
}


/* INTRODUCTION */

.grl-how-intro-section {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--grl-how-white);
}

.grl-how-intro-visual {
    position: relative;
    min-width: 0;
    padding: 0 1.2rem 1.4rem 0;
}

.grl-how-intro-visual > img {
    width: 100%;
    height: clamp(19rem, 40vw, 32rem);
    border-radius: 1.5rem;
    object-fit: cover;
}

.grl-how-image-overlay {
    position: absolute;
    inset: 0 1.2rem 1.4rem 0;
    border-radius: 1.5rem;
    background: linear-gradient(to top, rgba(7, 26, 53, 0.8), transparent 60%);
    pointer-events: none;
}

.grl-how-image-label {
    position: absolute;
    right: 2.2rem;
    bottom: 3rem;
    left: 1.6rem;
    color: var(--grl-how-white);
}

.grl-how-image-label > span {
    color: #ffd4ae;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.grl-how-image-label h3 {
    max-width: 25rem;
    margin-top: 0.5rem;
    color: var(--grl-how-white);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.grl-how-image-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: calc(100% - 1rem);
    padding: 1rem;
    border: 1px solid var(--grl-how-border);
    border-radius: 1rem;
    background: var(--grl-how-white);
    box-shadow: 0 1rem 2.5rem rgba(7, 26, 53, 0.12);
}

.grl-how-image-badge > i {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.8rem;
    background: #fff0e2;
    color: var(--grl-how-orange-dark);
    font-size: 1.3rem;
}

.grl-how-image-badge > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.grl-how-image-badge strong {
    color: var(--grl-how-navy);
    font-size: 0.85rem;
}

.grl-how-image-badge span {
    margin-top: 0.2rem;
    font-size: 0.75rem;
}

.grl-how-intro-content > p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

.grl-how-inline-link {
    margin-top: 0.8rem;
    color: var(--grl-how-orange-dark);
}


/* FOUR STEPS */

.grl-how-steps-section {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--grl-how-light);
}

.grl-how-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.grl-how-step-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(1.2rem, 2.3vw, 1.8rem);
    border: 1px solid var(--grl-how-border);
    border-radius: 1.2rem;
    background: var(--grl-how-white);
    box-shadow: 0 0.4rem 1.8rem rgba(7, 26, 53, 0.035);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.grl-how-step-card:hover {
    transform: translateY(-0.5rem);
    border-color: rgba(255, 139, 54, 0.55);
    box-shadow: 0 1.2rem 2.5rem rgba(7, 26, 53, 0.09);
}

.grl-how-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.grl-how-step-number {
    color: #c4ccd8;
    font-family: "Manrope", sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

.grl-how-step-icon {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 1rem;
    background: #fff0e2;
    color: var(--grl-how-orange-dark);
    font-size: 1.55rem;
    transition: transform 260ms ease, background 260ms ease;
}

.grl-how-step-card:hover .grl-how-step-icon {
    transform: rotate(-6deg) scale(1.05);
    background: #ffe2c7;
}

.grl-how-step-tag {
    color: var(--grl-how-orange-dark);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.grl-how-step-card h3 {
    margin-block: 0.65rem;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.4;
}

.grl-how-step-card > p {
    flex: 1;
    margin-bottom: 1.4rem;
    font-size: 0.91rem;
    line-height: 1.8;
}

.grl-how-step-bottom {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--grl-how-border);
    color: var(--grl-how-navy-light);
    font-size: 0.78rem;
    font-weight: 700;
}

.grl-how-step-bottom i {
    flex: 0 0 auto;
    color: var(--grl-how-orange-dark);
    font-size: 1rem;
}


/* JOURNEY TIMELINE */

.grl-how-journey-section {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--grl-how-white);
}

.grl-how-journey-content > p,
.grl-how-faq-intro > p {
    margin-bottom: 1.7rem;
    line-height: 1.9;
}

.grl-how-timeline {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--grl-how-border);
    border-radius: 1.4rem;
    background: var(--grl-how-light);
}

.grl-how-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    padding-bottom: 1.6rem;
}

.grl-how-timeline-item:not(:nth-last-of-type(2))::before {
    position: absolute;
    top: 3.1rem;
    bottom: 0;
    left: 1.45rem;
    width: 2px;
    background: #e0e6ee;
    content: "";
}

.grl-how-timeline-item:last-of-type {
    padding-bottom: 0;
}

.grl-how-timeline-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 139, 54, 0.3);
    border-radius: 0.9rem;
    background: var(--grl-how-white);
    color: var(--grl-how-orange-dark);
    font-size: 1.25rem;
}

.grl-how-timeline-copy {
    min-width: 0;
    padding-top: 0.15rem;
}

.grl-how-timeline-copy > span {
    color: var(--grl-how-orange-dark);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.grl-how-timeline-copy h3 {
    margin-block: 0.35rem;
    font-size: 1.02rem;
}

.grl-how-timeline-copy p {
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.7;
}

.grl-how-timeline-status {
    padding: 0.4rem 0.55rem;
    border-radius: 99rem;
    background: #fff0e2;
    color: var(--grl-how-orange-dark);
    font-size: 0.65rem;
    font-weight: 800;
    white-space: nowrap;
}

.grl-how-timeline-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1.6rem 0 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--grl-how-border);
    font-size: 0.78rem;
    line-height: 1.7;
}

.grl-how-timeline-note i {
    flex: 0 0 auto;
    color: var(--grl-how-orange-dark);
}


/* TRACKING GUIDE */

.grl-how-guide-section {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--grl-how-light);
}

.grl-how-guide-card {
    position: relative;
    height: 100%;
    min-width: 0;
    padding: clamp(1.4rem, 3vw, 2.5rem);
    border: 1px solid var(--grl-how-border);
    border-radius: 1.35rem;
    overflow: hidden;
}

.grl-how-guide-dark {
    background: var(--grl-how-navy);
    color: #dbe4f1;
}

.grl-how-guide-dark h3 {
    max-width: 23rem;
    margin-block: 0.9rem;
    color: var(--grl-how-white);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.3;
}

.grl-how-guide-dark > p {
    max-width: 30rem;
    line-height: 1.8;
}

.grl-how-guide-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: 1rem;
    background: rgba(255, 139, 54, 0.16);
    color: var(--grl-how-orange);
    font-size: 1.7rem;
}

.grl-how-guide-kicker {
    display: block;
    margin-top: 1.4rem;
    color: var(--grl-how-orange);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.grl-how-guide-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin-top: 0.8rem;
    padding: 0.9rem 1.15rem;
    border-radius: 0.7rem;
    background: var(--grl-how-orange);
    color: var(--grl-how-navy);
    font-weight: 800;
}

.grl-how-guide-button:hover {
    background: #ffb16f;
    color: var(--grl-how-navy);
}

.grl-how-guide-decoration {
    position: absolute;
    right: -1.5rem;
    bottom: -3rem;
    color: rgba(255, 255, 255, 0.055);
    font-size: clamp(8rem, 18vw, 14rem);
    transform: rotate(-15deg);
    pointer-events: none;
}

.grl-how-guide-light {
    background: var(--grl-how-white);
}

.grl-how-guide-light-title {
    margin-bottom: 1.3rem;
    font-size: 1.35rem;
}

.grl-how-tip-list {
    display: flex;
    flex-direction: column;
}

.grl-how-tip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.9rem;
    width: 100%;
    padding: 1.1rem 0;
    border: 0;
    border-bottom: 1px solid var(--grl-how-border);
    background: transparent;
    color: var(--grl-how-text);
    text-align: left;
}

.grl-how-tip:last-child {
    border-bottom: 0;
}

.grl-how-tip-symbol {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.8rem;
    background: #fff0e2;
    color: var(--grl-how-orange-dark);
    font-size: 1.15rem;
}

.grl-how-tip-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.5rem;
}

.grl-how-tip-content strong {
    color: var(--grl-how-navy);
    font-size: 0.95rem;
}

.grl-how-tip-content > span {
    font-size: 0.85rem;
    line-height: 1.75;
}

.grl-how-tip-toggle {
    padding-top: 0.4rem;
    color: var(--grl-how-orange-dark);
}


/* FAQ */

.grl-how-faq-section {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--grl-how-white);
}

.grl-how-accordion .accordion-item {
    margin-bottom: 0.8rem;
    border: 1px solid var(--grl-how-border);
    border-radius: 0.9rem;
    overflow: hidden;
    background: var(--grl-how-white);
}

.grl-how-accordion .accordion-button {
    gap: 0.8rem;
    padding: 1.25rem;
    color: var(--grl-how-navy);
    background: var(--grl-how-white);
    box-shadow: none;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
}

.grl-how-accordion .accordion-button:not(.collapsed) {
    color: var(--grl-how-orange-dark);
    background: #fffaf5;
}

.grl-how-accordion .accordion-button::after {
    flex: 0 0 auto;
    background-image: var(--bs-accordion-btn-icon);
}

.grl-how-accordion .accordion-body {
    padding: 0 1.25rem 1.35rem;
    color: var(--grl-how-text);
    font-size: 0.91rem;
    line-height: 1.85;
}


/* CALL TO ACTION */

.grl-how-cta-section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    background: var(--grl-how-white);
}

.grl-how-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
    padding: clamp(1.6rem, 5vw, 4rem);
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 139, 54, 0.18), transparent 35%),
        var(--grl-how-navy);
}

.grl-how-cta-content {
    position: relative;
    z-index: 2;
    max-width: 43rem;
    min-width: 0;
}

.grl-how-cta-label {
    color: var(--grl-how-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.grl-how-cta-content h2 {
    margin-block: 0.8rem;
    color: var(--grl-how-white);
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: 1.2;
}

.grl-how-cta-content p {
    max-width: 35rem;
    color: #d1dbea;
    line-height: 1.8;
}

.grl-how-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.2rem;
    border-radius: 0.7rem;
    background: var(--grl-how-orange);
    color: var(--grl-how-navy);
    font-weight: 800;
}

.grl-how-cta-primary:hover {
    background: #ffb16f;
    color: var(--grl-how-navy);
}

.grl-how-cta-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--grl-how-white);
    font-weight: 700;
}

.grl-how-cta-secondary:hover {
    color: var(--grl-how-orange);
}

.grl-how-cta-art {
    position: relative;
    display: grid;
    width: clamp(8rem, 19vw, 15rem);
    flex: 0 0 auto;
    aspect-ratio: 1;
    place-items: center;
    color: var(--grl-how-orange);
    font-size: clamp(3.5rem, 8vw, 6rem);
}

.grl-how-cta-art > i {
    position: relative;
    z-index: 1;
    animation: grlHowFloat 5s ease-in-out infinite;
}

.grl-how-cta-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 139, 54, 0.35);
    border-radius: 50%;
}

.grl-how-cta-ring-two {
    inset: 15%;
    border-style: dashed;
}


/* FOOTER */

.grl-how-footer {
    padding-top: clamp(3rem, 6vw, 5rem);
    background: #06152b;
    color: #c5cfde;
}

.grl-how-footer-brand {
    color: var(--grl-how-white);
}

.grl-how-footer-brand img {
    width: 3rem;
    height: auto;
    flex: 0 0 auto;
}

.grl-how-footer-brand span {
    color: var(--grl-how-white);
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.grl-how-footer-description {
    max-width: 23rem;
    margin-top: 1.3rem;
    font-size: 0.91rem;
    line-height: 1.85;
}

.grl-how-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.grl-how-social-links a {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border: 1px solid rgba(19, 230, 93, 0.15);
    border-radius: 0.8rem;
    color: var(--grl-how-white);
    transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.grl-how-social-links a:hover {
    transform: translateY(-3px);
    border-color: var(--grl-how-orange);
    background: var(--grl-how-orange);
    color: var(--grl-how-navy);
}

.grl-how-footer-heading {
    margin-bottom: 1.3rem;
    font-size: 1rem;
}

.grl-how-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.grl-how-footer-links a {
    color: #c5cfde;
    font-size: 0.88rem;
    transition: color 200ms ease;
}

.grl-how-footer-links a:hover {
    color: var(--grl-how-orange);
}

.grl-how-footer-contact {
    font-size: 0.88rem;
    line-height: 1.8;
}

.grl-how-footer-email {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    color: var(--grl-how-orange);
    font-size: 0.9rem;
    font-weight: 700;
}

.grl-how-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.grl-how-footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
}

.grl-how-back-top {
    display: inline-flex;
    align-items: center;
    color: var(--grl-how-orange-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.grl-how-back-top:hover {
    color: var(--grl-how-border);
}


/* REVEAL ANIMATIONS */

.grl-how-reveal {
    opacity: 1;
    transform: none;
}

.grl-how-motion-ready .grl-how-reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 650ms ease, transform 650ms ease;
}

.grl-how-motion-ready .grl-how-reveal.grl-how-visible {
    opacity: 1;
    transform: translateY(0);
}

.grl-how-steps-grid .grl-how-step-card:nth-child(2) {
    transition-delay: 80ms;
}

.grl-how-steps-grid .grl-how-step-card:nth-child(3) {
    transition-delay: 160ms;
}

.grl-how-steps-grid .grl-how-step-card:nth-child(4) {
    transition-delay: 240ms;
}

@keyframes grlHowFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.6rem);
    }
}

@keyframes grlHowOrbit {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .grl-how-navbar .navbar-collapse {
        padding-top: 1rem;
    }

    .grl-how-navbar .navbar-nav {
        align-items: stretch !important;
        padding-bottom: 0.5rem;
    }

    .grl-how-navbar .nav-link {
        padding: 0.8rem 0.3rem;
    }

    .grl-how-nav-button {
        width: fit-content;
        max-width: 100%;
    }

    .grl-how-hero {
        padding-block: 4.5rem 5.5rem;
    }

    .grl-how-hero-visual {
        max-width: 31rem;
    }

    .grl-how-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grl-how-cta-art {
        width: clamp(7rem, 17vw, 11rem);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .grl-how-hero {
        padding-block: 3.5rem 4.5rem;
    }

    .grl-how-hero h1 {
        font-size: clamp(2.15rem, 8vw, 3.25rem);
    }

    .grl-how-hero-content > p {
        font-size: 1rem;
    }

    .grl-how-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .grl-how-primary-btn {
        width: fit-content;
        max-width: 100%;
    }

    .grl-how-text-link {
        align-self: flex-start;
    }

    .grl-how-hero-points {
        flex-direction: column;
        align-items: flex-start;
    }

    .grl-how-hero-visual {
        min-height: 21rem;
    }

    .grl-how-floating-card {
        gap: 0.5rem;
        padding: 0.7rem;
    }

    .grl-how-floating-top {
        right: 0;
    }

    .grl-how-floating-bottom {
        left: 0;
    }

    .grl-how-floating-icon {
        width: 2.3rem;
        height: 2.3rem;
    }

    .grl-how-floating-card strong {
        font-size: 0.75rem;
    }

    .grl-how-floating-card small {
        font-size: 0.67rem;
    }

    .grl-how-visual-caption {
        font-size: 0.61rem;
        letter-spacing: 0.07em;
        text-align: center;
    }

    .grl-how-intro-visual {
        padding-right: 0.6rem;
    }

    .grl-how-intro-visual > img {
        height: 23rem;
    }

    .grl-how-image-overlay {
        right: 0.6rem;
    }

    .grl-how-image-label {
        right: 1.3rem;
        left: 1.2rem;
    }

    .grl-how-image-badge {
        right: 0;
        padding: 0.75rem;
    }

    .grl-how-steps-grid {
        gap: 1rem;
        margin-top: 2rem;
    }

    .grl-how-step-card {
        padding: 1.1rem;
    }

    .grl-how-step-top {
        margin-bottom: 1.5rem;
    }

    .grl-how-step-number {
        font-size: 1.7rem;
    }

    .grl-how-step-icon {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.3rem;
    }

    .grl-how-step-card h3 {
        font-size: 1.05rem;
    }

    .grl-how-step-card > p {
        font-size: 0.85rem;
    }

    .grl-how-timeline-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.8rem;
    }

    .grl-how-timeline-status {
        grid-column: 2;
        justify-self: start;
    }

    .grl-how-timeline-item:not(:nth-last-of-type(2))::before {
        left: 1.35rem;
    }

    .grl-how-cta-card {
        align-items: flex-start;
    }

    .grl-how-cta-art {
        position: absolute;
        right: -1.8rem;
        bottom: -1.5rem;
        width: 8rem;
        opacity: 0.35;
    }

    .grl-how-cta-content {
        width: 100%;
    }

    .grl-how-cta-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .grl-how-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 2.5rem;
    }
}


/* SMALL PHONES */

@media (max-width: 420px) {
    .grl-how-page .container {
        padding-inline: 1rem;
    }

    .grl-how-brand strong {
        font-size: 0.82rem;
    }

    .grl-how-brand small {
        font-size: 0.6rem;
    }

    .grl-how-hero h1 {
        font-size: clamp(2rem, 9vw, 2.55rem);
    }

    .grl-how-hero-visual {
        min-height: 18.5rem;
    }

    .grl-how-floating-card {
        max-width: 85%;
    }

    .grl-how-floating-top {
        top: 3%;
    }

    .grl-how-floating-bottom {
        bottom: 10%;
    }

    .grl-how-steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .grl-how-step-card {
        padding: 1.4rem;
    }

    .grl-how-step-top {
        margin-bottom: 1.2rem;
    }

    .grl-how-step-card h3 {
        font-size: 1.2rem;
    }

    .grl-how-step-card > p {
        font-size: 0.9rem;
    }

    .grl-how-timeline {
        padding: 1rem;
    }

    .grl-how-timeline-item {
        gap: 0.65rem;
    }

    .grl-how-timeline-icon {
        width: 2.7rem;
        height: 2.7rem;
    }

    .grl-how-timeline-item:not(:nth-last-of-type(2))::before {
        left: 1.2rem;
    }

    .grl-how-timeline-copy h3 {
        font-size: 0.95rem;
    }

    .grl-how-timeline-copy p {
        font-size: 0.82rem;
    }

    .grl-how-tip {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.65rem;
    }

    .grl-how-tip-symbol {
        width: 2.35rem;
        height: 2.35rem;
    }

    .grl-how-tip-content strong {
        font-size: 0.86rem;
    }

    .grl-how-accordion .accordion-button {
        padding: 1rem;
        font-size: 0.88rem;
    }

    .grl-how-accordion .accordion-body {
        padding: 0 1rem 1rem;
        font-size: 0.86rem;
    }

    .grl-how-cta-card {
        padding: 1.4rem;
    }

    .grl-how-footer-bottom p {
        line-height: 1.7;
    }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .grl-how-page *,
    .grl-how-page *::before,
    .grl-how-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .grl-how-motion-ready .grl-how-reveal {
        opacity: 1;
        transform: none;
    }
}



















/* =========================================
   OVERFLOW FIX — HOW IT WORKS PAGE
   Place at the VERY BOTTOM of the stylesheet
========================================= */

.grl-how-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.grl-how-page body,
.grl-how-page main,
.grl-how-page section,
.grl-how-page header,
.grl-how-page footer,
.grl-how-page .container,
.grl-how-page .row,
.grl-how-page [class*="col-"] {
    min-width: 0;
}

.grl-how-page img {
    max-width: 100%;
    height: auto;
}

/* Keep Bootstrap rows inside their containers */
.grl-how-page .row {
    --bs-gutter-x: 1.5rem;
}

/* Hero visual and floating cards */
.grl-how-hero-visual {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: clip;
}

.grl-how-floating-card {
    min-width: 0;
    max-width: calc(100% - 1rem);
}

.grl-how-floating-card > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Intro image and overlapping badge */
.grl-how-intro-visual {
    min-width: 0;
    max-width: 100%;
}

.grl-how-intro-visual > img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.grl-how-image-badge {
    max-width: calc(100% - 0.5rem);
}

/* Prevent long text from stretching the timeline */
.grl-how-timeline,
.grl-how-timeline-item,
.grl-how-timeline-copy,
.grl-how-guide-card,
.grl-how-tip-content,
.grl-how-faq-intro,
.grl-how-cta-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.grl-how-timeline-item {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
}

.grl-how-timeline-status {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Process cards */
.grl-how-steps-grid {
    width: 100%;
    min-width: 0;
}

.grl-how-step-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* CTA illustration must remain inside the CTA */
.grl-how-cta-card {
    min-width: 0;
    max-width: 100%;
}

.grl-how-cta-art {
    min-width: 0;
}

/* Long footer links and email addresses */
.grl-how-footer,
.grl-how-footer-bottom,
.grl-how-footer-description,
.grl-how-footer-email {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .grl-how-timeline-item {
        grid-template-columns: 3rem minmax(0, 1fr);
    }

    .grl-how-timeline-status {
        grid-column: 2;
        justify-self: start;
    }

    .grl-how-cta-art {
        position: absolute;
        right: 0;
        bottom: 0;
        max-width: 35%;
        pointer-events: none;
    }
}

@media (max-width: 575.98px) {
    .grl-how-page .container {
        padding-inline: 1rem;
    }

    .grl-how-page .row {
        --bs-gutter-x: 1rem;
    }

    .grl-how-hero-visual {
        min-height: 19rem;
    }

    .grl-how-floating-card {
        gap: 0.45rem;
        padding: 0.65rem;
    }

    .grl-how-floating-card strong {
        font-size: 0.72rem;
    }

    .grl-how-floating-card small {
        font-size: 0.65rem;
    }

    .grl-how-timeline-item {
        grid-template-columns: 2.7rem minmax(0, 1fr);
    }

    .grl-how-timeline-icon {
        width: 2.7rem;
        height: 2.7rem;
    }

    .grl-how-cta-card {
        padding: 1.25rem;
    }

    .grl-how-cta-art {
        opacity: 0.18;
    }
}
