/* Landing page (public). Builds on the tokens in app.css. */
html { scroll-behavior: smooth; }
body.landing main.lp { max-width: none; padding: 0; opacity: 1; animation: none; }
.landing .top { position: sticky; top: 0; z-index: 10; }
.lp section[id] { scroll-margin-top: 80px; }
.lp-nav { gap: 4px 26px; }
.lp-nav a { font-size: 15px; }
.navlink { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(50% + 12px); transition: background-size .2s ease; }
.navlink:hover { background-size: 100% 1px; }
.btn.big { height: 56px; padding: 0 26px; font-size: 17px; }
.btn.white { background: #FFFFFF; border-color: #FFFFFF; color: #13254A; }
.btn.white:hover { background: #E9EEFF; border-color: #E9EEFF; color: #13254A; }
.cta[aria-disabled=true] { opacity: .6; pointer-events: none; }
.cta-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.lp .mono { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lp .soft { color: var(--ink-2); }
.lp .small { font-size: 13px; }

.lp section { padding: 88px max(32px, calc((100% - 1240px) / 2 + 32px)); }
.lp h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1; letter-spacing: -0.045em; margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.lp h3 { font-weight: 800; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.035em; margin: 0 0 16px; }
.lp .lede { max-width: 58ch; margin-bottom: 40px; }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; padding-top: 72px !important; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: .96; letter-spacing: -0.05em; margin: 0 0 22px; }
.hero .lede { font-size: 19px; margin-bottom: 28px; }
.hero .actions { margin-top: 0; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; font: 400 13px var(--mono); color: var(--muted); }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--seal); margin-right: 8px; vertical-align: middle; }

.ticket { position: relative; flex: 1 1 380px; max-width: 480px; background: var(--surface); border: 1px solid var(--ink); border-radius: 8px; margin-right: 24px; }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--block); color: #FFFFFF; padding: 14px 20px; border-radius: 7px 7px 0 0; font-weight: 700; font-size: 15px; }
.ticket-head .mono { color: #C8CFDA; white-space: nowrap; }
.ticket-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; }
.ticket-body strong { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.file-row { padding: 12px 14px; border: 1px dashed var(--dash); border-radius: 6px; font-size: 15px; line-height: 1.4; }
.fake-btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; }
.ticket-foot { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 2px dotted var(--dash); }
.ticket-foot div { padding: 14px 16px; border-right: 1px dashed var(--dash); }
.ticket-foot div:last-child { border-right: 0; }
.ticket-foot dt { font: 400 11px var(--mono); color: var(--muted); margin-bottom: 4px; }
.ticket-foot dd { margin: 0; font-size: 14px; font-weight: 600; }
.stamp { position: absolute; right: -30px; top: -34px; width: 104px; height: 104px; border-radius: 999px; border: 2px solid var(--seal); background: color-mix(in srgb, var(--surface) 90%, transparent); display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); }
.stamp div { width: 90px; height: 90px; border-radius: 999px; border: 1px dashed var(--seal); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--seal); font: 500 10px/1.3 var(--mono); }

