/* tipinc.tech — v6 */

:root {
  --black: #1A1A1A;
  --near-black: #2D2D2D;
  --charcoal: #3C3C3C;
  --graphite: #5A5A5A;
  --steel: #8A8A8A;
  --silver: #B0B0B0;
  --cloud: #D4D4D4;
  --mist: #ECECEC;
  --white: #FFFFFF;
  --teal: #4ABDB2;
  --teal-light: #7EE8DE;
  --teal-dark: #3A9A91;
  --ice: #F2F8FF;
  --font-display: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--mist);
  padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-left {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  text-decoration: none;
}
.nav-logo { width: 28px; height: 28px; }
.nav-name {
  font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  color: var(--black); letter-spacing: -0.02em;
}
.nav-name .tld { color: var(--steel); font-weight: 300; }
.nav-links {
  display: flex; gap: 36px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 14px; color: var(--graphite); text-decoration: none;
  font-weight: 400; transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-contact {
  font-size: 13px; color: var(--white); background: var(--teal);
  padding: 8px 20px; border-radius: 100px; text-decoration: none;
  font-weight: 500; transition: background 0.2s;
}
.nav-contact:hover { background: var(--teal-dark); }

/* ============ HERO ============ */
.hero {
  padding: 200px 48px 140px;
  max-width: 1200px; margin: 0 auto; position: relative;
}
.hero h1 {
  font-size: 60px; font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.08; margin-bottom: 32px; max-width: 820px;
}
.hero h1 .accent { color: var(--teal); }
.hero p {
  font-size: 19px; color: var(--graphite); line-height: 1.7;
  max-width: 580px; font-weight: 300;
}
.hero-mark {
  position: absolute; top: 160px; right: 48px;
  width: 280px; height: 280px; opacity: 0.04;
}

/* ============ PARTNERS ============ */
.partners-section { padding: 56px 48px; background: var(--black); }
.partners-stacked {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.partners-group { text-align: center; }
.partners-group-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 400;
  color: var(--graphite); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.partners-group-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.partner-name {
  font-size: 20px; font-weight: 600; color: var(--silver);
  letter-spacing: -0.01em; opacity: 0.6;
}
.partners-group-logos--sponsors {
  gap: 36px;
}
.partners-group-logos--partners {
  gap: 24px 28px;
}
/* Shared layout for all partner marks */
.partners-section .partner-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  object-fit: contain;
  object-position: center;
}
/* Strategic sponsors: full brand colour (no grayscale filter).
   Visa: white wordmark for dark backgrounds (Visa brand “reversed” option).
   Sizes tuned so wordmark + symbol feel balanced (symbol was visually heavier). */
.partners-section .partner-logo--brand {
  opacity: 1;
}
.partners-section .partner-logo--brand:hover {
  opacity: 0.92;
}
.partners-section .partner-logo--visa {
  height: 30px;
  width: auto;
  max-width: min(118px, 32vw);
}
.partners-section .partner-logo--mastercard {
  height: 26px;
  width: auto;
  max-width: min(50px, 14vw);
}
/* Strategic partners: unified light marks on dark bar */
.partners-section .partner-logo--mono {
  height: 34px;
  max-width: min(280px, 42vw);
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity 0.2s ease;
}
.partners-section .partner-logo--mono:hover {
  opacity: 1;
}
.partner-divider { width: 1px; height: 18px; background: var(--charcoal); flex-shrink: 0; align-self: center; }
.partners-group-logos--sponsors .partner-divider,
.partners-group-logos--partners .partner-divider {
  height: 34px;
}
.partners-separator { width: 80px; height: 1px; background: var(--charcoal); }

/* ============ SECTIONS ============ */
.section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 16px;
}

.problem {
  padding: 120px 48px 0; max-width: 1200px; margin: 0 auto;
}
.problem h2 {
  font-size: 36px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.2; margin-bottom: 24px; max-width: 720px;
}
.problem > p {
  font-size: 17px; color: var(--graphite); line-height: 1.7; max-width: 620px;
}

/* ============ WHAT WE BUILD ============ */
.what {
  padding: 100px 48px 120px; max-width: 1200px; margin: 0 auto;
}
.what h2 {
  font-size: 36px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.2; margin-bottom: 24px; max-width: 600px;
}
.what > p {
  font-size: 17px; color: var(--graphite); line-height: 1.7;
  max-width: 600px; margin-bottom: 56px;
}

.props { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.props .prop-card:last-child { grid-column: 1 / -1; }
.prop-card {
  padding: 36px; border-radius: 16px;
  border: 1px solid var(--mist);
  transition: border-color 0.3s, transform 0.2s;
  cursor: pointer; text-decoration: none; color: inherit; display: block;
}
.prop-card:hover { border-color: var(--cloud); transform: translateY(-2px); }
.prop-card .prop-number {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  color: var(--steel); letter-spacing: 0.1em; margin-bottom: 14px; display: block;
}
.prop-card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px;
}
.prop-card p { font-size: 14px; color: var(--graphite); line-height: 1.7; }
.prop-card .prop-link {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--teal);
  letter-spacing: 0.02em;
}

