:root {
  --black: #050506;
  --black-2: #0b0b0f;
  --panel: #111117;
  --panel-2: #171722;
  --white: #ffffff;
  --text: #f6f6f7;
  --muted: #a4a4ad;
  --muted-2: #777783;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --red: #f42535;
  --red-2: #ff5c67;
  --purple: #8b5cf6;
  --purple-2: #c4b5fd;
  --party-bg: #0f0d17;
  --party-panel: #1c1a2e;
  --party-line: #2d2b3d;
  --legal-bg: #f7f4ef;
  --legal-text: #1f2933;
  --legal-muted: #657180;
  --legal-line: #e2ddd4;
  --sf-bg: #021b17;
  --sf-card: #062b24;
  --sf-section: #0b3a30;
  --sf-gold: #d6b36a;
  --sf-ivory: #f4efe2;
  --sf-cream: #e8ddc8;
  --sf-muted: #b8a98a;
  --sf-border: #2f5b4e;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

main,
section,
article,
div {
  min-width: 0;
}

body.theme-dark,
body.theme-caloto {
  color: var(--text);
  background: var(--black);
}

body.theme-party {
  color: var(--text);
  background: var(--party-bg);
}

body.theme-spendflex {
  color: var(--sf-ivory);
  background: var(--sf-bg);
}

body:not(.theme-dark):not(.theme-caloto):not(.theme-party):not(.theme-spendflex) {
  color: var(--legal-text);
  background: var(--legal-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
a,
span {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 56px);
  backdrop-filter: blur(18px);
}

.site-header--dark {
  background: rgba(5, 5, 6, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header--party {
  background: rgba(15, 13, 23, 0.88);
  border-bottom: 1px solid var(--party-line);
}

body:not(.theme-dark):not(.theme-caloto):not(.theme-party):not(.theme-spendflex) .site-header {
  background: rgba(247, 244, 239, 0.9);
  border-bottom: 1px solid var(--legal-line);
}

.site-header--spendflex {
  background: rgba(2, 27, 23, 0.88);
  border-bottom: 1px solid rgba(47, 91, 78, 0.78);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand--logo img {
  width: clamp(104px, 16vw, 150px);
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand--text {
  font-size: 1rem;
}

.brand--spendflex img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand--spendflex span {
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--red);
}

.nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav a:hover,
.footer a:hover {
  color: var(--red-2);
}

.nav--party a:hover,
.footer--party a:hover {
  color: var(--purple-2);
}

.nav--spendflex,
.footer--spendflex {
  color: var(--sf-muted);
}

.nav--spendflex a:hover,
.footer--spendflex a:hover,
.text-link:hover {
  color: var(--sf-gold);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--red {
  color: var(--red-2);
}

.eyebrow--purple {
  color: var(--purple-2);
}

.eyebrow--gold {
  color: var(--sf-gold);
}

.theme-caloto .eyebrow--gold,
.theme-caloto .hero-proof span,
.theme-caloto .expertise-card span {
  color: var(--sf-gold);
}

.dev-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 71px);
  padding: clamp(58px, 9vw, 118px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(244, 37, 53, 0.16), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(244, 37, 53, 0.28), transparent 24%),
    linear-gradient(135deg, #050506 0%, #09090c 52%, #19070a 100%);
}

.dev-hero--refined {
  background:
    linear-gradient(90deg, rgba(214, 179, 106, 0.12), transparent 36%),
    linear-gradient(135deg, #021b17 0%, #041f1b 50%, #050506 100%);
}

.dev-hero__content {
  min-width: 0;
  max-width: 900px;
}

.dev-hero h1,
.party-hero h1,
.sf-hero h1,
.sf-editorial h2,
.sf-private h2,
.delivery-section h2,
.section-title h2,
.legal-document h1 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.dev-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 8.8vw, 8.4rem);
}

.lead {
  max-width: min(760px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.party-tags span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.hero-proof span {
  color: var(--text);
  border: 1px solid rgba(214, 179, 106, 0.34);
  background: rgba(214, 179, 106, 0.08);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.button--red {
  color: var(--white);
  background: var(--red);
}

.button--red:hover {
  color: var(--white);
  background: #d91f2d;
}

.button--gold {
  color: #021b17;
  background: var(--sf-gold);
}

.button--gold:hover {
  color: #021b17;
  background: #e8c87a;
}

.button--purple {
  color: var(--white);
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.button--purple:hover {
  color: var(--white);
}

.button--ghost,
.button--ghost-dark,
.button--ghost-party,
.button--sf-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.button--sf-ghost {
  color: var(--sf-ivory);
  border-color: var(--sf-border);
  background: rgba(232, 221, 200, 0.035);
}

.signature-panel {
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 22px;
  align-content: center;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    #020203;
  box-shadow: var(--shadow);
}

.signature-panel img {
  width: min(100%, 460px);
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(244, 37, 53, 0.18));
}

.signature-panel__copy {
  display: grid;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.signature-panel__copy strong {
  color: var(--text);
  font-size: 1.05rem;
}

.expertise-band,
.delivery-section,
.apps-showcase,
.party-section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 76px);
}

.expertise-band {
  background: var(--black);
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 800px;
  margin-bottom: 32px;
}

.section-title h2,
.delivery-section h2 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.expertise-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #111117, #0b0b10);
}

.theme-caloto .expertise-band {
  background: #021b17;
  border-top-color: rgba(47, 91, 78, 0.75);
}

.theme-caloto .expertise-card {
  border-color: rgba(47, 91, 78, 0.82);
  background: linear-gradient(180deg, #062b24, #021b17);
}

.theme-caloto .expertise-card--featured {
  background:
    linear-gradient(135deg, rgba(214, 179, 106, 0.14), transparent 42%),
    linear-gradient(180deg, #0b3a30, #021b17);
}

.theme-caloto .delivery-section {
  background:
    linear-gradient(180deg, rgba(214, 179, 106, 0.035), transparent),
    #041f1b;
  border-color: rgba(47, 91, 78, 0.76);
}

.expertise-card--featured {
  grid-row: span 2;
  min-height: 556px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 37, 53, 0.28), transparent 32%),
    linear-gradient(180deg, #171018, #0b0b10);
}

.expertise-card span {
  color: var(--red-2);
  font-size: 0.86rem;
  font-weight: 950;
}

.expertise-card h3 {
  max-width: 620px;
  margin: auto 0 0;
  font-size: clamp(1.55rem, 3.4vw, 3.6rem);
  line-height: 1.03;
}

.expertise-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.delivery-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.delivery-copy p {
  margin: 0;
}

.apps-showcase {
  max-width: 1320px;
  margin: 0 auto;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(22px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.36), transparent 28%),
    linear-gradient(135deg, #10101a, #191129);
}

.app-card + .app-card {
  margin-top: 18px;
}

.app-card--spendflex {
  border-color: rgba(214, 179, 106, 0.45);
  background:
    linear-gradient(135deg, rgba(214, 179, 106, 0.09), transparent 45%),
    linear-gradient(180deg, #062b24, #021b17);
}

.spendflex-card-mark {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid rgba(214, 179, 106, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(232, 221, 200, 0.045), rgba(232, 221, 200, 0.01)),
    #021b17;
}

.spendflex-card-mark img {
  width: min(86%, 420px);
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.38));
}

.sf-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(36px, 8vw, 104px);
  align-items: center;
  min-height: calc(100svh - 71px);
  padding: clamp(64px, 9vw, 124px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(214, 179, 106, 0.1), transparent 34%),
    linear-gradient(135deg, #021b17 0%, #041f1b 48%, #0b3a30 100%);
}

.sf-hero__copy {
  max-width: 800px;
}

.sf-hero h1 {
  max-width: 820px;
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 8.6rem);
  font-weight: 500;
}

.sf-hero p,
.sf-editorial p,
.sf-private p,
.sf-feature-grid p {
  color: var(--sf-muted);
}

.sf-hero__copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--sf-cream);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.sf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.sf-showpiece {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
}

.sf-phone {
  width: min(76vw, 360px);
  min-height: 620px;
  padding: 22px;
  border: 1px solid rgba(214, 179, 106, 0.42);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(244, 239, 226, 0.055), rgba(244, 239, 226, 0.018)),
    var(--sf-card);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.42);
}

.sf-phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sf-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.sf-phone__top img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.sf-phone__hero {
  display: grid;
  gap: 8px;
  margin-top: 78px;
  text-align: center;
}

.sf-phone__hero span,
.sf-phone__grid span {
  color: var(--sf-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-phone__hero strong {
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1;
}

.sf-meter {
  height: 9px;
  margin: 42px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sf-section);
}

.sf-meter span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--sf-gold);
}

