@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root {
    --ink: #291b35;
    --muted: #726b79;
    --paper: #faf8f3;
    --line: #e4dee4;
    --lime: #d5f36b;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans',sans-serif;
    font-size: 15px;
    line-height: 1.6
}

button,
input,
select {
    font: inherit
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent
}

button,
a {
    touch-action: manipulation
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid #b26732;
    outline-offset: 5px
}

input:focus,
select:focus {
    outline: 2px solid #5f4a73;
    outline-offset: 3px
}

.wrap {
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 30px
}

.header {
    height: 106px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.brand {
    display: inline-flex;
    align-items: center;
    font-family: Manrope,sans-serif;
    font-weight: 800;
    font-size: 25px;
    letter-spacing: -1.3px
}

.brand>span:not(.brand-mark) {
    font-weight: 500
}

.brand i {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--ink);
    align-self: flex-end;
    margin: 0 0 10px 3px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    background: var(--ink);
    color: var(--lime);
    border-radius: 10px
}

/* The mark inherits the chip's colour, so the same file serves the ink chip
   and any reversed use without a second asset. */
.brand-mark svg {
    display: block;
    width: 21px;
    height: 21px
}

.brand-mark.small {
    width: 27px;
    height: 27px
}

.brand-mark.small svg {
    width: 17px;
    height: 17px
}

.header nav {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 13px;
    font-weight: 550
}

.nav-cta {
    padding: 10px 18px;
    border: 1px solid #c8bfcb;
    border-radius: 7px
}

.nav-cta span {
    margin-left: 18px
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    min-height: 440px;
    padding-top: 30px;
    padding-bottom: 60px
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    display: flex;
    align-items: center;
    gap: 8px
}

.eyebrow>span {
    height: 6px;
    width: 6px;
    background: #759020;
    border-radius: 50%
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: Manrope,sans-serif
}

h1 {
    font-size: clamp(42px,5.2vw,65px);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -3.5px;
    margin: 25px 0 22px
}

h1 em {
    font-style: normal;
    background: linear-gradient(transparent 64%,var(--lime) 64%,var(--lime) 91%,transparent 91%)
}

.intro {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8
}

.hero-benefits {
    display: flex;
    gap: 22px;
    font-size: 12px;
    margin-top: 24px
}

.receipt-scene {
    height: 320px;
    position: relative;
    display: grid;
    place-items: center
}

.orbit {
    position: absolute;
    border: 1px solid #e8e0e7;
    border-radius: 50%;
    width: 310px;
    height: 310px
}

.orbit-two {
    width: 390px;
    height: 240px;
    transform: rotate(-32deg)
}

.receipt {
    width: 268px;
    padding: 25px 25px 20px;
    background: #fff;
    box-shadow: 0 15px 40px #2a1b3510;
    transform: rotate(-7deg);
    position: relative;
    border: 1px solid #ece5ea;
    border-bottom: 4px dotted var(--paper)
}

.receipt-top {
    display: flex;
    align-items: center;
    font-size: 8px;
    letter-spacing: 1px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 17px;
    margin-bottom: 20px
}

.receipt-line {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0
}

.discount {
    color: #4a6410
}

.receipt-total {
    border-top: 1px dashed var(--line);
    margin-top: 19px;
    padding-top: 17px;
    display: flex;
    flex-direction: column;
    font-size: 11px
}

.receipt-total strong {
    font-size: 33px;
    letter-spacing: -1.5px;
    line-height: 1.5
}

.receipt-total strong span {
    font-size: 23px
}

.receipt-foot {
    font-size: 7px;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--muted)
}

.receipt-foot span {
    font-size: 12px
}

.floating-note {
    position: absolute;
    top: 4px;
    right: 5px;
    font-size: 13px;
    transform: rotate(8deg)
}

.savings-stamp {
    position: absolute;
    bottom: 13px;
    right: 17px;
    background: var(--lime);
    /* Grows with its content: a krona amount is longer than a euro one, and a
       fixed circle would push the number past the dashed edge. */
    min-width: 103px;
    width: max-content;
    aspect-ratio: 1;
    padding-inline: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: rotate(12deg);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px dashed #759020;
    outline: 6px solid var(--lime)
}

