@import url('/brand/tokens.css');

body:has(.home-r1) {
  margin: 0;
  background: var(--uebey-brand-white);
  color: var(--uebey-brand-ink);
}

body:has(.home-r1) > .topbar {
  display: none;
}

body:has(.home-r1) .app-shell {
  min-height: 100vh;
}

.home-r1,
.home-r1 * {
  box-sizing: border-box;
}

.home-r1 {
  --home-max: 1220px;
  --home-pad: clamp(20px, 5vw, 64px);
  --home-line: color-mix(in srgb, var(--uebey-brand-ink) 11%, transparent);
  --home-muted: color-mix(in srgb, var(--uebey-brand-ink) 64%, white);
  --home-soft-green: color-mix(in srgb, var(--uebey-brand-green) 7%, white);
  --home-soft-purple: color-mix(in srgb, var(--uebey-brand-purple) 8%, white);
  min-height: 100vh;
  background: var(--uebey-brand-white);
  color: var(--uebey-brand-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: clip;
}

.home-r1 a {
  color: inherit;
}

.home-r1 a:focus-visible,
.home-r1 button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--uebey-brand-purple) 35%, transparent);
  outline-offset: 3px;
}

.home-r1__header {
  width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-r1__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.home-r1__logo img {
  width: 156px;
  height: auto;
  display: block;
}

.home-r1__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2vw, 28px);
  font-size: 13px;
}

.home-r1__nav a {
  text-decoration: none;
  color: var(--home-muted);
}

.home-r1__nav a:hover {
  color: var(--uebey-brand-green);
}

.home-r1__nav .home-r1__nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--uebey-brand-green);
  color: var(--uebey-brand-white);
  font-weight: 700;
}

.home-r1__hero,
.home-r1__zero,
.home-r1__free,
.home-r1__proof,
.home-r1__growth,
.home-r1__story,
.home-r1__pricing,
.home-r1__final,
.home-r1__footer {
  width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max));
  margin-inline: auto;
}

.home-r1__hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  padding: 68px 0 92px;
}

.home-r1__eyebrow {
  margin: 0 0 18px;
  color: var(--uebey-brand-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-r1__hero h1,
.home-r1__section-intro h2,
.home-r1__free h2,
.home-r1__proof h2,
.home-r1__growth h2,
.home-r1__story h2,
.home-r1__pricing h2,
.home-r1__final h2 {
  margin: 0;
  font-weight: 580;
  letter-spacing: -.058em;
  line-height: .96;
}

.home-r1__hero h1 {
  max-width: 10ch;
  font-size: clamp(58px, 7.2vw, 106px);
}

.home-r1__hero h1 em {
  color: var(--uebey-brand-purple);
  font-style: normal;
}

.home-r1__lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--home-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.62;
}

.home-r1__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-r1__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 0 19px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-r1__button:hover {
  transform: translateY(-1px);
}

.home-r1__button--primary {
  background: var(--uebey-brand-green);
  color: var(--uebey-brand-white);
  box-shadow: 0 12px 30px rgba(17, 80, 70, .13);
}

.home-r1__button--secondary {
  border-color: var(--uebey-brand-mist);
  background: var(--uebey-brand-white);
  color: var(--uebey-brand-ink);
}

.home-r1__button--light {
  background: var(--uebey-brand-white);
  color: var(--uebey-brand-green);
}

.home-r1__microproof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--home-muted);
  font-size: 12px;
}

.home-r1__microproof span::before {
  content: '✓';
  margin-right: 7px;
  color: var(--uebey-brand-green);
  font-weight: 800;
}

.home-r1__hero-product {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.home-r1__hero-product::before {
  content: '';
  position: absolute;
  inset: 10% 0 0 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(17,80,70,.10), transparent 52%), radial-gradient(circle at 70% 55%, rgba(87,76,149,.10), transparent 48%);
  filter: blur(8px);
  z-index: -1;
}

