/* Feature articles (scripts/feature.mjs): an Ask FrontDesk guide in the campaign
   identity. Lime, cyan, pink and lavender on black and white; Archivo for display,
   Montserrat for reading. Built on the --c-* colours in home.css. */

.fx { --pad: var(--gutter, clamp(16px, 5vw, 104px)); }
.fx-t-lime { --t: var(--c-lime); --t-ink: var(--c-black); }
.fx-t-cyan { --t: var(--c-cyan); --t-ink: var(--c-black); }
.fx-t-pink { --t: var(--c-pink); --t-ink: var(--c-white); }
.fx-t-lavender { --t: var(--c-lavender); --t-ink: var(--c-black); }
.fx-kicker { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; font: 700 12px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; }
.fx-kicker::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.fx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- hero ---------- */
.fx-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: clamp(108px, 16vh, 160px) var(--pad) clamp(48px, 9vh, 96px);
  background: var(--t); color: var(--t-ink);
}
.fx-hero::after { /* the FD mark's soft chat-bubble shape, as a giant watermark */
  content: ""; position: absolute; z-index: -1; right: -8vw; bottom: -18vw; width: 46vw; aspect-ratio: 1;
  border-radius: 50% 50% 50% 8%; background: rgba(255,255,255,.28);
}
.fx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 4vh, 40px); font: 700 12px/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; }
.fx-crumbs a { color: inherit; text-underline-offset: 3px; }
.fx-crumbs span:last-child { opacity: .7; }
.fx-title { margin: 0 0 22px; font: 900 clamp(40px, 6.4vw, 100px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.03em; text-wrap: balance; max-width: 15ch; }
.fx-dek { margin: 0 0 26px; max-width: 46ch; font: 600 clamp(17px, 1.5vw, 22px)/1.45 var(--f-body); }
.fx-by { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fx-by span { padding: 8px 13px; border-radius: 999px; background: var(--c-black); color: var(--c-white); font: 700 12.5px/1 var(--f-body); }
.fx-by span:first-child { background: var(--c-white); color: var(--c-black); }

.fx-hero__art { display: grid; gap: 12px; justify-items: start; padding: clamp(18px, 2.4vw, 30px); border-radius: 32px; background: var(--c-black); box-shadow: 0 30px 70px rgba(16,16,16,.28); transform: rotate(2deg); }
.fx-bub { margin: 0; max-width: 30ch; padding: 13px 17px; border-radius: 20px 20px 20px 6px; background: var(--c-white); color: var(--c-black); font: 700 clamp(14px, 1.15vw, 17px)/1.35 var(--f-body); }
.fx-bub--out { justify-self: end; border-radius: 20px 20px 6px 20px; background: var(--c-lime); }
.fx-bub--sm { font-size: 14px; }
.fx-chip { margin: 4px 0 0; justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--c-pink); color: var(--c-white); font: 800 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.fx-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-white); }
@media (prefers-reduced-motion: no-preference) {
  .fx-hero__art > * { animation: fx-pop .6s cubic-bezier(.2, .9, .3, 1.3) both; }
  .fx-hero__art > :nth-child(2) { animation-delay: .35s; }
  .fx-hero__art > :nth-child(3) { animation-delay: .7s; }
  .fx-hero__art > :nth-child(4) { animation-delay: 1.05s; }
  @keyframes fx-pop { from { opacity: 0; transform: translateY(14px) scale(.94); } }
}
@media (max-width: 860px) {
  .fx-hero { grid-template-columns: 1fr; }
  .fx-hero__art { transform: none; max-width: 460px; }
}