.sf-phone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sf-phone__grid div {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  padding: 14px;
  border: 1px solid var(--sf-border);
  border-radius: 14px;
  background: rgba(2, 27, 23, 0.62);
}

.sf-phone__grid strong {
  color: var(--sf-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.sf-brand-disc {
  position: absolute;
  right: 2%;
  bottom: 3%;
  width: min(38vw, 230px);
  padding: 20px;
  border: 1px solid rgba(214, 179, 106, 0.26);
  border-radius: 999px;
  background: rgba(2, 27, 23, 0.82);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

.sf-editorial,
.sf-private {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--sf-border);
}

.sf-editorial h2,
.sf-private h2 {
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.8vw, 5.7rem);
  font-weight: 500;
}

.sf-editorial > p,
.sf-private p {
  max-width: 660px;
  margin: 0;
  color: var(--sf-cream);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.sf-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(18px, 5vw, 76px);
  background: var(--sf-border);
}

.sf-feature-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--sf-card);
}

.sf-feature-grid span {
  color: var(--sf-gold);
  font-weight: 900;
}

.sf-feature-grid h3 {
  margin: auto 0 0;
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  font-weight: 500;
  line-height: 1.05;
}

.sf-feature-grid p {
  margin: 0;
}

.sf-private {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  background: var(--sf-section);
}

