/* Touchdown: the purchase widget's styles, ONE copy.
 *
 * Extracted from the home page's inline <style> on 2026-11-19, when the hero
 * behaviour moved to /hero.js. Only widget rules live here: the page-layout
 * rules (.hero, .h-title, .eyebrow, .lede, .proof) stay with each page, because
 * gift/jump/hubs have their own hero layout and a shared .hero rule would
 * overwrite it.
 *
 * Loaded by the home page (which keeps its static markup) and by any page that
 * mounts /hero.js. Update it here, never in a page.
  *
 * SCOPED (2026-11-19). Every rule is prefixed with .td-hero. On the home page
 * that class sits on <main class="hero">; a page that mounts the widget gets it
 * from hero.js on the mount element. Without the scope, loading this on /gift
 * lost the cascade to the page's own .field/.pay/.hero rules: the card rendered
 * but the field never collapsed and Change was unreachable (seen live).
 */
.td-hero /* Already-landed toggle: a quiet checkbox row,.td-hero never a CTA. */
.landed-toggle{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink-60);cursor:pointer;padding:0 2px}
.td-hero .landed-toggle input{width:16px;height:16px;accent-color:var(--ink)}
.td-hero .dm-search .suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:2;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(15,17,21,.16)}
.td-hero .suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(15,17,21,.12);overflow:auto;max-height:240px}
.td-hero .suggest button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 12px;border:none;background:#fff;cursor:pointer;font-size:14px;font-weight:600;color:var(--ink)}
.td-hero .suggest button:hover,.td-hero .suggest button:focus{background:#FFF7DB}
.td-hero .suggest .iata{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:12px;letter-spacing:.04em;min-width:2.6em}
.td-hero .suggest .cc{margin-left:auto;font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:11px;color:var(--ink-60)}
@media print{
.td-hero .topbar,.td-hero .widget-foot,.td-hero .h-proof,.td-hero .h-proof-list,.td-hero .doodle{display:none}
}
.td-hero .upsell{border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:#fff}
.td-hero .upsell .u-title{margin:0 0 2px;font-size:12px;font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;letter-spacing:.1em;text-transform:uppercase;font-weight:700}
.td-hero .upsell .u-sub{margin:0 0 8px;font-size:12px;color:rgba(15,17,21,.6)}
.td-hero .upsell .u-packs{display:flex;flex-direction:column;gap:10px}
.td-hero /* Plan cards: one card per size,.td-hero both coverage prices visible inside it (the
   coverage rule: never hide the alternative). The selected card wears ink +
   runway yellow; the price chips stay the clickable .u-cell the handler reads. */
.pack-card{position:relative;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.td-hero .upsell .u-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:44px;border:1px solid var(--line);background:#fff;font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-variant-numeric:tabular-nums;padding:6px 12px;border-radius:10px;cursor:pointer;color:rgba(15,17,21,.75);transition:border-color .15s ease,background .15s ease}
.td-hero .upsell .u-cell:hover{border-color:var(--ink)}
.td-hero .upsell .u-cell .cc-name{font-family:'Inter','Inter Fallback',system-ui,sans-serif;font-size:10px;letter-spacing:.02em;color:var(--ink-60);white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis}
.td-hero .upsell .u-cell b{font-size:14px;font-weight:700;color:var(--ink)}
.td-hero .upsell .u-cell.u-on{border-color:var(--ink);background:var(--yellow);box-shadow:inset 0 0 0 1px var(--ink)}
.td-hero .upsell .u-cell.u-on .cc-name{color:rgba(15,17,21,.7)}
.td-hero .upsell .u-cell:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(max-width:560px){
.td-hero .upsell .u-cell{flex:1}
.td-hero .upsell .u-cell .cc-name{max-width:100%}
}
.td-hero .upsell .u-note{margin:8px 0 0;font-size:12px;color:rgba(15,17,21,.6)}
.td-hero .upsell .u-note a{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.td-hero .upsell .u-hide{display:none}
.td-hero .plan-kind{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}
.td-hero .plan-kind button,.td-hero .daily-quick button{font:inherit;font-size:13px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);cursor:pointer}
.td-hero .plan-kind button[aria-pressed="true"],.td-hero .daily-quick button[aria-pressed="true"]{border-color:var(--ink);background:var(--yellow);font-weight:600}
.td-hero .plan-kind button:disabled{color:var(--ink-60);cursor:not-allowed}
.td-hero .plan-kind button:focus-visible,.td-hero .daily-quick button:focus-visible,.td-hero #dailyDays:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.td-hero .daily-quick{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.td-hero #upsell[data-plan-kind="daily"] #upsellTable,.td-hero #upsell[data-plan-kind="daily"] #upsellSub,.td-hero #upsell[data-plan-kind="daily"]>.u-note{display:none}
.td-hero .widget-foot{padding:12px;border-top:1px dashed var(--line);display:grid;gap:10px;background:#FFFEF7}
.td-hero /* the field: the one question,.td-hero one action */
.pick{margin:30px auto 0;text-align:left;position:relative;max-width:560px}
.td-hero .pick .field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--ink);border-radius:12px;padding:6px 6px 6px 14px}
.td-hero .pick .field:focus-within{box-shadow:0 0 0 3px rgba(255,214,10,.42)}
.td-hero .pick .field>svg{flex:none;color:var(--ink-60)}
.td-hero .pick input{flex:1;min-width:0;height:48px;border:0;background:none;font:inherit;font-size:16px;color:var(--ink);outline:none}
.td-hero .pick input::placeholder{color:rgba(15,17,21,.42)}
.td-hero /* The dropdown anchors to the FIELD,.td-hero not the whole picker: positioned off
   .pick it opened below the popular links,.td-hero leaving the gap the user saw. */
.fieldwrap{position:relative}
.td-hero .suggest{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 7px);margin:0;padding:5px;list-style:none;background:#fff;border:1px solid var(--ink);border-radius:12px;max-height:286px;overflow:auto;box-shadow:0 16px 36px rgba(15,17,21,.10)}
.td-hero .suggest .sug{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:10px 12px;border-radius:8px;min-height:46px;cursor:pointer;font-size:14.5px}
.td-hero .suggest .sug[aria-selected="true"]{background:var(--paper)}
.td-hero .suggest .sug-city{font-weight:600;color:var(--ink)}
.td-hero .suggest .sug-co{font-size:12.5px;color:var(--ink-60)}
.td-hero .suggest .sug-price{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:12px;color:var(--ink-60);min-width:44px;text-align:right}
.td-hero /* popular landings: text,.td-hero not pills: nothing competes with the one action */
.quick{display:flex;align-items:center;flex-wrap:wrap;gap:2px 14px;margin-top:12px;justify-content:center}
.td-hero .quick-label{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:9.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-60)}
.td-hero .quick button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;border:0;background:none;font:inherit;font-size:13.5px;color:var(--ink-60);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;cursor:pointer}
.td-hero .quick button b{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-weight:400;font-size:10.5px;color:var(--ink-60)}
.td-hero .quick button:hover{color:var(--ink)}
.td-hero /* the answer */
.answer{margin:28px auto 0;max-width:560px;text-align:left;background:#fff;border:1px solid var(--ink);border-radius:14px;overflow:hidden}
.td-hero .ans-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px 0}
.td-hero .ans-top .mono{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-60)}
.td-hero .ans-change{display:inline-flex;align-items:center;gap:8px;border:0;background:none;font:inherit;font-size:12px;color:var(--ink-60);cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0}
.td-hero .ans-change:hover{color:var(--ink)}
.td-hero .ans-change .mono{color:var(--ink)}
.td-hero .ans-body{padding:8px 20px 20px}
.td-hero .ans-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.td-hero .ans-city{font-family:'Instrument Serif','Instrument Serif Fallback',Georgia,serif;font-weight:400;font-size:clamp(32px,5vw,44px);line-height:1;letter-spacing:-.02em;margin:0;color:var(--ink)}
.td-hero .ans-country{margin:4px 0 0;font-size:13.5px;color:var(--ink-60)}
.td-hero .ans-price{text-align:right;flex:none}
.td-hero .ans-price b{display:block;font-family:'Instrument Serif','Instrument Serif Fallback',Georgia,serif;font-weight:400;font-size:clamp(34px,5vw,44px);line-height:1;color:var(--ink)}
.td-hero .ans-price span{display:block;font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:11px;color:var(--ink-60);margin-top:4px}
.td-hero .party{margin-top:12px;display:grid;gap:6px}
.td-hero .party label{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-60)}
.td-hero .party select{font:inherit;font-size:14px;width:100%;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.td-hero .party select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(255,214,10,.42)}
.td-hero .packs-hint{font-size:13.5px;color:var(--ink-60);margin:16px 0 0}
.td-hero .packs{display:grid;gap:8px;margin-top:10px}
.hero-note{max-width:640px;margin:14px auto 0;font-size:13.5px;line-height:1.55;color:var(--ink-60, rgba(15,17,21,.6));text-align:center}
.hero-note b{color:var(--ink, #0F1115);font-weight:600}
.td-hero .cov-wrap{margin-top:12px}
.td-hero .cov-wrap .cov-label{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-60)}
.td-hero .cov-row{display:grid;gap:8px;margin-top:7px}
.td-hero .cov-row .pack{grid-template-columns:18px 1fr auto}
.td-hero /* flight: optional,.td-hero one compact row,.td-hero never hidden: it is what arms the refund */
.flight-opt{margin-top:14px;border-top:1px solid var(--line);padding-top:14px;display:grid;gap:8px}
.td-hero .flight-opt .f-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.td-hero .flight-opt .field span{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-60)}
.td-hero /* Scoped to the text fields: a bare `.flight-opt input` also hit the landed
   checkbox and gave it width:100% + 44px,.td-hero i.e. an enormous tick. */
