/* Ad Lib Golf site.
   Direction: "Scorecard", round 4. White ground, bold uppercase condensed headlines, pill buttons,
   a script + gold wordmark, navy text with a navy header and footer, and colour from fairway green,
   trophy gold, sky and sand tints.
   Layout: mobile-first editorial. Real vertical video does the visual work; sections are separated by space and hairlines, not boxes. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F2F5F9;   /* light grey with a hint of navy, never cream */
  --ink: #13233F;         /* navy: text, headings, header and footer */
  --muted: #5B6679;
  --line: #E1E6EE;
  --green: #0E7A43;       /* putting green: buttons, links, ticks */
  --green-ink: #FFFFFF;
  --green-soft: #E3F3E8;
  --gold: #A77B27;        /* trophy gold: wordmark, badges, small rules (deepened for contrast on white) */
  --gold-bright: #D4A64A; /* the same gold on dark grounds */
  --dark: #13233F;        /* header and footer */
  --gold-soft: #F6EEDC;   /* sand */
  --sky-soft: #EAF2FB;    /* sky */
  --script: "Caveat", "Bradley Hand", cursive;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; letter-spacing: -0.005em; line-height: .94; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(50px, 7.6vw, 112px); }
h2 { font-size: clamp(38px, 5vw, 70px); }
h3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.05; }
h1 em, h2 em { font-style: normal; color: var(--green); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; margin: 0; }
.muted { color: var(--muted); }

/* Buttons */
/* Pill buttons with a circled arrow */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; color: var(--ink); background: var(--surface-2); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:has(.arr) { padding-right: 12px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(19, 35, 63, .14); }
.btn.primary { background: var(--green); color: var(--green-ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn .arr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 15px; transition: transform .15s; }
.btn.primary .arr, .btn.dark .arr { background: rgba(255,255,255,.2); color: #fff; }
.btn:hover .arr { transform: translateX(2px); }

/* Wordmark: "Ad Lib" handwritten (ad-libbed), GOLF in wide gold capitals. */
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; line-height: 1; }
.wordmark > span:first-child { font-family: var(--script); font-weight: 700; font-size: 38px; letter-spacing: 0; }
.wordmark .golf { font-family: var(--display); font-weight: 700; font-stretch: 125%; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 18px; font-size: 14px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .top .wrap { min-height: 60px; } .wordmark > span:first-child { font-size: 33px; } .wordmark .golf { font-size: 15px; } }

/* Hero */
.hero { padding-block: clamp(36px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .copy { display: grid; gap: 22px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.proof { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.proof span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.stack .clip:nth-child(1) { margin-top: 48px; }
.stack .clip:nth-child(3) { margin-top: 24px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .stack .clip:nth-child(1) { margin-top: 24px; } .stack .clip:nth-child(3) { margin-top: 12px; }
}

/* Clips */
.clip { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 9 / 16; max-width: 100%; }
.clip video, .clip img { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Reel strip */
.reel { padding-block: clamp(32px, 5vw, 64px); background: var(--sky-soft); overflow: hidden; }
.reel .head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.reel h2 { font-size: clamp(30px, 3.4vw, 46px); }
.track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.track .clip { flex: 0 0 clamp(150px, 17vw, 210px); scroll-snap-align: start; }
.strip-nav { display: flex; gap: 8px; margin-left: auto; }
.strip-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(19, 35, 63, .10); transition: transform .15s, box-shadow .15s, opacity .15s; }
.strip-nav button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(19, 35, 63, .14); }
.strip-nav button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .track { cursor: grab; user-select: none; -webkit-user-select: none; } .track.dragging { cursor: grabbing; scroll-snap-type: none; } }

/* Sections */
section.block { padding-block: clamp(56px, 9vw, 120px); }
section.block.tight { padding-top: 0; }
.intro { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.trio > div { border-top: 3px solid var(--gold); padding-top: 18px; }
.trio h3 { margin-bottom: 10px; }
.trio p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .trio { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface-2); border-color: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 30px; line-height: 1; color: var(--gold); box-shadow: 0 4px 12px rgba(19,35,63,.08); }
.steps h3 { font-size: 23px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; justify-self: center; width: 100%; }
.split .media .clip:nth-child(2) { margin-top: 40px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.rows { display: grid; gap: 18px; }
.rows .row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding-top: 18px; border-top: 1px solid var(--line); }
.rows .row:first-child { border-top: 0; padding-top: 0; }
.rows .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green); font-weight: 700; }
.rows h3 { font-size: 23px; margin-bottom: 4px; }
.rows p { margin: 0; color: var(--muted); }

.checks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.checks div { padding: 22px; border-left: 1px solid var(--line); background: var(--surface); }
.checks b::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 12px; }
.checks div:first-child { border-left: 0; }
.checks b { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 24px; line-height: 1.05; margin-bottom: 8px; }
.checks span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .checks { grid-template-columns: minmax(0, 1fr); } .checks div { border-left: 0; border-top: 1px solid var(--line); } .checks div:first-child { border-top: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; background: var(--surface); }