.sf-private__image {
  display: grid;
  min-height: 440px;
  place-items: center;
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: rgba(2, 27, 23, 0.35);
}

.sf-private__image img {
  width: min(82%, 360px);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--sf-gold);
  font-weight: 850;
}

.legal-page--spendflex {
  background:
    linear-gradient(135deg, rgba(214, 179, 106, 0.08), transparent 42%),
    var(--sf-bg);
}

.legal-document--spendflex {
  color: var(--sf-ivory);
  border-color: rgba(214, 179, 106, 0.24);
  background:
    linear-gradient(180deg, rgba(232, 221, 200, 0.05), rgba(232, 221, 200, 0.015)),
    var(--sf-card);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.36);
}

.legal-document--spendflex h1,
.legal-document--spendflex h2 {
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.legal-document--spendflex p,
.legal-document--spendflex li {
  color: var(--sf-cream);
}

.legal-document--spendflex a {
  color: var(--sf-gold);
}

.app-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
}

.app-card p {
  max-width: 620px;
  color: var(--muted);
}

.screenshot-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.screenshot-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

.party-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: center;
  min-height: calc(100svh - 71px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.46), transparent 26%),
    radial-gradient(circle at 15% 80%, rgba(167, 139, 250, 0.28), transparent 28%),
    #0f0d17;
}

.party-hero__copy {
  min-width: 0;
  max-width: 760px;
}

.party-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.party-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.party-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.party-tags span {
  color: var(--purple-2);
  border: 1px solid rgba(167, 139, 250, 0.42);
  background: rgba(167, 139, 250, 0.08);
}

.party-phone-stack {
  position: relative;
  min-width: 0;
  min-height: 620px;
}