.savings-stamp small {
    font-size: 12px;
    font-weight: 500
}

.search-section {
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 26px 30px;
    margin-bottom: 64px;
    box-shadow: 0 8px 22px #2a1b3510;
    max-width: 1100px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

h2 {
    font-size: 28px;
    letter-spacing: -1px;
    line-height: 1.3;
    font-weight: 650
}

.search-section h2 {
    font-size: 20px;
    margin-bottom: 8px
}

.demo-tag {
    font-size: 9px;
    letter-spacing: 1px;
    background: #f6eedc;
    color: #846021;
    padding: 4px 9px;
    border-radius: 4px;
    white-space: nowrap
}

.demo-notice {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px
}

.search-fields {
    display: grid;
    grid-template-columns: 1.9fr .85fr 1fr 1fr 1.15fr;
    gap: 12px;
    align-items: end
}

.field label {
    font-size: 11px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px
}

.field input,
.field select {
    width: 100%;
    height: 49px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px;
    background: #fdfcfa;
    color: var(--ink);
    font-size: 13px
}

.primary {
    border: 0;
    background: var(--ink);
    color: #fff;
    border-radius: 6px;
    height: 49px;
    padding: 0 16px;
    font-weight: 550;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px
}

.primary:hover {
    background: #3d2b4c
}

.primary:disabled {
    opacity: .65;
    cursor: wait
}

.primary span {
    color: var(--lime);
    font-size: 21px
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--muted);
    margin: 17px 0
}

.checkbox input {
    accent-color: var(--ink);
    width: 15px;
    height: 15px
}

.suggestions {
    border-top: 1px solid #efe9ee;
    padding-top: 15px;
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px
}

.suggestions>span {
    color: var(--muted);
    margin-right: 4px
}

.suggestion {
    background: #f5f1f4;
    border: 0;
    border-radius: 5px;
    padding: 6px 10px;
    color: var(--ink);
    font-size: 11px
}

.suggestion:hover {
    background: var(--lime)
}

.suggestion span {
    margin-left: 7px
}

.muted {
    color: var(--muted);
    font-size: 13px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 22px
}

.product-card {
    text-align: left;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    transition: transform .2s,border-color .2s
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #759020
}

.product-art {
    height: 205px;
    position: relative;
    background: #ece6e4;
    display: grid;
    place-items: center
}

.product-art.tablet {
    background: #f1e9e2
}

.product-art.mouse {
    background: #e8e4e9
}

.product-art svg {
    height: 180px;
    width: 240px;
    filter: drop-shadow(6px 12px 6px #2a1b351a)
}

.product-art>span {
    position: absolute;
    left: 15px;
    top: 14px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 3px 8px;
    background: #ffffffa3;
    border-radius: 4px
}

.product-info {
    padding: 20px
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
    letter-spacing: -.5px
}

.product-info p {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 18px
}

.product-info>div {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600
}

.product-info>div>span {
    font-size: 19px
}

.art-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 13px
}

.how {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    margin-block: 75px;
    gap: 60px
}

.how ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px
}

.how li {
    display: flex;
    gap: 18px
}

.how li>span {
    background: #ece6e4;
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 11px
}

.how h3 {
    font-size: 15px;
    margin-bottom: 3px
}

.how p:not(.eyebrow) {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 0
}

.trust {
    display: flex;
    gap: 22px;
    background: #ece6ea;
    border-radius: 10px;
    max-width: 1100px;
    padding: 29px 30px
}

.trust-icon {
    font-size: 40px;
    line-height: 1
}

.trust h2 {
    font-size: 18px;
    margin-bottom: 9px
}

.trust p {
    font-size: 12px;
    color: #564c60;
    max-width: 850px;
    margin-bottom: 5px
}

.trust details {
    font-size: 12px;
    margin-top: 14px
}

.trust summary {
    cursor: pointer;
    font-weight: 600
}

.trust details p {
    margin-top: 10px
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 130px;
    font-size: 10px;
    color: var(--muted)
}

footer .brand {
    font-size: 20px;
    color: var(--ink)
}

footer .brand i {
    margin-bottom: 7px
}

.skip {
    position: absolute;
    top: -80px;
    left: 10px;
    background: white;
    padding: 10px;
    z-index: 10
}

