/* Empire Live Quotes home (empirelivequotes.com) */
:root {
  --ink: #141a2e;
  --muted: #535b70;
  --paper: #ffffff;
  --mist: #f4f6fb;
  --line: #e2e6ef;
  --night: #161a3a;
  --blue: #2b59f2; --coral: #f2545b; --green: #12a87a; --amber: #f5a524;
  --r: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 'Atkinson Hyperlegible', system-ui, sans-serif; }
h1, h2, h3, .display { font-family: 'Bricolage Grotesque', 'Atkinson Hyperlegible', sans-serif; letter-spacing: -0.02em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #eefaf5; color: #0b6b4e; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.live .short { display: none; }
@media (max-width: 560px) { .live .long { display: none; } .live .short { display: inline; } .brand { font-size: 1.08rem; } }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18,168,122,.5); animation: pulse 2.2s infinite; }
.live.closed { background: var(--mist); color: var(--muted); }
.live.closed .dot { background: #9aa3b5; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,168,122,.45); } 70% { box-shadow: 0 0 0 9px rgba(18,168,122,0); } 100% { box-shadow: 0 0 0 0 rgba(18,168,122,0); } }

/* Hero: greeting + the colour picker */
.hero { position: relative; overflow: hidden; padding: 44px 0 36px; background:
  radial-gradient(520px 260px at 8% 0%, rgba(43,89,242,.10), transparent 70%),
  radial-gradient(460px 260px at 96% 10%, rgba(242,84,91,.10), transparent 70%),
  radial-gradient(520px 300px at 70% 100%, rgba(245,165,36,.12), transparent 70%); }
.greet { font-weight: 700; color: var(--muted); margin: 0 0 6px; font-size: 1.05rem; }
.intro { display: grid; gap: 4px 48px; margin-bottom: 30px; }
@media (min-width: 980px) { .intro { grid-template-columns: 1.25fr 1fr; align-items: end; } }
.hero h1 { font-size: clamp(2.3rem, 7.2vw, 4.4rem); line-height: 1.02; margin: 0; font-weight: 800; max-width: 15ch; }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); margin: 14px 0 0; max-width: 34rem; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; }
.ticks li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
.tile {
  --c: #2b59f2; --t: #ffffff;
  position: relative; width: 100%; min-height: 128px; padding: 16px 16px 14px; border: 0; border-radius: var(--r); cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; text-align: left;
  background: var(--c); color: var(--t); font: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -14px var(--c);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 18px 30px -14px var(--c); }
.tile[aria-expanded="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.tile b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.18rem; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.tile small { display: block; font-size: .86rem; opacity: .86; margin-top: 3px; font-weight: 400; }
/* One entrance: tiles deal in like cards */
.js .tiles.in .tile { animation: deal .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes deal { from { transform: translateY(18px) scale(.97); } to { transform: none; } }

/* Option panel: inline on desktop, bottom sheet on phones */
.panel { --c: #2b59f2; --t: #fff; margin-top: 16px; border-radius: var(--r); background: var(--c); color: var(--t); padding: 22px; display: none; }
.panel.open { display: block; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.panel .close { border: 0; background: rgba(255,255,255,.18); color: inherit; width: 42px; height: 42px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.opt { display: flex; flex-direction: column; border-radius: 16px; background: #fff; color: var(--ink); overflow: hidden; }
.opt-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 64px; color: inherit; text-decoration: none; font-weight: 700; flex: 1; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.opt .go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--t); }
.opt:hover, .opt:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }
/* Product call button: a strip along the bottom of the option card */
.call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.call .num { font-weight: 400; opacity: .85; white-space: nowrap; }
.call-opt { border-top: 1.5px solid var(--line); padding: 10px 16px; color: var(--c); font-size: .92rem; }
.call-opt span:not(.num) { flex: 1; }
.call-opt { justify-content: flex-start; }
.call-opt .num { margin-left: auto; }
.call-opt:hover { background: #f6f8ff; }
.panel[style*="#F5B400"] .call-opt { color: #7a5600; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; }
.panel .all { color: inherit; font-weight: 700; }
.call-menu { min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); }
.call-menu .num { color: var(--muted); }
.scrim { display: none; }
@media (max-width: 639px) {
  body { padding-bottom: 84px; }
  .panel { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 40; max-height: 82vh; overflow: auto; border-radius: 26px 26px 0 0; padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); display: block; visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; }
  .panel.open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
  .panel::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.5); margin: 0 auto 14px; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(20,26,46,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .scrim.on { opacity: 1; pointer-events: auto; }
  .opts { grid-template-columns: 1fr; }
}

/* Promises */
.promises { padding: 18px 0 8px; }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .promises ul { grid-template-columns: repeat(4, 1fr); } }
.promises li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--mist); }
.promises li i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-style: normal; }
.promises b { display: block; }
.promises span { color: var(--muted); font-size: .95rem; }

/* How it works: a real sequence */
.how { padding: 64px 0 40px; }
.how h2, .faq h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin: 0 0 26px; font-weight: 800; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.steps li { position: relative; padding: 24px 22px 22px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; }
.steps .n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.25rem; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }

.faq { padding: 30px 0 64px; }
.faq .list { max-width: 760px; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 1.2rem; }
.faq details[open] summary::after { content: '–'; background: var(--ink); color: #fff; }
.faq p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }

/* Closing band */
.band { background: var(--night); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: conic-gradient(from 200deg, var(--blue), var(--coral), var(--amber), var(--green), var(--blue)); opacity: .35; filter: blur(60px); }
.band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.band h2 { margin: 0; font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 800; max-width: 18ch; }
.cta { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px; border-radius: 999px; background: #fff; color: var(--night); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.cta:hover { background: #ffe9b8; }

footer { background: #f6f7fb; padding: 30px 0 44px; color: #4c5568; font-size: .84rem; line-height: 1.55; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; font-size: .92rem; }
footer p { margin: 0 0 8px; max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