.shot {
  position: absolute;
  width: min(62%, 360px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.shot--main {
  right: 10%;
  top: 0;
  z-index: 2;
}

.shot--side {
  left: 0;
  top: 72px;
  opacity: 0.82;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
}

.feature-card--party {
  border: 1px solid var(--party-line);
  background: linear-gradient(180deg, #1c1a2e, #141321);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 32px);
}

.legal-page--party {
  background:
    radial-gradient(circle at 82% 8%, rgba(124, 58, 237, 0.34), transparent 24%),
    radial-gradient(circle at 12% 92%, rgba(167, 139, 250, 0.16), transparent 26%),
    var(--party-bg);
}

.legal-document {
  width: 100%;
  min-width: 0;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(42, 31, 16, 0.08);
}

.legal-document * {
  max-width: 100%;
}

.theme-party .legal-document {
  color: var(--text);
  border-color: rgba(167, 139, 250, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--party-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.legal-document h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.legal-document h2 {
  margin: 38px 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.legal-document p,
.legal-document li {
  color: var(--legal-muted);
}

.theme-party .legal-document p,
.theme-party .legal-document li {
  color: var(--muted);
}

.legal-document a {
  color: #2563eb;
  font-weight: 750;
}

.theme-party .legal-document a {
  color: var(--purple-2);
}

.updated {
  margin-top: 12px;
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  font-size: 0.95rem;
  font-weight: 750;
}

.footer--dark {
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer--party {
  color: var(--muted);
  border-top: 1px solid var(--party-line);
  background: var(--party-bg);
}

body:not(.theme-dark):not(.theme-caloto):not(.theme-party):not(.theme-spendflex) .footer {
  color: var(--legal-muted);
  border-top: 1px solid var(--legal-line);
}

.footer--spendflex {
  color: var(--sf-muted);
  border-top: 1px solid var(--sf-border);
  background: var(--sf-bg);
}

/* 2026 brand pass */
.theme-caloto {
  --caloto-bg: #021b17;
  --caloto-card: #062b24;
  --caloto-line: rgba(214, 179, 106, 0.24);
}

.theme-caloto .site-header--dark {
  background: rgba(2, 27, 23, 0.9);
  border-bottom-color: rgba(214, 179, 106, 0.18);
}

.theme-caloto .nav {
  color: var(--sf-muted);
  font-weight: 700;
}

.theme-caloto .nav a:hover,
.theme-caloto .footer a:hover {
  color: var(--sf-gold);
}

.dev-hero--refined {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  background:
    linear-gradient(90deg, rgba(214, 179, 106, 0.1), transparent 32%),
    linear-gradient(135deg, #021b17 0%, #031511 48%, #050506 100%);
}

.dev-hero--refined::after,
.sf-hero::after,
.party-hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 5vw, 76px) 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.2;
}

.dev-hero h1 {
  max-width: 10.5ch;
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.theme-caloto .lead,
.theme-caloto .delivery-copy,
.theme-caloto .expertise-card p,
.theme-caloto .app-card p,
.theme-caloto .footer {
  color: var(--sf-muted);
}

.architect-panel {
  display: grid;
  gap: 22px;
  align-self: stretch;
  align-content: end;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--caloto-line);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(244, 239, 226, 0.055), rgba(244, 239, 226, 0.015)),
    var(--caloto-card);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.architect-panel img {
  width: min(100%, 360px);
  margin: 0 auto auto;
  opacity: 0.94;
}

.architect-panel__metric {
  display: grid;
  gap: 5px;
  padding-top: 20px;
  border-top: 1px solid var(--caloto-line);
}

.architect-panel__metric span,
.architect-panel__list span,
.cred-strip span {
  color: var(--sf-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.architect-panel__metric strong {
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.architect-panel__list {
  display: grid;
  gap: 10px;
}

.architect-panel__list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(214, 179, 106, 0.16);
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(18px, 5vw, 76px);
  background: rgba(214, 179, 106, 0.18);
}

.cred-strip div {
  min-height: 148px;
  display: grid;
  align-content: space-between;
  padding: clamp(18px, 3vw, 28px);
  background: #031511;
}

.cred-strip strong {
  color: var(--sf-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.principles-section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 76px);
  background: #021b17;
  border-top: 1px solid rgba(214, 179, 106, 0.18);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principles-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(214, 179, 106, 0.2);
  background: linear-gradient(180deg, #062b24, #021b17);
}

.principles-grid span {
  color: var(--sf-gold);
  font-weight: 900;
}

.principles-grid h3 {
  margin: auto 0 10px;
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
}

.principles-grid p {
  margin: 0;
  color: var(--sf-muted);
}

.theme-caloto .app-card {
  border-radius: 2px;
}

.theme-caloto .app-card:not(.app-card--spendflex) {
  border-color: rgba(167, 139, 250, 0.32);
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.14), transparent 38%),
    linear-gradient(180deg, #141321, #0f0d17);
}

.theme-spendflex {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.sf-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.sf-hero h1,
.sf-editorial h2,
.sf-private h2,
.sf-dashboard h2 {
  letter-spacing: 0;
}

.sf-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sf-proofline span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--sf-cream);
  border: 1px solid rgba(214, 179, 106, 0.3);
  border-radius: 999px;
  background: rgba(214, 179, 106, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
}

.sf-showpiece {
  grid-template-columns: minmax(220px, 0.86fr) minmax(180px, 0.5fr);
  gap: 18px;
}

.sf-phone--main {
  z-index: 2;
}

.sf-phone--secondary {
  width: min(42vw, 245px);
  min-height: 430px;
  align-self: end;
  padding: 20px;
  border-radius: 28px;
  transform: translateX(-18px);
  background:
    linear-gradient(180deg, rgba(214, 179, 106, 0.08), rgba(244, 239, 226, 0.018)),
    #021b17;
}

.sf-phone__hero em {
  color: var(--sf-muted);
  font-style: normal;
  font-size: 0.9rem;
}

.sf-phone--secondary > span {
  color: var(--sf-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-phone--secondary > strong {
  display: block;
  margin-top: 44px;
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 500;
}

.sf-mini-bars {
  display: grid;
  gap: 12px;
  margin: 40px 0;
}

.sf-mini-bars i {
  display: block;
  width: var(--w);
  height: 9px;
  border-radius: 999px;
  background: var(--sf-gold);
}

.sf-phone--secondary p {
  margin: auto 0 0;
  color: var(--sf-muted);
  font-size: 0.95rem;
}

.sf-marquee {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(18px, 5vw, 76px);
  background: var(--sf-border);
}

.sf-marquee span {
  min-height: 92px;
  display: grid;
  place-items: center;
  color: var(--sf-gold);
  background: var(--sf-bg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  text-align: center;
}

.sf-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--sf-border);
  background:
    linear-gradient(180deg, rgba(214, 179, 106, 0.035), transparent),
    #021b17;
}

.sf-dashboard h2 {
  margin: 0;
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  font-weight: 500;
  line-height: 1;
}

.sf-dashboard p {
  max-width: 560px;
  color: var(--sf-cream);
}

.sf-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--sf-border);
  border: 1px solid var(--sf-border);
}

.sf-ledger div {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  padding: clamp(18px, 3vw, 30px);
  background: var(--sf-card);
}

.sf-ledger span {
  color: var(--sf-muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-ledger strong {
  color: var(--sf-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
}

.theme-party .brand--text {
  color: #f6f3ff;
  letter-spacing: 0.02em;
}

.party-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(124, 58, 237, 0.38), transparent 28%),
    linear-gradient(135deg, #0f0d17 0%, #171126 48%, #0f0d17 100%);
}

.party-hero h1 {
  max-width: 9.5ch;
  font-weight: 950;
}

.party-phone-stack {
  min-height: 680px;
}

.shot--third {
  right: 2%;
  bottom: 0;
  z-index: 3;
  width: min(48%, 292px);
}

.party-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.party-editorial h2 {
  margin: 0;
  max-width: 820px;
  color: #f6f3ff;
  font-size: clamp(2.35rem, 5.6vw, 5.5rem);
  line-height: 0.98;
}

.party-editorial p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.feature-card--party {
  border-color: rgba(196, 181, 253, 0.2);
  background:
    linear-gradient(180deg, rgba(196, 181, 253, 0.09), rgba(196, 181, 253, 0.018)),
    #141321;
}

.legal-document {
  border-radius: 2px;
}

.theme-party .legal-document,
.legal-document--spendflex {
  max-width: 940px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid currentColor;
}

.contact-form--party {
  border-top-color: rgba(167, 139, 250, 0.22);
}

.contact-form--spendflex {
  border-top-color: rgba(214, 179, 106, 0.24);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(15, 13, 23, 0.74);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form--spendflex input,
.contact-form--spendflex textarea {
  border-color: rgba(214, 179, 106, 0.28);
  color: var(--sf-ivory);
  background: rgba(2, 27, 23, 0.74);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(196, 181, 253, 0.36);
  outline-offset: 2px;
}

.contact-form--spendflex input:focus,
.contact-form--spendflex textarea:focus {
  outline-color: rgba(214, 179, 106, 0.38);
}

.contact-form__mail {
  width: fit-content;
  color: var(--purple-2);
  font-weight: 850;
}

.contact-form__mail--spendflex {
  color: var(--sf-gold);
}

@media (max-width: 980px) {
  .dev-hero,
  .delivery-section,
  .app-card,
  .party-hero,
  .sf-hero,
  .sf-editorial,
  .sf-private,
  .sf-dashboard,
  .party-editorial {
    grid-template-columns: 1fr;
  }

  .expertise-grid,
  .cred-strip,
  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-card--featured {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .signature-panel {
    max-width: 560px;
  }

  .architect-panel {
    max-width: 620px;
  }

  .party-phone-stack {
    min-height: 560px;
  }

  .sf-showpiece {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .sf-phone--secondary {
    width: min(100%, 330px);
    min-height: 360px;
    transform: none;
  }

  .sf-private__image {
    order: 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.86rem;
  }

  .theme-spendflex .nav a {
    border-color: var(--sf-border);
    background: rgba(232, 221, 200, 0.04);
  }

  .dev-hero,
  .party-hero,
  .sf-hero {
    min-height: auto;
    padding: 44px 16px 58px;
  }

  .dev-hero__content,
  .party-hero__copy,
  .sf-hero__copy,
  .signature-panel,
  .architect-panel,
  .app-card,
  .delivery-copy,
  .section-title,
  .sf-editorial > div,
  .sf-private__copy,
  .sf-dashboard__copy,
  .party-editorial {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .dev-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2.55rem, 13.2vw, 3.9rem);
  }

  .party-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.55rem, 13.2vw, 3.9rem);
  }

  .sf-hero h1 {
    max-width: 9.5ch;
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .sf-editorial h2,
  .sf-private h2 {
    font-size: clamp(2.2rem, 11vw, 3.55rem);
  }

  .lead,
  .party-hero p,
  .sf-hero__copy > p:not(.eyebrow) {
    width: 100%;
    max-width: 100%;
    font-size: 1.05rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .sf-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .signature-panel {
    padding: 18px;
  }

  .signature-panel img {
    width: min(100%, 330px);
  }

  .expertise-band,
  .delivery-section,
  .principles-section,
  .apps-showcase,
  .party-section,
  .sf-editorial,
  .sf-private,
  .sf-dashboard {
    padding: 56px 16px;
  }

  .section-title h2,
  .delivery-section h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .expertise-grid,
  .feature-grid,
  .cred-strip,
  .principles-grid,
  .sf-ledger,
  .sf-marquee {
    grid-template-columns: 1fr;
  }

  .cred-strip,
  .sf-marquee {
    padding-right: 16px;
    padding-left: 16px;
  }

  .expertise-card,
  .expertise-card--featured {
    min-height: 240px;
  }

  .expertise-card h3 {
    font-size: clamp(1.55rem, 9vw, 2.45rem);
  }

  .app-card {
    padding: 20px;
  }

  .app-card h3 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .screenshot-strip {
    display: flex;
    gap: 12px;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 8px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-strip img {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }

  .spendflex-card-mark {
    min-height: 260px;
  }

  .sf-showpiece {
    min-height: auto;
  }

  .sf-phone {
    width: min(100%, 330px);
    min-height: 570px;
    margin: 0 auto;
  }

  .sf-phone__hero strong {
    font-size: 4rem;
  }

  .sf-brand-disc {
    display: none;
  }

  .sf-feature-grid {
    grid-template-columns: 1fr;
    padding: 1px 16px;
  }

  .sf-dashboard h2 {
    font-size: clamp(2.2rem, 11vw, 3.55rem);
  }

  .sf-ledger div {
    min-height: 132px;
  }

  .sf-feature-grid article {
    min-height: 240px;
  }

  .sf-private__image {
    min-height: 280px;
  }

  .party-phone-stack {
    display: flex;
    gap: 12px;
    min-height: auto;
    margin: 0 -16px;
    overflow-x: auto;
    padding: 0 16px 10px;
    scroll-snap-type: x mandatory;
  }

  .shot {
    position: static;
    flex: 0 0 min(76vw, 300px);
    width: auto;
    scroll-snap-align: start;
  }

  .shot--side {
    opacity: 1;
  }

  .shot--third {
    width: auto;
  }

  .footer {
    flex-direction: column;
    padding: 26px 16px;
  }

  .legal-page {
    padding: 42px 16px;
  }

  .legal-document {
    width: 100%;
    max-width: calc(100vw - 32px);
    margin-right: 0;
    margin-left: 0;
    padding: 18px;
  }

  .legal-document h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
    line-height: 1.05;
  }

  .legal-document h2 {
    font-size: 1.2rem;
  }

  .legal-document ul {
    padding-left: 20px;
  }
}

@media (max-width: 420px) {
  .brand--logo img {
    width: 106px;
    height: 34px;
  }

  .dev-hero h1,
  .party-hero h1 {
    line-height: 1;
  }

  .hero-proof span,
  .party-tags span {
    width: auto;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .dev-hero__content,
  .party-hero__copy,
  .sf-hero__copy,
  .signature-panel,
  .architect-panel,
  .app-card,
  .delivery-copy,
  .section-title,
  .sf-editorial > div,
  .sf-private__copy,
  .sf-dashboard__copy,
  .party-editorial {
    width: 100%;
    max-width: 358px;
  }

  .dev-hero h1,
  .party-hero h1 {
    max-width: 9.5ch;
    font-size: clamp(2.35rem, 11.5vw, 3.45rem);
  }

  .lead,
  .party-hero p,
  .sf-hero__copy > p:not(.eyebrow),
  .delivery-copy {
    font-size: 1rem;
  }

  .button {
    min-height: 44px;
  }
}
