/*
    The base every sales page shares (julekalender.simpledigital.dk and the ones to come):
    Simple Digital's fonts, buttons, sections, form and footer, after designguide 2026 — sharp
    corners, no shadows, mono labels in {{ }}, dashed lines.

    Colours are custom properties. The defaults are the house's dark mode; a campaign's own
    stylesheet (wwwroot/landing/{theme}/theme.css) sets its palette and places its graphics.
*/

@font-face { font-family: 'Aspekta'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Aspekta-500.woff2') format('woff2'); }
@font-face { font-family: 'Aspekta'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Aspekta-700.woff2') format('woff2'); }
@font-face { font-family: 'Aspekta'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Aspekta-800.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/JetBrainsMono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/JetBrainsMono-700.woff2') format('woff2'); }

:root {
    --lp-font-display: 'Aspekta', system-ui, sans-serif;
    --lp-font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --lp-bg: #0d0d0d;
    --lp-bg-alt: #161616;
    --lp-text: #ffffff;
    --lp-muted: rgba(255, 255, 255, 0.76);
    --lp-line: rgba(255, 255, 255, 0.24);
    --lp-surface: rgba(255, 255, 255, 0.04);
    --lp-highlight: #faff7e;
    --lp-highlight-text: #0d0d0d;
    --lp-signal: #faff7e;
    --lp-panel: #faff7e;
    --lp-panel-text: #0d0d0d;
    --lp-button: #faff7e;
    --lp-button-text: #0d0d0d;
    --lp-error: #ffb9a8;

    --lp-container: 1200px;
    --lp-gutter: clamp(20px, 5vw, 40px);
    --lp-section-space: clamp(64px, 10vw, 128px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font-mono);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/*
    The grain over everything, the effect from simpledigital.dk: its noise tile at 10 %, moved to a
    new place every 0.24 s so it flickers like film. Still for those who prefer less motion.
*/
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    background-image: url("noise.webp");
    background-repeat: repeat;
    background-size: 411px;
    opacity: var(--lp-noise-opacity, 0.1);
    contain: paint;
}

@media (prefers-reduced-motion: no-preference) {
    body::before {
        animation: lp-noise-shift 0.24s step-end infinite;
    }
}

@keyframes lp-noise-shift {
    0% { background-position: 0 0; }
    10% { background-position: -127px 63px; }
    20% { background-position: 211px -184px; }
    30% { background-position: -76px 238px; }
    40% { background-position: 316px 91px; }
    50% { background-position: -242px -119px; }
    60% { background-position: 143px 287px; }
    70% { background-position: -319px 12px; }
    80% { background-position: 58px -301px; }
    90% { background-position: 274px -226px; }
    100% { background-position: -163px 148px; }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* Clear of the sticky header when an anchor in the menu is followed. */
[id] {
    scroll-margin-top: 88px;
}

p {
    margin: 0 0 1em;
}

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

:focus-visible {
    outline: 2px solid var(--lp-signal);
    outline-offset: 3px;
}

.lp-container {
    width: 100%;
    max-width: calc(var(--lp-container) + 2 * var(--lp-gutter));
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
}

.lp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lp-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--lp-button);
    color: var(--lp-button-text);
    font-weight: 700;
}

.lp-skip:focus {
    top: 16px;
}

/* Type */

.lp-h1,
.lp-h2,
.lp-h3 {
    margin: 0 0 0.5em;
    font-family: var(--lp-font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.lp-h1 {
    font-size: clamp(36px, 5.2vw, 64px);
}

.lp-h2 {
    font-size: clamp(30px, 4.4vw, 52px);
}

.lp-h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -0.02em;
}

/*
    The highlighted word: not a block around the whole line but a band 0.81em high (60px on the
    desktop hero title) plus 0.15em above and below, set low behind the letters and a little past
    them on both sides. In em, so it keeps the same proportions on every heading size.
*/
.lp-h1 mark,
.lp-h2 mark {
    --lp-mark-height: 0.81em;
    --lp-mark-overshoot: 0.15em;
    --lp-mark-color: var(--lp-highlight);
    padding: 0 var(--lp-mark-overshoot);
    margin: 0 calc(var(--lp-mark-overshoot) * -1);
    background: linear-gradient(var(--lp-mark-color), var(--lp-mark-color)) no-repeat;
    background-position: calc(var(--lp-mark-overshoot) * -1) calc(114% - var(--lp-mark-overshoot) + 0.0496em);
    background-size: calc(100% + 2 * var(--lp-mark-overshoot)) calc(var(--lp-mark-height) + 2 * var(--lp-mark-overshoot));
    color: var(--lp-highlight-text);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.lp-label {
    margin: 0 0 18px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--lp-muted);
}

.lp-lead {
    max-width: 56ch;
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--lp-muted);
}

.lp-signal {
    font-weight: 700;
    color: var(--lp-signal);
}

.lp-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    vertical-align: 0.25em;
    background: var(--lp-highlight);
    color: var(--lp-highlight-text);
    font-family: var(--lp-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Buttons: mono capitals with the square dot field on the right. */

.lp-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 0 0 20px;
    border: 0;
    border-radius: 0;
    background: var(--lp-button);
    color: var(--lp-button-text);
    font-family: var(--lp-font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.lp-btn__dot {
    display: grid;
    place-items: center;
    align-self: stretch;
    width: 48px;
    margin-left: 20px;
    background: var(--lp-button-text);
    color: var(--lp-button);
}

.lp-btn--primary .lp-btn__dot,
.lp-btn--small .lp-btn__dot {
    box-shadow: inset 0 0 0 1px var(--lp-button);
}

.lp-btn__dot::after {
    content: "";
    width: 6px;
    height: 6px;
    background: currentColor;
    transition: transform 0.15s ease;
}

.lp-btn:hover .lp-btn__dot::after,
.lp-btn:focus-visible .lp-btn__dot::after {
    transform: scale(1.8);
}

.lp-btn--outline {
    background: transparent;
    color: var(--lp-text);
    box-shadow: inset 0 0 0 1px var(--lp-text);
}

.lp-btn--outline .lp-btn__dot {
    background: var(--lp-text);
    color: var(--lp-bg);
}

.lp-btn--small {
    min-height: 40px;
    padding-left: 16px;
    font-size: 12px;
}

.lp-btn--small .lp-btn__dot {
    width: 40px;
    margin-left: 16px;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Header */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--lp-bg) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px dashed var(--lp-line);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.lp-header__logo {
    display: block;
    margin-right: auto;
}

.lp-header__logo img {
    display: block;
    width: 120px;
}

.lp-header__nav {
    display: none;
    gap: 28px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lp-header__nav a {
    text-decoration: none;
    color: var(--lp-muted);
}

.lp-header__nav a:hover {
    color: var(--lp-text);
}

@media (min-width: 760px) {
    .lp-header__nav {
        display: flex;
    }
}

/* Sections */

.lp-section {
    position: relative;
    padding: var(--lp-section-space) 0;
}

.lp-section + .lp-section {
    border-top: 1px dashed var(--lp-line);
}

.lp-section__head {
    max-width: 760px;
    margin-bottom: 48px;
}

.lp-section__intro {
    color: var(--lp-muted);
}

/* Hero */

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px);
}

.lp-hero__inner {
    display: grid;
    gap: 40px;
    align-items: center;
}

.lp-hero__visual {
    position: relative;
    min-height: 360px;
}

@media (min-width: 960px) {
    .lp-hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .lp-hero__visual {
        min-height: 560px;
    }
}

.lp-hero--short {
    min-height: calc(100vh - 72px - 120px);
    display: flex;
    align-items: center;
}

.lp-message {
    max-width: 760px;
}

/* Demo */

.lp-demo__inner {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .lp-demo__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 80px;
    }
}

.lp-demo__text p:not(.lp-label) {
    max-width: 52ch;
    color: var(--lp-muted);
}

.lp-demo__device {
    position: relative;
    justify-self: center;
    margin-bottom: 32px;
    perspective: 1800px;
}

/* The phone the demo runs in: a frame around an iframe at a phone's own width. */
.lp-phone {
    position: relative;
    width: min(360px, 86vw);
    aspect-ratio: 9 / 18.5;
    padding: 12px;
    border: 2px solid var(--lp-text);
    border-radius: 44px;
    background: var(--lp-bg);
}

/*
    Turned a little towards the text beside it and laid back, with a body you can see the edge of: a
    black bezel and a grey side, drawn as hard offset layers towards the bottom right, the side the
    turn shows. The demo inside stays usable: clicks go through the transform.
*/
.lp-demo .lp-phone {
    --lp-phone-side: #8d9297;
    border-color: #c9cdd1;
    background: #0d0d0d;
    width: min(360px, 78vw);
    transform: rotateY(-14deg) rotateX(12deg);
    box-shadow:
        0.8px 0.8px 0 var(--lp-phone-side),
        1.6px 1.6px 0 var(--lp-phone-side),
        2.4px 2.4px 0 var(--lp-phone-side),
        3.2px 3.2px 0 var(--lp-phone-side),
        4.0px 4.0px 0 var(--lp-phone-side),
        4.8px 4.8px 0 var(--lp-phone-side),
        5.6px 5.6px 0 var(--lp-phone-side),
        6.4px 6.4px 0 var(--lp-phone-side),
        7.2px 7.2px 0 var(--lp-phone-side),
        8.0px 8.0px 0 var(--lp-phone-side),
        8.8px 8.8px 0 var(--lp-phone-side),
        9.6px 9.6px 0 var(--lp-phone-side),
        10.4px 10.4px 0 var(--lp-phone-side),
        11.2px 11.2px 0 var(--lp-phone-side),
        12.0px 12.0px 0 var(--lp-phone-side),
        12.8px 12.8px 0 #0d0d0d,
        14px 14px 0 1px #0d0d0d;
}

.lp-phone::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 2;
    width: 90px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: var(--lp-text);
    opacity: 0.9;
    pointer-events: none;
}

.lp-phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
    background: var(--lp-bg-alt);
}