.flight-opt .f-grid input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:14px;color:var(--ink)}
.td-hero .flight-opt .f-grid input:focus{outline:none;border-color:var(--ink)}
.td-hero .landed-toggle{margin-top:2px}
.td-hero .landed-toggle input{flex:none;width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:var(--ink)}
.td-hero /* the action: email inline,.td-hero one yellow button */
.widget-foot.ans-act{border:0;background:transparent;padding:16px 0 0;margin-top:16px;border-top:1px solid var(--line);display:grid;gap:9px}
.td-hero .pay{display:grid;gap:6px}
.td-hero .pay label{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-60)}
.td-hero .pay input{width:100%;height:48px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;font:inherit;font-size:15px;color:var(--ink)}
.td-hero .pay input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(255,214,10,.42)}
.td-hero .pay .cta{margin-top:4px}
.td-hero /* One CTA rule for the whole site: ink fill,.td-hero hover fills runway yellow. Yellow
   never becomes a resting fill,.td-hero so the brand accent stays with the promise
   (guarantee check,.td-hero price mark) and every money button looks the same. */
.widget-foot .cta{background:var(--ink);border:1px solid var(--ink);color:#fff;font-weight:800}
.td-hero .widget-foot .cta:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink);transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,17,21,.16)}
.td-hero #upsell[data-plan-kind="daily"] .packs-hint{display:none}
/* Daily is one plan per arrival city: the country/region cards belong to the
   fixed product and a choice there is ignored by the daily checkout, so hide
   them instead of showing two $1.99 prices that do not apply. */
