/* Luther Sales: mid-century modern pay-later guide */
:root {
  --cream: #F3E7CF;
  --paper: #FBF5E8;
  --teal: #2E6E6A;
  --teal-d: #22524F;
  --mustard: #E3A72F;
  --orange: #C9561F;
  --avocado: #6F8043;
  --ink: #2B2622;
  --ink-2: #5A5048;
  --line: rgba(43, 38, 34, 0.18);
  --display: "Josefin Sans", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(43, 38, 34, 0.08) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
}
a { color: var(--teal-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .kicker, .nav, .btn, .glance dt, .tag-title, .tag-sub, th { font-family: var(--display); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: 0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* masthead */
.masthead {
  max-width: 1160px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-burst { width: 38px; height: 38px; fill: var(--mustard); }
.brand-name { font-family: var(--script); font-size: 34px; line-height: 1; color: var(--teal-d); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: 0.16em; font-size: 14px; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--mustard); color: var(--ink); }

main { max-width: 1160px; margin: 0 auto; padding: 0 20px 40px; }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; font-size: 14px; padding: 12px 18px 10px; border-radius: 999px;
  background: var(--orange); color: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--paper); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--paper); }
.btn-big { font-size: 15px; padding: 15px 24px 13px; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center;
  background: var(--teal); color: var(--paper); border-radius: 28px 28px 28px 120px;
  padding: clamp(28px, 5vw, 56px); margin: 6px 0 44px; position: relative; overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}
.hero::after { /* boomerang flourish */
  content: ""; position: absolute; right: -60px; bottom: -70px; width: 260px; height: 140px;
  background: var(--orange); border-radius: 100% 0 100% 0; transform: rotate(-18deg); opacity: .9; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.kicker { text-transform: uppercase; letter-spacing: 0.3em; font-weight: 700; font-size: 13px; color: var(--mustard); margin: 0 0 12px; }
.kicker a { color: inherit; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); text-transform: uppercase; letter-spacing: 0.02em; }
.hero h1 span { display: block; color: var(--mustard); font-size: 0.62em; letter-spacing: 0.04em; margin-top: 0.25em; }
.lede { font-size: 19px; max-width: 34em; margin: 0 0 22px; }
.hero .lede { color: #EAF1EE; }
.hero-badge { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.burst { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--mustard); animation: turn 140s linear infinite; }
@media (prefers-reduced-motion: reduce) { .burst { animation: none; } .btn { transition: none; } }
@keyframes turn { to { transform: rotate(360deg); } }
.badge {
  position: relative; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--teal-d); color: var(--paper);
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 13px var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8%;
  font-family: var(--display); font-weight: 700; line-height: 1;
}
.badge .og { text-transform: uppercase; font-size: clamp(11px, 1.4vw, 14px); letter-spacing: 0.4em; color: var(--mustard); margin-bottom: 0.7em; padding-left: 0.4em; }
.badge .bnpl { font-size: clamp(20px, 2.9vw, 32px); text-transform: uppercase; }
.badge .bnpl em { font-style: normal; display: block; color: var(--mustard); }
.badge .service { text-transform: uppercase; margin-top: 0.4em; font-weight: 400; font-size: clamp(11px, 1.4vw, 15px); letter-spacing: 0.3em; padding-left: 0.3em; }
.badge .est { margin-top: 0.5em; font-family: var(--script); font-weight: 400; font-size: clamp(22px, 3vw, 34px); color: var(--orange); background: var(--paper); padding: 0.02em 0.5em 0.1em; border-radius: 999px; transform: rotate(-6deg); box-shadow: 3px 4px 0 var(--ink); }

