/*
 * OKOA Food — public site.
 *
 * Palette and type come from okoa-brand-assets/README.md. The page is dark by
 * default because the logo's arc reads as peach on ink, which is the pairing
 * the brand was drawn for.
 *
 * No photography: there is none of the real stores yet, and stock imagery of
 * someone else's supermarket would misrepresent the product. The discount
 * markdown is drawn instead, since it is the thing worth looking at.
 */

:root {
    --ink: #201E1D;
    --ink-soft: #2A2725;
    --ink-line: rgba(245, 234, 216, 0.12);
    --cream: #F5EAD8;
    --cream-dim: #B9AE9C;
    --cream-faint: #8C8378;
    --orange: #C67139;
    --peach: #F6A06B;
    --sage: #AEBF92;
    --sage-light: #CCDBB2;
    --sage-dark: #56633F;

    --wrap: 1120px;
    --radius: 16px;
    --radius-sm: 10px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--peach); }

/* Fraunces for the two display sizes and Inter for everything else. The
   headline face carries the warmth a food brand needs; the body face is the
   one that stays legible at 15px on a cheap Android screen, which is most of
   the audience. h3 stays sans so a card title never competes with an h2. */
h1, h2 {
    font-family: Fraunces, Georgia, 'Times New Roman', serif;
    font-weight: 600;
    font-optical-sizing: auto;
    line-height: 1.1;
}

h1 { font-size: clamp(38px, 6.4vw, 66px); margin: 0 0 18px; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; letter-spacing: -0.015em; }
h3 { font-size: 20px; margin: 0 0 8px; font-family: inherit; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 18px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
    margin: 0 0 14px;
}

.lead { font-size: 19px; color: var(--cream-dim); }
.muted { color: var(--cream-dim); }
.rw { color: var(--sage); font-style: italic; }

section { padding: 84px 0; border-top: 1px solid var(--ink-line); }
section:first-of-type { border-top: 0; }

/* ------------------------------------------------------------------ header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(32, 30, 29, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ink-line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }

.nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.nav a:hover { color: var(--peach); }

/* The menu is a checkbox so it works with scripting off; nothing on this page
   needs JavaScript to be readable. */
.nav-toggle, .nav-toggle-label { display: none; }

/* ------------------------------------------------------------------ buttons */

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary { background: var(--peach); color: var(--ink); }
.btn-primary:hover { background: var(--orange); color: var(--cream); }

.btn-ghost { border-color: var(--ink-line); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }

.btn[aria-disabled="true"] {
    background: rgba(245, 234, 216, 0.08);
    color: var(--cream-faint);
    cursor: not-allowed;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --------------------------------------------------------------------- hero */

.hero { padding: 76px 0 84px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero h1 .accent { color: var(--peach); }

.hero .tagline {
    font-size: 17px;
    color: var(--sage);
    margin: 0 0 24px;
}

/* A claim, not a decoration: it is the first thing someone deciding whether
   this is a shop or a bin will read. */
.safety {
    display: block;
    border-left: 3px solid var(--sage);
    background: rgba(174, 191, 146, 0.08);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 16px;
    margin: 0 0 22px;
    font-size: 15px;
    color: var(--cream);
}

.safety strong { display: block; color: var(--sage-light); }

/* ------------------------------------------------------------- the deal */

.deal {
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: 28px;
}

.deal-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ink-line);
}

.deal-head strong { font-size: 18px; }
.deal-date { font-size: 13px; color: var(--sage); white-space: nowrap; }

.deal-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 24px 0 6px;
}

.deal-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream-faint);
    margin-bottom: 8px;
}

.deal-was .deal-amount {
    position: relative;
    font-size: 21px;
    color: var(--cream-faint);
    font-variant-numeric: tabular-nums;
}

/* Struck through by a line that is drawn rather than typed, so the markdown
   is something the card does rather than something it states. Fully drawn
   with scripting off — see the .js rules in the motion section. */
.deal-was .deal-amount::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 53%;
    height: 2px;
    border-radius: 2px;
    background: var(--peach);
}

.deal-now {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
    font-optical-sizing: auto;
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.05;
    color: var(--peach);
    font-variant-numeric: tabular-nums;
    /* The price is the point; breaking it across two lines makes it a
       sentence instead of a number. */
    white-space: nowrap;
}