.home-r1__demo-label {
  position: absolute;
  top: 28px;
  right: 6px;
  color: var(--home-muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-r1__browser {
  width: min(100%, 540px);
  min-height: 350px;
  border: 1px solid var(--uebey-brand-mist);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(15,40,40,.10);
  overflow: hidden;
  transform: rotate(-1deg);
}

.home-r1__browser-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--uebey-brand-mist);
  color: var(--home-muted);
  font-size: 10px;
}

.home-r1__browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uebey-brand-mist);
}

.home-r1__browser-bar span {
  margin-left: 8px;
}

.home-r1__site-demo {
  min-height: 308px;
  padding: 50px 46px;
  background: linear-gradient(145deg, var(--uebey-brand-white), var(--home-soft-green));
}

.home-r1__site-demo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-r1__site-demo-brand span {
  width: 28px;
  height: 28px;
  background: url('/brand/symbol.svg') center/contain no-repeat;
}

.home-r1__site-demo-brand b {
  font-size: 15px;
}

.home-r1__site-demo p {
  max-width: 340px;
  margin: 52px 0 28px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.home-r1__site-demo-products {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-r1__site-demo-products span {
  padding: 8px 10px;
  border: 1px solid var(--uebey-brand-mist);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--home-muted);
  font-size: 10px;
}

.home-r1__phone {
  position: absolute;
  right: -10px;
  bottom: 18px;
  width: 154px;
  min-height: 294px;
  border: 7px solid var(--uebey-brand-ink);
  border-radius: 30px;
  background: var(--uebey-brand-white);
  box-shadow: 0 24px 58px rgba(15,40,40,.18);
  padding: 42px 16px 17px;
  transform: rotate(3deg);
}

.home-r1__phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 52px;
  height: 13px;
  border-radius: 999px;
  background: var(--uebey-brand-ink);
  transform: translateX(-50%);
}

.home-r1__phone b {
  font-size: 12px;
}

.home-r1__phone p {
  margin: 30px 0 32px;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -.03em;
}

.home-r1__phone > span {
  display: block;
  border-radius: 8px;
  background: var(--uebey-brand-green);
  color: var(--uebey-brand-white);
  padding: 9px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
}

.home-r1__zero,
.home-r1__free,
.home-r1__proof,
.home-r1__growth,
.home-r1__story,
.home-r1__pricing {
  padding: clamp(88px, 10vw, 140px) 0;
  border-top: 1px solid var(--home-line);
}

.home-r1__section-intro {
  max-width: 780px;
  margin-bottom: 54px;
}

.home-r1__section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.home-r1__section-intro h2,
.home-r1__free h2,
.home-r1__growth h2,
.home-r1__story h2,
.home-r1__pricing h2,
.home-r1__final h2 {
  font-size: clamp(42px, 5.4vw, 76px);
}

.home-r1__section-intro > p:last-child,
.home-r1__free-copy > p:not(.home-r1__eyebrow),
.home-r1__growth > div > p:last-child,
.home-r1__story > div:last-child > p:last-child {
  max-width: 650px;
  color: var(--home-muted);
  line-height: 1.65;
  font-size: 16px;
}

.home-r1__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
}

.home-r1__steps article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--uebey-brand-mist);
  border-radius: 22px;
  background: var(--uebey-brand-white);
}