/* sections */
.section { margin: 0 0 48px; }
.section-lede { color: var(--ink-2); margin: -6px 0 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card {
  --accent: var(--teal); --on-accent: var(--paper);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 0 20px 20px; box-shadow: 6px 6px 0 rgba(43, 38, 34, .85); display: flex; flex-direction: column;
}
.card-teal { --accent: var(--teal); --on-accent: var(--paper); }
.card-orange { --accent: var(--orange); --on-accent: var(--paper); }
.card-mustard { --accent: var(--mustard); --on-accent: var(--ink); }
.card-avocado { --accent: var(--avocado); --on-accent: var(--paper); }
.card h3 {
  margin: 0 -20px 14px; padding: 16px 20px 12px; background: var(--accent); color: var(--on-accent);
  border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; font-size: 26px; letter-spacing: 0.02em;
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-short { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; }
.glance { margin: 0 0 16px; }
.glance div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 8px 0; border-top: 1px dotted var(--line); }
.glance dt { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; font-weight: 700; color: var(--ink-2); padding-top: 2px; }
.glance dd { margin: 0; font-size: 15.5px; }
.card-actions { margin-top: auto; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.link-more { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13.5px; color: var(--ink); }
.promo { border-radius: var(--radius); padding: 24px 22px; border: 2px solid var(--ink); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; }
.promo h3 { font-size: 28px; margin: 0 0 6px; position: relative; }
.promo p { margin: 0 0 12px; position: relative; }
.promo .btn { align-self: flex-start; position: relative; margin-top: auto; }
.promo-kicker { text-transform: uppercase; letter-spacing: 0.3em; font-family: var(--display); font-weight: 700; font-size: 12.5px; }
.promo-burst { background: var(--mustard); color: var(--ink); }
.promo-burst a { color: var(--ink); }
.promo-burst::before { content: "✦"; position: absolute; right: -10px; top: -34px; font-size: 150px; line-height: 1; color: rgba(255, 255, 255, .28); }
.promo-guide { background: var(--teal-d); color: var(--paper); }
.promo-guide .promo-kicker { color: var(--mustard); }
.promo-guide .btn-ghost { color: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 var(--mustard); }
.promo-guide .btn-ghost:hover { background: var(--teal); color: var(--paper); }

/* table */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: 6px 6px 0 rgba(43, 38, 34, .85); }
.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px dotted var(--line); }
.compare thead th { background: var(--teal-d); color: var(--paper); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; }
.compare tbody th { font-size: 17px; white-space: nowrap; }
.compare tbody tr:nth-child(even) { background: rgba(227, 167, 47, .08); }
.link-go { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; white-space: nowrap; }

/* faq */
.faq details { border-top: 2px solid var(--ink); padding: 12px 0; }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* provider pages */
.provider-hero {
  --accent: var(--teal); --on-accent: var(--paper);
  background: var(--accent); color: var(--on-accent); border-radius: 28px 28px 28px 90px;
  padding: clamp(24px, 4.5vw, 44px); margin: 6px 0 36px; box-shadow: 8px 8px 0 var(--ink);
}
.provider-hero h1 { font-size: clamp(38px, 6vw, 64px); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.25em; }
.provider-hero .kicker { color: inherit; opacity: .85; }
.provider-hero .lede { color: inherit; }
.card-mustard.provider-hero .btn { background: var(--teal-d); }
.provider-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; margin-bottom: 44px; }
.prose { max-width: 42em; }
.prose-wide { max-width: 46em; margin-bottom: 48px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.checked { font-size: 14.5px; color: var(--ink-2); border-left: 4px solid var(--mustard); padding-left: 12px; margin-top: 2em; }
.tag-card {
  position: sticky; top: 18px; background: var(--paper); border: 2px dashed var(--ink); border-radius: 22px;
  padding: 26px 22px 22px; box-shadow: 6px 6px 0 rgba(43, 38, 34, .85);
}
.tag-card::before { /* price-tag hole */
  content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--cream); border: 2px solid var(--ink);
}
.tag-title { text-transform: uppercase; letter-spacing: 0.3em; font-weight: 700; font-size: 13px; text-align: center; margin: 6px 0 10px; color: var(--orange); }
.tag-sub { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; font-size: 12.5px; margin: 12px 0 4px; color: var(--ink-2); }
.proscons ul { margin: 0 0 4px; padding-left: 1.1em; font-size: 15.5px; }
.pros li::marker { content: "✦ "; color: var(--avocado); }
.cons li::marker { content: "◆ "; color: var(--orange); }
.tag-card .btn { margin-top: 14px; display: block; text-align: center; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list a { display: inline-block; padding: 8px 16px 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; }
.pill-list a:hover { background: var(--mustard); }
code { font-size: 0.92em; background: var(--paper); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }

/* footer */
.footer { background: var(--teal-d); color: #E6EEEB; padding: 36px 20px 30px; margin-top: 30px; }
.footer > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.footer-sign { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.footer-script { font-family: var(--script); font-size: 38px; color: var(--mustard); line-height: 1; }
.footer-tag { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; font-weight: 700; }
.footer p { font-size: 15px; margin: 8px auto; }
.footer a { color: var(--paper); }
.footer .fine { font-size: 13px; opacity: .8; }

/* small screens */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; border-radius: 24px 24px 24px 70px; }
  .hero-badge { width: min(78%, 300px); }
  .split, .provider-layout { grid-template-columns: 1fr; }
  .tag-card { position: static; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .masthead { padding: 14px 16px; }
  main { padding: 0 16px 32px; }
  .nav { gap: 16px; }
  .nav a { font-size: 12.5px; letter-spacing: 0.12em; }
  .brand-name { font-size: 30px; }
  .glance div { grid-template-columns: 1fr; gap: 2px; }
}
