/* Deedalis marketing site — browser-frame mocks, client portal card, steps,
   CTA and footer base. Tokens come from landing.css. */


/* ---- browser frame (website + portal spotlights) ---- */
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar .tl { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
.frame-url { margin-left: 0.4rem; display: inline-flex; align-items: center; gap: 0.35rem; min-width: 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--body); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.65rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame-url svg { color: var(--ok); }

/* practice site mock — deliberately NOT Deedalis-green: it's the practice's own brand */
.site { --site: #7A2E3B; font-size: 0.8rem; }
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.site-logo { font-family: var(--font-serif); font-weight: 700; color: var(--site); font-size: 0.95rem; white-space: nowrap; }
.site-links { display: flex; gap: 0.8rem; color: var(--muted); font-size: 0.72rem; }
.site-hero { padding: 1.3rem 1rem; background: linear-gradient(135deg, color-mix(in srgb, var(--site) 9%, white), #fff); }
.site-hero h4 { font-family: var(--font-serif); font-size: 1.25rem; color: #2A1418; }
.site-hero p { color: var(--body); margin-top: 0.35rem; font-size: 0.76rem; }
.site-btn { display: inline-block; margin-top: 0.7rem; background: var(--site); color: #fff; border-radius: 6px; padding: 0.35rem 0.7rem; font-size: 0.72rem; font-weight: 600; }
@media (max-width: 480px) { .site-links { display: none; } }
.visual-stack { position: relative; padding-bottom: 2.6rem; }
.float-card { position: absolute; right: -0.6rem; bottom: 0; width: min(290px, 86%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 0.85rem 0.95rem; }
.float-card .fh { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.float-card .fb { font-size: 0.82rem; color: var(--ink); font-weight: 600; }
.float-card .fs { font-size: 0.74rem; color: var(--muted); }
@media (max-width: 860px) { .float-card { right: 0; } }

.cp { padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.cp-hello { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.cp-card { border: 1px solid var(--line); border-radius: 11px; padding: 0.7rem 0.8rem; font-size: 0.8rem; }
.cp-card .k { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.cp-card .row { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); padding: 0.15rem 0; }
.cp-card .row svg { color: var(--brand); }
.cp-card .row .r { margin-left: auto; color: var(--muted); font-size: 0.72rem; }
.cp-track { display: flex; gap: 4px; margin-top: 0.45rem; }
.cp-track span { flex: 1; height: 5px; border-radius: 4px; background: var(--line); }
.cp-track span.on { background: var(--brand); }
.cp-pay { margin-left: auto; background: var(--brand); color: #fff; border-radius: 6px; padding: 0.25rem 0.6rem; font-size: 0.72rem; font-weight: 600; }


/* ---- getting started ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 1.5rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.step .num { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; }

/* ---- CTA + footer ---- */
.cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-box { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand), var(--brand-ink)); border-radius: clamp(20px, 3vw, 30px); padding: clamp(2.2rem, 5vw, 4rem) clamp(1.3rem, 5vw, 4rem); text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-box::before { content: ""; position: absolute; width: 30rem; height: 30rem; border-radius: 50%; background: rgba(255,255,255,0.12); filter: blur(10px); right: -8rem; bottom: -12rem; pointer-events: none; }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); position: relative; }
.cta-box p { color: rgba(255,255,255,0.86); max-width: 48ch; margin: 1rem auto 0; position: relative; }
.cta-box .hero-actions { justify-content: center; position: relative; }
footer.ft { border-top: 1px solid var(--line); background: var(--surface-2); }
.foot { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; padding-block: 2rem; }
.foot-brand { max-width: 40ch; }
.foot-brand p { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; }
.foot-note { width: 100%; border-top: 1px solid var(--line); padding-top: 1.1rem; font-size: 0.76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; justify-content: space-between; }


/* ---- legal & trust pages (templates/marketing/legal_base.html) ---- */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal .wrap { max-width: 820px; }
.legal-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 0.6rem; }
.legal-head .lede { font-size: 1.06rem; margin-top: 0.9rem; }
.legal-meta { margin-top: 0.8rem; font-size: 0.82rem; color: var(--muted); }
.legal-draft { margin-top: 1.4rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); background: var(--warn-bg); color: #7A420A; font-size: 0.86rem; }
.legal-toc { margin-top: 1.6rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 0.9rem; }
.legal-toc ol { margin: 0.4rem 0 0; padding-left: 1.2rem; columns: 2 240px; }
.legal-toc a { color: var(--brand); }
.legal-body { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 4vw, 2.6rem); }
.legal-body h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1rem; margin: 1.2rem 0 0.4rem; }
.legal-body p, .legal-body li { font-size: 0.95rem; }
.legal-body p + p { margin-top: 0.7rem; }
.legal-body ul { padding-left: 1.2rem; margin: 0.5rem 0; display: flex; flex-direction: column; gap: 0.35rem; }
.legal-body a { color: var(--brand); font-weight: 600; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 0.8rem 0; font-size: 0.88rem; }
.legal-body th, .legal-body td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.legal-body .tbl { overflow-x: auto; }
.legal-body code { font-family: var(--font-mono); font-size: 0.85em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 5px; }
.legal-related { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.9rem; }
.legal-related a { color: var(--brand); font-weight: 600; }