/* ---------- body and contents rail ---------- */
.fx-wrap { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: clamp(28px, 5vw, 80px); justify-content: center; padding: clamp(40px, 8vh, 88px) var(--pad) 0; }
.fx-toc { position: sticky; top: calc(var(--top, 96px) + 8px); align-self: start; }
.fx-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fx-toc a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 14px; color: var(--c-black); text-decoration: none; font: 600 13.5px/1.35 var(--f-body); transition: background .2s ease; }
.fx-toc a b { display: grid; place-items: center; height: 24px; border-radius: 999px; background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-black); font: 900 11px/1 var(--f-display); }
.fx-toc a:hover, .fx-toc a[aria-current="true"] { background: #F4F4F1; }
.fx-toc a[aria-current="true"] b { background: var(--t); box-shadow: none; color: var(--t-ink); }
@media (max-width: 1000px) {
  .fx-wrap { grid-template-columns: minmax(0, 1fr); }
  .fx-toc { position: static; padding: 18px; border-radius: 24px; background: #F4F4F1; }
  .fx-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
}

.fx-body { margin: 0; min-width: 0; }
.fx-body > p, .fx-body .fx-q__a p { font: 500 clamp(17px, 1.25vw, 19px)/1.7 var(--f-body); color: #2d2d2d; max-width: 64ch; }
.fx-body > p:first-child { font-size: inherit; color: #2d2d2d; }
.fx-body a { color: var(--c-black); text-decoration-thickness: 2px; text-decoration-color: var(--c-pink); text-underline-offset: 3px; }

.fx-lede { margin: 0 0 18px; padding: 4px 0 4px clamp(16px, 2vw, 26px); border-left: 8px solid var(--c-lime); }
.fx-lede p { margin: 0; font: 600 clamp(20px, 1.9vw, 26px)/1.45 var(--f-body) !important; color: var(--c-black) !important; max-width: 40ch; }

.fx-h { margin: clamp(56px, 9vh, 96px) 0 20px !important; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; scroll-margin-top: calc(var(--top, 96px) + 16px); }
.fx-h__n { display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 10px; border-radius: 20px; background: var(--t); color: var(--t-ink); font: 900 28px/1 var(--f-display); transform: rotate(-4deg); }
.fx-h__t { font: 900 clamp(26px, 3vw, 42px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; text-wrap: balance; padding-top: 6px; }
@media (max-width: 560px) { .fx-h__n { min-width: 48px; height: 48px; font-size: 21px; border-radius: 15px; } }

.fx-more { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px !important; }
.fx-more a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--c-black); color: var(--c-white) !important; text-decoration: none; font: 700 13.5px/1 var(--f-body); transition: transform .2s ease, background .2s ease, color .2s ease; }
.fx-more a svg { width: 16px; height: 16px; transition: transform .25s ease; }
.fx-more a:hover, .fx-more a:focus-visible { background: var(--c-lime); color: var(--c-black) !important; }
.fx-more a:hover svg { transform: translateX(3px); }

/* at a glance */
.fx-glance { margin: 30px 0 0; padding: clamp(20px, 2.6vw, 30px); border-radius: 30px; background: var(--c-black); color: var(--c-white); }
.fx-glance .fx-kicker { color: var(--c-lime); }
.fx-glance dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-tile { padding: 16px 18px; border-radius: 20px; background: var(--t); color: var(--t-ink); min-height: 116px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.fx-tile dt { font: 800 11px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.fx-tile dd { margin: 0; font: 800 clamp(15px, 1.2vw, 17px)/1.35 var(--f-body); }
.fx-tile:last-child dd { font: 900 clamp(18px, 1.6vw, 22px)/1.15 var(--f-display); }
@media (max-width: 760px) { .fx-glance dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .fx-glance dl { grid-template-columns: 1fr; } .fx-tile { min-height: 0; } }

/* a chat, as bubbles */
.fx-chat { margin: 26px 0 18px; max-width: 560px; padding: 18px; border-radius: 28px; background: #F4F4F1; border: 1.5px solid var(--c-black); }
.fx-chat figcaption { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.fx-chat figcaption i { width: 10px; height: 10px; border-radius: 50%; background: #1DB954; box-shadow: 0 0 0 4px rgba(29,185,84,.2); }
.fx-chat__msgs { display: grid; gap: 10px; }
.fx-msg { margin: 0 !important; max-width: 85% !important; padding: 13px 17px; border-radius: 20px 20px 20px 6px; background: var(--c-white); font: 600 16px/1.45 var(--f-body) !important; color: var(--c-black) !important; justify-self: start; }
.fx-msg--out { justify-self: end; border-radius: 20px 20px 6px 20px; background: var(--c-black); color: var(--c-white) !important; }

/* option cards */
.fx-choices { margin: 22px 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fx-choice { padding: clamp(20px, 2.4vw, 28px); border-radius: 28px; background: var(--t); color: var(--t-ink); }
.fx-choice:nth-child(2) { transform: translateY(18px); }
.fx-choice__tag { margin: 0 0 18px !important; font: 900 44px/1 var(--f-display) !important; color: inherit !important; opacity: .9; }
.fx-choice h3 { margin: 0 0 10px; font: 900 clamp(22px, 2vw, 28px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.fx-choice p { margin: 0; font: 600 16px/1.55 var(--f-body); color: inherit; }
@media (max-width: 640px) { .fx-choices { grid-template-columns: 1fr; } .fx-choice:nth-child(2) { transform: none; } }

/* chips */
.fx-trades { list-style: none; margin: 18px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fx-trades li { padding: 12px 18px; border-radius: 999px; background: var(--t); color: var(--t-ink); font: 800 15px/1 var(--f-body); }
.fx-trades li:last-child { background: var(--c-black); color: var(--c-white); }

/* price */
.fx-price { margin: 12px 0 18px; padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: var(--c-black); color: var(--c-white); display: grid; gap: 16px; justify-items: start; position: relative; overflow: hidden; }
.fx-price::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; aspect-ratio: 1; border-radius: 50%; background: var(--c-pink); opacity: .9; }
.fx-price__fig { margin: 0 !important; position: relative; z-index: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.fx-price__fig b { font: 900 clamp(56px, 8vw, 112px)/.85 var(--f-display); color: var(--c-lime); letter-spacing: -.03em; }
.fx-price__fig span { font: 800 clamp(16px, 1.4vw, 20px)/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; }
.fx-price__text { margin: 0 !important; max-width: 52ch; font: 500 16px/1.6 var(--f-body) !important; color: #e7e7e7 !important; position: relative; z-index: 1; }

.fx-btn { font: 800 15px/1 var(--f-body); padding: 15px 22px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; }
.fx-btn svg { width: 18px; height: 18px; }
.fx-btn--lime { background: var(--c-lime); color: var(--c-black); }
.fx-btn--line { background: transparent; color: var(--c-white); box-shadow: inset 0 0 0 2px var(--c-white); }
.fx-btn:hover, .fx-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--c-pink); }
.fx-btn--line:hover { box-shadow: inset 0 0 0 2px var(--c-white), 0 0 0 3px var(--c-pink); }

/* FAQ */
.fx-faq { display: grid; gap: 10px; margin-top: 10px; }
.fx-q { border-radius: 22px; background: #F4F4F1; overflow: hidden; border-left: 8px solid var(--t); }
.fx-q--lime { --t: var(--c-lime); } .fx-q--cyan { --t: var(--c-cyan); } .fx-q--pink { --t: var(--c-pink); } .fx-q--lavender { --t: var(--c-lavender); }
.fx-q summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; font: 800 clamp(16px, 1.3vw, 19px)/1.3 var(--f-body); }
.fx-q summary::-webkit-details-marker { display: none; }
.fx-q summary i { width: 34px; height: 34px; border-radius: 50%; background: var(--c-black); position: relative; transition: transform .3s ease, background .3s ease; }
.fx-q summary i::before, .fx-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: var(--c-white); border-radius: 2px; }
.fx-q summary i::after { transform: rotate(90deg); transition: transform .3s ease; }
.fx-q[open] summary i { background: var(--t); }
.fx-q[open] summary i::before, .fx-q[open] summary i::after { background: var(--c-black); }
.fx-q[open] summary i::after { transform: rotate(0); }
.fx-q summary:hover i { transform: scale(1.08); }
.fx-q__a { padding: 0 20px 6px; }
.fx-q__a p { margin: 0 0 14px !important; }

/* the closing band */
.fx-cta { margin: clamp(56px, 9vh, 96px) 0 0; padding: clamp(28px, 4vw, 56px); border-radius: 36px; background: var(--c-lavender); color: var(--c-black); position: relative; overflow: hidden; isolation: isolate; }
.fx-cta::before { content: ""; position: absolute; z-index: -1; left: -40px; bottom: -80px; width: 260px; aspect-ratio: 1; border-radius: 50% 50% 50% 8%; background: var(--c-lime); }
.fx-cta__h { margin: 0 0 14px !important; font: 900 clamp(32px, 4.4vw, 64px)/.92 var(--f-display) !important; text-transform: uppercase; letter-spacing: -.025em; color: var(--c-black) !important; max-width: 14ch; }
.fx-cta__p { margin: 0 0 22px !important; font: 600 clamp(16px, 1.3vw, 19px)/1.5 var(--f-body) !important; color: var(--c-black) !important; max-width: 44ch; }
.fx-cta__btns { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.fx-cta .fx-btn--lime { background: var(--c-black); color: var(--c-lime); }
.fx-cta .fx-btn--line { color: var(--c-black); box-shadow: inset 0 0 0 2px var(--c-black); }

.fx-related { padding: 0 var(--pad); }

/* over the site's .btn */
.fx .fx-btn--lime { background: var(--c-lime); color: var(--c-black); }
.fx .fx-btn--line { background: transparent; color: var(--c-white); box-shadow: inset 0 0 0 2px var(--c-white); }
.fx .fx-cta .fx-btn--lime { background: var(--c-black); color: var(--c-lime); }
.fx .fx-cta .fx-btn--line { background: transparent; color: var(--c-black); box-shadow: inset 0 0 0 2px var(--c-black); }
.fx .fx-glance .fx-kicker { color: var(--c-lime); }
.fx .fx-price__fig span { color: var(--c-white); }
.fx-tile dd { overflow-wrap: anywhere; }

/* hero without a chat card */
.fx-hero:not(:has(.fx-hero__art)) { grid-template-columns: 1fr; }
.fx-hero__art .fx-bub--in:nth-of-type(3) { font-size: 14px; }

/* numbered steps */
.fx-steps { list-style: none; margin: 26px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.fx-steps li { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 24px; background: var(--t); color: var(--t-ink); font: 700 clamp(16px, 1.25vw, 18px)/1.4 var(--f-body); max-width: none; }
.fx-steps li:nth-child(even) { transform: translateY(14px); }
.fx-steps b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--c-black); color: var(--t); font: 900 24px/1 var(--f-display); transform: rotate(-4deg); }
.fx-steps.fx-steps li span { color: inherit; }
@media (max-width: 640px) { .fx-steps { grid-template-columns: 1fr; } .fx-steps li:nth-child(even) { transform: none; } }

/* words to say */
.fx-script { margin: 24px 0 14px; padding: clamp(22px, 3vw, 34px); border-radius: 32px 32px 32px 10px; background: var(--c-black); color: var(--c-white); position: relative; }
.fx-script figcaption { margin: 0 0 12px; font: 800 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--c-cyan); }
.fx-script blockquote { margin: 0; font: 700 clamp(18px, 1.7vw, 23px)/1.45 var(--f-body); color: var(--c-white); }
.fx-script::after { content: "”"; position: absolute; right: 22px; top: -18px; font: 900 120px/1 var(--f-display); color: var(--c-cyan); }

/* contact cards */
.fx-contacts { margin: 18px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fx-contact { padding: clamp(18px, 2.2vw, 26px); border-radius: 26px; background: var(--t); color: var(--t-ink); }
.fx-contact h3 { margin: 0 0 10px; font: 900 clamp(20px, 1.8vw, 26px)/1 var(--f-display); text-transform: uppercase; }
.fx-contact p { margin: 0; font: 600 16px/1.55 var(--f-body); color: inherit; }
.fx .fx-contact a { display: inline-block; margin: 2px 0; padding: 3px 10px; border-radius: 999px; background: var(--c-black); color: var(--c-white); text-decoration: none; font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) { .fx-contacts { grid-template-columns: 1fr; } }

/* the phone how-to cards: a little more room for steps */
.fx-choice p { overflow-wrap: anywhere; }
.fx .fx-steps li, .fx .fx-contact p, .fx .fx-choice p { color: inherit; }

/* three option cards */
.fx-choices:has(.fx-choice:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-choices .fx-choice:nth-child(3) { --t: var(--c-lime); --t-ink: var(--c-black); }
@media (max-width: 860px) { .fx-choices:has(.fx-choice:nth-child(3)) { grid-template-columns: 1fr; } .fx-choice:nth-child(2) { transform: none; } }

/* two-column comparison */
.fx-compare { margin: 22px 0 8px; border-radius: 30px; overflow: hidden; background: var(--c-black); padding: 8px; display: grid; gap: 6px; }
.fx-compare__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.fx-compare__row > span { padding: 14px 16px; border-radius: 16px; font: 600 15px/1.4 var(--f-body); }
.fx-compare__row > span:first-child { background: #1f1f1f; color: var(--c-white); font-weight: 700; }
.fx-compare__row .fx-col-a { background: var(--c-lime); color: var(--c-black); }
.fx-compare__row .fx-col-b { background: var(--c-white); color: var(--c-black); }
.fx-compare__head > span { font: 900 clamp(15px, 1.3vw, 19px)/1.1 var(--f-display) !important; text-transform: uppercase; }
.fx-compare__head > span:first-child { background: transparent; }
.fx-compare__head .fx-col-b { background: var(--c-lavender); }
@media (max-width: 680px) {
  .fx-compare__head { display: none; }
  .fx-compare__row { grid-template-columns: 1fr 1fr; padding: 4px; }
  .fx-compare__row > span:first-child { grid-column: 1 / -1; background: transparent; padding: 10px 8px 2px; }
  .fx-compare__row > span[data-col]::before { content: attr(data-col); display: block; margin-bottom: 4px; font: 800 10px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
}

/* receipt */
.fx-sum { margin: 20px 0 14px; max-width: 520px; padding: 22px 24px 18px; border-radius: 26px 26px 10px 10px; background: var(--c-white); border: 2px solid var(--c-black); box-shadow: 10px 10px 0 var(--c-lavender); }
.fx-sum figcaption { margin: 0 0 12px; font: 800 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.fx-sum dl { margin: 0; display: grid; }
.fx-sum dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 2px dashed #d6d6d0; font: 600 16px/1.35 var(--f-body); }
.fx-sum dt, .fx-sum dd { margin: 0; }
.fx-sum dd { font-weight: 800; white-space: nowrap; }
.fx-sum .is-total { border-top: 3px solid var(--c-black); font: 900 clamp(18px, 1.6vw, 22px)/1.2 var(--f-display); text-transform: uppercase; }
.fx-sum .is-total dd { background: var(--c-lime); padding: 2px 10px; border-radius: 8px; }

/* aside */
.fx-note { margin: 18px 0 8px; padding: 18px 20px; border-radius: 20px; background: #F4F4F1; border-left: 8px solid var(--c-lavender); }
.fx-note__t { margin: 0 0 6px !important; font: 800 12px/1 var(--f-body) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--c-black) !important; }
.fx-note p { margin: 0 !important; font-size: 15.5px !important; }
