/* Guest homepage (home-guest.php). Mockups: homepage-desktop / homepage-mobile. */
.ld-home {
  --ld-green: 14, 229, 155;
  --ld-hero-ring-1: #5fc9a3;
  --ld-hero-ring-2: #2fae82;
  --ld-hero-ring-3: #1f8a66;
  background: #050608;
  color: #eceef1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  overflow-x: clip;
}
/* Peafowl pins the top bar over the landing page; keep it a solid bar above
 * the hero, as drawn. */
body:has(.ld-home) .top-bar--main { background: #0b0d13; border-bottom: 1px solid rgba(255, 255, 255, .06); }
body:has(.ld-home) #top-bar-shade { display: none; }
body:has(.ld-home) { background: #050608; }
.ld-home { padding-top: 50px; }
.ld-home *, .ld-home *::before, .ld-home *::after { box-sizing: border-box; }
.ld-home a { text-decoration: none; }
.ld-home h1, .ld-home h2, .ld-home p { margin: 0; }
.ld-home-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 72px; padding-right: 72px; }
.ld-home-eyebrow { font: 600 11px ui-monospace, Menlo, monospace; color: rgb(var(--ld-green)); letter-spacing: .16em; margin-bottom: 16px; }
.ld-home-eyebrow-muted { color: #6f7883; margin-bottom: 10px; }
.ld-home-link { font: 600 13.5px -apple-system, sans-serif; color: #c3c9d0; }
.ld-home-link:hover { color: #fff; }

/* Buttons */
.ld-home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ld-home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 26px; border-radius: 10px; font: 700 14.5px -apple-system, sans-serif; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.ld-home-btn-primary { background: rgb(var(--ld-green)); color: #06231a !important; box-shadow: 0 8px 24px rgba(var(--ld-green), .25); }
.ld-home-btn-primary:hover { background: #37f0ae; }
.ld-home-btn-ghost { border: 1px solid rgba(255, 255, 255, .22); background: rgba(5, 6, 8, .4); color: #eceef1 !important; font-weight: 600; font-size: 14px; }
.ld-home-btn-ghost:hover { border-color: rgba(255, 255, 255, .4); }
.ld-home-btn:focus-visible, .ld-home a:focus-visible { outline: 2px solid rgb(var(--ld-green)); outline-offset: 3px; }

/* Hero */
.ld-home-hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: #050608; }
/* The art keeps the mockup's size at every width: full hero height, its right
 * edge on the 1280px content column, never scaled up past the hero (a wide
 * screen used to crop the lens top under the header). */
.ld-home-hero-media { position: absolute; top: 0; bottom: 0; left: 0; right: 0; max-width: 1280px; margin: 0 auto; }
.ld-home-hero-art { position: absolute; top: 0; right: 0; display: block; width: auto; height: 100%; aspect-ratio: 2560 / 1200; }
.ld-home-hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 6, 8, .94) 0%, rgba(5, 6, 8, .78) 38%, rgba(5, 6, 8, .15) 72%, rgba(5, 6, 8, 0) 100%),
              linear-gradient(0deg, rgba(5, 6, 8, .9) 0%, rgba(5, 6, 8, 0) 28%); }
.ld-home-hero-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
.ld-home-hero-copy { max-width: 560px; }
.ld-home-hero h1 { margin-bottom: 16px; font: 800 56px/1.03 Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #fff; letter-spacing: -1.4px; text-wrap: pretty; }
.ld-home-lede { margin-bottom: 30px !important; max-width: 460px; font: 400 17px/1.55 -apple-system, sans-serif; color: #c3c9d0; text-wrap: pretty; }
.ld-home-hero .ld-home-actions { margin-bottom: 26px; }
.ld-home-ticks { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font: 400 13px -apple-system, sans-serif; color: #9aa3ad; }
.ld-home-ticks li { display: flex; align-items: center; gap: 7px; }
.ld-home-ticks li::before { content: "\2713"; color: rgb(var(--ld-green)); }
.ld-home-ticks-below { display: none; }

/* Steps */
/* Full-bleed band as drawn. Its three columns follow a centred 1440px layout:
 * step 02 is the middle third (at most 480px) and always centred; steps 01
 * and 03 stretch to the screen edges, but their text stays in the 1440px
 * column, next to step 02. */
.ld-home-steps { display: grid; grid-template-columns: minmax(0, 1fr) min(480px, calc((100% - 2px) / 3)) minmax(0, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none;
  background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ld-home-steps li { display: flex; background: #07080c; }
.ld-home-steps li:first-child { justify-content: flex-end; }
.ld-home-step { width: 100%; max-width: 480px; padding: 30px 32px; }
.ld-home-step-no { display: block; margin-bottom: 10px; font: 700 13px ui-monospace, Menlo, monospace; color: rgb(var(--ld-green)); }
.ld-home-steps h2 { margin-bottom: 6px; font: 700 16px Archivo, -apple-system, sans-serif; color: #fff; }
.ld-home-steps p { font: 400 13px/1.55 -apple-system, sans-serif; color: #9aa3ad; }

/* Plans */
.ld-home-plans { padding-top: 64px; padding-bottom: 60px; }
.ld-home-plans-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ld-home-plans h2 { font: 700 30px/1.15 Archivo, -apple-system, sans-serif; color: #fff; letter-spacing: -.6px; }
.ld-home-plan-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ld-home-plan a { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 22px 18px; border-radius: 14px; background: #0f1216;
  border: 1px solid rgba(var(--tier), .35); text-align: center; color: #fff; transition: border-color .15s ease, transform .15s ease; }
.ld-home-plan a:hover { border-color: rgba(var(--tier), .7); transform: translateY(-2px); }
.ld-home-plan-emblem { display: block; width: 52px; height: 52px; margin-bottom: 12px; }
.ld-home-plan-emblem img { display: block; width: 100% !important; height: 100% !important; }
.ld-home-plan-text { display: flex; flex-direction: column; }
.ld-home-plan-name { font: 700 15px Archivo, -apple-system, sans-serif; color: #fff; }
.ld-home-plan-caps { display: none; }
.ld-home-plan-price { margin-top: 4px; font: 400 12.5px -apple-system, sans-serif; color: #9aa3ad; }
.ld-home-plans-note { margin-top: 14px !important; font: 400 12.5px/1.5 -apple-system, sans-serif; color: #6f7883; }
.ld-home-compare-bottom { display: none; }

/* Closing call to action */
.ld-home-cta { padding-bottom: 56px; }
.ld-home-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 16px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(var(--ld-green), .16), rgba(var(--ld-green), 0) 60%), #0f1216; border: 1px solid rgba(var(--ld-green), .22); }
.ld-home-cta h2 { margin-bottom: 6px; font: 700 21px Archivo, -apple-system, sans-serif; color: #fff; }
.ld-home-cta p { font: 400 14px -apple-system, sans-serif; color: #9aa3ad; }
.ld-home-cta .ld-home-btn { min-height: 46px; padding: 12px 22px; font-size: 14px; box-shadow: none; }
.ld-home-cta .ld-home-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .16); font-size: 13.5px; }

/* Footer line */
.ld-home-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06); font: 400 12px -apple-system, sans-serif; color: #6f7883; }
.ld-home-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ld-home-foot a { color: #6f7883; }
.ld-home-foot a:hover { color: #c3c9d0; }

/* Wider than the content column the art no longer reaches the screen edges;
 * fade its sides into the page so no rectangle shows. */
@media (min-width: 1281px) {
  .ld-home-hero-art { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
}

@media (max-width: 1024px) {
  .ld-home-wrap { padding-left: 40px; padding-right: 40px; }
  .ld-home-plan-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Phones: mockup homepage-mobile. */
@media (max-width: 720px) {
  .ld-home-wrap { padding-left: 20px; padding-right: 20px; }
  .ld-home-hero { height: 560px; min-height: 0; align-items: flex-end; }
  .ld-home-hero-art { position: absolute; top: 0; bottom: 0; right: -330px; width: auto; height: 100%; aspect-ratio: 2560 / 1200; }
  .ld-home-hero-shade { background: linear-gradient(180deg, rgba(5, 6, 8, 0) 40%, rgba(5, 6, 8, .9) 75%, #050608 100%); }
  .ld-home-hero-inner { padding-top: 0; padding-bottom: 28px; }
  .ld-home-eyebrow { font-size: 10.5px; margin-bottom: 12px; }
  .ld-home-eyebrow-muted { margin-bottom: 8px; }
  .ld-home-hero h1 { margin-bottom: 12px; font-size: 38px; line-height: 1.04; letter-spacing: -1px; }
  .ld-home-lede { margin-bottom: 20px !important; font-size: 14.5px; line-height: 1.5; }
  .ld-home-hero .ld-home-actions { flex-direction: column; gap: 10px; margin-bottom: 0; }
  .ld-home-hero .ld-home-btn { width: 100%; font-size: 15px; }
  .ld-home-hero .ld-home-btn-ghost { min-height: 48px; background: transparent; }
  .ld-home-ticks-hero { display: none; }
  .ld-home-ticks-below { display: flex; gap: 8px 16px; padding: 4px 20px 20px; font-size: 12.5px; }
  .ld-home-steps { display: block; margin: 0; padding: 0 20px; background: none; border-bottom: 0; }
  .ld-home-steps li { display: block; background: none; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .ld-home-step { display: flex; gap: 14px; max-width: none; padding: 16px 0; }
  .ld-home-step-no { flex: none; margin: 0; padding-top: 2px; }
  .ld-home-steps h2 { margin-bottom: 4px; font-size: 15px; }
  .ld-home-steps p { line-height: 1.5; }
  .ld-home-plans { padding: 32px 0 8px; }
  .ld-home-plans-head { padding: 0 20px; margin-bottom: 16px; }
  .ld-home-plans h2 { font-size: 24px; letter-spacing: -.4px; }
  .ld-home-compare-top { display: none; }
  .ld-home-plan-list { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 4px; }
  .ld-home-plan a { flex-direction: row; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 12px; border-color: rgba(var(--tier), .28); text-align: left; }
  .ld-home-plan.is-first a { background: rgba(var(--tier), .08); border-color: rgba(var(--tier), .5); }
  .ld-home-plan a:hover { transform: none; }
  .ld-home-plan-emblem { flex: none; width: 36px; height: 36px; margin: 0; }
  .ld-home-plan-text { flex: 1; min-width: 0; }
  .ld-home-plan-name { font-size: 14.5px; }
  .ld-home-plan-caps { display: block; margin-top: 2px; font: 400 12px -apple-system, sans-serif; color: #9aa3ad; }
  .ld-home-plan-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; margin: 0; }
  .ld-home-plan-amount { font: 700 15px -apple-system, sans-serif; color: #fff; }
  .ld-home-plan-per { font-size: 11px; color: #6f7883; }
  .ld-home-plans-note { padding: 8px 20px 0; margin-top: 0 !important; }
  .ld-home-compare-bottom { display: inline-block; padding: 10px 20px 0; }
  .ld-home-cta { padding: 24px 16px; }
  .ld-home-cta-box { display: block; padding: 22px 20px; }
  .ld-home-cta h2 { font-size: 19px; }
  .ld-home-cta p { margin-bottom: 16px !important; font-size: 13px; line-height: 1.5; }
  .ld-home-cta .ld-home-btn-primary { width: 100%; min-height: 48px; font-size: 14.5px; }
  .ld-home-cta-signin { display: none; }
  .ld-home-foot { flex-direction: column-reverse; align-items: center; gap: 10px; padding: 20px 20px 28px; text-align: center; }
  .ld-home-foot nav { gap: 18px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-home-plan a, .ld-home-btn { transition: none; }
}

/* Homepage promotion (owner, 27 Sep 2026; mocks 1a, 3b, 1d adapted). */
.ld-home--promo { padding-top: 88px; }
.ld-promo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 911; height: 38px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px; background: #0ee59b; color: #06231a; font: 500 13px -apple-system, sans-serif; text-decoration: none; white-space: nowrap; overflow: hidden; }
.ld-promo-bar:hover { color: #06231a; text-decoration: none; }
body:has(.ld-promo-bar) #top-bar { top: 38px; }
.ld-promo-bar-name { font: 800 12.5px Archivo, -apple-system, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ld-promo-bar-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.ld-promo-bar-claim { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ld-promo-bar-short { display: none; }
.ld-promo-count { display: flex; gap: 10px; margin: 4px 0 30px; }
.ld-promo-count-cell { width: 68px; padding: 10px 0 8px; border-radius: 10px; background: #0d1015; border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.ld-promo-count-cell b { display: block; font: 800 24px/1 Archivo, -apple-system, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.ld-promo-count-cell.is-sec b { color: #0ee59b; }
.ld-promo-count-cell span { display: block; margin-top: 5px; font: 600 10px ui-monospace, Menlo, monospace; letter-spacing: .12em; color: #6f7883; }
.ld-promo-prices { padding-top: 60px; padding-bottom: 56px; text-align: center; scroll-margin-top: 100px; }
.ld-promo-prices-head { margin-bottom: 26px; }
.ld-promo-prices-head .ld-home-eyebrow { font-variant-numeric: tabular-nums; }
.ld-promo-prices h2 { font: 800 34px/1.1 Archivo, -apple-system, sans-serif; color: #fff; letter-spacing: -.8px; }
.ld-promo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; text-align: left; }
.ld-promo-card a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 20px 18px 18px; border-radius: 14px; background: #0f1216; border: 1px solid rgba(255, 255, 255, .08); color: inherit; text-decoration: none; transition: border-color .15s; }
.ld-promo-card a:hover { border-color: rgba(var(--tier), .55); text-decoration: none; }
.ld-promo-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ld-promo-card-emblem img { display: block; width: 26px; height: 26px; }
.ld-promo-card-name { font: 700 16px Archivo, -apple-system, sans-serif; color: #fff; }
.ld-promo-card-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ld-promo-card-big { font: 800 30px/1 Archivo, -apple-system, sans-serif; color: #fff; letter-spacing: -.8px; }
.ld-promo-card-was { font: 500 13px -apple-system, sans-serif; color: #6f7883; }
.ld-promo-card-per { margin-top: 6px; font: 400 12px/1.4 -apple-system, sans-serif; color: #9aa3ad; }
.ld-promo-card-save { align-self: flex-start; margin-top: 14px; padding: 3px 8px; border-radius: 6px; background: rgba(14, 229, 155, .12); color: #0ee59b; font: 700 11.5px -apple-system, sans-serif; }
.ld-promo-note { max-width: 760px; margin: 20px auto 0 !important; font: 400 12.5px/1.6 -apple-system, sans-serif; color: #6f7883; }
.ld-promo-sticky { display: none; }
@media (max-width: 900px) {
  .ld-promo-bar-wide { display: none; }
}
@media (max-width: 720px) {
  /* Room below the page for the sticky "Claim offer" bar. */
  .ld-home--promo { padding-top: 84px; padding-bottom: 96px; }
  .ld-promo-bar { height: 34px; font-size: 12.5px; gap: 10px; }
  body:has(.ld-promo-bar) #top-bar { top: 34px; }
  .ld-promo-bar-long { display: none; }
  .ld-promo-bar-short { display: inline; }
  .ld-home--promo .ld-home-hero { height: auto; min-height: 0; padding-top: 150px; }
  .ld-promo-count-cell { width: auto; flex: 1; }
  .ld-promo-prices { padding-top: 34px; padding-bottom: 40px; }
  .ld-promo-prices h2 { font-size: 26px; }
  /* Mock 1d: rows - the emblem and name, the struck price and the offer price. */
  .ld-promo-cards { grid-template-columns: 1fr; gap: 10px; }
  .ld-promo-card a { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 14px 16px; }
  .ld-promo-card-head { margin: 0; flex: 1; }
  .ld-promo-card-name { font-size: 15px; }
  .ld-promo-card-price { flex-direction: row-reverse; gap: 10px; }
  .ld-promo-card-big { font-size: 17px; color: #0ee59b; letter-spacing: 0; }
  .ld-promo-card-per, .ld-promo-card-save { display: none; }
  .ld-promo-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 905; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; background: #0d1015; border: 1px solid rgba(14, 229, 155, .35); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); }
  .ld-promo-sticky > div > span { display: block; font: 400 11.5px -apple-system, sans-serif; color: #9aa3ad; }
  .ld-promo-sticky b { display: block; font: 800 17px Archivo, -apple-system, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
  .ld-promo-sticky .ld-home-btn { flex: none; }
}
