/* Platform landing page. Everything is prefixed lnd- so it cannot leak into other pages. */
html { scroll-behavior: smooth; }
body { background: #fff; }
.lnd { --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --soft: #f8fafc; color: var(--ink); font-family: 'Inter', system-ui, sans-serif; }
html, body { overflow-x: clip; }
.lnd-hero-in > *, .lnd-split > * { min-width: 0; }
.lnd-wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.lnd section[id] { scroll-margin-top: 76px; }

/* Buttons */
.lnd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.lnd-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px var(--brand); }
.lnd-btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.lnd-btn-ghost { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.lnd-btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.lnd-btn-lg { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.lnd-btn-block { display: flex; width: 100%; }
.lnd-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* Navigation */
.lnd-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lnd-nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; height: 68px; }
.lnd-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.lnd-brand { justify-self: start; }
.lnd-links { display: flex; gap: 26px; justify-content: center; }
.lnd-links a { color: var(--muted); font-weight: 500; text-decoration: none; font-size: 15px; }
.lnd-links a:hover { color: var(--ink); }
.lnd-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.lnd-notyou { background: none; border: 0; padding: 4px 2px; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.lnd-notyou:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
.lnd-hero { position: relative; overflow: hidden; padding: 72px 0 84px; background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at -5% 10%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%), #fff; }
.lnd-hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lnd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-dark); font-weight: 600; font-size: 13px; margin-bottom: 20px; }
.lnd-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 20px; }
.lnd-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lnd-hero p { font-size: 1.15rem; color: var(--muted); line-height: 1.65; max-width: 560px; }
.lnd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.lnd-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.lnd-aside { margin: 18px 0 0; color: var(--muted); font-size: 14px; max-width: 560px; line-height: 1.6; }
.lnd-aside a { font-weight: 600; text-decoration: none; }
.lnd-proof i { color: #16a34a; margin-right: 6px; }

/* Hero image */
.lnd-visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(30, 27, 75, .12)); }