.skip:focus {
    top: 10px
}

#feedback:not(:empty) {
    padding: 12px 15px;
    background: #fff3e7;
    border-radius: 5px;
    color: #794c22;
    font-size: 13px;
    margin-block: 12px
}

.results {
    margin-top: -22px;
    margin-bottom: 60px;
    outline: none
}

.result-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.result-heading h2 {
    margin-bottom: 5px
}

.result-heading p {
    font-size: 12px;
    color: var(--muted)
}

.result-heading .demo-tag {
    align-self: flex-start
}

.offer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    margin-top: 12px
}

.offer.winner {
    border: 1.5px solid #759020;
    background: #f6faea
}

.store-name {
    font-size: 16px;
    font-weight: 650
}

.offer small {
    display: block;
    font-size: 10px;
    color: var(--muted)
}

.offer .amount {
    font-weight: 550;
    font-size: 15px;
    white-space: nowrap
}

.offer .total {
    font-size: 24px;
    letter-spacing: -1px;
    font-weight: 750;
    white-space: nowrap
}

.winner-label {
    font-size: 9px;
    color: #3f5610;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 700
}

.coupon-label {
    color: #4a6410;
    font-size: 10px
}

.result-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 12px
}

/* Paid links have to be legible as such, so the disclosure is the same size as
   the note beside it rather than the small print it would like to be. */
.result-note.disclosure {
    color: #6a5540;
    border-left: 2px solid #d9c3a4;
    padding-left: 10px
}

.go-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #759020;
    background: #f6faea;
    color: #364a0c;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap
}

.go-link:hover {
    background: #eef6d6
}

.unknown {
    margin-top: 22px;
    padding: 18px;
    background: #efe9ee;
    border-radius: 7px;
    font-size: 12px
}

.unknown summary {
    cursor: pointer
}

.unknown p {
    margin: 12px 0 0
}

.empty {
    background: #fff;
    border: 1px dashed #c8bfcb;
    padding: 35px;
    border-radius: 8px
}

.empty h2 {
    font-size: 22px
}

.empty p {
    color: var(--muted);
    font-size: 14px
}

.results[hidden] {
    display: none
}

@media(max-width:800px) {
    .wrap {
        padding-inline: 22px
    }

    .header {
        height: 80px
    }

    .header nav>a:not(.nav-cta) {
        display: none
    }

    .hero {
        min-height: auto;
        padding-top: 30px;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding-bottom: 45px
    }

    h1 {
        font-size: 44px;
        letter-spacing: -2px
    }

    .intro {
        font-size: 14px
    }

    .hero-benefits {
        gap: 10px;
        flex-direction: column
    }

    .receipt-scene {
        transform: scale(.83);
        transform-origin: center;
        height: 280px
    }

    .floating-note {
        display: none
    }

    .search-section,.trust {
        margin-inline: 22px
    }

    .search-fields {
        grid-template-columns: 1fr 1fr
    }

    .payment-field {
        grid-column: span 2
    }

    .product-field {
        grid-column: span 2
    }

    .search-fields .primary {
        grid-column: span 2
    }

    .search-section {
        margin-bottom: 45px
    }

    .product-grid {
        gap: 12px
    }

    .product-art svg {
        width: 180px
    }

    .product-art {
        height: 170px
    }

    .product-info {
        padding: 14px
    }

    .offer {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 16px
    }

    .offer>div:first-child {
        grid-column: span 3
    }

    .how {
        gap: 30px
    }

    .savings-stamp {
        right: -10px
    }

    footer {
        flex-wrap: wrap;
        padding-block: 30px;
        min-height: auto
    }

    .orbit-two {
        width: 310px
    }
}