/* Packs (businesses) */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: start; position: relative; }
.pack.featured { border: 2px solid var(--green); box-shadow: 0 18px 50px rgba(14, 122, 67, .12); }
.pack .tag { position: absolute; top: -13px; left: 24px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pack h3 { font-size: 34px; }
.pack .sub { color: var(--muted); font-size: 15px; margin-top: -10px; }
.pack .price { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; }
.pack .per { color: var(--green); font-weight: 700; font-size: 15px; margin-top: -8px; }
.pack .share-line { font-size: 13px; font-weight: 600; color: var(--gold); margin-top: -14px; }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.pack li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.pack li::before { content: "✓"; color: var(--green); font-weight: 700; }
.pack li.plus { font-weight: 600; }
.pack li b { font-weight: 700; }
.pack .btn { justify-content: center; margin-top: auto; }
.addon { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--gold-soft); border-radius: var(--radius); padding: 24px 28px; }
.addon h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 6px 0 6px; }
.addon p { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 760px) { .addon { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 961px) and (max-width: 1120px) { .pack { padding: 22px; } .pack ul { font-size: 14px; } }
@media (max-width: 960px) { .packs { grid-template-columns: minmax(0, 1fr); } }
.note { font-size: 15px; color: var(--muted); margin-top: 20px; }

.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.types div { padding-top: 16px; border-top: 1px solid var(--line); }
.types b { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 24px; line-height: 1.05; margin-bottom: 6px; }
.types span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .types { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.panel h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.panel p { margin: 0; color: var(--muted); max-width: 60ch; }
.panel.green { background: var(--green-soft); border-color: transparent; }
.panel.grey { background: var(--surface-2); border-color: transparent; }
@media (max-width: 760px) { .panel { grid-template-columns: minmax(0, 1fr); } }

/* Homepage doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 20px; align-items: end; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, transform .15s; }
.door:hover { border-color: var(--green); transform: translateY(-2px); }
.door .eyebrow { color: var(--green); }
.door { background: var(--surface-2); border-color: transparent; }
.door h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 10px 0 12px; }
.door p { margin: 0 0 18px; color: var(--muted); }
.door .go { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.door .clip { width: 132px; }
.door > div { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; }
.door .go { margin-top: auto; }
@media (max-width: 860px) { .doors { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .door { grid-template-columns: minmax(0, 1fr); } .door .clip { width: 100%; max-width: 200px; } }

/* Apply */
.apply { background: var(--gold-soft); }
.apply .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.apply ul { padding-left: 1.1em; color: var(--muted); margin: 0; }
.formslot { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); min-height: 520px; padding: 28px; display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--muted); }
.formslot b { color: var(--ink); font-size: 18px; }
@media (max-width: 860px) { .apply .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 68ch; }

/* Closing call to action */
.closer { padding-block: clamp(64px, 10vw, 128px); text-align: center; }
.closer .wrap { display: grid; justify-items: center; gap: 22px; }
.closer h2 { max-width: 16ch; }