/* Value strip */
.lnd-strip { background: var(--ink); color: #fff; }
.lnd-strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.lnd-strip strong { display: block; font-size: 15px; }
.lnd-strip span { font-size: 13px; color: #94a3b8; }

/* Sections */
.lnd-section { padding: 92px 0; }
.lnd-alt { background: var(--soft); border-block: 1px solid var(--line); }
.lnd-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.lnd-eyebrow { display: inline-block; color: var(--brand-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.lnd h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px; }
.lnd-head p, .lnd-lead { color: var(--muted); font-size: 1.07rem; line-height: 1.65; }
.lnd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lnd-feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lnd-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(15, 23, 42, .25); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.lnd-icon { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 11%, #fff); color: var(--brand-dark); display: grid; place-items: center; font-size: 19px; margin-bottom: 16px; }
.lnd-feature h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.lnd-feature p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 15px; }

.lnd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.lnd-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.lnd-steps span { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.lnd-steps h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.lnd-steps p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

.lnd-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lnd-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.lnd-checks li { display: flex; gap: 14px; }
.lnd-checks > li > i { color: #16a34a; font-size: 20px; margin-top: 2px; }
.lnd-checks strong { display: block; margin-bottom: 2px; }
.lnd-checks span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Sign-up */
.lnd-final { background: linear-gradient(135deg, #0f172a, color-mix(in srgb, var(--brand-dark) 55%, #0f172a)); color: #fff; padding: 88px 0; }
.lnd-final-cta { text-align: center; max-width: 700px; }
.lnd-final-cta p { color: #cbd5e1; font-size: 1.1rem; margin: 0 0 8px; }
.lnd-cta-center { justify-content: center; margin-bottom: 0; }
.lnd-btn-light { background: #fff; color: var(--ink); }
.lnd-btn-light:hover { background: #eef2ff; color: var(--ink); transform: translateY(-1px); }
.lnd-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.lnd-btn-outline-light:hover { border-color: #fff; color: #fff; }

.lnd-footer { background: #fff; border-top: 1px solid var(--line); }
.lnd-footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; padding-bottom: 28px; color: var(--muted); font-size: 14px; }
.lnd-footer nav { display: flex; gap: 22px; }
.lnd-footer nav a { color: var(--muted); text-decoration: none; }
.lnd-foot-note { color: #94a3b8; font-size: 13px; }
.lnd-footer nav a:hover { color: var(--ink); }

@media (max-width: 980px) {
    .lnd-hero-in, .lnd-split { grid-template-columns: 1fr; gap: 44px; }
    .lnd-grid, .lnd-steps { grid-template-columns: 1fr 1fr; }
    .lnd-strip-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .lnd-wrap { padding: 0 20px; }
    .lnd-links { display: none; }
    .lnd-nav-in { display: flex; gap: 12px; }
    .lnd-actions { margin-left: auto; }
    .lnd-actions .lnd-btn-ghost { display: none; }
    .lnd-hero { padding: 44px 0 60px; }
    .lnd-grid, .lnd-steps { grid-template-columns: 1fr; }
    .lnd-section, .lnd-final { padding: 60px 0; }
    .lnd-footer-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lnd-btn, .lnd-feature { transition: none; } }

/* Sign-in and sign-up pages: brand panel on the left, the form on the right */
.ap { min-height: 100vh; display: grid; grid-template-columns: 5fr 6fr; background: #fff; }
.ap-side { position: relative; overflow: hidden; color: #fff; padding: 40px 56px; display: flex; flex-direction: column; background:
    radial-gradient(600px 400px at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%),
    linear-gradient(160deg, #0f172a, color-mix(in srgb, var(--brand-dark) 60%, #0f172a)); }
.ap-side .lnd-brand { color: #fff; }
.ap-side-body { margin: auto 0; max-width: 440px; padding: 40px 0; }
.ap-side h2 { color: #fff; font-size: 2rem; }
.ap-side p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.65; }
.ap-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; color: #e2e8f0; }
.ap-side li i { color: #4ade80; margin-right: 10px; }
.ap-side small { color: #94a3b8; }
.ap-main { display: flex; flex-direction: column; padding: 28px 40px 40px; }
.ap-top { display: flex; justify-content: flex-end; font-size: 14px; color: var(--muted); }
.ap-top a { font-weight: 600; text-decoration: none; margin-left: 6px; }
.ap-form { width: 100%; max-width: 460px; margin: auto; padding: 24px 0; }
.ap-form h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.ap-sub { color: var(--muted); margin-bottom: 26px; }
.ap-form .form-label { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ap-form .form-control, .ap-form .input-group-text { padding: 11px 13px; }
.ap-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.ap-none { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 14px; }
.ap-none a { color: #9a3412; font-weight: 600; }
.ap-orgs { display: grid; gap: 10px; }
.ap-org { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.ap-org:hover { border-color: var(--brand); box-shadow: 0 6px 16px -10px var(--brand); color: var(--ink); }
.ap-org i { margin-left: auto; color: #94a3b8; }
.ap-org-initial { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.ap-forgot { font-size: 13px; font-weight: 600; text-decoration: none; margin-bottom: 6px; }
.ap-done { display: flex; gap: 14px; align-items: flex-start; margin-top: 4px; padding: 16px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.ap-done > i { font-size: 24px; margin-top: 2px; }
.ap-done strong { display: block; margin-bottom: 2px; }
.ap-done span { font-size: 14px; color: #166534; }
.ap-addr { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.ap-addr-view { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-addr-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.ap-addr-url { font-size: 15px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.ap-addr-url i { color: var(--brand); font-size: 12px; margin-right: 4px; }
.ap-addr-view .ap-linkbtn { margin-left: auto; }
.ap-addr-edit { margin-top: 10px; }
.ap-addr .form-text { margin-top: 6px; font-size: 12.5px; }
.ap-last { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ap-last:hover { border-color: var(--brand); box-shadow: 0 8px 20px -12px var(--brand); color: var(--ink); }
.ap-last .ap-org-initial { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; flex: none; }
.ap-last-text { display: flex; flex-direction: column; min-width: 0; }
.ap-last-text small { color: var(--muted); font-size: 12px; }
.ap-last-text strong { font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-last > i { margin-left: auto; color: var(--brand); }
.ap-notyou { margin: 0 0 6px; font-size: 14px; }
.ap-linkbtn { background: none; border: 0; padding: 0; color: var(--brand-dark); font-weight: 600; cursor: pointer; }
.ap-linkbtn:hover { text-decoration: underline; }
.ap-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px; color: #94a3b8; font-size: 13px; }
.ap-or::before, .ap-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lnd-open-name { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 14px; }
.ap-links a { font-weight: 600; text-decoration: none; }
.ap-fine { color: #64748b; font-size: 13px; text-align: center; margin: 14px 0 0; }
@media (max-width: 900px) {
    .ap { grid-template-columns: 1fr; }
    .ap-side { padding: 24px; }
    .ap-side-body { display: none; }
    .ap-main { padding: 20px 20px 32px; }
}

/* SugNext public site */
.lnd, .ap { --brand: #6251c7; --brand-dark: #453394; }
.lnd-brand img { width: 148px; height: auto; display: block; }
.lnd-nav { background: #fff; border-bottom: 1px solid #e9e5f3; }
.lnd-hero { background: radial-gradient(ellipse at 82% 21%, #ece6ff, transparent 52%), #f9f8fe; padding-block: clamp(48px, 8vw, 112px); }
.lnd-hero h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 760; letter-spacing: -.055em; max-width: 13ch; }
.lnd-hero h1 em { color: #5141ae; background: none; -webkit-text-fill-color: currentColor; }
.lnd-pill { background: #e8f6ed; color: #276344; }
.lnd-visual img { width: 100%; height: auto; }
.lnd-strip { background: #242039; color: #fff; }
.lnd-strip strong { color: #fff; }
.lnd-feature { background: #fff; border: 1px solid #e8e3f1; border-radius: 20px; box-shadow: none; }
.lnd-icon { background: #eeebfc; color: #5141ae; }
@media (max-width: 600px) { .lnd-brand img { width: 112px; } .lnd-hero h1 { max-width: 16ch; } }

.ap-brand { display: inline-block; margin-bottom: 24px; }
.ap-brand img { display: block; width: 148px; height: auto; }