/* the problem */
.band:nth-of-type(even) { background: var(--surface); }
.copies { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 64px; }
.copy { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--subtle); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.copy strong { font-size: 16px; color: var(--ink); }
.copy.origin { background: var(--block); border-color: var(--block); color: #C8CFDA; }
.copy.origin strong { color: #FFFFFF; }
.copy.origin .mono { color: #97A3BA; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.figures div { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.figures strong { font-size: clamp(44px, 6vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.source { margin: 22px 0 0; }
.after { margin: 28px 0 0; max-width: 62ch; font-size: 18px; font-weight: 600; }

/* two ways */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.way { background: var(--surface); border-radius: 8px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.band:nth-of-type(even) .way { background: var(--subtle); }
.way h3 { font-size: 30px; margin: 0 0 6px; }
.way ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.way li { display: grid; grid-template-columns: 34px 1fr; padding: 14px 0; border-top: 1px dashed var(--dash); font-size: 16px; line-height: 1.45; }
.way li .mono { padding-top: 3px; }
.aside { margin-top: 6px; padding: 16px 18px; border-radius: 6px; background: var(--accent-soft); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.aside strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* comparison */
.compare { min-width: 720px; font-size: 15px; }
.compare thead th { font: 700 16px var(--sans); color: var(--ink); vertical-align: bottom; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.compare thead th span { font: 400 12px var(--mono); color: var(--muted); }
.compare tbody th { font: 600 15px var(--sans); color: var(--ink); width: 22%; }
.compare td { color: var(--ink-2); vertical-align: top; }
.compare td:nth-child(2) { color: var(--warn); }
.compare tbody tr:hover td { background: none; }

/* dark band */
.lp section.dark { background: #13254A; color: #FFFFFF; padding-left: 0; padding-right: 0; }
.dark .inner { padding: 0 max(32px, calc((100% - 1240px) / 2 + 32px)); }
.dark h2 { color: #FFFFFF; max-width: 20ch; }
.dark .lede { color: #C8CFDA; }
.journey { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.journey li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 20px 0; border-top: 2px solid #34466E; font-size: 14px; line-height: 1.45; color: #C8CFDA; position: relative; }
.journey li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 999px; background: #FFFFFF; }
.journey li:nth-child(3)::before { background: #2448E8; box-shadow: 0 0 0 4px rgba(36, 72, 232, .35); }
.journey .mono { color: #97A3BA; }
.journey strong { font-size: 18px; color: #FFFFFF; }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.notes div { padding: 20px; border-radius: 8px; background: #1F3566; font-size: 14px; line-height: 1.5; color: #C8CFDA; }
.notes strong { display: block; color: #FFFFFF; font-size: 16px; margin-bottom: 6px; }

/* what the client sees */
.client { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.client > div:last-child { flex: 1 1 420px; min-width: 0; }
.phone { flex: 0 1 320px; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px; border: 1px solid var(--ink); border-radius: 28px; background: var(--surface); box-shadow: 0 18px 40px rgba(19, 37, 74, .10); }
.phone strong { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick span { display: flex; align-items: center; justify-content: center; height: 64px; border: 1px dashed var(--dash); border-radius: 6px; font-size: 14px; font-weight: 600; }
.points { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.points div { padding: 16px 0; border-top: 1px dashed var(--dash); }
.points dt { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.points dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* who */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.who div { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 8px; background: var(--surface); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.band:nth-of-type(even) .who div { background: var(--subtle); }
.who strong { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19, 37, 74, .08); }

/* close + footer */
.lp section.close { background: #2448E8; color: #FFFFFF; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.close h2 { color: #FFFFFF; margin: 0; max-width: 16ch; }
.lp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 28px max(32px, calc((100% - 1240px) / 2 + 32px)); background: var(--surface); border-top: 1px solid var(--line); }
.lp-foot .mono { font: 400 12px var(--mono); color: var(--muted); }

/* phone menu */
.menu { display: none; padding: 0; border: 0; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform .15s ease, opacity .15s ease; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 14px 28px rgba(19, 37, 74, .12); padding: 4px 16px 12px; }
.menu nav a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; }
.menu nav a:last-child { border-bottom: 0; }

@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.6); } 70% { opacity: 1; transform: rotate(-12deg) scale(.94); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
.enter { animation: enter .7s cubic-bezier(.2, .7, .2, 1) both; }
.enter-2 { animation: enter .7s .12s cubic-bezier(.2, .7, .2, 1) both; }
.enter-2 .stamp { animation: stamp .5s .9s cubic-bezier(.3, 1.4, .5, 1) both; }
@media (prefers-reduced-motion: reduce) { .enter, .enter-2, .enter-2 .stamp { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hide-s { display: none !important; }
  .lp section { padding: 56px 20px; }
  .dark .inner { padding: 0 20px; }
  .ticket { margin-right: 0; }
  .stamp { right: -8px; top: -44px; }
  .landing .top { padding: 8px 16px; }
  .landing .top .btn.cta { height: 44px; padding: 0 12px; font-size: 14px; }
  .landing .top { gap: 8px; padding: 8px 14px; }
  .landing .top .right { gap: 8px; }
  .landing .top { flex-wrap: nowrap; }
  .landing .top .right { flex-wrap: nowrap; }
  .menu { display: block; }
  .landing .lp-nav { display: none; }
  .lp section[id] { scroll-margin-top: 72px; }
}

.landing .brand { white-space: nowrap; }
@media (max-width: 380px) { .landing .top .btn.cta { font-size: 13px; padding: 0 10px; } .landing .brand { font-size: 17px; } }
.lp-foot a { color: inherit; }