/* Footer */
footer { padding-block: 56px 40px; background: var(--dark); color: #fff; }
footer .wordmark { color: #fff; }
footer .wordmark .golf { color: var(--gold-bright); }
footer .wordmark > span:first-child { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: start; justify-content: space-between; }
footer p { margin: 6px 0 0; color: rgba(255,255,255,.65); font-size: 14px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
footer nav a { color: rgba(255,255,255,.72); text-decoration: none; }
footer nav a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 560px) { body { font-size: 16px; } .wrap { padding-inline: 16px; } }

/* Navy header */
.top { background: color-mix(in srgb, var(--dark) 96%, transparent); border-bottom-color: rgba(255,255,255,.08); }
.top .wordmark { color: #fff; }
.top .wordmark .golf { color: var(--gold-bright); }
.nav a:not(.btn) { color: rgba(255,255,255,.72); }
.nav a[aria-current="page"], .nav a:not(.btn):hover { color: #fff; }

/* Footer social icons (hidden in the HTML until the accounts are live) */
footer .social { display: flex; gap: 10px; }
footer .social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); transition: background .15s, color .15s; }
footer .social a:hover { background: var(--gold-bright); color: var(--ink); }
footer .social svg { width: 18px; height: 18px; }

/* Contact page and the businesses closer: copy and a call button beside the enquiry form */
.enquire .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.enquire .copy { display: grid; gap: 20px; }
.enquire .copy .muted { margin: 0; font-size: 15px; }
.enquire .copy .muted a { color: var(--green); font-weight: 600; }
section.enquire:not(.contact) { background: var(--sky-soft); }
@media (min-width: 861px) { .enquire .copy { position: sticky; top: 100px; } }
@media (max-width: 860px) { .enquire .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Business enquiry form */
.enquiry-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 18px 50px rgba(19, 35, 63, .06); }
.enquiry, .sent { display: grid; gap: 22px; }
.enquiry h3, .sent h3 { font-size: clamp(26px, 2.6vw, 34px); }
.enquiry .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
@media (max-width: 560px) { .enquiry .two { grid-template-columns: minmax(0, 1fr); } }
.enquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 8px; }
.field > label { margin-bottom: 0; }
.field .hint { font-weight: 400; color: var(--muted); margin-left: 6px; }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid #C9D2DF; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.enquiry textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.enquiry input::placeholder, .enquiry textarea::placeholder { color: #8A94A6; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks label { position: relative; }
.picks input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.picks span { display: inline-block; border: 1px solid #C9D2DF; border-radius: 999px; padding: 9px 15px; font-size: 15px; line-height: 1.3; background: var(--surface); transition: background .15s, border-color .15s; }
.picks label:hover span { border-color: var(--green); }
.picks input:checked + span { background: var(--green-soft); border-color: var(--green); font-weight: 600; }
.picks input[type="checkbox"]:checked + span::before { content: "✓ "; color: var(--green); }
.picks input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.field.invalid input[type="text"], .field.invalid input[type="email"], .field.invalid textarea, .field.invalid .picks span { border-color: #B42318; }
.field .err { color: #B42318; font-size: 14px; margin: 0; }
.form-error { color: #B42318; font-size: 15px; margin: 0; }
.enquiry .btn { justify-self: start; }
.enquiry .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.sent { justify-items: start; }
.sent p { margin: 0; color: var(--muted); }
.sent:focus { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Creator application: a card with a button that opens the Jotform in a pop-up */
.apply-card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; justify-items: start; align-content: center; box-shadow: 0 18px 50px rgba(19, 35, 63, .06); }
.apply-card h3 { font-size: clamp(28px, 3vw, 40px); }
.apply-card p { margin: 0; color: var(--muted); }
.apply-card .small { font-size: 14px; }
.apply-card .small a { color: var(--green); font-weight: 600; }
.formpop { width: min(760px, 100vw - 32px); height: min(900px, 100dvh - 32px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(19, 35, 63, .35); }
.formpop[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.formpop::backdrop { background: rgba(19, 35, 63, .6); }
.formpop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; background: var(--dark); color: #fff; }
.formpop-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; cursor: pointer; }
.formpop-close:hover { background: rgba(255,255,255,.22); }
.formpop-body { position: relative; min-height: 0; }
.formpop-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.formpop iframe { position: relative; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
@media (max-width: 560px) { .formpop { width: 100vw; height: 100dvh; border-radius: 0; } }