/* The demo renders at its own 570px mobile width; landing.js sizes and scales it to the screen. */
.lp-phone__frame {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    transform-origin: 0 0;
}

.lp-phone__poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 56px 18px 18px;
    text-align: center;
}

.lp-phone__title {
    margin: 0;
    font-family: var(--lp-font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.lp-phone__subtitle {
    margin: 2px 0 14px;
    font-size: 12px;
    color: var(--lp-highlight);
}

.lp-phone__doors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-phone__doors li {
    display: grid;
    place-items: center;
    aspect-ratio: 1.15;
    border: 1px solid var(--lp-highlight);
    font-family: var(--lp-font-display);
    font-size: 15px;
    font-weight: 700;
}

.lp-phone__doors li.is-open {
    background: var(--lp-highlight);
    color: var(--lp-highlight-text);
}

/* The controls beside the demo: which page and which day the phone shows. */

.lp-demo-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-top: 28px;
}

.lp-demo-controls[hidden] {
    display: none;
}

.lp-demo-controls__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-demo-controls__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.lp-segment button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--lp-line);
    background: transparent;
    color: var(--lp-text);
    font-family: var(--lp-font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.lp-segment button + button {
    border-left: 0;
}

.lp-segment button[aria-pressed="true"] {
    background: var(--lp-highlight);
    border-color: var(--lp-highlight);
    color: var(--lp-highlight-text);
}

.lp-select {
    min-height: 44px;
    min-width: 220px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--lp-line);
    border-radius: 0;
    background: var(--lp-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: var(--lp-text);
    font: inherit;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
}

.lp-select option {
    background: var(--lp-bg);
    color: var(--lp-text);
}

/* Feature cards */

.lp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px dashed var(--lp-line);
    border-left: 1px dashed var(--lp-line);
}