@media(max-width:540px) {
    .header .brand {
        font-size: 21px
    }

    .brand-mark {
        width: 29px;
        height: 29px;
        font-size: 26px
    }

    .nav-cta {
        font-size: 11px;
        padding: 8px 11px
    }

    .hero {
        display: block;
        padding-bottom: 30px
    }

    .hero-copy {
        text-align: center
    }

    .hero .eyebrow {
        justify-content: center;
        font-size: 9px
    }

    h1 {
        font-size: 49px;
        margin-top: 22px
    }

    .intro {
        font-size: 14px
    }

    .hero-benefits {
        flex-direction: row;
        justify-content: center;
        font-size: 10px;
        gap: 18px
    }

    .receipt-scene {
        height: 260px;
        transform: scale(.8);
        margin-top: 18px
    }

    .receipt {
        width: 280px
    }

    .savings-stamp {
        right: 15px
    }

    .search-section {
        padding: 22px 18px
    }

    .search-section h2 {
        font-size: 17px
    }

    .demo-tag {
        font-size: 8px
    }

    .demo-notice {
        font-size: 11px
    }

    .search-fields {
        gap: 12px
    }

    .examples .section-head>.muted {
        display: none
    }

    h2 {
        font-size: 25px
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .product-card {
        display: grid;
        grid-template-columns: 130px 1fr
    }

    .product-art {
        height: 155px
    }

    .product-art svg {
        width: 150px;
        height: 130px;
        margin-top: 18px
    }

    .product-art>span {
        font-size: 8px;
        top: 8px;
        left: 8px
    }

    .product-info {
        padding: 17px 15px;
        align-self: center
    }

    .product-info h3 {
        font-size: 15px
    }

    .product-info p {
        font-size: 10px
    }

    .how {
        grid-template-columns: 1fr;
        margin-block: 45px;
        gap: 20px
    }

    .trust {
        padding: 23px 20px;
        gap: 13px
    }

    .trust-icon {
        font-size: 28px
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .offer {
        grid-template-columns: 1fr 1fr;
        padding: 18px
    }

    .offer>div:first-child {
        grid-column: span 2
    }

    .offer>div:last-child {
        grid-column: span 2;
        border-top: 1px dashed #d3cbd4;
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .result-heading {
        display: block
    }

    .result-heading h2 {
        font-size: 23px
    }

    .result-heading .demo-tag {
        display: inline-block;
        margin-bottom: 10px
    }

    .offer .amount {
        font-size: 14px
    }

    .suggestions>span {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none!important
    }
}

.hero {
    overflow: clip
}

/* Multi-market additions: icon sprite and per provider availability notes. */
.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.provider-status {
    list-style: none;
    margin: 16px 0 0;
    padding: 16px;
    background: #efe9ee;
    border-radius: 7px;
    font-size: 11px;
    color: var(--muted);
    display: grid;
    gap: 7px
}

.provider-status strong {
    color: var(--ink);
    font-weight: 650
}

.examples[hidden] {
    display: none
}

.first-purchase {
    border: 0;
    border-top: 1px solid #efe9ee;
    margin: 17px 0 0;
    padding: 15px 0 0;
}

.first-purchase[hidden] {
    display: none;
}

.first-purchase legend {
    font-size: 11px;
    font-weight: 600;
    padding: 0;
}

.first-purchase p {
    font-size: 11px;
    color: var(--muted);
    margin: 5px 0 0;
}

.first-purchase-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
}

.first-purchase-stores .checkbox {
    margin: 9px 0 0;
}

.languages {
    display: inline-flex;
    gap: 9px;
    align-items: center;
}

.languages a {
    font-size: 11px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
}

.languages a:hover {
    color: var(--ink);
}

.languages a[aria-current] {
    color: var(--ink);
    font-weight: 600;
    border-bottom-color: var(--lime);
}

.uses-app {
    margin-top: 17px;
}

.claim-hint {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 4px 22px;
}

.was-price {
    font-size: 10px;
    color: var(--muted);
    text-decoration: line-through;
}

.store-discount {
    font-size: 10px;
    color: #4a6410;
}

.conditional {
    font-size: 10px;
    color: #8a5a22;
    margin-top: 4px;
    line-height: 1.35;
}

/* Reflow (WCAG 1.4.10): at 320 CSS pixels the brand, the language switcher
   and the call to action no longer fit on one line. The header wraps instead
   of pushing the page sideways — the switcher matters too much to hide, since
   the site is published for two audiences. */
@media(max-width:400px) {
    .header {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        gap: 6px 12px;
        padding-block: 12px;
    }

    .header .brand {
        font-size: 19px;
    }

    .header nav {
        gap: 10px;
    }
}
