/* Till design for Divi. Site styles from website/styles.css follow, scoped to body.till by build.py. */
body.till { font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.till #page-container, body.till #main-content, body.till .et_pb_section { background-color: var(--bg); }
body.till h1, body.till h2, body.till h3, body.till .et_pb_module_header {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink); font-weight: 800; line-height: 1.08; text-wrap: balance;
}
body.till p, body.till li { color: var(--ink2); }
body.till .et_pb_section { padding: 48px 0; }
body.till .et_pb_row.tl-row { max-width: 1080px; width: 90%; padding: 12px 0; }
body.till .et_pb_text_inner > *:last-child { padding-bottom: 0; }
body.till .tl-hero .et_pb_row { display: flex; align-items: center; }
body.till .tl-hero.et_pb_section { padding-top: 32px; }
body.till .lede { color: var(--ink2); }
body.till .et_pb_code_inner { min-width: 0; }

/* How it works: Divi blurbs styled as Till step cards */
body.till .tl-step { background: var(--surface); border-radius: 24px; padding: 24px; height: 100%; }
body.till .tl-step .et_pb_module_header { font-size: 19px; padding-bottom: 6px; }
body.till .tl-step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent); margin-bottom: 14px; }
body.till .tl-step.hot .n { background: var(--hot); }
body.till .tl-step .et_pb_blurb_content { text-align: left; }
body.till .tl-step .et_pb_blurb_description { display: flex; flex-direction: column; }
body.till .tl-step .et_pb_blurb_description .n { order: -1; }

/* FAQ toggles */
body.till .tl-faq.et_pb_toggle { background: var(--surface); border: 0; border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; max-width: 820px; }
body.till .tl-faq .et_pb_toggle_title { font-weight: 600; font-size: 17px; color: var(--ink); }
body.till .tl-faq .et_pb_toggle_title::before { color: var(--accent); }

/* Store badges */
body.till .badge { display: inline-flex; }
body.till .badge img { height: 54px; width: auto; display: block; }
body.till .badge--soon img { opacity: 0.55; }
body.till :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Policy pages */
body.till .tl-policy .doc { max-width: 760px; margin: 0 auto; }
body.till .tl-policy .doc h2 { font-size: 22px; padding-top: 18px; }