.deal-save {
    margin: 14px 0 0;
    font-size: 15px;
    color: var(--cream-dim);
}

.deal-save strong { color: var(--cream); }

.deal-end {
    display: flex;
    gap: 10px;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--ink-line);
    font-size: 14px;
    color: var(--cream-dim);
}

.deal-dot {
    flex: none;
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--sage);
}

.deal-foot { margin: 16px 0 0; font-size: 13px; color: var(--cream-faint); }

/* -------------------------------------------------------------------- facts */

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fact {
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: 26px;
}

.fact .figure {
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
    font-optical-sizing: auto;
    font-size: 38px;
    line-height: 1;
    color: var(--peach);
    display: block;
    margin-bottom: 10px;
}

.fact p { margin: 0; font-size: 15px; color: var(--cream-dim); }

/* -------------------------------------------------------------------- steps */

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

.step .num {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sage-dark);
    color: var(--cream);
    font-weight: 700;
    margin-bottom: 14px;
}

.step p { font-size: 15px; color: var(--cream-dim); margin: 0; }

/* ------------------------------------------------------------------ split */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.card {
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: 30px;
}

.card h3 { color: var(--sage); }

.ticks { list-style: none; margin: 0; padding: 0; }

.ticks li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--cream-dim);
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sage);
}

/* --------------------------------------------------------------------- app */

.app-band { background: var(--ink-soft); }

.app-note { font-size: 14px; color: var(--cream-faint); margin: 18px 0 0; }

/* --------------------------------------------------------------------- faq */

.faq { max-width: 760px; }

.faq details {
    border-top: 1px solid var(--ink-line);
    padding: 18px 0;
}

.faq details:last-of-type { border-bottom: 1px solid var(--ink-line); }

.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

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

.faq summary::after {
    content: "+";
    color: var(--peach);
    font-size: 22px;
    line-height: 1;
    flex: none;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 12px 0 0; color: var(--cream-dim); font-size: 16px; }

/* ----------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.field { margin-bottom: 16px; }

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

.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-line);
    background: var(--ink-soft);
    color: var(--cream);
    font: inherit;
    font-size: 16px;
}

.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--sage);
    outline-offset: 1px;
}

.field textarea { min-height: 130px; resize: vertical; }

.field .error { color: var(--peach); font-size: 14px; margin-top: 6px; display: block; }

/* Bots fill everything; people never see this. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 15px;
    border: 1px solid var(--sage-dark);
    background: rgba(174, 191, 146, 0.1);
    color: var(--sage-light);
}

.channels { list-style: none; margin: 22px 0 0; padding: 0; }
.channels li { margin-bottom: 14px; font-size: 16px; }
.channels .what { display: block; font-size: 13px; color: var(--cream-faint); }

/* ------------------------------------------------------------------ footer */

.site-footer {
    border-top: 1px solid var(--ink-line);
    padding: 48px 0 40px;
    font-size: 15px;
    color: var(--cream-dim);
}

.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--cream-dim); text-decoration: none; }
.footer-links a:hover { color: var(--peach); }

.legal {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--ink-line);
    font-size: 13px;
    color: var(--cream-faint);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    justify-content: space-between;
}

/* ------------------------------------------------------------------ mobile */

@media (max-width: 900px) {
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .facts, .steps { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
    .hero { padding: 48px 0 60px; }

    .nav-toggle-label {
        display: block;
        margin-left: auto;
        padding: 8px 14px;
        border: 1px solid var(--ink-line);
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 0 20px;
        margin-left: 0;
    }

    /* The button keeps its own padding, or the label sits on its left edge. */
    .nav a:not(.btn) { padding: 10px 0; font-size: 17px; }
    .nav .btn { margin-top: 10px; }

    .nav-toggle:checked ~ .nav { display: flex; }

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

/* -------------------------------------------------------- prose documents */

.doc { max-width: 720px; padding: 64px 0 90px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 24px; margin: 38px 0 10px; font-family: Figtree, sans-serif; font-weight: 800; }
.doc p, .doc li { color: var(--cream-dim); font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }

.doc .stamp {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--sage);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 20px;
}

/* ===================================================================== motion
 *
 * Two rules govern everything below.
 *
 * Nothing here may be load-bearing. Every animated element is readable and
 * complete with scripting off, because the reveal styles only exist under
 * `.js`, which only appears when the observer does.
 *
 * And motion is a setting, not a taste. The reduced-motion block at the end
 * puts every animation into its finished state rather than merely speeding it
 * up — a vestibular disorder is not a reason to see less of the page.
 */

/* ------------------------------------------------------------ the reveal */

.js .reveal,
.js .deal,
.js .track,
.js .hero-grid > *,
.js .split > *,
.js .facts .fact,
.js .steps .step {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 0.61, 0.24, 1),
        transform 0.6s cubic-bezier(0.22, 0.61, 0.24, 1);
}

