/*
 * The look of the landing page (#72), its own and apart from the portal's themes (#60). It is drawn after the booklet
 * of coupons schools collected their monthly fees with: Mensualia's navy ink and the green of its arrows on white
 * paper, the pale blue of a copy, and perforations only where something is torn apart, month from month in the year's
 * ribbon and the stub from the coupon in the form. Green means paid or go: the stamps and the «¡Lo quiero!» buttons.
 *
 * The headings are set in Literata, by The Literata Project Authors, under the SIL Open Font License 1.1
 * (literata-OFL.txt next to it), served from this site like the rest of the page; the text, in the system's own
 * sans-serif. No file comes from another site.
 */

@font-face {
    font-family: "Literata";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("literata-600.woff2") format("woff2");
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

html[class*="mensualia-theme-"] body {
    background: #ffffff;
}

.landing {
    --landing-ink: #162a4c;
    --landing-navy: #1f3a68;
    --landing-navy-soft: #c9d6ea;
    --landing-green: #1e9e63;
    --landing-green-bright: #3ccf8e;
    --landing-green-ink: #147a4b;
    --landing-green-dark: #0f6440;
    --landing-green-soft: #e3f3ea;
    --landing-copy: #edf2f9;
    --landing-line: #b9c7db;
    --landing-hairline: #dde5f0;
    --landing-muted: #4d5b73;
    --landing-serif: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --landing-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--landing-ink);
    background: #ffffff;
    font-family: var(--landing-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.landing h1,
.landing h2,
.landing h3 {
    font-family: var(--landing-serif);
    font-weight: 600;
    color: var(--landing-navy);
}

.landing p {
    margin: 0;
}

.landing a {
    color: var(--landing-navy);
}

.landing :focus-visible {
    outline: 3px solid var(--landing-green);
    outline-offset: 3px;
    border-radius: 0.25rem;
}

.landing-wrap {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- The buttons: «¡Lo quiero!» and the form's, green; pill-shaped and large enough for a thumb ---- */

.landing .landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.9rem;
    border: 0;
    border-radius: 999px;
    background: var(--landing-green-ink);
    box-shadow: 0 10px 22px -12px rgba(15, 100, 64, 0.9);
    color: #ffffff;
    font: 600 1.0625rem/1.2 var(--landing-sans);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.landing .landing-button:hover {
    background: var(--landing-green-dark);
    color: #ffffff;
}

.landing .landing-button:active {
    transform: translateY(1px);
}

.landing .landing-button:focus-visible {
    outline-color: var(--landing-navy);
    border-radius: 999px;
}

.landing .landing-button-small {
    min-height: 2.5rem;
    padding: 0.45rem 1.15rem;
    box-shadow: none;
    font-size: 0.9375rem;
    white-space: nowrap;
}

/* ---- The bar at the top, which stays in view ---- */

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--landing-hairline);
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
}

.landing-header-row {
    display: flex;
    align-items: center;
    gap: 1rem 2rem;
    min-height: 4rem;
}

.landing-logo {
    display: block;
    height: 2.1rem;
    width: auto;
}

.landing-nav {
    display: flex;
    gap: 1.75rem;
    margin-right: auto;
}

.landing-nav a {
    color: var(--landing-ink);
    font-weight: 500;
    text-decoration: none;
}

.landing-nav a:hover {
    color: var(--landing-green-ink);
}

.landing-languages {
    display: flex;
    gap: 0.125rem;
}

/* The way to the portal for those who already use it (#92) */
.landing-sign-in {
    color: var(--landing-ink);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.landing-sign-in:hover {
    color: var(--landing-green-ink);
}

.landing-languages a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    color: var(--landing-muted);
    font-size: 0.9375rem;
    text-decoration: none;
}

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

.landing-languages a[aria-current="true"] {
    background: var(--landing-copy);
    color: var(--landing-navy);
    font-weight: 600;
}

.landing-language-code {
    display: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- The tabs, one per kind of business (#111): the green line under the one shown, as a coupon's stamp ---- */

.landing-tabs {
    border-bottom: 1px solid var(--landing-hairline);
    background: #ffffff;
}

.landing-tabs-list {
    display: flex;
    gap: 0 2rem;
    margin: 0 auto;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.landing-tabs-list::-webkit-scrollbar {
    display: none;
}

.landing .landing-tab {
    display: inline-flex;
    align-items: center;
    min-height: 3.25rem;
    border-bottom: 3px solid transparent;
    color: var(--landing-muted);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.landing .landing-tab:hover {
    color: var(--landing-navy);
}

.landing .landing-tab[aria-current="page"] {
    border-bottom-color: var(--landing-green);
    color: var(--landing-navy);
    font-weight: 600;
}

.landing .landing-tab:focus-visible {
    outline-offset: -3px;
}

/* ---- After the form is sent ---- */

.landing-thanks {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: var(--landing-green-soft);
}

.landing-thanks-mark {
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.4rem;
    border-radius: 50%;
    background: var(--landing-green-ink);
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing-thanks strong {
    display: block;
    font-family: var(--landing-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--landing-green-dark);
}

/* ---- The promise and the video ---- */

.landing-hero {
    padding: 4.5rem 0 4rem;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4rem;
    align-items: center;
}

.landing .landing-prospect {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.6rem;
    background: var(--landing-green-soft);
    color: var(--landing-green-dark);
    font-size: 0.9375rem;
    font-weight: 600;
}

.landing-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2.5rem, 1.5rem + 3vw, 3.875rem);
    line-height: 1.04;
    letter-spacing: -0.018em;
    text-wrap: balance;
}

.landing .landing-lead {
    max-width: 33em;
    margin-bottom: 2.25rem;
    color: var(--landing-muted);
    font-size: 1.1875rem;
    line-height: 1.6;
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.landing-cta-help {
    max-width: 17rem;
    color: var(--landing-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.landing-player,
.landing-soon {
    position: relative;
    overflow: hidden;
    overflow: clip; /* not a box that scrolls: a screen reached with the keyboard does not move the card */
    border-radius: 1.25rem;
    background: var(--landing-navy);
    box-shadow: 0 32px 64px -36px rgba(22, 42, 76, 0.7);
}

.landing-player {
    aspect-ratio: 16 / 9;
}

.landing-video {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--landing-navy);
}

/* the play button covers the image, its disc in the middle, where Mensualia's arrows point */
.landing-play {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: linear-gradient(to top, rgba(17, 33, 61, 0.7), rgba(17, 33, 61, 0) 45%);
    color: #ffffff;
    cursor: pointer;
}

.landing-play[hidden],
.landing-playing .landing-play {
    display: none;
}

.landing-play-disc {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: clamp(3.25rem, 14%, 6.5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--landing-green-ink);
    box-shadow: 0 0 0 0.5rem rgba(255, 255, 255, 0.14);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.landing-play-disc svg {
    width: 44%;
    margin-left: 8%;
    fill: #ffffff;
}

.landing-play:hover .landing-play-disc {
    background: var(--landing-green-dark);
    transform: translate(-50%, -50%) scale(1.06);
}

.landing-play-label {
    position: absolute;
    left: 1.5rem;
    bottom: 1.1rem;
    font-weight: 600;
}

.landing .landing-play:focus-visible {
    outline: 3px solid var(--landing-green-bright);
    outline-offset: -6px;
    border-radius: 1.25rem;
}

.landing .landing-media-note {
    margin-top: 0.85rem;
    color: var(--landing-muted);
    font-size: 0.875rem;
}

/* without the video: it is coming, and the two screens peek up from the card's bottom edge, one before the other */
.landing-soon {
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 10;
    padding: 2rem 2rem 0;
    color: #ffffff;
}

.landing-soon-title {
    font-family: var(--landing-serif);
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.2;
}

.landing .landing-soon-text {
    max-width: 30em;
    margin: 0.5rem 0 1.75rem;
    color: var(--landing-navy-soft);
    font-size: 1rem;
    line-height: 1.5;
}

.landing-soon-screens {
    position: relative;
    flex: 1 1 auto;
    min-height: 10rem;
}

/* the screenshots bring their own window and phones, with what is around them transparent */
.landing-soon-screen {
    position: absolute;
    display: block;
    transition: transform 0.2s ease;
}

.landing-soon-screen:first-child {
    top: 0;
    left: 0;
    width: 76%;
}

.landing-soon-screen:last-child {
    top: 14%;
    right: -2%;
    width: 42%;
    filter: drop-shadow(0 12px 22px rgba(9, 20, 40, 0.5));
}

.landing-soon-screen:hover {
    transform: translateY(-4px);
}

.landing-soon-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.landing .landing-soon-screen:focus-visible {
    outline-color: var(--landing-green-bright);
    border-radius: 0.6rem;
}

/* ---- A school year in coupons: one per monthly fee, torn along their perforations ---- */

.landing-year {
    margin: 0;
    padding: 2.75rem 0 2.5rem;
    background: var(--landing-copy);
}

.landing-months {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(22, 42, 76, 0.08);
}

.landing-month {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 1rem 1rem 1.15rem;
}

/* a year of twelve months, January to December, as a gym's, a dog's or a condominium's (#111) */
.landing-months-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.landing-months-12 .landing-month {
    padding: 1rem 0.6rem 1.15rem 0.8rem;
}

.landing-months-12 .landing-month-fee {
    font-size: 0.8125rem;
}

/* the perforation between two months, and its notches at the top and the bottom */
.landing-month + .landing-month {
    background: linear-gradient(var(--landing-line) 50%, transparent 0) left 0.75rem / 2px 7px repeat-y;
    background-clip: padding-box;
}

.landing-month + .landing-month::before,
.landing-month + .landing-month::after {
    content: "";
    position: absolute;
    left: -0.5rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--landing-copy);
}

.landing-month + .landing-month::before {
    top: -0.55rem;
}

.landing-month + .landing-month::after {
    bottom: -0.55rem;
}

.landing-month-name {
    font-family: var(--landing-serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--landing-navy);
}

.landing-month-fee {
    color: var(--landing-muted);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.landing-month-state {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    padding: 0.1rem 0.5rem 0.1rem 0.4rem;
    border: 1.5px solid currentColor;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.landing-month-state::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    background: currentColor;
    -webkit-mask: var(--landing-mark) center / contain no-repeat;
    mask: var(--landing-mark) center / contain no-repeat;
}

/* paid: a green stamp, a little crooked, as if pressed by hand */
.landing-month-paid .landing-month-state {
    --landing-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color: var(--landing-green-ink);
    transform: rotate(-4deg);
    animation: landing-stamp 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

/* sent: on its way to the family by WhatsApp */
.landing-month-sent .landing-month-state {
    --landing-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7.6L14.5 2l-4.3 12.2-2.6-5.1z' fill='%23000'/%3E%3C/svg%3E");
    color: var(--landing-navy);
}

/* coming: not issued yet */
.landing-month-coming .landing-month-state {
    --landing-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M8 5v3.3l2 1.3' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    border-style: dashed;
    color: var(--landing-muted);
}

.landing-month-coming .landing-month-name {
    color: var(--landing-muted);
}

/* the one moment of motion: the stamps fall on the months, one after the other, when the page opens */
@keyframes landing-stamp {
    from {
        opacity: 0;
        transform: rotate(-12deg) scale(1.7);
    }

    to {
        opacity: 1;
        transform: rotate(-4deg) scale(1);
    }
}

.landing-month:nth-child(2) .landing-month-state { animation-delay: 0.45s; }
.landing-month:nth-child(3) .landing-month-state { animation-delay: 0.55s; }
.landing-month:nth-child(4) .landing-month-state { animation-delay: 0.65s; }
.landing-month:nth-child(5) .landing-month-state { animation-delay: 0.75s; }
.landing-month:nth-child(6) .landing-month-state { animation-delay: 0.85s; }
.landing-month:nth-child(7) .landing-month-state { animation-delay: 0.95s; }
.landing-month:nth-child(8) .landing-month-state { animation-delay: 1.05s; }
.landing-month:nth-child(1) .landing-month-state { animation-delay: 0.35s; }

.landing-year-caption {
    margin-top: 1rem;
    color: var(--landing-muted);
    font-size: 0.9375rem;
}

/* ---- The presentation, on a navy stage: one big slide at a time ---- */

.landing-stage {
    padding: 5rem 0 4.5rem;
    background: var(--landing-navy);
    color: #ffffff;
}

.landing-stage-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 3rem;
    margin-bottom: 2.25rem;
}

.landing .landing-stage h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.1;
}

.landing-stage-head p {
    max-width: 31em;
    color: var(--landing-navy-soft);
}

.landing-slides {
    position: relative;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 1.5rem;
}

.landing-slides::-webkit-scrollbar {
    display: none;
}

.landing .landing-slides:focus-visible {
    outline-color: var(--landing-green-bright);
    outline-offset: 4px;
    border-radius: 1.5rem;
}

.landing-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 35rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #ffffff;
    color: var(--landing-ink);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.landing-slide-text {
    display: flex;
    flex-direction: column;
    padding: 3.25rem 3.25rem 2.25rem;
}

.landing .landing-slide-title {
    margin: 0 0 1.75rem;
    font-size: clamp(1.625rem, 1.15rem + 1.5vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.landing-slide-points {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.1875rem;
    line-height: 1.5;
}

.landing-slide-points li {
    position: relative;
    padding-left: 1.6rem;
}

.landing-slide-points li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0.15rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--landing-green);
}

/* a sequence of steps: emit, send, collect, remind, report */
.landing-steps {
    gap: 0.75rem;
    counter-reset: step;
    font-size: 1.0625rem;
}

.landing-steps li {
    padding-left: 2.6rem;
    counter-increment: step;
}

.landing-steps li::before {
    content: counter(step);
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--landing-navy);
    color: #ffffff;
    font: 600 0.9375rem/1 var(--landing-serif);
}

.landing-slide-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 2.25rem;
}

.landing-slide-count {
    margin-right: auto;
    white-space: nowrap;
    color: var(--landing-muted);
    font-family: var(--landing-serif);
    font-size: 1.0625rem;
    font-variant-numeric: tabular-nums;
}

.landing-slide-previous,
.landing-slide-next {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.75rem;
    padding: 0.45rem 1.15rem;
    border: 1.5px solid var(--landing-line);
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.landing-slide-previous {
    padding-left: 0.75rem;
}

.landing-slide-next {
    padding-right: 0.75rem;
    border-color: var(--landing-navy);
    background: var(--landing-navy);
}

.landing .landing-slide-next {
    color: #ffffff;
}

.landing-slide-previous:hover {
    border-color: var(--landing-navy);
}

.landing-slide-next:hover {
    background: var(--landing-ink);
}

.landing-slide-previous svg,
.landing-slide-next svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing .landing-slide-previous:focus-visible,
.landing .landing-slide-next:focus-visible {
    border-radius: 999px;
}

.landing-slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: var(--landing-copy);
}

/* on a computer, a slide with a screenshot gives it the larger part */
@media (min-width: 62.01rem) {
    .landing-slide-wide {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    }

    .landing-slide-wide .landing-slide-visual {
        padding: 2rem 1.75rem;
    }
}

/* the screenshots bring their own window or phones, with what is around them transparent: the shadow follows them */
.landing-slide-screen {
    display: block;
    max-width: 100%;
    filter: drop-shadow(0 18px 26px rgba(22, 42, 76, 0.24));
    transition: transform 0.2s ease;
}

.landing-slide-screen:hover {
    transform: translateY(-3px);
}

.landing-slide-screen img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 30rem;
    height: auto;
    margin: 0 auto;
}

.landing-slide-figure {
    max-width: 100%;
}

.landing-slide-figure strong {
    display: block;
    font-family: var(--landing-serif);
    font-size: clamp(3.25rem, 1.75rem + 4vw, 5.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--landing-navy);
    text-wrap: balance;
}

.landing-slide-figure span {
    display: block;
    max-width: 19rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 3px solid var(--landing-green);
    color: var(--landing-muted);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.landing-stage-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2.5rem;
}

.landing-stage-cta p {
    color: var(--landing-navy-soft);
}

.landing .landing-stage .landing-button:focus-visible {
    outline-color: var(--landing-green-bright);
}

/* ---- The form: a coupon with its stub, to tear off and send ---- */

.landing-request {
    padding: 5rem 0;
    background: var(--landing-copy);
}

.landing-coupon {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    max-width: 64rem;
    margin: 0 auto;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(22, 42, 76, 0.08), 0 32px 64px -40px rgba(22, 42, 76, 0.45);
}

.landing-coupon-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3rem 2.75rem 2.75rem;
}

.landing .landing-coupon-stub h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.1;
}

.landing-coupon-stub p {
    color: var(--landing-muted);
    font-size: 1.0625rem;
}

/* the perforation between the stub and the coupon, with a notch at each end */
.landing-coupon-stub::before,
.landing-coupon-stub::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--landing-copy);
}