.td-hero #upsell[data-plan-kind="daily"] .cov-wrap{display:none}
@media(max-width:560px){
.td-hero .ans-body{padding:8px 16px 16px}
.td-hero .ans-top{padding:12px 16px 0}
.td-hero .ans-head{flex-direction:column;align-items:flex-start;gap:6px}
.td-hero .ans-price{text-align:left}
.td-hero .flight-opt .f-grid{grid-template-columns:1fr}
.td-hero .suggest .sug{grid-template-columns:1fr auto;gap:2px 12px;padding:11px 12px}
.td-hero .suggest .sug-co{grid-column:1;grid-row:2;margin-top:-2px}
.td-hero .suggest .sug-price{grid-column:2;grid-row:1 / span 2;align-self:center}
}
.td-hero /* The one-field-to-answer transition. chooseCity() adds .answered; without
   this rule the card appeared BELOW the field instead of replacing it,.td-hero and the
   documented "Change in the card header" flow was half-open (found 2026-11-19).
   resetCity() must remove the class,.td-hero or Change leaves the field hidden. */
#td-hero .pick.answered .fieldwrap,#buy.td-hero .pick.answered .fieldwrap{display:none!important}

/* ── page shell: the home hero's frame, for every selling page ─────────────
   Home and the hubs/corridors used to differ in frame (centred column vs a
   two-column grid with pills and a boarding-pass demo). One purchase flow met
   the buyer inside two different heroes. This is the one frame: centred
   eyebrow, headline, one lede line, the mounted widget, then the proof line.
   Page-specific copy stays in the page; only the frame lives here. */
/* max-width 768 = the 720px column plus its own 24px side padding, so the
   hero's CONTENT (headline, lede, field) starts at the same x as every
   section's text: 360 at 1440, 152 at 1024. With 720 here the hero's content
   sat 24px right of the copy below it. */
