/* PartnerLane marketing site. Loads after tokens.css; every colour, radius and size is a token.
   The site ships the light theme only: the supplied logo has a black wordmark. */

/* Outfit and Manrope (SIL Open Font License 1.1), served from this site. Both are variable fonts. */
@font-face{font-family:'Outfit';font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/outfit-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/outfit-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-height) + var(--space-6)); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-sans); font-size: 15px; line-height: 22px; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
main { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 30; background: var(--surface-raised); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line-control); }
.skip-link:focus { top: var(--space-2); }

/* Type (names follow the design system's type styles) */
.display-xl { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.heading-1 { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.015em; }
.heading-2 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.heading-3 { font-size: 17px; line-height: 24px; font-weight: 700; }
.body-lg { font-size: 17px; line-height: 26px; }
.body-sm { font-size: 13px; line-height: 18px; }
.muted { color: var(--ink-muted); }
.overline { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.overline--brand { color: var(--brand-ink); }
.mono { font-family: var(--font-mono); }

/* Components from the design system's component stylesheet (components/bundle.css) */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-md); padding: 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid transparent; font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color 150ms cubic-bezier(.2,0,0,1), border-color 150ms, color 150ms, box-shadow 150ms; }
.pl-btn:hover { text-decoration: none; }
.pl-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-md); }
.pl-btn--primary { background: var(--brand); color: var(--on-brand); }
.pl-btn--primary:hover { background: var(--brand-hover); }
.pl-btn--secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-control); }
.pl-btn--secondary:hover { background: var(--surface-hover); }
.pl-btn--ghost { background: transparent; color: var(--brand); }
.pl-btn--ghost:hover { background: var(--brand-soft); color: var(--brand-ink); }
.pl-btn--lg { height: var(--control-lg); padding: 0 var(--space-5); font-size: 15px; }
.pl-btn--block { width: 100%; }
.pl-icon { width: var(--icon-md); height: var(--icon-md); flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-icon--sm { width: var(--icon-sm); height: var(--icon-sm); }
.pl-icon--lg { width: var(--icon-lg); height: var(--icon-lg); }
.pl-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 22px; padding: 0 var(--space-2); border-radius: var(--radius-sm); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; background: var(--surface-sunken); color: var(--ink-muted); border: 1px solid var(--line); }
.pl-badge--brand { background: var(--brand-soft); color: var(--brand-ink); border-color: transparent; }
.pl-badge--success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.pl-badge--warning { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.pl-badge--pill { border-radius: var(--radius-full); }
.pl-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }

/* Layout */
.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--space-8)); margin: 0 auto; padding: 0 var(--space-8); }
.section { padding: var(--space-16) 0; }
.section--sunken { background: var(--surface-sunken); }
.section__head { display: grid; gap: var(--space-3); max-width: 720px; margin-bottom: var(--space-10); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.site-header__bar { height: var(--topbar-height); display: flex; align-items: center; gap: var(--space-6); }
.site-header__logo { flex: none; display: inline-flex; align-items: center; min-height: var(--touch-target); }
.site-header__logo img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; }
.site-nav a { white-space: nowrap; display: inline-flex; align-items: center; height: var(--control-md); padding: 0 var(--space-3); border-radius: var(--radius-md); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.site-nav a:hover { background: var(--surface-hover); color: var(--ink); text-decoration: none; }
.site-header__actions { display: flex; align-items: center; gap: var(--space-2); }
.nav-menu { display: none; position: relative; }
.nav-menu > summary { list-style: none; width: var(--touch-target); height: var(--touch-target); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); cursor: pointer; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:hover { background: var(--surface-hover); }
.nav-menu__panel { position: absolute; right: 0; top: calc(100% + var(--space-2)); width: min(280px, calc(100vw - 2 * var(--space-4))); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-2); display: grid; }
.nav-menu__panel a { display: flex; align-items: center; min-height: var(--touch-target); padding: 0 var(--space-3); border-radius: var(--radius-md); font-weight: 600; color: var(--ink); }
.nav-menu__panel a:hover { background: var(--surface-hover); text-decoration: none; }

