/* partnership-x.com, on Redvie Design.
   Colors, radii, shadows, fonts and motion come from tokens.css (vendored from design/, never edited here).
   Type rules mirror the system's named styles: display, large-title, title-2, title-3, headline, lead,
   body, callout, footnote and caption. */

/* Inter, self-hosted (variable: weight 100 to 900, optical size 14 to 32). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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 {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: hsl(var(--ds-surface-secondary));
  color: hsl(var(--ds-label));
  font-family: var(--ds-font-sans);
  /* body */
  font-size: 0.875rem;
  line-height: 1.25rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

:focus-visible {
  outline: 2px solid hsl(var(--ds-ring));
  outline-offset: 2px;
  border-radius: var(--ds-radius-sm);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  border-radius: var(--ds-radius-md);
  background: hsl(var(--ds-surface-elevated));
  color: hsl(var(--ds-label));
  box-shadow: var(--ds-shadow-lg);
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout: 16px gutter on phones, 32px on desktop, clear of the notch. */

.container {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}

@media (min-width: 40rem) {
  .container {
    padding-inline: max(2rem, env(safe-area-inset-left)) max(2rem, env(safe-area-inset-right));
  }
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section {
  padding-bottom: 4rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Type */

/* large-title on phones, display from 640px: the hero, once per page. */
.title {
  font-size: 2.125rem;
  line-height: 2.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

@media (min-width: 40rem) {
  .title {
    font-size: 3.5rem;
    line-height: 3.75rem;
    letter-spacing: -0.022em;
  }
}

/* The lighter half of a large two-tone headline (allowed at 24px and up). */
.title-quiet {
  display: block;
  color: hsl(var(--ds-label-tertiary));
}

/* A link inside a headline: tint, underlined, with the line scaled to the type. */
.title a {
  color: hsl(var(--ds-tint));
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

.title a:hover {
  text-decoration-thickness: 0.1em;
}

/* large-title */
.page-title {
  font-size: 2.125rem;
  line-height: 2.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

/* title-2 */
.section-title {
  margin-bottom: 1rem;
  font-size: 1.375rem;
  line-height: 1.75rem;
  letter-spacing: -0.012em;
  font-weight: 600;
  text-wrap: balance;
}

/* lead */
.lead {
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.625rem;
  letter-spacing: -0.006em;
  color: hsl(var(--ds-label-secondary));
  text-wrap: pretty;
}

/* footnote */
.meta {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--ds-label-secondary));
}

/* Long reading: lead size, primary label, at most about 65 characters a line. */
.prose {
  max-width: 65ch;
  font-size: 1.0625rem;
  line-height: 1.625rem;
  letter-spacing: -0.006em;
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1rem;
}

/* title-3 */
.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  letter-spacing: -0.008em;
  font-weight: 600;
}

.prose a {
  color: hsl(var(--ds-tint));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

/* Links that stand on their own (not inside text): tint, no underline until hover. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  color: hsl(var(--ds-tint));
  font-weight: 500;
  text-decoration: none;
}

a.text-link:hover,
a:hover .text-link {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Buttons: body text at 500, 40px tall (44px on touch screens). */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding-inline: 1rem;
  border-radius: var(--ds-radius-md);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--ds-duration-fast) var(--ds-ease-standard);
}

@media (pointer: coarse) {
  .button {
    height: 2.75rem;
  }
}

.button:focus-visible {
  border-radius: var(--ds-radius-md);
}

.button-primary {
  background: hsl(var(--ds-tint));
  color: hsl(var(--ds-tint-foreground));
}

.button-primary:hover {
  background: hsl(var(--ds-tint) / 0.9);
}

.button-secondary {
  background: hsl(var(--ds-fill));
  color: hsl(var(--ds-label));
}

.button-secondary:hover {
  background: hsl(var(--ds-fill) / 0.7);
}

/* Header: 44px on phones, 52px on desktop, with a hairline. */

.site-header {
  border-bottom: 1px solid hsl(var(--ds-separator));
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
}

@media (min-width: 40rem) {
  .site-header-inner {
    min-height: 3.25rem;
  }
}

/* headline */
.wordmark {
  font-size: 0.9375rem;
  line-height: 1.25rem;
  letter-spacing: -0.004em;
  font-weight: 600;
  color: hsl(var(--ds-label));
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: hsl(var(--ds-label-secondary));
  text-decoration: none;
  transition: color var(--ds-duration-fast) var(--ds-ease-standard);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: hsl(var(--ds-label));
}

.site-nav a[aria-current="page"] {
  font-weight: 500;
}

/* Hero and page headers */

.hero {
  padding-block: 4rem;
}

@media (min-width: 40rem) {
  .hero {
    padding-block: 6rem 5rem;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: enter var(--ds-duration-slow) var(--ds-ease-emphasized) both;
}

.page-header {
  padding-block: 3rem 2rem;
}

@media (min-width: 40rem) {
  .page-header {
    padding-block: 4rem 3rem;
  }
}

/* Cards rest flat on the gray ground: surface, 14px corners, no border, no shadow. */

.card {
  background: hsl(var(--ds-surface));
  border-radius: var(--ds-radius-xl);
}

/* Product */

.product {
  display: grid;
  overflow: hidden;
}

@media (min-width: 48rem) {
  .product {
    grid-template-columns: 2fr 3fr;
  }
}

.product-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 48rem) {
  .product-image {
    aspect-ratio: auto;
  }
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem;
}

@media (min-width: 40rem) {
  .product-body {
    padding: 2rem;
  }
}

.product-intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-logo {
  align-self: flex-start;
  width: auto;
  height: 3rem;
  margin-bottom: 0.25rem;
}

/* title-2 */
.product-title {
  font-size: 1.375rem;
  line-height: 1.75rem;
  letter-spacing: -0.012em;
  font-weight: 600;
  text-wrap: balance;
}

.product-text {
  max-width: 34rem;
  color: hsl(var(--ds-label-secondary));
  text-wrap: pretty;
}

.features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.tile {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: var(--ds-radius-md);
  background: hsl(var(--ds-fill-secondary));
  color: hsl(var(--ds-label));
}

/* headline */
.feature-title {
  font-size: 0.9375rem;
  line-height: 1.25rem;
  letter-spacing: -0.004em;
  font-weight: 600;
}

/* callout */
.feature-text {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: hsl(var(--ds-label-secondary));
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--ds-separator));
}