.lp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 32px;
    border-right: 1px dashed var(--lp-line);
    border-bottom: 1px dashed var(--lp-line);
    background: var(--lp-surface);
}

/* The 3D icon in a box of its own height, standing on a common line, so every title starts level. */
.lp-card__icon {
    display: block;
    width: auto;
    max-width: 96px;
    height: 72px;
    margin-bottom: 24px;
    object-fit: contain;
    object-position: left bottom;
}

.lp-card__title {
    margin: 0 0 8px;
    font-family: var(--lp-font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

/* "Nyt" sits in the card's top right corner rather than after the title, where it broke the lines. */
.lp-card .lp-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
}

.lp-card__text {
    margin: 0;
    font-size: 14px;
    color: var(--lp-muted);
}

.lp-card--cta {
    background: transparent;
}

.lp-card__link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-signal);
}

.lp-checklist {
    display: grid;
    gap: 10px 40px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 760px) {
    .lp-checklist {
        grid-template-columns: 1fr 1fr;
    }
}

.lp-checklist li {
    position: relative;
    padding-left: 24px;
}

.lp-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    background: var(--lp-signal);
}

/* Price: a full-width band in the page's second background, with the amount set as large as a headline. */

.lp-price {
    background: var(--lp-bg-alt);
}

.lp-price__container {
    position: relative;
}

.lp-price__caption {
    max-width: 24ch;
    margin: 0;
    font-family: var(--lp-font-mono);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
}

/* The amount and the order button on one line, over a rule. */
.lp-price__hero {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(24px, 3vw, 40px);
    border-bottom: 2px solid var(--lp-text);
}

.lp-price__amount {
    display: flex;
    align-items: flex-end;
    margin: 0;
    font-family: var(--lp-font-display);
    font-size: clamp(88px, 15vw, 230px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.8;
    white-space: nowrap;
}

.lp-price__unit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 0 clamp(14px, 1.8vw, 28px);
    font-size: 0.26em;
    letter-spacing: -0.02em;
    line-height: 1;
}

.lp-price__unit small {
    font-family: var(--lp-font-mono);
    font-size: max(12px, 0.32em);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-muted);
}

.lp-price__cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.lp-price__cta .lp-signal {
    margin: 0;
}

.lp-price__columns {
    display: grid;
    gap: 48px;
    margin-top: clamp(40px, 5vw, 64px);
}

