:root {
  --color-text: #0f1720;
  --color-text-soft: #4b5563;
  --color-bg: #ffffff;
  --color-bg-soft: #f7fafb;
  --color-border: #e5edf0;
  --color-shadow: 0 20px 50px rgba(19, 42, 53, 0.08);

  --brand-1: #2d8fa0;
  --brand-2: #6dd6c2;
  --brand-3: #41c2be;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --container: 1120px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: 'CoreRhino';
  src: url('fonts/CoreRhino85Black.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 237, 240, 0.75);
}

.header-inner {
    position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-mybrand {
  font-family: 'Inter', system-ui, sans-serif;
  color: #070708;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-collabs {
  font-family: 'CoreRhino', sans-serif;
  color: #235f59;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;   /* controls space between "My Brand" and "Collabs" */
}

.logo-collabs-group {
  display: inline-flex;
  align-items: baseline;
}

.tm {
  font-size: 0.55em;
  margin-left: 1px;
  position: relative;
  top: -0.45em;
}

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

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 999px;
}

/* Hero */

.hero {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2), var(--brand-3));
  color: #ffffff;
  padding: 5.25rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.hero-logo {
  display: block;
  width: clamp(180px, 24vw, 250px);
  height: auto;
  margin: 0 0 0.9rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.hero-text {
  margin: 0 0 1.35rem;
  max-width: 35rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.store-buttons {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-buttons.center {
  justify-content: center;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.store-badge {
  display: block;
  height: 54px;
  width: auto;
  max-width: 180px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  display: block;
  width: 100%;
  max-width: 370px;
  height: auto;
}

/* Sections */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--color-bg-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.why-grid h2,
.cta-box h2 {
    margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  /* margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em; */
}

.section-kicker {
  color: var(--brand-1);
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(19, 42, 53, 0.04);
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.65;
}

/* Workflow */

.workflow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.workflow-step {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(19, 42, 53, 0.04);
}

.workflow-arrow {
  color: var(--brand-1);
  font-size: 1.25rem;
  font-weight: 700;
}

.arrow-mobile {
  display: none;
}

.arrow-desktop {
  display: inline;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.why-grid > div:first-child {
  max-width: 520px;
}

.why-copy {
  margin-top: 2rem;
  max-width: 540px;
}

.why-copy p {
  margin: 0 0 1rem;
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* CTA */

.cta-section {
  padding-top: 1rem;
}

.cta-box {
  background: linear-gradient(
    135deg,
    rgba(45, 143, 160, 0.09),
    rgba(109, 214, 194, 0.16),
    rgba(65, 194, 190, 0.09)
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--color-shadow);
}

.cta-box p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--color-text-soft);
}

.cta-box .store-buttons {
  margin-top: 1.5rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.75rem 0 2rem;
}

.footer-inner {
  /* display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: var(--color-text-soft);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-soft);
}

.footer-links a:hover {
  color: var(--color-text);
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .why-grid,
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    align-items: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 2.5rem, var(--container));
  }

  .menu-toggle {
    display: inline-block;
  }

  /* .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
    gap: 0.9rem;
  } */

  .site-nav {
    position: absolute;
    top: 100%;          /* directly below header */
    left: 0;
    width: 100%;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1rem;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .site-nav.open {
    display: flex;
  }

  .header-inner {
    /* flex-wrap: wrap;
    padding: 0.75rem 0; */
    flex-wrap: nowrap;
    padding: 0.4rem 0;
  }

  .section-heading h2,
  .why-grid h2,
  .cta-box h2 {
    font-size: 2.2rem;
  }

  .hero {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
    /* padding-bottom: 4rem; */
  }

  .hero-grid,
  .why-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid{
    gap: 0.75rem;
  }

  .hero-copy > * {
    margin-top: 0;
  }

  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
  }
/* 
  .hero-text {
    margin-bottom: 1rem;
  } */

  .hero-logo {
    margin: 0 auto 0.9rem;
  }

  .hero .eyebrow {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 92%;
    font-size: 1.02rem;
  }

  .store-buttons {
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
  }

  .hero-visual {
    /* margin-top: 1.75rem; */
    margin-top: 0.75rem;
    justify-content: center;
  }

  .hero-phone {
    max-width: 320px;
  }

  .workflow {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .arrow-desktop {
    display: none;
  }

  .arrow-mobile {
    display: inline;
  }

  .workflow-arrow {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
  }

  .why-copy {
    margin-top: 1.25rem;
    max-width: none;
  }

  .cta-box {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  /* .container {
    width: min(100% - 1.25rem, var(--container));
  } */

  .logo-mark {
    width: 42px;
    height: 42px;
  }


  /* .store-badge {
    max-width: 170px;
    height: auto;
  } */
   .store-badge {
    display: block;
    height: 44px;
    width: auto;
    max-width: none;
    }
}

/* Prevent text/image selection in key visual areas */
.hero,
.site-header,
.features-grid,
.hero-visual img {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}