/* ================================================================
   ROMEO
   British postal-inspired design system
   ================================================================ */

:root {
    --font-display: "Barlow", "Helvetica Neue", Helvetica, sans-serif;

    --romeo-red: #da202a;
    --romeo-red-dark: #b71921;
    --romeo-blue: #0079d2;
    --romeo-blue-dark: #005fa5;
    --romeo-green: #589f28;

    --romeo-ink: #2a2a2d;
    --romeo-grey: #6c6c6c;
    --romeo-light-grey: #dcdcde;
    --romeo-border: #dcdcde;

    --romeo-paper: #f5f5f5;
    --romeo-white: #ffffff;
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400.ttf") format("truetype");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-500.ttf") format("truetype");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600.ttf") format("truetype");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-700.ttf") format("truetype");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-800.ttf") format("truetype");
}


/* ================================================================
   BASE
   ================================================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--romeo-paper);

    color: var(--romeo-ink);

    font-family:
        "Barlow",
        "Helvetica Neue",
        Helvetica,
        sans-serif;

    line-height: 1.45;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p,
li {
    line-height: 1.6;
}

a {
    color: inherit;
}


/* ================================================================
   BRIDGING UTILITIES
   ================================================================ */

.text-royal {
    color: var(--romeo-red);
}

.text-ink {
    color: var(--romeo-ink);
}

.bg-paper {
    background: var(--romeo-paper);
}

.bg-ink {
    background: var(--romeo-ink);
}

.bg-royal {
    background: var(--romeo-red);
}

.border-royal {
    border-color: var(--romeo-red);
}

.focus\:border-royal:focus {
    border-color: var(--romeo-red);
}

.hover\:text-royal:hover {
    color: var(--romeo-red);
}

.shadow-card {
    box-shadow:
        0 2px 8px rgba(0, 0, 0, .05),
        0 14px 28px rgba(23, 32, 51, .05);
}

