/* Landing page and super admin pages. Separate from the tenant app's styles. */
:root {
    --orange: #F54200;
    --amber: #FFAE00;
    --gradient: linear-gradient(120deg, #F54200, #FF8A00 60%, #FFAE00);
    --ink: #17181C;
    --muted: #666B76;
    --line: #ECEDF0;
    --tint: #FFF2EA;
    --card-shadow: 0 10px 34px rgba(30, 30, 45, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 32px; }
.icon { width: 1em; height: 1em; }
[id] { scroll-margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--card-shadow); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 8px 26px;
    border: 0; border-radius: 999px;
    background: var(--gradient); color: #fff;
    font: 600 15px 'Montserrat', sans-serif; cursor: pointer;
    box-shadow: 0 10px 24px rgba(245, 66, 0, .26);
    transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245, 66, 0, .32); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(245, 66, 0, .4); outline-offset: 2px; }
.btn-arrow {
    display: grid; place-items: center; width: 32px; height: 32px; margin-right: -14px;
    border-radius: 50%; background: #fff; color: var(--orange); font-size: 17px;
}
.btn-small { min-height: 44px; padding: 6px 20px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--orange); border: 1.5px solid var(--orange); box-shadow: none; }
.btn-white { background: #fff; color: var(--orange); box-shadow: 0 10px 24px rgba(120, 40, 0, .2); }
.btn-white .btn-arrow { background: var(--gradient); color: #fff; }

/* Header */
.site-header { position: relative; z-index: 2; display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; }
.brand img { width: 196px; height: auto; }
.site-nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--orange); }
/* The button sits on the orange curve here. */
.site-header .btn { background: #fff; color: var(--orange); box-shadow: 0 8px 20px rgba(120, 40, 0, .2); }

/* Hero */
.hero-backdrop { position: absolute; top: 0; right: 0; width: 56vw; height: 900px; overflow: hidden; pointer-events: none; }
.hero-curve {
    position: absolute; top: -330px; right: -310px; width: 900px; height: 900px;
    border-radius: 50%; background: var(--gradient); opacity: .95;
}
.hero-sphere {
    position: absolute; top: 590px; right: 3vw; width: 96px; height: 96px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #FFD08A, #FF7A1A 42%, #D93A00 88%);
    box-shadow: 0 18px 30px rgba(217, 58, 0, .32);
}
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-top: 32px; padding-bottom: 76px; }
.hero h1 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { display: block; color: var(--orange); }
.hero-copy > p { max-width: 460px; margin-top: 22px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Laptop mockup */
.laptop { position: relative; filter: drop-shadow(0 30px 34px rgba(40, 20, 10, .28)); }
.laptop-screen { padding: 12px; background: #17181C; border-radius: 18px 18px 0 0; }
.laptop-base { height: 16px; margin-inline: -7%; background: linear-gradient(#D9DBE0, #A6A9B2); border-radius: 0 0 16px 16px; }
.mock-app { display: flex; aspect-ratio: 16 / 10; background: #F7F7F9; border-radius: 7px; overflow: hidden; font-size: clamp(8px, .95vw, 12px); line-height: 1.3; }
.mock-side { display: flex; flex-direction: column; gap: 9%; width: 10%; padding: 3% 2.4%; background: #fff; border-right: 1px solid var(--line); }
.mock-side i { display: block; height: 7px; border-radius: 4px; background: #E3E4E9; }
.mock-side .on { background: var(--orange); }
.mock-side .mock-logo { height: auto; aspect-ratio: 1; border-radius: 30%; background: var(--gradient); }
.mock-main { flex: 1; display: flex; flex-direction: column; gap: 4%; min-width: 0; padding: 3.2%; }
.mock-title { display: flex; justify-content: space-between; align-items: center; }
.mock-title b { font-size: 1.3em; }
.mock-title span { padding: .3em 1em; border-radius: 99px; background: var(--gradient); color: #fff; font-weight: 600; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; }
.mock-stats div { padding: 6%; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.mock-stats small { display: block; color: var(--muted); }
.mock-stats b { font-size: 1.6em; color: var(--orange); }
.mock-lower { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3%; min-height: 0; }
.mock-bars { display: flex; align-items: flex-end; gap: 6%; padding: 5%; background: #fff; border-radius: 8px; }
.mock-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(#FF8A00, #F54200); }
.mock-rows { display: flex; flex-direction: column; justify-content: space-around; padding: 3% 5%; background: #fff; border-radius: 8px; }
.mock-rows p { display: flex; align-items: center; gap: .6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-rows i { flex: none; width: .9em; height: .9em; border: 1.5px solid #C9CBD2; border-radius: 50%; }
.mock-rows .done { border-color: var(--orange); background: var(--orange); }

/* Feature row */
.feature-icon {
    display: inline-grid; place-items: center; width: 50px; height: 50px; flex: none;
    border-radius: 14px; background: var(--tint); color: var(--orange); font-size: 26px;
}
.feature-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 80px; }
.feature-row article { padding: 0 34px; border-left: 1px solid var(--line); }
.feature-row article:first-child { padding-left: 32px; border-left: 0; }
.feature-row h2 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.feature-row p { margin-top: 4px; color: var(--muted); font-size: 14px; }

/* About */
.about-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 52px; }
.eyebrow { display: block; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about h2, .section-title { margin-top: 10px; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.about em { color: var(--orange); font-style: normal; }
.about-card > div > p { margin-top: 16px; color: var(--muted); }
.checklist { display: grid; gap: 12px; margin-top: 22px; font-size: 15px; font-weight: 500; }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist span {
    display: grid; place-items: center; width: 22px; height: 22px; flex: none;
    border-radius: 50%; background: var(--gradient); color: #fff; font-size: 13px;
}
.org-mock { position: relative; padding: 34px 26px 56px; border-radius: 20px; background: var(--tint); }
.org-card { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; background: #fff; border-radius: 14px; box-shadow: var(--card-shadow); }
.org-card i { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--gradient); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.org-card p { min-width: 0; }
.org-card b { display: block; font-size: 13px; line-height: 1.25; }
.org-card small { color: var(--muted); font-size: 12px; }
.org-mock > .org-card { width: 72%; margin-inline: auto; }
.org-line { width: 2px; height: 26px; margin: 0 auto; background: #FFBE99; }
.org-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.org-badge {
    position: absolute; right: -14px; bottom: -22px; width: 118px; padding: 12px; text-align: center;
    border-radius: 16px; background: var(--gradient); color: #fff; box-shadow: 0 12px 24px rgba(245, 66, 0, .3);
}
.org-badge b { display: block; font-size: 30px; line-height: 1.1; }
.org-badge small { display: block; font-size: 11px; line-height: 1.3; }

/* Cards */
.section { padding-top: 88px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.step { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; }
.step h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step > a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--orange); font-size: 14px; font-weight: 600; }

/* Pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; }
.plan h3 { font-size: 19px; font-weight: 700; }
.price { margin: 10px 0 16px; font-size: 36px; font-weight: 800; line-height: 1.2; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan-limit { font-size: 15px; }
.plan .checklist { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--gradient); border-color: transparent; color: #fff; }
.plan-featured .price small { color: #fff; }
.plan-featured .checklist span { background: #fff; color: var(--orange); }
.note { margin-top: 16px; text-align: center; color: var(--muted); font-size: 13px; }

/* Call to action */
#contact { padding-top: 88px; }
.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 46px 52px; border-radius: 24px; background: var(--gradient); color: #fff;
}
.cta h2 { max-width: 520px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.2; }
.cta p { margin: 12px 0 24px; }
.cta-art { flex: none; width: 260px; }

/* Find your company */
#find-company { padding-top: 32px; }
.find-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 36px 44px; }
.find-card h2 { font-size: 22px; font-weight: 700; }
.find-card p { margin-top: 6px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.find-card label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.find-card .btn { margin-top: 14px; }
.find-field { display: flex; align-items: center; min-height: 52px; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.find-field:focus-within { border-color: var(--orange); }
.find-field input { flex: 1 1 110px; min-width: 0; height: 52px; padding: 0 0 0 16px; border: 0; outline: 0; font: 500 15px 'Montserrat', sans-serif; }
.find-field span { padding-right: 16px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.form-error { display: block; margin-top: 8px; color: #C22E00; font-size: 14px; font-weight: 500; }
.form-success { margin-bottom: 18px; padding: 12px 18px; border-radius: 12px; background: #E9F8EE; color: #17693A; font-weight: 500; }

/* Stats */
.stats-wrap { padding-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 32px; }
.stats > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.stats b { display: block; font-size: 24px; line-height: 1.2; }
.stats small { color: var(--muted); font-size: 13px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 56px; padding-bottom: 36px; color: var(--muted); font-size: 13px; }
.site-footer img { width: 150px; height: auto; }

/* Status and login pages */
.centered-page { display: grid; place-items: center; min-height: 100vh; padding: 16px; background: linear-gradient(160deg, #FFF8F2, #fff 60%); }
.status-card { width: min(440px, 100%); padding: 38px 32px; text-align: center; }
.status-card img { width: 190px; height: auto; margin: 0 auto 22px; }
.status-card h1 { font-size: 24px; font-weight: 800; }
.status-card p { margin: 10px 0 24px; color: var(--muted); }
.status-card .form-error { margin: 0; }
.stack-form { display: grid; gap: 16px; margin-top: 20px; text-align: left; }
.stack-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.stack-form input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 15px 'Montserrat', sans-serif; }
.stack-form input:focus { border-color: var(--orange); outline: 0; }

/* Signup */
.signup-card { width: min(500px, 100%); }
.signup-card > p { margin: 8px 0 20px; color: var(--muted); }
.signup-price { font-size: 20px; font-weight: 700; }
.cycle-choice { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.cycle-choice legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.cycle-choice .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cycle-choice input { width: 18px; height: 18px; }

/* Super admin */
.nav-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 12px; text-align: center; }
.credentials-box { margin-bottom: 18px; padding: 16px 20px; border-radius: 12px; background: #FFF6E0; color: #5C3F00; }
.credentials-box p { margin: 4px 0 0; }
.credentials-box small { display: block; margin-top: 8px; }
.request-card { margin-bottom: 18px; padding: 24px; }
.request-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.request-head h2 { font-size: 19px; font-weight: 700; }
.request-head p { color: var(--muted); font-size: 14px; }
.request-paid { text-align: right; }
.request-paid p, .request-paid small { display: block; font-size: 13px; color: var(--muted); }
.request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stack-form .find-field { display: flex; }
.stack-form .find-field input { border: 0; }
@media (max-width: 760px) { .request-actions { grid-template-columns: 1fr; } .request-paid { text-align: left; } .platform-header { flex-wrap: wrap; } .platform-nav { order: 3; margin-inline: 0; } }
.platform-nav { display: flex; gap: 8px; margin-inline: 28px auto; font-size: 15px; font-weight: 600; }
.platform-nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); }
.platform-nav a.on { background: var(--tint); color: var(--orange); }
.form-warning { margin-bottom: 18px; padding: 12px 18px; border-radius: 12px; background: #FFF6E0; color: #7A5300; font-weight: 500; }
.row-actions { display: flex; gap: 8px; }
.span-two { grid-column: 1 / -1; }
.stack-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 15px 'Montserrat', sans-serif; }
.check-group { display: grid; align-content: end; gap: 8px; }
.stack-form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.stack-form .check input { width: 18px; height: 18px; }
.note.left { text-align: left; }
.plan-yearly { margin: -10px 0 14px; color: var(--muted); font-size: 14px; }
.plan-featured .plan-yearly { color: #fff; }
.sub-title { margin: 26px 0 12px; font-size: 18px; font-weight: 700; }
.back-link { color: var(--orange); font-size: 14px; font-weight: 600; }
.form-end { gap: 10px; }
.platform { background: #FAFAFB; }
.platform-header { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.platform-header img { width: 170px; height: auto; }
.platform-main { padding-bottom: 56px; }
.platform-main h1 { margin-bottom: 18px; font-size: 26px; font-weight: 800; }
.table-card { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 14px 18px; text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); }
td { padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--orange); font-weight: 500; }
.pill { display: inline-block; padding: 2px 12px; border-radius: 99px; background: #E9F8EE; color: #17693A; font-size: 13px; font-weight: 600; }
.pill-off { background: #FDECE6; color: #C22E00; }
.create-card { margin-top: 26px; padding: 28px; }
.create-card h2 { font-size: 19px; font-weight: 700; }
.two-col { grid-template-columns: 1fr 1fr; }
.form-end { display: flex; align-items: flex-end; }

@media (max-width: 980px) {
    .site-nav { display: none; }
    .site-header { justify-content: space-between; }
    .hero { grid-template-columns: 1fr; }
    .site-header .btn { background: var(--gradient); color: #fff; }
    /* The curve moves behind the laptop so it never sits under the text. */
    .hero-backdrop { display: none; }
    .hero { overflow: hidden; margin-top: -24px; padding-top: 24px; }
    .laptop { margin: 28px 8% 24px; filter: none; }
    .laptop::before {
        content: ""; position: absolute; z-index: -1; inset: -28px -30% -24px 22%;
        border-radius: 120px 0 0 120px; background: var(--gradient);
    }
    .about-card { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .wrap { padding-inline: 16px; }
    .brand img { width: 156px; }
    .hero { padding-bottom: 56px; }
    .hero h1 span { display: inline; }
    .feature-row { grid-template-columns: 1fr; gap: 24px; padding-bottom: 56px; }
    .feature-row article, .feature-row article:first-child { padding: 0 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .feature-row article:last-child { padding-bottom: 0; border-bottom: 0; }
    .about-card { padding: 24px 20px 44px; gap: 28px; }
    .org-mock { padding-inline: 14px; }
    .org-pair { grid-template-columns: 1fr; }
    .org-mock > .org-card { width: 100%; }
    .org-badge { right: 8px; }
    .section, #contact { padding-top: 60px; }
    .card-grid { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
    .cta-art { width: 210px; align-self: center; }
    .find-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
    .find-field { flex-wrap: wrap; padding-bottom: 8px; }
    .find-field span { padding-left: 16px; overflow-wrap: anywhere; white-space: normal; }
    .stats { padding: 22px 18px; gap: 18px; }
    .stats b { font-size: 20px; }
    .site-footer { flex-direction: column; text-align: center; }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