.landing-coupon-stub::before {
    top: -0.75rem;
}

.landing-coupon-stub::after {
    bottom: -0.75rem;
}

.landing-coupon-body {
    padding: 3rem 2.75rem 2.75rem 3.25rem;
    background: linear-gradient(var(--landing-line) 50%, transparent 0) left 1.25rem / 2px 8px repeat-y;
    background-clip: padding-box;
}

.landing-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
}

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

.landing-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--landing-navy);
    font-size: 0.9375rem;
    font-weight: 600;
}

.landing .form-control {
    min-height: 3rem;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--landing-line);
    border-radius: 0.65rem;
    background: #ffffff;
    color: var(--landing-ink);
    font-size: 1.0625rem;
}

.landing .form-control::placeholder {
    color: transparent;
}

.landing .form-control:focus {
    border-color: var(--landing-green-ink);
    box-shadow: 0 0 0 4px rgba(30, 158, 99, 0.2);
    outline: none;
}

.landing .landing-students {
    max-width: 12rem;
}

/* the kind of business (#104): a box per kind, «Otro» with its name, and the accountant's apart */
.landing-kinds {
    margin: 0;
    padding: 0;
    border: 0;
}

.landing-kinds legend {
    margin-bottom: 0.5rem;
    color: var(--landing-navy);
    font-size: 0.9375rem;
    font-weight: 600;
}