.js .reveal.is-in,
.js .deal.is-in,
.js .track.is-in,
.js .hero-grid.is-in > *,
.js .split.is-in > *,
.js .facts.is-in .fact,
.js .steps.is-in .step {
    opacity: 1;
    transform: none;
}

/* Staggered, so a row reads left to right rather than arriving as a slab. */
.js .hero-grid.is-in > *:nth-child(2),
.js .split.is-in > *:nth-child(2),
.js .facts.is-in .fact:nth-child(2),
.js .steps.is-in .step:nth-child(2) { transition-delay: 0.1s; }

.js .facts.is-in .fact:nth-child(3),
.js .steps.is-in .step:nth-child(3) { transition-delay: 0.2s; }

/* --------------------------------------------------- the deal, demonstrated
 *
 * One markdown, drawn once. The old card animated a discount deepening down a
 * ladder of dates; that is not what happens, so the animation went with it.
 * All this does is strike the shelf price and bring ours in behind it.
 */

.js .deal-was .deal-amount::after { right: 100%; }

.js .deal.is-in .deal-was .deal-amount::after {
    animation: deal-strike 0.45s cubic-bezier(0.22, 0.61, 0.24, 1) 0.3s forwards;
}

@keyframes deal-strike {
    to { right: -3px; }
}

.js .deal .deal-now { opacity: 0; transform: translateY(6px); }

.js .deal.is-in .deal-now {
    animation: deal-land 0.5s cubic-bezier(0.22, 0.61, 0.24, 1) 0.55s forwards;
}

@keyframes deal-land {
    to { opacity: 1; transform: none; }
}

/* ------------------------------------------------ the delivery, demonstrated
 *
 * Tracking is the one feature on this page a sentence genuinely cannot show.
 * The rider moves and the line fills in behind them, which is exactly what
 * the buyer sees.
 */

.track {
    margin-top: 40px;
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: 22px 26px 18px;
}

.track-head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 6px;
}

.track-head strong { font-weight: 700; }

.track-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
}

.track-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    animation: live-blink 2.2s ease-in-out infinite;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.25; }
}

.track-map { display: block; width: 100%; height: auto; }

.track-map .route {
    fill: none;
    stroke: rgba(245, 234, 216, 0.14);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-map .route-done {
    fill: none;
    stroke: var(--peach);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
}

.js .track-map .route-done { stroke-dashoffset: 100; }

.js .track.is-in .route-done {
    animation: route-fill 9s linear infinite;
}

@keyframes route-fill {
    0%        { stroke-dashoffset: 100; }
    80%, 100% { stroke-dashoffset: 0; }
}

.track-map .pin circle { fill: var(--sage-dark); stroke: var(--sage); stroke-width: 2; }
.track-map .pin-home circle { fill: rgba(246, 160, 107, 0.2); stroke: var(--peach); }
.track-map .pin text { fill: var(--cream-faint); font-size: 13px; font-weight: 600; text-anchor: middle; }

.track-map .rider-dot { fill: var(--peach); }
.track-map .rider-halo { fill: rgba(246, 160, 107, 0.22); }

/* Parked at the door until the section is on screen, so the loop starts where
   the eye arrives rather than halfway along. */
.track-map .rider { transform: translate(56px, 84px); }

.js .track.is-in .rider { animation: rider-run 9s linear infinite; }

/* The turns of the route, timed by how far apart they are, so the speed is
   constant and the dot never skates through a corner. */
@keyframes rider-run {
    0%        { transform: translate(56px, 84px); }
    17.3%     { transform: translate(196px, 84px); }
    26.2%     { transform: translate(256px, 44px); }
    43%       { transform: translate(392px, 44px); }
    53.4%     { transform: translate(462px, 92px); }
    70.7%     { transform: translate(602px, 92px); }
    80%, 100% { transform: translate(664px, 50px); }
}

.track-foot { margin: 10px 0 0; font-size: 13px; color: var(--cream-faint); }

/* ------------------------------------------------------ small interactions */

.btn {
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[aria-disabled="true"]:hover { transform: none; }

.card, .fact {
    transition:
        transform 0.28s cubic-bezier(0.22, 0.61, 0.24, 1),
        border-color 0.28s ease;
}

.card:hover, .fact:hover {
    transform: translateY(-3px);
    border-color: rgba(174, 191, 146, 0.32);
}

.nav a, .footer-links a { transition: color 0.18s ease; }

.faq summary::after { transition: transform 0.2s ease, color 0.2s ease; }
.faq summary:hover::after { color: var(--sage); }
.faq details[open] summary::after { transform: rotate(180deg); }

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: none; }
}