/* ============ HOW IT WORKS ============ */
.how { padding: 120px 48px; background: var(--black); color: var(--white); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--graphite); margin-bottom: 16px;
}
.how h2 {
  font-size: 36px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.2; margin-bottom: 24px; color: var(--white); max-width: 600px;
}
.how-intro {
  font-size: 17px; color: var(--steel); line-height: 1.7;
  max-width: 580px; margin-bottom: 64px;
}
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step { padding: 32px; border-radius: 12px; border: 1px solid var(--charcoal); }
.how-step-num {
  font-family: var(--font-mono); font-size: 32px; font-weight: 300;
  color: var(--teal); margin-bottom: 16px; display: block;
}
.how-step h4 {
  font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--white);
}
.how-step p { font-size: 13px; color: var(--steel); line-height: 1.7; }

/* ============ CTA ============ */
.cta { padding: 120px 48px; text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta h2 {
  font-size: 36px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.2; margin-bottom: 20px;
}
.cta p {
  font-size: 17px; color: var(--graphite); line-height: 1.7; margin-bottom: 36px;
}
.cta-btn {
  display: inline-block; padding: 14px 36px; border-radius: 100px;
  background: var(--teal); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 15px; transition: background 0.2s;
}
.cta-btn:hover { background: var(--teal-dark); }

/* ============ FOOTER ============ */
.footer { padding: 48px; border-top: 1px solid var(--mist); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 48px;
}
.footer-left { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 24px; height: 24px; }
.footer-logo span {
  font-family: var(--font-mono); font-size: 14px; color: var(--black); font-weight: 500;
}
.footer-reg {
  font-family: var(--font-mono); font-size: 10px; color: var(--steel);
  line-height: 1.8; letter-spacing: 0.02em;
}
.footer-links { display: flex; gap: 48px; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  color: var(--steel); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--graphite);
  text-decoration: none; margin-bottom: 8px; transition: color 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--black); }

/* ============ SUBPAGES ============ */
.sub-hero {
  padding: 140px 48px 80px; max-width: 1200px; margin: 0 auto;
}
.sub-back {
  display: inline-block; font-family: var(--font-mono); font-size: 13px;
  color: var(--teal); text-decoration: none; margin-bottom: 32px;
  transition: color 0.2s;
}
.sub-back:hover { color: var(--teal-dark); }
.sub-num {
  display: block; font-family: var(--font-mono); font-size: 13px;
  color: var(--steel); letter-spacing: 0.1em; margin-bottom: 12px;
}
.sub-hero h1 {
  font-size: 48px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 24px; max-width: 700px;
}
.sub-lead {
  font-size: 19px; color: var(--graphite); line-height: 1.7;
  max-width: 580px; font-weight: 300;
}

.sub-section {
  padding: 0 48px 80px; max-width: 1200px; margin: 0 auto;
}
.sub-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 16px; display: block;
}
.sub-body {
  font-size: 16px; color: var(--charcoal); line-height: 1.8; max-width: 640px;
}

.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cap-card {
  padding: 28px; border-radius: 12px; border: 1px solid var(--mist);
}
.cap-card h4 {
  font-size: 15px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em;
}
.cap-card p { font-size: 13px; color: var(--graphite); line-height: 1.7; }

.sub-cta {
  padding: 80px 48px; max-width: 1200px; margin: 0 auto;
  text-align: center; border-top: 1px solid var(--mist);
}
.sub-cta h3 {
  font-size: 24px; font-weight: 600; margin-bottom: 24px; letter-spacing: -0.01em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 140px 24px 100px; }
  .hero h1 { font-size: 34px; }
  .hero-mark { display: none; }
  .problem, .what { padding: 80px 24px; }
  .what { padding-top: 60px; }
  .how { padding: 80px 24px; }
  .props { grid-template-columns: 1fr; }
  .props .prop-card:last-child { grid-column: auto; }
  .how-steps { grid-template-columns: 1fr; }
  .partners-stacked { gap: 24px; }
  .partners-group-logos { gap: 24px; }
  .partner-name { font-size: 15px; }
  .partner-divider { display: none; }
  .cta { padding: 80px 24px; }
  .cta h2 { font-size: 28px; }
  .footer { padding: 32px 24px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .sub-hero { padding: 120px 24px 60px; }
  .sub-hero h1 { font-size: 32px; }
  .sub-section { padding: 0 24px 60px; }
  .cap-grid { grid-template-columns: 1fr; }
  .sub-cta { padding: 60px 24px; }
}