@media (min-width: 900px) {
    .lp-price__columns {
        grid-template-columns: 1fr 1fr;
        gap: clamp(48px, 6vw, 96px);
    }
}

.lp-price__columns .lp-h3 {
    margin-top: 0;
}

.lp-price .lp-checklist {
    grid-template-columns: 1fr;
}

.lp-price__extra-text {
    max-width: 52ch;
    color: var(--lp-muted);
}

.lp-price__table {
    width: 100%;
    margin-top: 24px;
    border-collapse: collapse;
    font-size: 14px;
}

.lp-price__table th,
.lp-price__table td {
    padding: 14px 0;
    border-top: 1px dashed var(--lp-line);
    vertical-align: top;
}

.lp-price__table tr:last-child th,
.lp-price__table tr:last-child td {
    border-bottom: 1px dashed var(--lp-line);
}

.lp-price__table th {
    padding-right: 16px;
    font-weight: 400;
    text-align: left;
}

.lp-price__table td {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    color: var(--lp-signal);
}

/* Testimonials */

.lp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.lp-quote {
    margin: 0;
    padding: 32px;
    border: 1px dashed var(--lp-line);
    background: var(--lp-surface);
}

.lp-quote__text {
    margin: 0 0 24px;
    font-family: var(--lp-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.lp-quote__by {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.lp-quote__logo {
    max-height: 28px;
    width: auto;
    margin-bottom: 12px;
    align-self: flex-start;
}

.lp-quote__name {
    font-weight: 700;
}

.lp-quote__role {
    color: var(--lp-muted);
}

/* Customer logos */

.lp-logos {
    background: var(--lp-bg-alt);
}

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

.lp-logos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .lp-logos__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1000px) {
    .lp-logos__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.lp-logos__item {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 20px;
    outline: 1px dashed var(--lp-line);
}

.lp-logos__item img {
    max-height: 40px;
    width: auto;
}

/* A customer without a logo file yet: the name in type, as a placeholder. */
.lp-logos__name {
    font-family: var(--lp-font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Contact and form */

.lp-contact__inner {
    display: grid;
    gap: 48px;
}

@media (min-width: 960px) {
    .lp-contact__inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 80px;
    }
}

.lp-contact__text {
    position: relative;
}

.lp-contact__text p:not(.lp-label):not(.lp-signal) {
    color: var(--lp-muted);
}

.lp-form__summary {
    margin-bottom: 24px;
    padding: 14px 18px;
    border: 1px solid var(--lp-error);
    color: var(--lp-error);
}

.lp-form__grid {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

@media (min-width: 640px) {
    .lp-form__grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-field--wide {
        grid-column: 1 / -1;
    }
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.lp-field > label,
.lp-field > legend {
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lp-field__optional {
    font-weight: 400;
    color: var(--lp-muted);
}

.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field input[type="tel"],
.lp-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--lp-line);
    border-radius: 0;
    background: var(--lp-surface);
    color: var(--lp-text);
    font: inherit;
}

.lp-field textarea {
    resize: vertical;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
    color: var(--lp-muted);
    opacity: 0.7;
}

.lp-field input:focus,
.lp-field textarea:focus {
    border-color: var(--lp-signal);
    outline: 1px solid var(--lp-signal);
    outline-offset: 0;
}

.lp-field [aria-invalid="true"] {
    border-color: var(--lp-error);
}

.lp-field__error {
    margin: 0;
    font-size: 13px;
    color: var(--lp-error);
}

.lp-addons legend {
    margin-bottom: 8px;
}

.lp-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed var(--lp-line);
    font-size: 14px;
    cursor: pointer;
}

.lp-check--consent {
    border-top: 0;
}

.lp-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--lp-signal);
}

.lp-check__label {
    flex: 1;
}

.lp-check__price {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

/* The honeypot: off-screen for people, still a field for a bot. */
.lp-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Footer */

.lp-footer {
    padding: 40px 0;
    border-top: 1px dashed var(--lp-line);
    font-size: 13px;
    color: var(--lp-muted);
}

.lp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-footer__inner img {
    width: 110px;
}

.lp-footer__text {
    margin: 0;
}

/* The inquiry form once sent in the background: the form makes way for a thank-you in its place. */
.lp-form__summary[hidden],
.lp-form[hidden],
.lp-inquiry__done[hidden] {
    display: none;
}

.lp-form__summary:focus,
.lp-inquiry__done:focus {
    outline: none;
}

.lp-inquiry__done {
    padding: 32px;
    border: 1px solid var(--lp-line);
    background: var(--lp-surface);
}

.lp-inquiry__done .lp-h3 {
    margin: 0 0 12px;
}

.lp-inquiry__done p:not(.lp-label) {
    margin: 0;
    color: var(--lp-muted);
}