.hero-solo{display:block;max-width:768px;margin:0 auto;padding:64px 24px 56px;text-align:center}
.hero-solo .eyebrow{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-60);display:inline-flex;align-items:center;gap:8px}
.hero-solo .eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 1px var(--ink)}
.hero-solo .h-title{font-family:'Instrument Serif','Instrument Serif Fallback',Georgia,serif;font-weight:400;line-height:.92;letter-spacing:-.03em;margin:14px 0 12px;font-size:clamp(44px,6vw,68px);color:var(--ink)}
.hero-solo .h-title em{font-style:italic;color:var(--ink)}
.hero-solo .lede{font-size:16.5px;line-height:1.6;color:var(--ink-60);max-width:44ch;margin:0 auto;text-wrap:pretty}
.hero-solo .lede strong{color:var(--ink)}
.hero-solo .proof{font-size:12.5px;line-height:1.8;color:var(--ink-60);max-width:48ch;margin:26px auto 0;text-wrap:pretty}
.hero-solo .proof span{white-space:nowrap}
.hero-solo .mini-nav{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:16px}
@media(max-width:560px){.hero-solo{padding:40px 18px 40px}.hero-solo .h-title{font-size:clamp(38px,10vw,54px)}}
/* ── widget essentials, in the shared file (2026-11-19) ────────────────────
   These six classes are part of the widget's own markup, so they must travel
   with it. They lived only in the home page's inline CSS, so on every MOUNTED
   page the screen-reader label and help text rendered as visible copy above
   the field ("CITY OR AIRPORT YOU ARE LANDING IN ... Type at least two
   letters ...") and the search button lost its fill. Found on the live site
   after the frame unification; the markup was fine, the styles were not
   there. */
.td-hero .sr{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Author display rules beat the UA's [hidden] rule, so a hidden .quick (or
   .cov-row) kept rendering: the popular links stayed on screen under the card. */
.td-hero [hidden]{display:none!important}

/* ── pack and coverage rows ────────────────────────────────────────────────
   The row grid, the radio dot and the four price cells are part of the
   widget's markup. Like .sr/.go before them, they lived only in the home
   page's inline CSS, so every mounted page rendered the ladder as run-on
   text ("1 GB7 days$1.99$1.99 / GB") with no dot and no rows. 2026-11-19. */
.td-hero .pack{position:relative;display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;transition:border-color .14s ease,background .14s ease}
.td-hero .pack:hover{border-color:var(--ink)}
.td-hero .pack input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.td-hero .pack-dot{width:16px;height:16px;border-radius:50%;border:1.5px solid rgba(15,17,21,.34);display:grid;place-items:center;transition:background .14s ease,border-color .14s ease}
.td-hero .pack-dot::after{content:'';width:6px;height:6px;border-radius:50%;background:transparent;transition:background .14s ease}
.td-hero .pack:has(input:checked){border-color:var(--ink);background:#FFFEF7}
.td-hero .pack:has(input:checked) .pack-dot{border-color:var(--ink);background:var(--ink)}
.td-hero .pack:has(input:checked) .pack-dot::after{background:#fff}
.td-hero .pack:has(input:focus-visible){box-shadow:0 0 0 3px rgba(255,214,10,.42)}
.td-hero .pack-size{font-size:15px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.td-hero .pack-meta{font-size:12px;color:var(--ink-60);margin-top:1px}
.td-hero .pack-price{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:14px;text-align:right;white-space:nowrap;color:var(--ink)}
.td-hero .pack-per{display:block;font-size:11px;color:var(--ink-60);margin-top:2px;letter-spacing:.02em}
.td-hero .pack-per.best{color:var(--ink);font-weight:700}

.td-hero #dailyDays,.td-hero #dailyAllowanceChoice,.td-hero #dailyCoverageChoice{font:inherit;font-size:14px;width:100%;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}
.td-hero #dailyPanel label{display:block;margin-top:10px}
.td-hero #dailyPanel label[hidden],.td-hero #dailyAllowanceChoice[hidden],.td-hero #dailyCoverageChoice[hidden]{display:none}
.td-hero #dailyPanel p,.td-hero #dailyAvailability{font-size:12px;line-height:1.6;margin:8px 0}
.td-hero #dailyTotal{font-family:'JetBrains Mono','JetBrains Mono Fallback',monospace;font-size:15px}

/* Author display rules beat the UA's [hidden] rule, so a hidden .quick (or
   .cov-row) kept rendering: the popular links stayed on screen under the card.
   One rule, scoped to the widget, makes [hidden] mean hidden again. */
.td-hero .go{flex:none;display:inline-grid;place-items:center;width:48px;height:48px;border:0;border-radius:9px;background:var(--ink);color:#fff;cursor:pointer;transition:background .16s ease}
.td-hero .go:hover{background:#2B2F36}
.td-hero .go:active{transform:translateY(1px)}
.td-hero .go svg{display:block}
.td-hero .err{color:#A32D2D;font-size:12px;font-weight:600;margin:6px 0 0}
.td-hero .note{font-size:11.5px;line-height:1.6;color:var(--ink-60);margin:0;text-align:center}
.td-hero .fo-hint{font-size:12px;color:var(--ink-60);line-height:1.5;margin:0}
.td-hero .cta{width:100%;padding:16px;border-radius:12px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:800;font-size:15px;letter-spacing:-.01em;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:transform .18s cubic-bezier(.22,1,.36,1),box-shadow .18s ease,background .25s ease,color .25s ease}
.td-hero .cta[disabled]{cursor:progress;opacity:.72}