/* footnote */
.availability {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--ds-label-secondary));
}

/* People */

.person-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
}

.person-card.is-link {
  transition: box-shadow var(--ds-duration-fast) var(--ds-ease-standard);
}

.person-card.is-link:hover {
  box-shadow: var(--ds-shadow-md);
}

.person-card.is-link:focus-visible {
  border-radius: var(--ds-radius-xl);
}

.person-card.is-stacked {
  flex-direction: column;
}

/* Round portrait; the fill shows while the photo loads. */
.avatar {
  width: 4rem;
  height: 4rem;
  flex: none;
  border-radius: 9999px;
  object-fit: cover;
  background: hsl(var(--ds-fill));
}

.avatar-lg {
  width: 6rem;
  height: 6rem;
}

.person-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* title-3 */
.person-name {
  font-size: 1.125rem;
  line-height: 1.5rem;
  letter-spacing: -0.008em;
  font-weight: 600;
}

/* footnote */
.person-role {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--ds-label-secondary));
}

.person-bio {
  max-width: 65ch;
  color: hsl(var(--ds-label-secondary));
  text-wrap: pretty;
}

.founder {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .founder {
    grid-template-columns: 16rem 1fr;
    gap: 3rem;
  }
}

/* Call to action */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 40rem) {
  .cta {
    padding: 2rem;
  }
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cta-text p {
  color: hsl(var(--ds-label-secondary));
}

/* title-3 */
.cta-title {
  font-size: 1.125rem;
  line-height: 1.5rem;
  letter-spacing: -0.008em;
  font-weight: 600;
}

/* Grouped lists: surface groups on the gray ground, inset separators. */

.groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.section > .groups,
.section > .container.groups {
  margin-top: 0;
}

/* footnote */
.group-header {
  padding: 0 1rem 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
  color: hsl(var(--ds-label-secondary));
}

.group {
  max-width: 40rem;
  overflow: hidden;
  border-radius: var(--ds-radius-xl);
  background: hsl(var(--ds-surface));
}

.row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
  color: inherit;
  text-decoration: none;
}

.row.is-link {
  transition: background-color var(--ds-duration-fast) var(--ds-ease-standard);
}

.row.is-link:hover {
  background: hsl(var(--ds-fill-secondary));
}

.row.is-link:focus-visible {
  outline-offset: -2px;
  border-radius: 0;
}

.row-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border-radius: var(--ds-radius-md);
  background: hsl(var(--ds-fill-secondary));
}

.row-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  padding-right: 1rem;
  border-bottom: 1px solid hsl(var(--ds-separator));
}

.group > li:last-child .row-main,
.group > .row:last-child .row-main {
  border-bottom: 0;
}

/* A row with several lines: the icon sits on the first line. */
.row.is-top {
  align-items: flex-start;
}

.row.is-top .row-icon {
  margin-top: 0.25rem;
}

.row-address {
  font-style: normal;
  color: hsl(var(--ds-label));
}

.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.row-title {
  color: hsl(var(--ds-label));
}

/* footnote */
.row-sub {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--ds-label-secondary));
}

/* callout */
.row-value {
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: hsl(var(--ds-label-secondary));
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
}

.row-disclosure {
  display: inline-flex;
  color: hsl(var(--ds-label-tertiary));
}

/* Footer */

.site-footer {
  border-top: 1px solid hsl(var(--ds-separator));
  padding-block: 2rem max(2rem, env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand address {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: hsl(var(--ds-label-secondary));
}

.footer-brand p {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: hsl(var(--ds-label-secondary));
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* caption overline */
.footer-links h2 {
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  line-height: 1rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-weight: 500;
  color: hsl(var(--ds-label-secondary));
}

/* callout */
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: hsl(var(--ds-label-secondary));
  text-decoration: none;
  transition: color var(--ds-duration-fast) var(--ds-ease-standard);
}

.footer-links a:hover {
  color: hsl(var(--ds-label));
}

/* footnote */
.footer-legal {
  margin-top: 2rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--ds-label-secondary));
}

/* Motion */

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner {
    animation: none;
  }

  .button,
  .site-nav a,
  .footer-links a,
  .row.is-link,
  .person-card.is-link {
    transition: none;
  }
}
