/* Sylaris One — agency partner page (partners/index.html). Loads after one.css. */

.p-hero { padding: 168px 0 96px; }
.p-hero h1 { max-width: 13em; }
.p-hero .pill { cursor: default; }
.p-hero .pill b { white-space: nowrap; }
.p-hero .hl { white-space: normal; }
@media (max-width: 760px) { .p-hero { padding: 132px 0 64px; } }

/* why */
.why h3 { margin-bottom: 10px; }
.why p { font-size: .93rem; }

/* five steps */
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-5 .step { padding: 26px 22px 28px; }
.steps-5 .step::after { left: 58px; right: 22px; }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-5 { grid-template-columns: 1fr; } .steps-5 .step::before { margin-bottom: 20px; } }

/* agency dashboard mock */
.dash-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 1020px) { .dash-split { grid-template-columns: 1fr; } }
.agency-ui { box-shadow: var(--shadow-dark), 0 0 0 8px #ffffff0d; }
.ag-body { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 420px; }
.ag-side { display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; border-right: 1px solid var(--line); background: #fbfbfa; }
.ag-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--text); font-family: var(--font-display); font-size: .92rem; }
.ag-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #4aa8ff, #8b7cff); color: #fff; font-size: .72rem; font-weight: 800; }
.ag-nav { padding: 8px 10px; border-radius: 9px; color: var(--text-2); font-size: .82rem; }
.ag-nav.is-on { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 0 0 1px var(--line-2); }
.ag-power { margin-top: auto; padding-top: 16px; color: var(--text-3); font-size: .68rem; }
.ag-main { padding: 20px; }
.ag-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ag-h { color: var(--text); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.03em; }
.ag-new { padding: 8px 12px; border-radius: 10px; background: var(--black); color: #fff; font-family: var(--font-display); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.ag-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.ag-kpis div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.ag-kpis small { display: block; color: var(--text-3); font-size: .7rem; }
.ag-kpis b { color: var(--text); font-family: var(--font-display); font-size: 1.15rem; }
.ag-table { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ag-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .9fr) 92px; gap: 10px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .78rem; }
.ag-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-row:first-child { border-top: 0; }
.ag-head { background: #fbfbfa; color: var(--text-3); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ag-client { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.ag-client i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.st { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: .68rem; font-style: normal; font-weight: 600; white-space: nowrap; }
.st-live { background: #e9fbd0; color: #284000; }
.st-check { background: #e3f0ff; color: #0b3d75; }
.st-build { background: var(--paper-2); color: var(--text-2); }
.ag-sample { margin-top: 10px; color: var(--text-3); font-size: .68rem; text-align: right; }
@media (max-width: 640px) {
  .ag-body { grid-template-columns: 1fr; min-height: 0; }
  .ag-side { display: none; }
  .ag-main { padding: 14px; }
  .ag-row { grid-template-columns: minmax(0, 1fr) 92px; }
  .ag-row > span:nth-child(2), .ag-row > span:nth-child(3) { display: none; }
}

/* control vs handled */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }
.role { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--paper); }
.role h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.role-tag { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 99px; background: var(--lime); color: var(--black); font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.role.is-sylaris { border-color: transparent; background: var(--black); color: var(--text-inv-2); }
.role.is-sylaris h3 { color: #fff; }
.role.is-sylaris .role-tag { background: #ffffff14; color: #fff; }
.role.is-sylaris .ticks li { color: #e6e9ed; }
.role.is-sylaris .ticks li::before { background-color: #ffffff17; }
.roles-note { max-width: 70ch; margin: 24px auto 0; text-align: center; }
.roles-note a { color: var(--text); }

/* partner pricing */
.terms { display: grid; gap: 0; margin: 28px 0 0; max-width: 480px; border-top: 1px solid var(--line); }
.terms div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms dt { color: var(--text); font-weight: 500; font-size: .95rem; }
.terms dd { margin: 0; flex: none; }
.partner-price { max-width: 460px; width: 100%; justify-self: end; }
@media (max-width: 920px) { .partner-price { justify-self: stretch; max-width: none; } }
.terms-note { margin-top: 28px; }

/* application */
.apply-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .apply-split { grid-template-columns: 1fr; } }
.next-steps { display: grid; gap: 4px; margin-top: 28px; counter-reset: n; }
.next-steps li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 50px; border-bottom: 1px solid var(--line); }
.next-steps li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: var(--lime); font-family: var(--font-display); font-size: .82rem; font-weight: 700; }
.next-steps b { color: var(--text); font-family: var(--font-display); font-size: .98rem; letter-spacing: -0.02em; }
.next-steps span { font-size: .9rem; }
.apply-split .fine a, .apply-form .fine a { color: var(--text); }
.form-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-2); }
.apply-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23080a0d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; cursor: pointer; }
.textarea { min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.input::placeholder { color: #6d7482; }
.select[aria-invalid="true"] { border-color: #d0342c; }
.err { margin: 0; font-weight: 500; }
.err::before { content: "! "; font-weight: 800; }
.submit { width: 100%; }
.form-done { display: grid; gap: 14px; padding: 12px 0; }
.form-done:focus { outline: none; }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.form-done .btn-row { margin-top: 8px; }
.done-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--black); color: var(--lime); }
.done-ic svg { width: 26px; height: 26px; }

/* hide the sticky mobile CTA while the application form is on screen */
.sticky-cta.is-off { transform: translateY(140%); pointer-events: none; }
