/* Brand colours: #000e1e  #0054b5  #e5f2ff  #002370 */
* {
    box-sizing: border-box;
}
.ds {
    font-size: 17px;
    line-height: 1.65;
    color: #000e1e;
}
.ds h2,
.ds h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.01em;
}
.ds h2 {
    font-size: 35px;
    font-weight: 700;
}
.ds h3 {
    font-size: 22px;
    font-weight: 700;
}
.ds p {
    margin: 0;
}
.ds .wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}
.ds section {
    padding: 50px 20px;
}
.ds .lede {
    margin-top: 18px;
    font-size: 18px;
}
.ds .dark {
    background: #000e1e;
    color: #e5f2ff;
}
.ds .deep {
    background: #002370;
    color: #e5f2ff;
}
.ds .light {
    background: #e5f2ff;
}
.ds .plain {
    background: #fff;
}
.ds .btn {
    display: inline-block;
    background: #0054b5;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 6px;
    border: 2px solid #0054b5;
    transition:
        background 0.2s,
        color 0.2s;
}
.ds .btn:hover {
    background: #fff;
    color: #0054b5;
}
.ds a:focus-visible,
.ds button:focus-visible,
.ds summary:focus-visible {
    outline: 3px solid #e5f2ff;
    outline-offset: 3px;
}
.ds .light a:focus-visible,
.ds .light summary:focus-visible,
.ds .plain summary:focus-visible {
    outline-color: #0054b5;
}

/* 1 Locations: list + detail panel */
.loc {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 0;
    margin-top: 48px;
    border: 1px solid rgba(229, 242, 255, 0.18);
    border-radius: 10px;
    overflow: hidden;
}
.loc-list {
    display: flex;
    flex-direction: column;
    background: rgba(229, 242, 255, 0.04);
}
.loc-list button {
    all: unset;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    font-size: 24px;
    font-weight: 500;
    border-bottom: 1px solid rgba(229, 242, 255, 0.12);
    transition: background 0.2s;
}
.loc-list button:last-child {
    border-bottom: 0;
}
.loc-list button small {
    font-size: 14px;
    opacity: 0.65;
}
.loc-list button:hover {
    background: rgba(0, 84, 181, 0.35);
}
.loc-list button[aria-selected="true"] {
    background: #0054b5;
    color: #fff;
}
.loc-list button[aria-selected="true"] small {
    opacity: 0.9;
}
.loc-list button:focus-visible {
    outline: 3px solid #e5f2ff;
    outline-offset: -3px;
}
.loc-panels {
    background: #002370;
    display: flex;
}
.loc-panel[hidden] {
    display: none;
}
.loc-panel {
    flex: 1;
    padding: clamp(28px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-height: 340px;
}
.loc-panel h3 {
    font-size: clamp(28px, 3.4vw, 40px);
}
.loc-panel .btn {
    align-self: flex-start;
    margin-top: 10px;
}

/* 2 Workloads: definition rows */
.spain-rows {
    margin: 48px 0 0;
    border-top: 2px solid #000e1e;
    display: block;
}
.spain-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) 1.6fr;
    gap: 12px 48px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 14, 30, 0.2);
}

/* 3 Network */
.speeds {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.speeds button {
    all: unset;
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid #e5f2ff;
    font-weight: 600;
    transition:
        background 0.2s,
        color 0.2s;
}
.speeds button:hover {
    background: rgba(229, 242, 255, 0.15);
}
.speeds button[aria-pressed="true"] {
    background: #e5f2ff;
    color: #002370;
}
.speeds button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.meter {
    margin-top: 26px;
    height: 14px;
    background: rgba(229, 242, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
}
.meter i {
    display: block;
    height: 100%;
    width: 10%;
    background: #e5f2ff;
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.meter-note {
    margin-top: 12px !important;
    font-size: 15px;
    opacity: 0.85;
}
.checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0 0;
}
.checks h3 {
    font-size: 20px;
    margin-bottom: 6px;
}
.fine {
    margin-top: 40px !important;
    padding: 18px 22px;
    border-left: 4px solid #e5f2ff;
    background: rgba(0, 14, 30, 0.35);
}

/* 4 Why */
.why {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.why .copy{
    display: flex;
    flex-direction: column;
}
.why .copy p + p {
    margin-top: 16px;
}
.why ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.why li {
    padding: 20px 0 20px 26px;
    border-bottom: 1px solid rgba(0, 84, 181, 0.25);
    position: relative;
}
.why li:first-child {
    padding-top: 0;
}
.why li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0054b5;
}
.why li:first-child::before {
    top: 10px;
}
.why li strong {
    font-size: 19px;
    display: block;
}

/* 5 Features */
.feat {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border: 1px solid rgba(229, 242, 255, 0.18);
}
.feat div {
    padding: 30px 26px;
    border-right: 1px solid rgba(229, 242, 255, 0.18);
    border-bottom: 1px solid rgba(229, 242, 255, 0.18);
    margin: 0 -1px -1px 0;
}
.feat h3 {
    font-size: 19px;
    margin-bottom: 8px;
}
.feat p {
    font-size: 15.5px;
    opacity: 0.88;
}
.disclaimer {
    margin-top: 28px !important;
    font-size: 15px;
    opacity: 0.8;
}

/* 6 FAQ */
.faq {
    margin-top: 44px;
    max-width: 860px;
}
.faq details {
    border-bottom: 1px solid rgba(0, 14, 30, 0.2);
}
.faq details:first-child {
    border-top: 2px solid #000e1e;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    font-size: 20px;
    font-weight: 500;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: "+";
    font-size: 28px;
    line-height: 1;
    color: #0054b5;
    transition: transform 0.25s;
}
.faq details[open] summary::after {
    transform: rotate(45deg);
}
.faq details p {
    padding: 0 48px 26px 0;
    max-width: 70ch;
}

@media (max-width: 900px) {
    .loc,
    .why,
    .spain-row {
        grid-template-columns: 1fr;
    }
    .loc-list button {
        font-size: 20px;
        padding: 18px 20px;
    }
    .feat {
        grid-template-columns: repeat(2, 1fr);
    }
    .checks {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 520px) {
    .feat {
        grid-template-columns: 1fr;
    }
    .ds {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ds * {
        transition: none !important;
    }
}
