/* Marketing pages (home, pricing, status, legal): layouts from the TasPod website template on top of the
   tokens in app.css. Kept apart from app.css so the signed-in pages do not load them. */

/* nav: sign-in links and the primary button sit together */
.nav-auth { display: flex; align-items: center; gap: 16px; }
.nav-auth a.link { color: var(--ink); font-weight: 700; }
.nav-auth .btn.primary { color: var(--brand-ink); }

/* hero */
.hero-band { position: relative; overflow: hidden; background: var(--hero-glow), var(--bg-deep); border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; background-image: var(--grid-lines); background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.hero.split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; text-align: start; padding-block: 88px 96px; }
.hero.split h1 { margin: 22px 0 22px; }
.hero.split p.lead { margin: 0 0 28px; max-width: 520px; }
.amber { color: var(--amber-ink); }
.pill-tag { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--amber-line);
  background: var(--amber-soft); color: var(--body); font: 600 .78rem/1 var(--font); white-space: nowrap; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; max-width: 560px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; color: var(--amber); }
.trust b { display: block; color: var(--ink); font-size: .94rem; }
.trust small { display: block; color: var(--ink-2); font-size: .82rem; }
@media (max-width: 920px) { .hero.split { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 56px 64px; } }

/* Quick Send panel */
.send.glass { max-width: none; margin: 0; padding: 24px; border-radius: var(--radius-lg); border-color: var(--line-strong);
  background: linear-gradient(180deg, var(--glass), transparent), var(--surface); box-shadow: var(--shadow-raised); }
.send-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.kicker { font: 700 .74rem/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.send-head .mono { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.drop-orb { width: 52px; height: 52px; border-radius: 50%; background: var(--amber-soft); display: grid; place-items: center; color: var(--amber); }
.drop-orb svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.send .assure a { font-weight: 700; }

/* section rhythm */
.band.deep { background: var(--bg-deep); border-block: 1px solid var(--line); }
.band.deep + .band.deep { border-top: 0; }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head.left { align-items: flex-start; text-align: start; margin: 0 0 32px; max-width: 640px; }
.band > .wrap.s { padding-block: 112px; }
section.wrap.s { padding-block: 112px; }
@media (max-width: 640px) { .band > .wrap.s, section.wrap.s { padding-block: 72px; } }
.sec-head h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.sec-head .sub { margin: 0 !important; font-size: 1.15rem; line-height: 1.55; color: var(--body); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.split2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }

/* feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.feat { display: flex; flex-direction: column; gap: 14px; padding: 28px; color: var(--body); text-decoration: none; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.feat:hover { transform: translateY(-4px); border-color: var(--amber-line); box-shadow: var(--shadow-raised); color: var(--body); }
.feat-top { display: flex; justify-content: space-between; align-items: center; }
.feat h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.015em; }
.feat p { margin: 0; flex: 1; font-size: .95rem; }
.feat .more { font-weight: 700; font-size: .88rem; color: var(--link); }

/* numbered steps (backup) */
.num-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.num-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.num-card .num { font: 600 .88rem/1 var(--font-mono); color: var(--link); letter-spacing: .04em; }
.num-card h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.015em; }
.num-card p { margin: 0; font-size: .95rem; }
.checks { list-style: none; margin: 20px 0 40px; padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 32px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.checks li { display: flex; gap: 10px; font-size: .95rem; }
.checks li::before { content: "\2713"; color: var(--amber); font-weight: 800; }

/* security */
.sec-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.sec-points h3 { margin: 0 0 6px; font-size: 1.05rem; }
.sec-points p { margin: 0; font-size: .9rem; }
.journey { padding: 28px; border-radius: var(--radius-lg); }
.journey .kicker { margin-bottom: 18px; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.journey li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--line); }
.journey .step { flex: none; font-size: .82rem; font-weight: 600; color: var(--link); }
.journey .what { flex: 1; color: var(--ink); font-weight: 700; font-size: .94rem; }
.journey .st { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.st.blue { color: var(--link); } .st.green { color: var(--teal); } .st.muted { color: var(--ink-2); }
.journey .assure { margin: 18px 0 0; font-size: .82rem; line-height: 1.55; }
@media (max-width: 420px) { .journey li { flex-wrap: wrap; gap: 6px 12px; } .journey .what { flex-basis: 70%; } }

/* light band (business) */
.band.light { background: var(--slate-50); color: var(--slate-600); }
.band.light h2, .band.light h3 { color: var(--night-900); }
.band.light .eyebrow { color: var(--blue-600); }
.band.light .sub { color: var(--slate-600) !important; }
.roles { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.roles li { padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--slate-200); font: 700 .82rem/1 var(--font); color: var(--night-900); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--slate-200);
  box-shadow: 0 1px 2px rgba(8, 18, 35, .06), 0 8px 24px -8px rgba(8, 18, 35, .12); display: flex; flex-direction: column; gap: 8px; }
.stat b { font: 800 2rem/1 var(--font-display); letter-spacing: -.03em; color: var(--night-900); }
.stat span { font-size: .9rem; line-height: 1.45; }

/* plans (plans.js renders .seg + .grid of .card.plan) */
#plans { display: flex; flex-direction: column; align-items: center; gap: 36px; }
#plans .grid { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.compare { margin-top: 32px; font-weight: 700; }

/* platforms */
.plat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { #plans .grid, .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #plans .grid, .plat-grid { grid-template-columns: 1fr; } }
.plat { display: flex; flex-direction: column; gap: 10px; padding: 24px; text-decoration: none; color: var(--body); transition: transform var(--ease), border-color var(--ease); }
.plat:hover { transform: translateY(-4px); border-color: var(--amber-line); color: var(--body); }
.plat h3 { margin: 0; font-size: 1.15rem; }
.plat p { margin: 0; flex: 1; font-size: .9rem; }
.plat .mono { font-size: .8rem; font-weight: 600; }

/* FAQ: hairline list instead of boxes */
.faq { border-top: 1px solid var(--line); }
.faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 700 1.05rem/1.4 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--link); font: 400 1.5rem/1 var(--font); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; max-width: 680px; }

/* closing call to action */
.cta-wrap { padding-bottom: 112px; border-top: 0; }
.cta-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  padding: 72px 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(242, 169, 59, .14), transparent 70%); pointer-events: none; }
.cta-card > * { position: relative; margin: 0; }
.cta-card h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cta-card p { font-size: 1.2rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* footer */
.site-foot { padding-block: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding-block: 56px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.foot-col a { color: var(--body); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }
.foot-h { font: 700 .74rem/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.site-foot .fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: .82rem; margin: 0; }

/* inner marketing pages (pricing, status, legal) */
.page-hero { position: relative; overflow: hidden; background: var(--hero-glow), var(--bg-deep); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; padding-block: 72px 56px; }
.page-hero h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.page-hero p { margin: 0; font-size: 1.15rem; max-width: 40em; }
.mx-auto { margin-inline: auto !important; }

/* day theme: the light band would match the page, so it takes the deeper slate */
:root[data-theme="light"] .band.light { background: var(--bg-deep); }