.home-r1__steps article > span,
.home-r1__benefits article > span,
.home-r1__growth-flow li > span {
  color: var(--uebey-brand-purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-r1__steps h3 {
  margin: 55px 0 12px;
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.home-r1__steps p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-r1__arrow {
  align-self: center;
  color: var(--uebey-brand-purple);
  font-size: 24px;
}

.home-r1__free {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
}

.home-r1__free-copy .home-r1__button {
  margin-top: 24px;
}

.home-r1__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-r1__benefits article {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  background: var(--uebey-brand-cloud);
  border: 1px solid var(--uebey-brand-mist);
}

.home-r1__benefits strong {
  font-size: 20px;
  letter-spacing: -.035em;
}

.home-r1__benefits small {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-r1__proof {
  width: min(calc(100% - 32px), 1320px);
}

.home-r1__dashboard-demo {
  min-height: 520px;
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border: 1px solid var(--uebey-brand-mist);
  border-radius: 28px;
  background: var(--uebey-brand-white);
  box-shadow: 0 26px 80px rgba(15,40,40,.08);
}

.home-r1__dashboard-demo aside {
  padding: 28px 22px;
  border-right: 1px solid var(--uebey-brand-mist);
  background: var(--uebey-brand-cloud);
}

.home-r1__dashboard-demo aside > img {
  width: 30px;
  height: 30px;
}

.home-r1__dashboard-demo aside > strong {
  display: block;
  margin: 12px 0 48px;
  letter-spacing: .12em;
  font-size: 12px;
}

.home-r1__dashboard-demo aside nav {
  display: grid;
  gap: 8px;
}

.home-r1__dashboard-demo aside nav span {
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--home-muted);
  font-size: 12px;
}

.home-r1__dashboard-demo aside nav span:first-child {
  background: var(--uebey-brand-white);
  color: var(--uebey-brand-green);
  font-weight: 700;
}

.home-r1__dashboard-main {
  padding: clamp(28px, 5vw, 58px);
}

.home-r1__dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--home-muted);
  font-size: 11px;
}

.home-r1__dashboard-top b {
  border-radius: 10px;
  background: var(--uebey-brand-green);
  color: var(--uebey-brand-white);
  padding: 10px 13px;
}

.home-r1__dashboard-main > h3 {
  max-width: 650px;
  margin: 78px 0 44px;
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 570;
}

.home-r1__dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.home-r1__dashboard-grid article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--uebey-brand-mist);
  border-radius: 16px;
}

.home-r1__dashboard-grid small {
  color: var(--uebey-brand-purple);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-r1__dashboard-grid strong {
  font-size: 16px;
}

.home-r1__dashboard-grid span {
  color: var(--home-muted);
  font-size: 11px;
}

.home-r1__growth {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(46px, 8vw, 108px);
  align-items: end;
}

.home-r1__growth-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-line);
}

.home-r1__growth-flow li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-r1__growth-flow li::after {
  content: '→';
  color: var(--uebey-brand-purple);
}

.home-r1__growth-flow li:last-child::after {
  content: '✓';
  color: var(--uebey-brand-green);
}

.home-r1__growth-flow strong {
  font-size: 24px;
  font-weight: 580;
  letter-spacing: -.035em;
}

.home-r1__story {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  border-radius: 34px;
  border-top: 0;
  background: var(--uebey-brand-cloud);
  padding-inline: clamp(28px, 6vw, 78px);
}

.home-r1__story-symbol {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--uebey-brand-mist);
}

.home-r1__story-symbol img {
  width: min(72%, 330px);
  height: auto;
  opacity: .98;
}

.home-r1__pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-r1__price-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--uebey-brand-mist);
  border-radius: 26px;
  background: var(--uebey-brand-white);
}

.home-r1__price-card--free {
  background: var(--home-soft-green);
  border-color: color-mix(in srgb, var(--uebey-brand-green) 18%, white);
}

.home-r1__price-card > small {
  color: var(--uebey-brand-green);
  font-weight: 800;
  letter-spacing: .12em;
}

.home-r1__price-card > strong {
  margin: 25px 0 8px;
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 590;
}

.home-r1__price-card > p {
  color: var(--home-muted);
}

.home-r1__price-card ul {
  list-style: none;
  margin: 28px 0 34px;
  padding: 0;
  border-top: 1px solid var(--home-line);
}

.home-r1__price-card li {
  padding: 13px 0;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 13px;
}

.home-r1__price-card .home-r1__button {
  margin-top: auto;
}

.home-r1__pricing-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.55;
}

.home-r1__final {
  width: min(calc(100% - 32px), 1320px);
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  margin-bottom: 32px;
  padding: clamp(44px, 7vw, 88px);
  border-radius: 34px;
  background: var(--uebey-brand-green);
  color: var(--uebey-brand-white);
}