.landing-kind-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem 1.25rem;
}

.landing-kind {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    min-height: 2.25rem;
    color: var(--landing-ink);
    font-size: 1rem;
    cursor: pointer;
}

.landing-kind input {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    accent-color: var(--landing-green-ink);
}

.landing-other {
    grid-column: 1 / -1;
}

/* the name of the other kind, shown only while «Otro» is checked, with or without the page's script */
.landing-other:not(:has(.landing-kind input:checked)) .landing-other-field {
    display: none;
}

.landing-other-field {
    margin-top: 0.5rem;
}

.landing-accountant {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--landing-line);
}

.landing .landing-hint {
    margin-top: -0.6rem;
    color: var(--landing-muted);
    font-size: 0.875rem;
}

.landing-send {
    margin-top: 2rem;
}

.landing .landing-privacy {
    display: flex;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 2rem;
    color: var(--landing-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.landing-privacy svg {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.05rem;
    fill: none;
    stroke: var(--landing-green-ink);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* the field people do not see, which only the robots fill */
.landing-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- The foot of the page ---- */

.landing-footer {
    padding: 2.5rem 0 3rem;
    color: var(--landing-muted);
    font-size: 0.9375rem;
}

.landing-footer .landing-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.landing-footer-icon {
    width: 2rem;
    height: 2rem;
}

/* ---- A computer's screen that is not wide: the promise above the video ---- */

@media (max-width: 62rem) {
    .landing-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .landing-months,
    .landing-months-12 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .landing-month:nth-last-child(n+7) {
        display: none;
    }

    .landing-month:nth-last-child(6) {
        background: none;
    }

    .landing-month:nth-last-child(6)::before,
    .landing-month:nth-last-child(6)::after {
        display: none;
    }

    .landing-tabs-list {
        gap: 0 1.5rem;
    }

    .landing-slide {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        min-height: 0;
    }

    .landing-slide-visual {
        order: -1;
        min-height: 17rem;
        padding: 2rem;
    }

    .landing-slide-text {
        padding: 2.25rem 2.5rem 2rem;
    }

    .landing-slide-screen img {
        max-height: 20rem;
    }

    .landing-coupon {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-coupon-stub::before,
    .landing-coupon-stub::after {
        top: auto;
        bottom: -0.75rem;
    }

    .landing-coupon-stub::before {
        right: auto;
        left: -0.75rem;
    }

    .landing-coupon-body {
        padding: 2.5rem 2.25rem;
        background: linear-gradient(90deg, var(--landing-line) 50%, transparent 0) 1.25rem top / 8px 2px repeat-x;
    }
}

/* ---- A phone ---- */

@media (max-width: 47.99rem) {
    .landing {
        font-size: 1rem;
    }

    .landing-wrap {
        padding: 0 1.25rem;
    }

    .landing-header-row {
        gap: 0.5rem;
        min-height: 3.5rem;
    }

    .landing-logo {
        height: 1.75rem;
    }

    .landing-nav {
        display: none;
    }

    .landing-languages {
        margin-left: auto;
    }

    .landing-languages a {
        padding: 0.2rem 0.5rem;
        font-size: 0.875rem;
    }

    .landing-language-name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .landing-language-code {
        display: inline;
    }

    .landing .landing-button-small {
        padding: 0.4rem 0.9rem;
        font-size: 0.875rem;
    }

    .landing-hero {
        padding: 2.25rem 0 2.75rem;
    }

    .landing-hero-grid {
        gap: 2.25rem;
    }

    .landing .landing-prospect {
        margin-bottom: 1rem;
        font-size: 0.875rem;
    }

    .landing-title {
        margin-bottom: 1rem;
    }

    .landing .landing-lead {
        margin-bottom: 1.5rem;
        font-size: 1.0625rem;
        line-height: 1.55;
    }

    .landing-cta .landing-button {
        flex: 1 1 100%;
    }

    .landing-cta-help {
        max-width: none;
        font-size: 0.875rem;
    }

    .landing-player,
    .landing-soon {
        border-radius: 1rem;
    }

    .landing-play-label {
        left: 1rem;
        bottom: 0.7rem;
        font-size: 0.9375rem;
    }

    .landing-soon {
        aspect-ratio: auto;
        padding: 1.5rem 1.25rem 0;
    }

    .landing-soon-screens {
        flex: none;
        height: 12.5rem;
    }

    .landing-soon-title {
        font-size: 1.375rem;
    }

    .landing .landing-soon-text {
        margin-bottom: 1.25rem;
        font-size: 0.9375rem;
    }

    .landing-year {
        padding: 2rem 0;
    }

    .landing-months,
    .landing-months-12 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .landing-month:nth-last-child(n+5) {
        display: none;
    }

    .landing-month:nth-last-child(4) {
        background: none;
    }

    .landing-month:nth-last-child(4)::before,
    .landing-month:nth-last-child(4)::after {
        display: none;
    }

    /* every tab in view on a phone, on two lines if they need them */
    .landing-tabs-list {
        flex-wrap: wrap;
        gap: 0 1.25rem;
    }

    .landing .landing-tab {
        min-height: 2.75rem;
        font-size: 0.9375rem;
    }

    .landing-month {
        padding: 0.85rem 0.5rem 1rem 0.65rem;
    }

    .landing-month-name {
        font-size: 1.15rem;
    }

    .landing-month-state {
        gap: 0.2rem;
        padding: 0.05rem 0.35rem 0.05rem 0.25rem;
        font-size: 0.6875rem;
    }

    .landing-month-state::before {
        width: 0.7rem;
        height: 0.7rem;
    }

    .landing-year-caption {
        font-size: 0.875rem;
    }

    .landing-stage {
        padding: 3.25rem 0 3rem;
    }

    .landing-stage-head {
        margin-bottom: 1.5rem;
    }

    .landing-stage-head p {
        font-size: 0.9375rem;
    }

    .landing-slides {
        gap: 1rem;
        border-radius: 1.25rem;
    }

    .landing-slide {
        border-radius: 1.25rem;
    }

    .landing-slide-visual {
        min-height: 13rem;
        padding: 1.25rem 1rem;
    }

    .landing-slide-text {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .landing .landing-slide-title {
        margin-bottom: 1.1rem;
    }

    .landing-slide-points {
        gap: 0.7rem;
        font-size: 1rem;
    }

    .landing-steps {
        font-size: 0.9375rem;
    }

    .landing-steps li {
        padding-left: 2.2rem;
    }

    .landing-steps li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8125rem;
    }

    .landing-slide-nav {
        gap: 0.5rem;
        padding-top: 1.5rem;
    }

    .landing-slide-next {
        padding: 0.4rem 0.75rem 0.4rem 1rem;
    }

    /* on a phone, the one before is only its arrow; its name stays for the screen readers */
    .landing-slide-previous {
        justify-content: center;
        width: 2.75rem;
        padding: 0;
    }

    .landing-slide-previous .landing-slide-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .landing-slide-figure strong {
        font-size: 3.5rem;
    }

    .landing-slide-figure span {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        font-size: 0.9375rem;
    }

    .landing-slide-screen img {
        max-height: 15rem;
    }

    .landing-stage-cta .landing-button {
        flex: 1 1 100%;
    }

    .landing-stage-cta p {
        font-size: 0.9375rem;
    }

    .landing-request {
        padding: 3rem 0;
    }

    .landing-coupon-stub {
        padding: 2rem 1.5rem 2.25rem;
    }

    .landing-coupon-body {
        padding: 2rem 1.5rem 1.75rem;
    }

    .landing-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.1rem;
    }

    .landing .landing-hint {
        margin-top: -0.4rem;
    }

    .landing-send .landing-button {
        width: 100%;
    }

    .landing .landing-privacy {
        padding-top: 1.25rem;
        font-size: 0.875rem;
    }
}

/* ---- A small phone: the logo's icon without the name, so the bar keeps to one line ---- */

@media (max-width: 22.5rem) {
    .landing-wrap {
        padding: 0 1rem;
    }

    .landing-logo {
        width: 1.75rem;
        object-fit: cover;
        object-position: left center;
    }
}

/* ---- Without motion for whoever asked their device for it ---- */

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

    .landing *,
    .landing *::before,
    .landing *::after {
        animation: none !important;
        transition: none !important;
    }
}
