/* The public pages (home, pricing, legal, portal): the app's Dark Case look on a wider, calmer layout. */
.site { max-width: 1120px; margin: 0 auto; padding: 0 20px 64px; }
.site-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--ground) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-top .dc-brand { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-top nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-top nav a { color: var(--ink-2); text-decoration: none; font-size: var(--t-small); min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; transition: color var(--t) var(--ease), background-color var(--t) var(--ease); }
.site-top nav a:hover { color: var(--ink); background: var(--card-2); }
.site-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 32px 0 0; margin-top: 64px; border-top: 1px solid var(--hair); }
.site-foot a { color: var(--ink-2); font-size: var(--t-small); min-height: 44px; display: inline-flex; align-items: center; }
.site section { margin-top: clamp(56px, 8vw, 104px); }
.site .kicker { font: 400 var(--t-cap)/1.2 var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 var(--s3); }
.site .lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero { padding-top: clamp(32px, 7vw, 96px); display: grid; gap: var(--s6); }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; font-weight: 300; }
.hero h1 .dim { color: var(--ink-3); display: block; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.flow { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); counter-reset: f; }
.flow li { counter-increment: f; background: var(--card); border-radius: 18px; padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.flow li::before { content: "0" counter(f); font: 400 var(--t-cap)/1 var(--f-mono); color: var(--ink-3); }
.flow b { font-weight: 500; font-size: 1.05rem; }
.flow span { color: var(--ink-2); font-size: var(--t-small); line-height: 1.5; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.feats .dc-card { display: grid; gap: var(--s2); align-content: start; transition: transform var(--t) var(--ease); }
.feats .dc-card:hover { transform: translateY(-2px); }
.feats h3 { margin: 0; font-weight: 500; font-size: 1.1rem; }
.feats p { margin: 0; color: var(--ink-2); font-size: var(--t-small); line-height: 1.55; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.tier { display: flex; flex-direction: column; gap: var(--s2); }
.tier ul { margin: var(--s2) 0 var(--s4); padding-left: 1.1em; color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; }
.tier .dc-btn, .tier .rx-cta { margin-top: auto; align-self: start; }
.legal { max-width: 760px; padding-top: 40px; }
.legal h2 { font-weight: 500; font-size: 1.2rem; margin: 2.2em 0 .6em; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal a { color: var(--ink); }
.legal ul, .legal ol { list-style: disc; padding-left: 1.3em; margin: .4em 0 1em; }
.legal ol { list-style: decimal; }
.legal li { margin: .35em 0; padding-left: .2em; }
.portal-head { display: flex; gap: var(--s4); align-items: center; }
.portal-head img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--card); }
@keyframes site-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero > * { animation: site-rise .7s var(--ease) both; } .hero > :nth-child(2) { animation-delay: .08s; } .hero > :nth-child(3) { animation-delay: .16s; } .hero > :nth-child(4) { animation-delay: .24s; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .flow, .feats { grid-template-columns: 1fr; } .site-top nav a.hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero > * { animation: none; } .feats .dc-card:hover { transform: none; } }
/* The highlighted plan is a jelly card: its own padding and corners, and every line of it in white. */
.tier.rx-jelly { padding: var(--s5); border-radius: 22px; }
.rx-jelly ul, .rx-jelly li, .rx-jelly .dc-body { color: rgba(255, 255, 255, .92); }
/* Links inside sentences: a taller hit area without moving the text (padding on inline text doesn't change lines). */
.site p a:not([class]), .site li a:not([class]), .legal a:not([class]) { padding-block: 14px; }
.site-foot a, .site-top nav a { min-width: 44px; justify-content: center; }

/* the header band: solid under the header itself, feathered only in its 20px overhang past the content edges, so
   it never ends in a hard edge across the moving light, and nothing behind the links shows through (2026-10-09) */
.site-top { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-top::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--ground) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
/* at the top of the page there is nothing under the header yet: no band until the page scrolls */
@supports (animation-timeline: scroll()) {
  .site-top::before { animation: rx-band linear both; animation-timeline: scroll(root); animation-range: 0 96px; }
  @keyframes rx-band { from { opacity: 0; } to { opacity: 1; } }
}