.home-r1__final .home-r1__eyebrow {
  color: color-mix(in srgb, var(--uebey-brand-white) 72%, transparent);
}

.home-r1__final .home-r1__button {
  margin-top: 28px;
}

.home-r1__final > img {
  width: min(31vw, 330px);
  height: auto;
}

.home-r1__footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 40px 0 54px;
  border-top: 1px solid var(--home-line);
}

.home-r1__footer > div {
  display: grid;
  gap: 12px;
}

.home-r1__footer > div img {
  width: 148px;
}

.home-r1__footer > div span,
.home-r1__footer small {
  color: var(--home-muted);
  font-size: 10px;
  letter-spacing: .10em;
}

.home-r1__footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 12px;
}

.home-r1__footer nav a {
  color: var(--home-muted);
  text-decoration: none;
}

.home-r1__footer small {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .home-r1__hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-r1__hero-copy {
    padding-top: 32px;
  }

  .home-r1__hero h1 {
    max-width: 12ch;
  }

  .home-r1__hero-product {
    min-height: 500px;
  }

  .home-r1__steps {
    grid-template-columns: 1fr;
  }

  .home-r1__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .home-r1__free,
  .home-r1__growth,
  .home-r1__story {
    grid-template-columns: 1fr;
  }

  .home-r1__story-symbol {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--uebey-brand-mist);
  }

  .home-r1__dashboard-demo {
    grid-template-columns: 150px 1fr;
  }

  .home-r1__dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-r1 {
    --home-pad: 18px;
  }

  .home-r1__header {
    min-height: 72px;
    gap: 14px;
  }

  .home-r1__logo img {
    width: 128px;
  }

  .home-r1__nav {
    gap: 10px;
  }

  .home-r1__nav > a:not(:last-child):not([href="/login"]) {
    display: none;
  }

  .home-r1__nav a[href="/login"] {
    font-size: 12px;
  }

  .home-r1__nav .home-r1__nav-cta {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .home-r1__hero {
    gap: 20px;
    padding: 52px 0 72px;
  }

  .home-r1__hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .home-r1__lead {
    font-size: 16px;
  }

  .home-r1__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-r1__button {
    width: 100%;
    min-height: 50px;
  }

  .home-r1__hero-product {
    min-height: 390px;
  }

  .home-r1__browser {
    min-height: 300px;
  }

  .home-r1__site-demo {
    min-height: 258px;
    padding: 34px 26px;
  }

  .home-r1__site-demo p {
    margin-top: 34px;
    font-size: 27px;
  }

  .home-r1__phone {
    width: 128px;
    min-height: 238px;
    right: 0;
    bottom: -5px;
    padding: 36px 12px 12px;
  }

  .home-r1__phone p {
    margin: 24px 0 18px;
    font-size: 15px;
  }

  .home-r1__benefits,
  .home-r1__pricing-grid {
    grid-template-columns: 1fr;
  }

  .home-r1__dashboard-demo {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-r1__dashboard-demo aside {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--uebey-brand-mist);
  }

  .home-r1__dashboard-demo aside > strong {
    margin: 0;
  }

  .home-r1__dashboard-demo aside nav {
    display: none;
  }

  .home-r1__dashboard-main {
    padding: 24px 18px 28px;
  }

  .home-r1__dashboard-main > h3 {
    margin: 48px 0 30px;
    font-size: 42px;
  }

  .home-r1__growth-flow li {
    grid-template-columns: 42px 1fr auto;
  }

  .home-r1__story {
    padding: 64px 24px;
  }

  .home-r1__story-symbol {
    min-height: 220px;
  }

  .home-r1__final {
    grid-template-columns: 1fr;
    padding: 52px 28px;
  }

  .home-r1__final > img {
    width: min(78%, 260px);
  }

  .home-r1__footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-r1__footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-r1 *,
  .home-r1 *::before,
  .home-r1 *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