.faq details[open] p { animation: faq-open 0.26s ease both; }

/* --------------------------------------------------------- reduced motion */

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

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    /* Finished, not merely fast. Everything below is the last frame. */
    .js .reveal,
    .js .deal,
    .js .track,
    .js .hero-grid > *,
    .js .split > *,
    .js .facts .fact,
    .js .steps .step,
    .js .deal .deal-now {
        opacity: 1;
        transform: none;
    }

    .js .deal-was .deal-amount::after { right: -3px; }
    .js .track-map .route-done { stroke-dashoffset: 0; }
    .track-map .rider { transform: translate(664px, 50px); }

    .btn:hover, .card:hover, .fact:hover { transform: none; }
}

/* The marker needs room only where there is room. */
@media (max-width: 560px) {
    .deal-prices { grid-template-columns: 1fr; gap: 20px; }
}

/* ================================================================= surfaces
 *
 * Depth without photography.
 *
 * The honest problem with a photograph here is that OKOA has none of its own
 * yet, and a stock picture of somebody else's supermarket tells a visitor
 * something untrue on the one page where trust is the whole product. So the
 * background is built rather than shot: two brand-coloured glows, a little
 * grain, and a slot the day a real store is photographed.
 */

body {
    background-color: var(--ink);
    background-image:
        radial-gradient(1000px 620px at 82% -6%, rgba(246, 160, 107, 0.07), transparent 62%),
        radial-gradient(820px 560px at -8% 42%, rgba(174, 191, 146, 0.05), transparent 60%),
        radial-gradient(900px 600px at 50% 104%, rgba(198, 113, 57, 0.05), transparent 64%);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Film grain. Flat dark panels band badly on cheap screens; a little noise
   breaks the gradient up and costs one inlined SVG. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero { position: relative; isolation: isolate; }

/* The photograph, when there is one. Held well back and covered by a scrim
   that runs dark under the headline, because a hero image that costs you the
   first sentence is a net loss. */
.hero.has-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 58%;
    /* A photograph lit for a bright page would wash this one out, so it is
       pulled down to a texture: darkened hard, desaturated towards the
       palette, and left to read as depth rather than as a picture. */
    filter: brightness(0.4) saturate(0.72) contrast(1.06);
    opacity: 0.9;
}

.hero.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, var(--ink) 18%, rgba(32, 30, 29, 0.88) 48%, rgba(32, 30, 29, 0.52) 100%),
        linear-gradient(to bottom, rgba(32, 30, 29, 0.55), transparent 26%, var(--ink)),
        radial-gradient(900px 520px at 80% 8%, rgba(198, 113, 57, 0.16), transparent 62%);
}

/* Panels lift off the background rather than sitting flat on it. */
.deal, .card, .fact, .track {
    background-image: linear-gradient(160deg, rgba(245, 234, 216, 0.035), transparent 46%);
    box-shadow: 0 1px 0 rgba(245, 234, 216, 0.04) inset, 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.app-band {
    background-image: linear-gradient(to bottom, rgba(245, 234, 216, 0.02), transparent);
}

/* A panel whose fill is nearly the colour of the photograph behind it stops
   reading as a panel. Over the hero image the deal card gets a real backdrop
   and a brighter edge, so it sits in front of the picture rather than in it. */
.hero.has-photo .deal {
    background-color: rgba(26, 24, 23, 0.9);
    backdrop-filter: blur(7px);
    border-color: rgba(245, 234, 216, 0.2);
    box-shadow: 0 1px 0 rgba(245, 234, 216, 0.06) inset, 0 30px 60px -30px rgba(0, 0, 0, 1);
}