.shadow-postal {
    box-shadow:
        0 3px 10px rgba(0, 0, 0, .06),
        0 18px 42px rgba(0, 59, 112, .08);
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.mt-1 {
    margin-top: .25rem;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-3 {
    margin-top: .75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-7 {
    margin-top: 1.75rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-7 {
    margin-bottom: 1.75rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.ml-2 {
    margin-left: .5rem;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.h-2 {
    height: .5rem;
}

.h-3 {
    height: .75rem;
}

.h-8 {
    height: 2rem;
}

.h-full {
    height: 100%;
}

.w-2 {
    width: .5rem;
}

.w-3 {
    width: .75rem;
}

.w-8 {
    width: 2rem;
}

.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: .75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-x-8 {
    column-gap: 2rem;
}

.gap-y-5 {
    row-gap: 1.25rem;
}

.overflow-hidden {
    overflow: hidden;
}

.break-all {
    word-break: break-all;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border: 1px solid var(--romeo-border);
}

.border-2 {
    border-width: 2px;
    border-style: solid;
}

.border-t {
    border-top: 1px solid var(--romeo-border);
}

.border-l-2 {
    border-left: 2px solid var(--romeo-border);
}

.border-l-4 {
    border-left: 4px solid var(--romeo-border);
}

.border-slate-100 {
    border-color: #e8edf3;
}

.border-slate-200 {
    border-color: #d7dee7;
}

.border-emerald-500 {
    border-color: #10b981;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, .1);
}

.bg-white {
    background: var(--romeo-white);
}

.bg-white\/5 {
    background: rgba(255, 255, 255, .05);
}

.bg-slate-50 {
    background: #f8fafc;
}

.bg-slate-100 {
    background: #f1f5f9;
}

.bg-red-50 {
    background: #fef2f2;
}

.bg-emerald-500 {
    background: #10b981;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-mono {
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.text-xs {
    font-size: .75rem;
}

.text-sm {
    font-size: .875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-\[9px\] {
    font-size: 9px;
}

.text-\[10px\] {
    font-size: 10px;
}

.text-\[11px\] {
    font-size: 11px;
}

.leading-6 {
    line-height: 1.5rem;
}

.leading-8 {
    line-height: 2rem;
}

.leading-snug {
    line-height: 1.375;
}

.tracking-tight {
    letter-spacing: -.025em;
}

.tracking-widest {
    letter-spacing: .1em;
}

.tracking-\[\.15em\] {
    letter-spacing: .15em;
}

.tracking-\[\.18em\] {
    letter-spacing: .18em;
}

.text-white {
    color: var(--romeo-white);
}

.text-slate-400 {
    color: #94a3b8;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-900 {
    color: #0f172a;
}

.text-emerald-600 {
    color: #059669;
}

.text-red-300 {
    color: #fca5a5;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-7 {
    padding: 1.75rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pl-5 {
    padding-left: 1.25rem;
}

.pl-7 {
    padding-left: 1.75rem;
}

.pt-5 {
    padding-top: 1.25rem;
}

.pt-10 {
    padding-top: 2.5rem;
}

.px-3 {
    padding-right: .75rem;
    padding-left: .75rem;
}

.px-4 {
    padding-right: 1rem;
    padding-left: 1rem;
}

.px-5 {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    inset: 0;
}

.top-1 {
    top: .25rem;
}

.bottom-4 {
    bottom: 1rem;
}

.left-4 {
    left: 1rem;
}

[class~="-left-[34px]"] {
    left: -34px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

[class~="leading-[.95]"] {
    line-height: .95;
}

[class~="min-h-[350px]"] {
    min-height: 350px;
}

.shadow-md {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.hover\:underline:hover {
    text-decoration: underline;
}

.no-underline {
    text-decoration: none;
}


/* ================================================================
   TYPOGRAPHY
   ================================================================ */

.font-display {
    font-family: var(--font-display);
}

@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }

    .sm\:flex-1 {
        flex: 1 1 0%;
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:items-end {
        align-items: flex-end;
    }

    .sm\:justify-between {
        justify-content: space-between;
    }

    .sm\:justify-end {
        justify-content: flex-end;
    }

    .sm\:p-7 {
        padding: 1.75rem;
    }

    .sm\:p-8 {
        padding: 2rem;
    }

    .sm\:p-10 {
        padding: 2.5rem;
    }

    .sm\:px-8 {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .sm\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sm\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .sm\:pb-20 {
        padding-bottom: 5rem;
    }

    .sm\:pt-12 {
        padding-top: 3rem;
    }

    .sm\:text-3xl {
        font-size: 1.875rem;
    }

    .sm\:text-5xl {
        font-size: 3rem;
    }

    .sm\:text-7xl {
        font-size: 4.5rem;
    }

    .sm\:text-right {
        text-align: right;
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:items-center {
        align-items: center;
    }

    .md\:items-start {
        align-items: flex-start;
    }

    .md\:justify-between {
        justify-content: space-between;
    }

    .md\:max-w-md {
        max-width: 28rem;
    }

    .md\:text-right {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:items-center {
        align-items: center;
    }

    .lg\:justify-between {
        justify-content: space-between;
    }

    .lg\:border-l {
        border-left: 1px solid var(--romeo-border);
    }

    .lg\:border-t-0 {
        border-top: 0;
    }

    [class~="lg:grid-cols-[1.15fr_.85fr]"] {
        grid-template-columns: 1.15fr .85fr;
    }

    [class~="lg:grid-cols-[minmax(0,1fr)_320px]"] {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

h1,
h2,
h3,
h4 {
    letter-spacing: -0.025em;
    line-height: 1.05;
}


/* ================================================================
   POSTAL STRIPE
   ================================================================ */

.postal-stripe {
    display: none;
}


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

.site-header {
    background: var(--romeo-white);

    border-top: 8px solid var(--romeo-red);

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

.site-header__main {
    min-height: 88px;
}

.site-brand {
    min-width: 0;

    padding: 6px 0;
}

.site-brand__lockup {
    display: flex;

    flex-direction: column;
    gap: 2px;
}

.site-brand__wordmark {
    color: var(--romeo-ink);

    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    font-weight: 700;
    line-height: .95;
}

.site-brand__descriptor {
    color: var(--romeo-grey);

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

    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-logo {
    display: block;

    width: auto;
    height: 56px;

    flex-shrink: 0;
}

.site-header__meta {
    flex-shrink: 0;

    justify-content: flex-end;
}

.language-switcher {
    display: inline-flex;

    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.language-switcher__link,
.language-switcher__text {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    min-height: 40px;

    border: 1px solid var(--romeo-border);

    background: var(--romeo-white);

    text-decoration: none;
}

.language-switcher__link.is-active,
.language-switcher__text.is-active {
    border-color: var(--romeo-red);
    box-shadow: inset 0 0 0 1px var(--romeo-red);
}

.language-switcher__flag {
    width: 26px;
    height: 18px;

    border-radius: 2px;
}

.language-switcher__text {
    padding: 0 10px;

    color: var(--romeo-ink);

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

    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-header__action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 16px;

    border: 1px solid var(--romeo-border);

    background: var(--romeo-paper);

    color: var(--romeo-ink);

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

    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;
}

.site-header__action:hover,
.site-header__action:focus-visible {
    border-color: var(--romeo-red);
    color: var(--romeo-red);
}

.site-header__source-pill,
.site-header__version {
    min-height: 38px;

    display: inline-flex;

    align-items: center;
}

.site-nav {
    background: var(--romeo-paper);

    border-top: 1px solid var(--romeo-border);
}

.site-nav__link {
    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 52px;

    color: var(--romeo-ink);

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

    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;
}

.site-nav__button {
    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.site-nav__link::after {
    content: '';

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 4px;

    background: transparent;

    transition: background .15s ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
    background: var(--romeo-red);
}


/* ================================================================
   ROMEO MARK
   ================================================================ */

.romeo-mark {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    background: var(--romeo-red);

    color: white;

    font-size: 30px;
    font-weight: 700;
}


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

.hero {
    background: var(--romeo-white);

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

.hero h1 {
    font-weight: 700;

    line-height: 1;
}

.hero-title {
    max-width: 12ch;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-accent {
    color: var(--romeo-red);
}

.hero-lede {
    max-width: 34rem;

    color: #4d4d52;

    font-size: 1.0625rem;
    line-height: 1.7;
}

.how-it-works__intro {
    max-width: 44rem;
}

.hero-aside {
    align-self: stretch;

    padding: 24px;

    background: var(--romeo-paper);

    border: 1px solid var(--romeo-border);

    box-shadow: none;
}

.overview-stats {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.overview-stat-card {
    padding: 18px;

    background: var(--romeo-white);

    border: 1px solid var(--romeo-border);
    border-top: 4px solid #d7dbe0;
}

.overview-stat-card--featured {
    grid-column: 1 / -1;

    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    border-top-color: var(--romeo-red);
}

.overview-stat-label {
    margin: 0;

    color: var(--romeo-grey);

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

    letter-spacing: .1em;
    text-transform: uppercase;
}

.overview-stat-value {
    margin: 8px 0 0;

    color: var(--romeo-ink);

    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
}

.overview-stat-value--small {
    font-size: 1rem;
    line-height: 1.5;
}

.overview-stat-copy {
    margin: 10px 0 0;

    color: var(--romeo-grey);

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

.hero-side-label {
    margin: 0;

    color: var(--romeo-grey);

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

    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-feature-card {
    display: block;
    padding: 16px 18px;

    background: var(--romeo-white);

    border-left: 4px solid var(--romeo-red);
}

.hero-feature-card--link {
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hero-feature-card--link:hover,
.hero-feature-card--link:focus-visible {
    border-left-color: var(--romeo-ink);
    box-shadow: 0 10px 24px rgba(34, 34, 37, .08);
    transform: translateY(-1px);
}

.hero-feature-title {
    margin: 0;

    color: var(--romeo-ink);

    font-size: 17px;
    font-weight: 700;
}

.hero-feature-copy {
    margin: 8px 0 0;

    color: var(--romeo-grey);

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

.hero-feature-link {
    color: var(--romeo-red);

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

    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-meta-item {
    display: inline-flex;

    align-items: center;
    gap: 8px;
}

.hero-meta-item::before {
    content: '';

    width: 8px;
    height: 8px;

    background: var(--romeo-red);
}


/* ================================================================
   SMALL EYEBROW LABELS
   ================================================================ */

.eyebrow {
    display: inline-flex;

    align-items: center;

    padding:
        7px 11px;

    background: var(--romeo-paper);

    border-left:
        4px solid
        var(--romeo-red);

    color:
        var(--romeo-red);

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

    letter-spacing: .12em;

    text-transform: uppercase;
}


/* ================================================================
   SEARCH
   ================================================================ */

.search-label {
    display: block;

    margin-bottom: 8px;

    color: var(--romeo-ink);

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

    letter-spacing: .04em;
    text-transform: uppercase;
}

.search-panel {
    padding: 22px;

    background: var(--romeo-paper);

    border: 1px solid var(--romeo-border);

    box-shadow: none;
}

.search-row {
    align-items: stretch;
}

.search-input {
    width: 100%;

    min-height: 58px;

    box-sizing: border-box;

    padding:
        0 18px;

    background: #ffffff;

    border:
        1px solid
        #6c6c6c;

    border-radius: 0;

    color:
        var(--romeo-ink);

    font-family:
        "Barlow",
        "Helvetica Neue",
        Helvetica,
        sans-serif;

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

    letter-spacing: .04em;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.search-input::placeholder {
    color: #8f8f95;
}

.search-input:hover {
    border-color:
        var(--romeo-ink);
}

.search-input:focus {
    border-color:
        var(--romeo-red);

    box-shadow:
        0 0 0 3px
        rgba(218, 32, 42, .15);
}


/* ================================================================
   PRIMARY BUTTON
   ================================================================ */

.btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 58px;

    padding:
        0 28px;

    border: 0;

    border-radius: 0;

    background:
        var(--romeo-red);

    color: #ffffff;

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

    letter-spacing: .04em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .1s ease;
}

.btn-primary:hover {
    background:
        var(--romeo-red-dark);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(218, 32, 42, .2);
    outline-offset: 2px;
}

.btn-primary:active {
    transform:
        translateY(1px);
}


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

.page-section {
    background:
        var(--romeo-paper);

    border-top:
        1px solid
        var(--romeo-border);
}

.results-shell {
    background: var(--romeo-paper);
}

.results-header {
    padding-bottom: 4px;
}

.result-status {
    color: var(--romeo-green);
}

.result-postcode {
    line-height: .95;

    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.result-summary {
    color: var(--romeo-grey);

    max-width: 30rem;
}

.result-actions,
.address-actions {
    display: flex;

    flex-wrap: wrap;
    gap: 12px;
}

.result-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 14px;

    border: 1px solid var(--romeo-border);

    background: var(--romeo-white);

    color: var(--romeo-ink);

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

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;
}

.result-action:hover,
.result-action:focus-visible {
    border-color: var(--romeo-red);
    color: var(--romeo-red);
}


/* ================================================================
   RM PANEL SYSTEM
   ================================================================ */

.rm-panel {
    background: var(--romeo-white);

    border: 1px solid var(--romeo-border);

    box-shadow: none;
}

.rm-panel-large {
    border-width: 1px;
}

.rm-panel-bar {
    height: 8px;

    background: var(--romeo-red);
}

.panel-title {
    color: var(--romeo-ink);

    line-height: 1.08;

    letter-spacing: -.02em;
}

.panel-title-inverse {
    color: var(--romeo-white);
}

.panel-value {
    line-height: 1.12;
}

.section-kicker {
    color: var(--romeo-grey);

    letter-spacing: .1em;
}

.data-block {
    padding-top: 2px;
}

.result-badge {
    min-width: 80px;

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

.rm-highlight {
    padding-left: 16px;
}

.map-panel {
    display: grid;

    grid-template-rows: minmax(350px, 1fr) auto;

    background: #ececef;
}

.metric-card {
    min-height: 110px;
}

.technical-summary {
    min-height: 76px;
}

.technical-arrow {
    font-size: 18px;
    font-weight: 700;
}

.technical-item {
    min-height: 84px;

    border: 1px solid var(--romeo-border);
}

.technical-cache {
    color: var(--romeo-grey);

    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.technical-export {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 14px;

    border: 1px solid var(--romeo-border);

    background: var(--romeo-white);

    color: var(--romeo-ink);

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

    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.technical-export:hover,
.technical-export:focus-visible {
    border-color: var(--romeo-red);
    color: var(--romeo-red);
}

.xml-viewer {
    overflow: hidden;
}

.xml-viewer__header {
    background: linear-gradient(180deg, rgba(248, 250, 252, .9), rgba(255, 255, 255, 1));
}

.xml-viewer__copy {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    min-height: 40px;
    padding: 0 14px;

    border: 1px solid var(--romeo-border);

    background: var(--romeo-white);

    color: var(--romeo-ink);

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

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;
}

.xml-viewer__copy:hover,
.xml-viewer__copy:focus-visible {
    border-color: var(--romeo-red);
    color: var(--romeo-red);
}

.xml-viewer__copy-icon {
    width: 16px;
    height: 16px;
}

.xml-viewer__content {
    margin: 0;
    padding: 20px;

    overflow-x: auto;

    background: #0f172a;
    color: #dbe7f5;

    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.65;

    white-space: pre-wrap;
    word-break: break-word;
}

.feature-panel {
    padding: 28px;
}

.feature-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 32px;
    margin-bottom: 18px;

    padding: 0 10px;

    background: var(--romeo-red);

    color: var(--romeo-white);

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

    letter-spacing: .12em;
}

.error-badge {
    background: var(--romeo-red);
}


/* ================================================================
   ADDRESS CARD
   ================================================================ */

.address-card {
    overflow: hidden;

    background:
        var(--romeo-white);

    border:
        1px solid
        var(--romeo-border);

    box-shadow: none;
}

.address-card-header {
    border-bottom:
        1px solid
        var(--romeo-border);
}

.address-card-title {
    font-size: 30px;

    font-weight: 700;
}


/* ================================================================
   POSTCODE BADGE
   ================================================================ */

.postcode-badge {
    display: inline-flex;

    align-items: center;

    padding:
        8px 13px;

    background:
        var(--romeo-blue);

    color: #ffffff;

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

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

    letter-spacing: .05em;
}


/* ================================================================
   ADDRESS DISPLAY
   ================================================================ */

.address-highlight {
    padding-left: 20px;

    border-left:
        5px solid
        var(--romeo-red);
}

.address-highlight p {
    color:
        var(--romeo-ink);
}


/* ================================================================
   DATA LABELS
   ================================================================ */

.data-label {
    margin-bottom: 4px;

    color:
        var(--romeo-grey);

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

    letter-spacing: .13em;

    text-transform: uppercase;
}

.data-value {
    color:
        var(--romeo-ink);

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

    line-height: 1.5;
}


/* ================================================================
   MAP
   ================================================================ */

.map-frame {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 350px;

    border: 0;

    filter:
        saturate(.75)
        contrast(.96);
}

.map-frame--leaflet {
    position: relative;

    min-height: 350px;

    overflow: hidden;

    filter: none;
}

.leaflet-map {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.map-panel__meta {
    background:
        radial-gradient(circle at top right, rgba(218, 32, 42, .1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .92));
}

.map-attribution {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 500;
}

.map-attribution__link {
    display: inline-flex;

    align-items: center;

    padding: 5px 8px;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);

    color: var(--romeo-ink);

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

    text-decoration: none;

    box-shadow: 0 6px 18px rgba(15, 23, 42, .14);
}

.map-copy {
    color: var(--romeo-grey);
}

.map-stats {
    align-items: stretch;
}

.map-stat {
    border: 1px solid rgba(15, 23, 42, .08);
}

.map-link {
    display: inline-block;

    background:
        var(--romeo-white);

    color:
        var(--romeo-ink);

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

    text-decoration: none;

    box-shadow:
        0 2px 8px
        rgba(0, 0, 0, .12);
}

.map-link:hover {
    color:
        var(--romeo-red);
}

.leaflet-container {
    font: inherit;
}

.leaflet-control-zoom {
    margin: 14px !important;

    border: 1px solid rgba(15, 23, 42, .14) !important;
    border-radius: 0 !important;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(15, 23, 42, .12) !important;
}

.leaflet-control-zoom a {
    color: var(--romeo-ink) !important;
    background: rgba(255, 255, 255, .96) !important;
}

.leaflet-control-zoom a:hover {
    color: var(--romeo-red) !important;
    background: var(--romeo-white) !important;
}


/* ================================================================
   INFORMATION CARDS
   ================================================================ */

.info-card {
    background:
        var(--romeo-white);

    border:
        1px solid
        var(--romeo-border);

    box-shadow: none;
}


/* ================================================================
   BLUE INFORMATION CARD
   ================================================================ */

.info-card-blue {
    background: #2f2f34;

    border:
        1px solid
        #2f2f34;

    color: #ffffff;
}

.info-card-blue .data-label {
    color:
        rgba(255,255,255,.58);
}

.info-card-blue .data-value {
    color:
        #ffffff;
}

.info-card-blue p:not(.section-kicker):not(.data-label) {
    color: rgba(255, 255, 255, .72);
}


/* ================================================================
   HISTORY TIMELINE
   ================================================================ */

.timeline {
    position: relative;

    margin-left: 6px;

    padding-left: 28px;

    border-left:
        2px solid
        #d8dce0;
}

.timeline-item {
    position: relative;

    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;

    left: -35px;
    top: 2px;

    width: 12px;
    height: 12px;

    background:
        #ffffff;

    border:
        3px solid
        var(--romeo-red);
}

.timeline-dot-current {
    border-color:
    var(--romeo-green);
}


/* ================================================================
   TECHNICAL DETAILS
   ================================================================ */

.technical-details {
    background:
        #ffffff;

    border:
        1px solid
        var(--romeo-border);
}

.technical-details summary {
    cursor: pointer;

    list-style: none;

    user-select: none;
}

.technical-details summary::-webkit-details-marker {
    display: none;
}

.technical-details summary:hover {
    background:
    var(--romeo-paper);
}

.technical-details[open] .technical-arrow {
    transform: rotate(180deg);
}


/* ================================================================
   ERROR
   ================================================================ */

.error-message {
    border-left:
        5px solid
        var(--romeo-red);

    background:
        #fff1f2;

    color:
        #7f1020;
}


/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
    background: var(--romeo-paper);

    color: var(--romeo-ink);

    border-top: 1px solid var(--romeo-border);
}

.site-footer__top {
    display: grid;

    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
    align-items: start;
    gap: 32px;
}

.site-footer__bottom {
    display: flex;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer__brand {
    min-width: 0;
    padding-right: 28px;
}

.site-footer a {
    color: var(--romeo-red);

    text-decoration: none;

    font-weight: 700;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-copy,
.footer-meta,
.footer-meta p {
    color: var(--romeo-grey);
}

.footer-heading {
    margin: 0;

    color: var(--romeo-ink);

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

    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-builder,
.site-version {
    color: var(--romeo-grey);
}

.footer-meta {
    width: 100%;
    max-width: 34rem;
    margin-left: auto;
}

.footer-copy-block,
.footer-host,
.footer-disclaimer {
    color: #59595f;
}

.footer-copy,
.footer-copy-block,
.footer-disclaimer,
.footer-builder {
    max-width: 34rem;
}

.footer-legal-links {
    border-top: 1px solid var(--romeo-border);
    padding-top: 16px;
}

.footer-host {
    align-items: center;
}

.language-switcher--footer {
    justify-content: flex-end;
    margin-left: auto;
}

.language-switcher--footer .language-switcher__link {
    min-width: 52px;
    min-height: 44px;

    background: var(--romeo-white);
}

@media (max-width: 880px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-meta {
        margin-left: 0;
        max-width: none;
        text-align: left;
    }

    .site-footer__bottom {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .language-switcher--footer {
        margin-left: 0;
        justify-content: flex-start;
    }
}

.footer-modal-trigger {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 16px;

    border: 1px solid var(--romeo-ink);

    background: var(--romeo-white);

    color: var(--romeo-ink);

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

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;
}

.footer-modal-trigger:hover,
.footer-modal-trigger:focus-visible {
    border-color: var(--romeo-red);
    color: var(--romeo-red);
}


/* ================================================================
   LEGAL PAGES
   ================================================================ */

.legal-page {
    background: var(--romeo-white);
}

.legal-page__title {
    line-height: 1;
}

.legal-page__meta {
    color: var(--romeo-grey);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.legal-page__sections {
    display: grid;
    gap: 28px;
}

.legal-page__section + .legal-page__section {
    border-top: 1px solid var(--romeo-border);
    padding-top: 28px;
}

.legal-page__heading {
    line-height: 1.15;
}

.legal-page__list {
    margin: 0;
    padding-left: 20px;

    color: var(--romeo-ink);
}

.legal-page__list li + li {
    margin-top: 8px;
}


/* ================================================================
   MODAL
   ================================================================ */

.site-modal {
    width: min(680px, calc(100vw - 32px));
    padding: 0;

    border: 0;

    background: transparent;
}

.site-modal::backdrop {
    background: rgba(42, 42, 45, .55);
}

.site-modal__content {
    background: var(--romeo-white);

    border-top: 8px solid var(--romeo-red);

    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.site-modal__header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    padding: 24px 24px 16px;

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

.site-modal__title {
    margin: 6px 0 0;

    font-size: 1.75rem;
}

.site-modal__close {
    min-height: 40px;
    padding: 0 14px;

    border: 1px solid var(--romeo-border);

    background: var(--romeo-paper);

    color: var(--romeo-ink);

    font-weight: 700;

    cursor: pointer;
}

.site-modal__body {
    display: grid;
    gap: 16px;

    padding: 24px;
}

.site-modal__section {
    padding: 18px;

    background: var(--romeo-paper);

    border: 1px solid var(--romeo-border);
}

.site-modal__label {
    margin: 0;

    color: var(--romeo-grey);

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

    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-modal__copy {
    margin: 8px 0 0;

    color: #4d4d52;
}

.site-modal__link {
    display: inline-flex;

    margin-top: 12px;

    color: var(--romeo-red);

    font-weight: 700;
    text-decoration: none;
}

.site-modal__link:hover {
    text-decoration: underline;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1023px) {

    .hero-aside {
        display: grid;

        grid-template-columns: 1fr;
        gap: 0;

        align-items: stretch;
    }

    .overview-stats {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 640px) {

    .site-header__main {
        min-height: auto;
    }

    .site-brand {
        padding: 4px 0;
    }

    .site-logo {
        height: 48px;
    }

    .site-brand__wordmark {
        font-size: 1.8rem;
    }

    .site-brand__descriptor {
        font-size: 10px;
    }

    .site-header__version,
    .site-header__source-pill {
        min-height: 34px;
    }

    .site-header__meta {
        width: 100%;

        justify-content: flex-start;
    }

    .site-header__action,
    .site-header__version {
        flex: 1 1 auto;
    }

    .language-switcher {
        width: 100%;
        justify-content: flex-start;
    }

    .site-footer__brand {
        padding-right: 0;
    }

    .footer-meta {
        max-width: none;
        text-align: left;
    }

    .site-nav__link {
        min-height: 48px;
        font-size: 13px;
    }

    .hero-title {
        max-width: none;
    }

    .results-shell > .mx-auto,
    .page-section > .mx-auto {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .search-panel {
        padding: 18px;
    }

    .btn-primary {
        width: 100%;
    }

    .hero-aside {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        line-height: .96;
    }

    .search-input,
    .btn-primary {
        min-height: 54px;
    }

    .feature-panel {
        padding: 22px;
    }

    .site-modal__header,
    .site-modal__body {
        padding: 18px;
    }

    .address-card-title {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 48px;
    }

}