/* Hero */
.hero { padding: var(--space-16) 0 var(--space-12); }
.hero__copy { display: grid; gap: var(--space-5); max-width: 760px; }
.hero__lead { max-width: 640px; color: var(--ink-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero__visual { position: relative; margin-top: var(--space-12); padding-right: var(--space-10); padding-bottom: var(--space-8); }

/* Product screenshots */
.shot { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--surface-raised); }
.shot img { width: 100%; }
.phone { border: 6px solid var(--ink); border-radius: 34px; box-shadow: var(--shadow-lg); overflow: hidden; background: var(--surface-raised); }
.phone img { width: 100%; }
.hero__phone { position: absolute; right: 0; bottom: 0; width: 22%; min-width: 180px; }

/* Outcome drivers: the three promoted features */
.drivers { display: grid; gap: var(--space-16); }
.driver { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-12); align-items: center; }
.driver:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.driver:nth-child(even) .driver__copy { order: 2; }
.driver__copy { display: grid; gap: var(--space-4); align-content: start; }
.driver__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ticks { display: grid; gap: var(--space-3); }
.ticks li { display: grid; grid-template-columns: var(--icon-md) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.ticks .pl-icon { color: var(--success); margin-top: 1px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; }
.step { counter-increment: step; gap: var(--space-3); }
.step__num { width: var(--control-md); height: var(--control-md); border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.step__num::before { content: counter(step); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.feature { gap: var(--space-3); }
.feature__icon { width: var(--control-md); height: var(--control-md); border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; }
.feature__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.feature--soon { box-shadow: none; border-style: dashed; border-color: var(--line-control); background: transparent; }
.feature--soon .feature__icon { background: var(--surface-sunken); color: var(--ink-muted); }
.subhead { display: grid; gap: var(--space-2); max-width: 720px; margin: var(--space-12) 0 var(--space-6); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
.plan { gap: var(--space-5); padding: var(--space-6); }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.plan__head { display: grid; gap: var(--space-1); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2); }
.plan__amount { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.02em; }
.plan__facts { display: grid; gap: var(--space-2); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunken); }
.plan__facts strong { font-weight: 700; }
.plan__list { display: grid; gap: var(--space-3); flex: 1; align-content: start; }
.plan__list li { display: grid; grid-template-columns: var(--icon-md) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.plan__list .pl-icon { color: var(--success); margin-top: 1px; }
.plan__list .pl-badge { margin-left: var(--space-1); vertical-align: 1px; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-5); }
.note { gap: var(--space-2); box-shadow: none; }

.compare { margin-top: var(--space-12); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
.tablewrap:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
table { border-collapse: collapse; table-layout: fixed; width: 100%; min-width: 720px; font-size: 14px; line-height: 20px; }
th, td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface-sunken); font-family: var(--font-display); font-size: 17px; line-height: 24px; font-weight: 600; }
thead th:first-child { width: 31%; }
tbody th { font-weight: 600; }
tbody th .pl-badge { margin-left: var(--space-1); }
tr.group th span { display: inline-block; }
tr.group th { background: var(--surface); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding-top: var(--space-5); }
.col-featured { background: color-mix(in srgb, var(--brand-soft) 45%, transparent); }
thead th.col-featured { background: var(--brand-soft); color: var(--brand-ink); }
.table-hint { display: none; margin-bottom: var(--space-3); }
.yes { color: var(--success); }
.no { color: var(--ink-muted); }

/* A value that is not decided yet. Every one carries data-placeholder and is listed in README.md. */
.placeholder { display: inline-block; border: 1px dashed var(--warning); background: var(--warning-soft); color: var(--warning); border-radius: var(--radius-sm); padding: 1px 6px; font-weight: 600; }
.placeholder__tag { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-left: var(--space-1); }
.placeholder a { color: inherit; text-decoration: underline; }
.callout { display: grid; grid-template-columns: var(--icon-md) minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--warning-soft); color: var(--warning); }

/* Call to action */
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-10); align-items: center; padding: var(--space-10); }
.cta__copy { display: grid; gap: var(--space-3); }
.cta__actions { display: grid; gap: var(--space-4); justify-items: start; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-raised); padding: var(--space-12) 0 var(--space-8); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--space-8); }
.site-footer__brand { display: grid; gap: var(--space-3); align-content: start; max-width: 360px; }
.site-footer__brand img { height: 26px; width: auto; }
.site-footer__col { display: grid; gap: var(--space-1); align-content: start; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: var(--control-sm); color: var(--ink); }
.site-footer__legal { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; }

/* Legal placeholder pages */
.legal { padding: var(--space-16) 0; }
.legal__body { display: grid; gap: var(--space-5); max-width: 720px; }

/* Tablet */
@media (max-width: 1024px) {
  .wrap { padding: 0 var(--space-5); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .driver { gap: var(--space-8); }
  .cta { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}

/* Narrow: the navigation moves into a menu and the promoted features stack */
@media (max-width: 900px) {
  .site-nav, .site-header__actions .pl-btn--ghost { display: none; }
  .site-header__bar { gap: var(--space-2); }
  .site-header__actions { margin-left: auto; }
  .nav-menu { display: block; }
  .drivers { gap: var(--space-12); }
  .driver, .driver:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .driver:nth-child(even) .driver__copy { order: 0; }
  .driver__copy { max-width: 640px; }
  .plans, .notes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* Mobile */
@media (max-width: 767px) {
  .wrap { padding: 0 var(--space-4); }
  .section { padding: var(--space-12) 0; }
  .section__head { margin-bottom: var(--space-8); }
  .display-xl { font-size: 36px; line-height: 40px; }
  .display { font-size: 28px; line-height: 34px; letter-spacing: -0.015em; }
  .hero { padding: var(--space-10) 0; }
  .hero__actions .pl-btn { flex: 1 1 160px; }
  .hero__visual { margin-top: var(--space-10); padding: 0; }
  .hero__phone { display: none; }
  /* On a phone the screenshots switch to the app's own phone layout, shown in a phone frame. */
  .hero__shot, .driver .shot { width: min(280px, 78%); margin: 0 auto; border: 6px solid var(--ink); border-radius: 34px; }
  .driver .shot img { aspect-ratio: 39 / 58; object-fit: cover; object-position: top; }
  .steps, .features { grid-template-columns: minmax(0, 1fr); }
  .subhead { margin-top: var(--space-10); }
  .plan__amount { font-size: 36px; line-height: 40px; }
  /* The comparison table scrolls sideways; the feature names stay in place. */
  .table-hint { display: block; }
  table { min-width: 640px; }
  thead th:first-child { width: 170px; }
  thead th:first-child, tbody tr:not(.group) th { position: sticky; left: 0; z-index: 1; }
  tbody tr:not(.group) th { background: var(--surface-raised); box-shadow: 1px 0 0 var(--line); }
  tr.group th span { position: sticky; left: var(--space-4); }
  .cta { padding: var(--space-6) var(--space-5); }
  .cta__buttons .pl-btn { flex: 1 1 160px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .legal { padding: var(--space-10) 0; }
  .pl-btn { min-height: var(--touch-target); }
}

/* Small phones: the header keeps the logo and the menu; the demo link is in the menu and the hero. */
@media (max-width: 379px) {
  .site-header__actions .pl-btn--primary { display: none; }
}

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