/* SmashClub homepage. Plain layout: one typeface, one accent colour, flat surfaces. */

/* DM Sans, served from this site (variable font: one file covers all weights) */
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/dm-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/dm-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #16191D;
    --text: #3D4248;
    --muted: #686E75;
    --line: #E5E2DD;
    --accent: #FD5321;
    --underline: rgba(22, 25, 29, 0.28); /* links are underlined in quiet grey; the accent is kept for the logo and one word in a headline */
    --tint: #F4F3EF;
    --panel: #F6F5F3;
    --wrap: 1100px;
    --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p, ul, figure, blockquote { margin: 0; }

h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }

a { color: inherit; }

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

.narrow { max-width: 720px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

[id] { scroll-margin-top: 88px; }

/* Buttons and links */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; padding: 15px 24px; font-size: 17px; }
.btn-primary:hover { background: #000; }
.btn-small { padding: 9px 16px; font-size: 15px; }
.btn-plain { background: #fff; color: var(--ink); border-color: var(--line); padding: 12px 18px; font-size: 16px; }
.btn-plain:hover { border-color: var(--ink); }

.link {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--underline);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.link:hover { text-decoration-color: var(--ink); }

/* Navigation */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--tint);
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: #fff; border-bottom-color: var(--line); }
/* homepage: one demo button at a time on a wide screen */
.nav-links .btn { transition: opacity 0.2s ease, visibility 0.2s; }
@media (min-width: 901px) {
    .nav--hero-cta .nav-links .btn { opacity: 0; visibility: hidden; }
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav__logo { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-decoration: none; }
.nav__logo img { height: 28px; width: auto; }
.nav__tagline { font-size: 11.5px; line-height: 1; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-item { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav-item:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; }
.nav-item[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; }
/* Product menu: opens on hover or focus; on a phone its links are listed in the open menu */
.nav-menu { position: relative; padding: 12px 0; margin: -12px 0; }
.nav-menu__btn { display: inline-flex; align-items: center; gap: 7px; cursor: default; }
.nav-menu__btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-menu__list { display: none; position: absolute; left: -14px; top: 100%; z-index: 5; min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.nav-menu:hover .nav-menu__list, .nav-menu:focus-within .nav-menu__list { display: block; }
.nav-menu__list a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-menu__list a:hover { background: var(--tint); }
.nav-menu__list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.nav .lang-switch { font-family: inherit; letter-spacing: 0; }
.nav .lang-switch summary { border-radius: 6px; border-color: var(--line); background: #fff; }
.nav .lang-switch__menu { border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }

/* Case study card: a cut of the case study picture next to the text; the whole card is the link */

.casecard { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); overflow: hidden; border-radius: 8px; background: var(--tint); }
.casecard__media { overflow: hidden; min-height: 200px; }
.casecard__img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; transform: scale(1.16); transform-origin: 34% 58%; }
.casecard__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 30px 40px; color: var(--text); font-size: 17px; line-height: 1.5; text-decoration: none; }
.casecard__text::after { content: ""; position: absolute; inset: 0; }
.casecard__text strong { display: block; margin-bottom: 6px; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
.casecard__tag { font-size: 15px; font-weight: 600; color: var(--muted); }
.casecard__more { margin-top: 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.casecard:hover .casecard__more { text-decoration-color: var(--ink); }
.earn .casecard { margin-top: 64px; }
.wrap.casecard-wrap { padding-bottom: 80px; }

/* Hero */

.hero { background: var(--tint); padding: 56px 0 52px; text-align: center; }
.hero__inner { max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 5vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.hero__eyebrow { font-size: 16px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: 20px; line-height: 1.55; max-width: 560px; margin: 22px auto 0; }
.hero__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.hero__tour { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; text-decoration: none; }
.hero__tour::before {
    content: "";
    border-left: 10px solid var(--accent);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.hero__notes { margin-top: 28px; font-size: 15px; color: var(--muted); }
.hero__notes span { white-space: nowrap; }
.hero__notes span + span::before { content: "·"; margin: 0 10px; }
.hero__notes img { display: inline-block; height: 22px; width: auto; vertical-align: -5px; margin-left: 4px; }
/* German and Spanish headlines are longer: slightly smaller type keeps them to two lines */
html[lang=de] .hero__inner, html[lang=es] .hero__inner { max-width: 860px; }
html[lang=de] .hero h1, html[lang=es] .hero h1 { font-size: clamp(34px, 4.2vw, 46px); }

/* Clubs strip */

.clubs { padding: 30px 0 44px; border-bottom: 1px solid var(--line); }
.clubs__stat { text-align: center; font-size: 16px; color: var(--muted); }
.clubs__stat strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-right: 6px; }
.clubs__logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px 44px; list-style: none; padding: 0; margin: 22px 0 0; }
.clubs__logos img { height: 27px; width: auto; filter: grayscale(1); opacity: 0.8; }
.clubs__logos img.is-mark { filter: brightness(0); opacity: 0.6; }
.clubs__logos img.is-tall { height: 37px; }
.clubs__logos img.is-wide { height: 18px; }
.clubs__logos img.is-badge { height: 42px; }

/* Leagues page: one client, logo in its own colours with a line about it */
.clubs--one .clubs__logos { margin-top: 0; }
.clubs--one .clubs__logos img { height: 76px; filter: none; opacity: 1; }
.clubs--one .clubs__stat { max-width: 560px; margin: 16px auto 0; }

/* Club photos under the logos */

.club-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 860px; margin: 44px auto 0; }
.club-photos img { aspect-ratio: 3 / 2; }
.club-photos figcaption { margin-top: 8px; font-size: 13px; }

/* Sections */

.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section--tight { padding: 64px 0; }
.section__head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: clamp(30px, 4vw, 38px); line-height: 1.12; text-wrap: balance; }
.section__head p { margin-top: 14px; }

/* Product tour */

.tour .tour-player { max-width: 920px; margin: 0 auto; }
.tour__more { text-align: center; margin-top: 22px; font-size: 16px; }

/* Rows: picture on one side, text on the other */

.rows { padding: 32px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.row--flip .row__media { order: 2; }
.row__text h2 { font-size: clamp(30px, 4vw, 38px); line-height: 1.12; }
.row__text h3 { font-size: clamp(24px, 3vw, 28px); line-height: 1.18; }
.row__text p { margin-top: 16px; }
.row__text p.lead { font-size: 20px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.row__text .link { display: inline-block; margin-top: 22px; }
.row--bare { padding: 0; }
.rows--tint { background: var(--tint); }

.gallery { padding: 0 0 80px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--tint); }
.gallery__caption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

.label { display: block; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 12px; letter-spacing: 0; }

.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--tint); }
/* portrait photo: kept narrow so it does not tower over the text next to it */
.photo--tall { max-width: 360px; width: 100%; justify-self: center; margin-left: auto; margin-right: auto; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo figcaption, .shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Console screens: one 3:2 frame. App screens: the same phone picture everywhere, 220px wide, alone or in a pair. */
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid #DAD6D0; border-radius: 8px; box-shadow: 0 1px 2px rgba(22, 25, 29, 0.05), 0 14px 34px -14px rgba(22, 25, 29, 0.22); background: #fff; }
.shot--phone { max-width: 220px; width: 100%; justify-self: center; }
.shot--phone img { aspect-ratio: 728 / 1499; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; background: none; }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; max-width: 468px; width: 100%; justify-self: center; }
.pass-stack { max-width: 340px; width: 100%; justify-self: center; }
.pass-stack img { width: 100%; aspect-ratio: 1.59; object-fit: cover; border-radius: 20px; box-shadow: 0 -10px 22px -12px rgba(22, 25, 29, 0.55); }
.pass-stack img + img { margin-top: -47%; }
.pass-stack img:last-of-type { box-shadow: 0 -10px 22px -12px rgba(22, 25, 29, 0.55), 0 18px 32px -16px rgba(22, 25, 29, 0.4); }
.pass-stack figcaption { margin-top: 16px; font-size: 14px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Sponsors */

.sponsors { border-top: 1px solid var(--line); }
.row__text h3.list-title { font-size: 20px; margin-top: 32px; }
.plain-list { list-style: none; padding: 0; margin: 14px 0 0; }
.plain-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; line-height: 1.45; }
.plain-list li:first-child { border-top: 1px solid var(--line); }

/* Testimonials */

/* Testimonials: two rows that scroll sideways. A long one is a wide card with the story next to
   the quote; short ones are narrow cards, so nothing is stretched tall. */
/* The row fades out at the side it continues to, instead of being cut */
.quotes { --fade-l: 56px; --fade-r: 56px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.quotes.at-start { --fade-l: 0px; }
.quotes.at-end { --fade-r: 0px; }
.quotes { display: grid; grid-template-rows: auto auto; grid-auto-flow: column dense; grid-auto-columns: calc((100% - 72px) / 3.25); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quotes .quote { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; }
.quote__brand { align-self: flex-start; justify-self: start; height: 22px; width: auto; margin-bottom: 18px; }
.quote__brand.is-wide { height: 17px; }
.quote__brand.is-badge { height: 38px; margin-bottom: 14px; }
.quote blockquote { font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.quote p { margin-top: 12px; font-size: 16px; line-height: 1.55; }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.quote__by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.quote__by strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.quote__by a { color: var(--muted); }
.quotes .quote--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 32px; }
.quote--wide .quote__brand { grid-column: 1; grid-row: 1; }
.quote--wide blockquote { grid-column: 1; grid-row: 2; font-size: 23px; line-height: 1.3; }
.quote--wide .quote__by { grid-column: 1; grid-row: 3; align-self: end; }
.quote--wide > p { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }

/* Arrows and a counter under the row; the next card always shows at the edge */
.quotes-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.quotes-nav__btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 18px; line-height: 1; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.quotes-nav__btn:hover:not([disabled]) { border-color: var(--ink); }
.quotes-nav__btn[disabled] { opacity: 0.35; cursor: default; }
@media (min-width: 901px) { .quotes-nav__count { display: none; } }
.quotes-nav__count { min-width: 84px; text-align: center; font-size: 15px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* One testimonial on its own */
.solo-quote { text-align: center; }
.solo-quote img { height: 84px; width: auto; margin: 0 auto 26px; }
.solo-quote blockquote { font-size: clamp(21px, 2.6vw, 26px); line-height: 1.38; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.solo-quote figcaption { margin-top: 22px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.solo-quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* Revenue */

.earn { border-top: 1px solid var(--line); }
.cols.cols--4 { grid-template-columns: repeat(4, 1fr); gap: 36px; }
.section.earn:has(.earn__case) { padding-bottom: 0; }
.earn__case { margin-top: 56px; padding: 30px 0 32px; border-top: 1px solid var(--line); text-align: center; font-size: 18px; font-weight: 500; color: var(--ink); }
.earn__case .link { margin-left: 8px; white-space: nowrap; }

/* Integrations */

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.cols.cols--2 { grid-template-columns: 1fr 1fr; max-width: 860px; margin-left: auto; margin-right: auto; }
.cols .price-tag { margin-top: 14px; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.cols .price-tag + p { margin-top: 14px; }
.cols .plain-list li { font-size: 16px; }
.cols h3 { font-size: 20px; line-height: 1.3; padding-top: 18px; border-top: 2px solid var(--ink); }
.cols p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.tools { list-style: none; padding: 0; margin-top: 18px; }
.tools li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.tools img { flex: 0 0 auto; }
.tools li:has(> img.is-wordmark), .tools li:has(> img.is-wordmark-tall) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.tools small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.tools li:first-child { border-top: 1px solid var(--line); }
.tools img { height: 24px; width: auto; }
.tools img.is-wordmark { height: 22px; }
.tools img.is-wordmark-tall { height: 30px; }
.section__foot { text-align: center; margin-top: 40px; font-size: 16px; color: var(--muted); }

/* FAQ */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.faq summary::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-3px) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding: 0 40px 22px 0; font-size: 17px; }

/* Product directory and blog */

.directory h2, .blog h2 { font-size: 28px; line-height: 1.2; }
.directory p { margin-top: 10px; }
.directory nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 32px; margin-top: 28px; }
.directory nav a { font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; }
.directory nav a:hover { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

.blog { border-top: 1px solid var(--line); }
.blog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.blog__head .link { font-size: 16px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.post { display: block; text-decoration: none; color: inherit; }
.post .label { font-size: 14px; margin-bottom: 8px; }
.post h3 { font-size: 21px; line-height: 1.25; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.post p { margin-top: 10px; font-size: 16px; line-height: 1.55; }

/* Closing call to action */

.cta__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
/* homepage: two phones next to the last demo button, contact options under it */
.cta__grid--media { grid-template-columns: minmax(0, 1fr) 320px; }
.cta__grid--media .cta__direct { border-left: 0; padding-left: 0; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(22, 25, 29, 0.14); max-width: 520px; }
.cta__media img { width: 100%; height: auto; }
.cta h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 28px; }
.cta__direct { border-left: 1px solid rgba(22, 25, 29, 0.14); padding-left: 48px; }
.cta__direct p { font-size: 17px; }
.cta__direct p strong { color: var(--ink); font-weight: 600; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Footer */

.foot { padding: 8px 0 40px; font-size: 16px; }
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.newsletter h2 { font-size: 24px; line-height: 1.2; }
.newsletter p { margin-top: 8px; }
.newsletter .link { white-space: nowrap; }
.nl-form { display: flex; gap: 10px; }
.nl-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 6px; border: 1px solid #CFCBC5; background: #fff; color: var(--ink); }
.nl-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.nl-form button[disabled] { opacity: 0.6; cursor: wait; }
.nl-form-msg { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.nl-form-msg.ok { color: #15803D; }
.nl-form-msg.err { color: #B91C1C; }

.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding: 48px 0; }
.foot__brand img { height: 28px; width: auto; }
.foot__brand p { margin-top: 16px; max-width: 340px; color: var(--muted); }
.foot h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; }
.foot li { margin-top: 8px; }
.foot__top a, .foot__top button { color: var(--text); text-decoration: none; }
.foot__top a:hover, .foot__top button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot__top button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot__pages { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0 0 28px; font-size: 15px; }
.foot__pages a { color: var(--muted); text-decoration: none; }
.foot__pages a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__bottom p { margin: 0; }
.foot__bottom a { color: var(--muted); text-decoration: none; }
.foot__bottom a:hover { color: var(--ink); }
.foot .footer-langs a { color: var(--muted); }
.foot .footer-langs a:hover { color: var(--ink); }
.foot .footer-langs a.is-active { color: var(--ink); font-weight: 600; }

/* Tablet and phone */

@media (max-width: 900px) {
    body { font-size: 17px; }
    .nav-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }
    .nav.is-open { background: #fff; }
    .nav.is-open .nav-links { display: flex; }
    .nav-links .nav-item { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
    .nav-menu { padding: 0; margin: 0; }
    .nav-links .nav-menu__btn { display: block; padding: 14px 0 2px; border-bottom: 0; font-size: 14px; color: var(--muted); }
    .nav-menu__btn::after { content: none; }
    .nav-menu__list { display: block; position: static; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
    .nav-menu__list a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
    .nav-menu__list a:hover { background: none; }
    .nav-links .lang-switch { margin: 16px 0 0; }
    .nav-links .btn { margin-top: 16px; padding: 14px 20px; font-size: 17px; }

    .hero { padding: 36px 0 48px; text-align: center; }
    .hero__inner { max-width: 640px; margin: 0 auto; }
    .hero__lead { font-size: 18px; margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .section { padding: 56px 0; }
    .section--tight { padding: 48px 0; }
    .section__head { margin-bottom: 32px; }

    .clubs__logos { justify-content: center; gap: 18px 30px; }
    .clubs__logos img { height: 26px; }
    .clubs__logos img.is-tall { height: 38px; }
    .clubs__logos img.is-badge { height: 40px; }
    .clubs__logos img.is-wide { height: 18px; }

    .rows { padding: 24px 0; }
    .row, .cta__grid, .newsletter { grid-template-columns: 1fr; gap: 28px; }
    .quotes { grid-template-rows: auto; grid-auto-columns: 86%; gap: 14px; align-items: start; }
    .quotes .quote--wide { grid-column: auto; display: flex; }
    .quote--wide > p { margin-top: 12px; }
    .quote--wide .quote__by { align-self: auto; }
    .quote--wide blockquote { font-size: 20px; line-height: 1.35; }
    .quote blockquote { font-size: 20px; }
    .earn__case { margin-top: 40px; font-size: 17px; }
    .casecard { grid-template-columns: 1fr; }
    .casecard__media { min-height: 0; height: 170px; }
    .casecard__text { padding: 24px; font-size: 16px; }
    .earn .casecard { margin-top: 44px; }
    .wrap.casecard-wrap { padding-bottom: 56px; }
    .quotes { --fade-l: 28px; --fade-r: 28px; }
    .phone-pair { gap: 14px; }
    .quotes .quote { padding: 24px; }
    .cta__media { max-width: 240px; margin: 8px auto 0; }
    .cta__direct { border-left: 0; padding-left: 0; border-top: 1px solid rgba(22, 25, 29, 0.14); padding-top: 28px; }
    .cta__grid--media .cta__direct { margin-top: 32px; }
    .club-photos { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
    .cols.cols--4 { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
    .row { padding: 32px 0; }
    .row--flip .row__media { order: 0; }
    .gallery { padding-bottom: 56px; }
    .gallery__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero__eyebrow { font-size: 16px; margin-bottom: 14px; }
    .cols { grid-template-columns: 1fr; gap: 36px; }
    .cols.cols--2 { grid-template-columns: 1fr; }
    .posts { grid-template-columns: 1fr; gap: 28px; }
    .directory nav { grid-template-columns: repeat(2, 1fr); }
    .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot__brand { grid-column: 1 / -1; }
    .faq details p { padding-right: 0; }
}

@media (max-width: 520px) {
    .wrap { padding: 0 20px; }
    .hero h1 { font-size: 38px; }
    .hero__notes span { white-space: normal; }
    .hero__notes span:first-child { display: block; margin-bottom: 6px; }
    .hero__notes span:nth-child(2)::before { content: none; }
    .nl-form { flex-direction: column; }
    .directory nav { grid-template-columns: 1fr; }
    .cols.cols--4 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body.at-contact .crisp-client,
    body.at-contact #crisp-chatbox { opacity: 0 !important; pointer-events: none !important; transition: opacity .25s ease; }
}

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