/* ---- Header and footer: Till's replace Divi's (as on Mihrabi and Qamara) ---- */
#top-header, #main-header, .et_search_outer, #main-footer { display: none !important; }
#page-container { padding-top: 0 !important; margin-top: 0 !important; }
body.till .tl-header { position: sticky; top: 0; z-index: 9999; background: rgba(242, 242, 247, 0.85); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: .5px solid rgba(60, 60, 67, .14); }
body.admin-bar .tl-header { top: 32px; }
body.till .tl-header__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
body.till .tl-brand { display: inline-flex; align-items: center; gap: 10px; color: #0B0B0F !important; font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
body.till .tl-brand img { width: 36px; height: 36px; border-radius: 9px; }
body.till .tl-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: #E8480F; display: inline-block; margin-left: -6px; align-self: flex-end; margin-bottom: 10px; }
body.till .tl-nav { display: flex; gap: 24px; margin-left: auto; }
body.till .tl-nav a { color: #6C6C72 !important; font-weight: 600; font-size: 15px; }
body.till .tl-nav a:hover { color: #0B0B0F !important; }
body.till .tl-cta { background: #0B0B0F; color: #FFFFFF !important; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
body.till .tl-cta:hover { opacity: .88; }
body.till .tl-footer { background: #0B0B0F; color: #C7C7CC; text-align: center; padding: 48px 20px 40px; font-size: 15px; }
body.till .tl-footer__icon { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 14px; }
body.till .tl-footer nav { display: flex; gap: 10px; justify-content: center; margin-bottom: 6px; flex-wrap: wrap; }
body.till .tl-footer nav a { color: #FFFFFF; font-weight: 600; }
body.till .tl-footer nav span { color: rgba(255, 255, 255, .5); }
body.till .tl-footer p { padding: 0; margin-bottom: 18px; color: rgba(255, 255, 255, .75); }
body.till .tl-footer__novita { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255, 255, 255, .6) !important; }
body.till .tl-footer__novita img { height: 18px; width: auto; }
body.till .tl-footer .tl-footer__note { max-width: 600px; margin: 18px auto 0; font-size: 13px; color: rgba(255, 255, 255, .55); }
#get, #download, #try, #week, #privacy, #faq, #support { scroll-margin-top: 84px; }
html { scroll-behavior: smooth; }
@media (prefers-color-scheme: dark) {
  body.till .tl-header { background: rgba(0, 0, 0, .78); border-bottom-color: rgba(84, 84, 88, .55); }
  body.till .tl-brand { color: #F5F5F7 !important; }
  body.till .tl-nav a { color: #A1A1A6 !important; }
  body.till .tl-nav a:hover { color: #F5F5F7 !important; }
  body.till .tl-cta { background: #F5F5F7; color: #000 !important; }
}
@media (max-width: 980px) { body.till .tl-hero .et_pb_row { display: block; } }
@media (max-width: 782px) { body.admin-bar .tl-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .tl-header { top: 0; } }
@media (max-width: 640px) {
  body.till .tl-header__inner { padding: 0 16px; height: 58px; gap: 14px; }
  body.till .tl-nav { display: none; }
  body.till .tl-cta { margin-left: auto; padding: 8px 14px; font-size: 13px; }
}

/* ---- From website/styles.css ---- */
body.till {
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --ink: #0B0B0F;
  --ink2: #6C6C72;
  --line: rgba(60, 60, 67, .14);
  --accent: #0A66F0;
  --hot: #E8480F;
  --hot-text: #C2410C;
  --hot-bg: #FFF2EB;
  --dark: #0B0B0F;
  --radius: 24px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
body.till {
    --bg: #000000;
    --surface: #1C1C1E;
    --ink: #F5F5F7;
    --ink2: #A1A1A6;
    --line: rgba(84, 84, 88, .55);
    --accent: #3D8BFF;
    --hot: #FF6A33;
    --hot-text: #FF8A5C;
    --hot-bg: #2B1711;
    color-scheme: dark;
  }
}
body.till * { box-sizing: border-box; }
body.till {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.till a { color: var(--accent); }
body.till img { max-width: 100%; height: auto; display: block; }
body.till .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); margin-left: 2px; vertical-align: baseline; }
body.till .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 40px 70px; }
body.till .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hot-text); }
body.till h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -2.5px; margin: 12px 0 18px; font-weight: 800; }
body.till .lede { font-size: 20px; color: var(--ink2); max-width: 30em; margin: 0 0 26px; }
body.till .badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
body.till .soon { font-size: 13px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
body.till .badge--soon { opacity: .55; }
body.till .phone { border-radius: 44px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line); background: var(--surface); max-width: 340px; margin: 0 auto; }
body.till h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; line-height: 1.1; margin: 0 0 14px; }
body.till .section-head p { color: var(--ink2); max-width: 40em; margin: 0; }
body.till .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
body.till .card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
body.till .card .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent); margin-bottom: 14px; }
body.till .card h3 { margin: 0 0 6px; font-size: 19px; }
body.till .card p { margin: 0; color: var(--ink2); font-size: 16px; }
body.till .hot .n { background: var(--hot); }
body.till .shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
body.till .shots figure { margin: 0; }
body.till .shots figcaption { text-align: center; font-size: 14px; color: var(--ink2); margin-top: 12px; }
body.till .banks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
body.till .banks span { background: var(--surface); border-radius: 99px; padding: 8px 14px; font-size: 15px; font-weight: 600; }
body.till .note { font-size: 14px; color: var(--ink2); margin-top: 14px; }
body.till .privacy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
body.till .faq details { background: var(--surface); border-radius: 18px; padding: 16px 20px; margin-top: 10px; }
body.till .faq summary { font-weight: 600; cursor: pointer; }
body.till .faq details p { color: var(--ink2); margin: 10px 0 0; }
body.till .warn { background: var(--hot-bg); border-radius: var(--radius); padding: 22px 24px; }
body.till .warn strong { color: var(--hot-text); }
body.till .doc { max-width: 760px; margin: 0 auto; padding: 20px 20px 60px; }
body.till .doc h1 { font-size: 44px; letter-spacing: -1.5px; }
body.till .doc h2 { font-size: 22px; margin-top: 34px; letter-spacing: -.3px; }
body.till .doc p, body.till .doc li { color: var(--ink); }
body.till .doc .meta { color: var(--ink2); font-size: 15px; }
@media (max-width: 820px) {
body.till .hero, body.till .steps, body.till .shots, body.till .privacy { grid-template-columns: minmax(0, 1fr); }
body.till .hero { padding-block-start: 10px; }
body.till .shots figure:nth-child(n+2) { display: none; }
}
body.till .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.till .live-stats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink2); font-size: 15px; margin-top: 22px; }
body.till .live-stats strong { color: var(--ink); }
body.till .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 4px rgba(52,199,89,.18); }
body.till .tryit { min-width: 0; background: var(--surface); border-radius: 28px; padding: 20px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.35), 0 0 0 1px var(--line); }
body.till .try-title { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
body.till .try-sub { color: var(--ink2); font-size: 15px; margin: 2px 0 14px; }
body.till .try-search input { width: 100%; height: 44px; border-radius: 22px; border: 0; background: var(--bg); color: var(--ink); padding: 0 18px; font: inherit; font-size: 16px; outline: none; }
body.till .try-search input:focus { box-shadow: 0 0 0 2px var(--accent); }
body.till .try-suggest { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
body.till .try-suggest button, body.till .try-quick button, body.till .chip-card, body.till .try-days button, body.till .week-filter button, body.till .showcase-tabs button { font: inherit; cursor: pointer; border: 0; color: var(--ink); }
body.till .try-suggest button { display: flex; align-items: center; gap: 10px; text-align: left; background: transparent; padding: 8px 10px; border-radius: 12px; font-size: 15px; }
body.till .try-suggest button:hover, body.till .try-suggest button:focus-visible { background: var(--bg); }
body.till .try-none { font-size: 14px; color: var(--ink2); margin: 6px 4px; }
body.till .try-picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body.till .chip-card { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 99px; padding: 5px 12px 5px 6px; font-size: 14px; font-weight: 600; }
body.till .try-quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--ink2); }
body.till .try-quick button { background: var(--bg); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
body.till .try-quick button:hover { background: var(--line); }
body.till .try-days { display: flex; gap: 6px; margin: 16px 0 12px; overflow-x: auto; scrollbar-width: none; }
body.till .try-days button { flex: none; width: 50px; height: 66px; border-radius: 16px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
body.till .try-days button small { font-size: 11px; font-weight: 600; color: var(--ink2); }
body.till .try-days button b { font-size: 19px; }
body.till .try-days button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
body.till .try-days button[aria-selected="true"] small { color: inherit; opacity: .75; }
body.till .try-results { display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
body.till .try-hint, body.till .try-count, body.till .try-empty, body.till .try-more { margin: 0; font-size: 14px; color: var(--ink2); }
body.till .try-count b { color: var(--ink); }
body.till .hot-text { color: var(--hot-text); font-weight: 600; }
body.till .try-more { text-align: center; padding-top: 4px; }
body.till .try-note { font-size: 12px; color: var(--ink2); margin: 14px 0 0; text-align: center; }
body.till .otile { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; gap: 12px; align-items: center; background: var(--bg); border-radius: 20px; padding: 14px; color: var(--ink); text-decoration: none; transition: transform .15s ease; }
body.till a.otile:hover { transform: translateY(-1px); }
body.till .otile--hot { background: var(--surface); box-shadow: 0 0 0 1.5px rgba(232,72,15,.35), 0 10px 20px -14px rgba(232,72,15,.5); }
body.till .otile-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.till .mono { flex: none; width: 24px; height: 24px; border-radius: 7px; color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; }
body.till .otile-m { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.till .hot-tag { flex: none; margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: #C2410C; color: #fff; border-radius: 99px; padding: 4px 8px; }
body.till .otile-b { font-size: 28px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; margin-top: 8px; }
body.till .otile-s { font-size: 13px; color: var(--ink2); margin-top: 2px; min-height: 1px; }
body.till .otile-pay { width: 86px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
body.till .otile-pay small { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hot-text); margin-top: 4px; }
body.till .otile-pay span { font-size: 12px; font-weight: 600; line-height: 1.2; }
body.till .cardart { position: relative; display: inline-block; flex: none; aspect-ratio: 1.586; border-radius: 5.5%/8.7%; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.28), 0 0 0 .5px rgba(0,0,0,.12); }
body.till .cardart::before, body.till .cardart::after { content: ""; position: absolute; border-radius: 50%; background: var(--accent); }
body.till .cardart::before { width: 82%; aspect-ratio: 1; right: -22%; top: -58%; opacity: .95; }
body.till .cardart::after { width: 96%; aspect-ratio: 1; right: -34%; bottom: -88%; opacity: .55; }
body.till .cardart--dark { background: linear-gradient(150deg, #2B2D34, #16171B 55%, #0D0E11); color: #F5F5F7; }
body.till .cardart--platinum { background: linear-gradient(150deg, #F1F2F5, #CDD1D7 55%, #A6ABB3); color: #16181C; }
body.till .cardart--gold { background: linear-gradient(150deg, #F4E4B4, #D8B66C 55%, #AD873B); color: #241A06; }
body.till .cardart--classic { background: linear-gradient(150deg, #3F7DEB, #2457C6 60%, #183C92); color: #fff; }
body.till .cardart--xs { width: 34px; }
body.till .cardart--sm { width: 72px; }
body.till .net { position: absolute; right: 8%; bottom: 10%; z-index: 1; font-style: italic; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
body.till .cardart--xs .net { font-size: 6px; }
body.till .cardart--sm .net { font-size: 12px; }
body.till .net--amex { font-style: normal; border: 1px solid currentColor; padding: 1px 2px; border-radius: 2px; font-size: .75em; }
body.till .net--mc { display: flex; }
body.till .net--mc i { width: 1.1em; height: 1.1em; border-radius: 50%; background: #EB001B; display: block; }
body.till .net--mc i + i { background: #F79E1B; margin-left: -.45em; opacity: .92; }
body.till .cardart--xs .net--mc { font-size: 7px; }
body.till .cardart--sm .net--mc { font-size: 13px; }
body.till .week { margin-top: 26px; }
body.till .week-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
body.till .week-filter button { background: var(--surface); border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
body.till .week-filter button i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
body.till .week-filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
body.till .week-grid { display: grid; grid-template-columns: repeat(7, minmax(132px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
body.till .wcol { background: var(--surface); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; min-height: 160px; }
body.till .wcol--today .wday b { color: var(--hot-text); }
body.till .wday { margin: 0 0 2px; font-size: 13px; color: var(--ink2); }
body.till .wday b { color: var(--ink); font-size: 15px; }
body.till .wdeal { display: flex; flex-direction: column; gap: 1px; background: var(--bg); border-radius: 14px; padding: 9px 10px; text-decoration: none; color: var(--ink); position: relative; }
body.till .wdeal:hover { box-shadow: 0 0 0 1.5px var(--line); }
body.till .wdeal--mine::after { content: ""; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); }
body.till .wdeal-b { font-size: 18px; font-weight: 800; letter-spacing: -.5px; }
body.till .wdeal-m { font-size: 13px; font-weight: 600; }
body.till .wdeal-bank { font-size: 12px; color: var(--ink2); display: inline-flex; align-items: center; gap: 5px; }
body.till .wdeal-bank i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
body.till .wnone { font-size: 13px; color: var(--ink2); margin: 0; }
body.till .week-note { font-size: 13px; color: var(--ink2); margin-top: 10px; }
body.till .showcase { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 24px; }
body.till .showcase-tabs { display: inline-flex; background: var(--surface); border-radius: 99px; padding: 4px; gap: 4px; }
body.till .showcase-tabs button { background: transparent; border-radius: 99px; padding: 8px 18px; font-weight: 600; font-size: 15px; }
body.till .showcase-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
body.till .showcase .phone { max-width: 320px; }
body.till .showcase-caption { color: var(--ink2); text-align: center; margin: 0; }
body.till #careful h2 { font-size: 24px; }
@media (max-width: 820px) {
body.till .hero { gap: 28px; }
body.till .week-grid { grid-template-columns: repeat(7, 78%); }
}
