:root {
  --ink: #171717;
  --muted: #747474;
  --paper: #f7f6f2;
  --white: #fff;
  --purple: #8f63ff;
  --orange: #b45a19;
  --green: #20c98b;
  --teal: #178f82;
  --line: rgba(23, 23, 23, .14);
  --radius: 28px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden
}

img {
  display: block;
  width: 100%
}

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

.site-header {
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 5vw, 76px);
  position: relative;
  z-index: 50
}

.brand {
  font-family: "Manrope";
  font-weight: 800;
  letter-spacing: -.06em;
  font-size: 20px
}

.brand span {
  font-weight: 500
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 14px
}

.nav a {
  color: #777;
  transition: .2s
}

.nav a:hover,
.nav a.active {
  color: #111
}

.nav-cta {
  justify-self: end;
  border-bottom: 1px solid #222;
  padding-bottom: 5px;
  font-size: 14px
}

.nav-cta span,
.btn span {
  margin-left: 12px
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #111;
  margin: 6px
}

.section-shell {
  width: min(1380px, 92vw);
  margin: auto
}

.hero {
  min-height: calc(100vh - 86px);
  padding-top: clamp(50px, 7vw, 100px);
  position: relative
}

.hero-copy {
  text-align: center;
  max-width: 1040px;
  margin: auto;
  position: relative;
  z-index: 5
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #777;
  margin: 0 0 20px
}

.hero h1 {
  font-family: "Manrope";
  font-size: clamp(44px, 6.2vw, 94px);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0;
  font-weight: 800
}

.hero h1 span {
  color: #7955d9
}

.hero-text {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px
}

.btn-dark {
  background: #181818;
  color: #fff
}

.btn-spcl {
  background: #7955d9;
  color: #fff
}

.btn-light {
  background: #fff;
  color: #111
}

.text-link {
  font-size: 14px;
  border-bottom: 1px solid #aaa;
  padding-bottom: 5px
}

.hero-stage {
  height: clamp(500px, 56vw, 790px);
  position: relative;
  margin-top: 35px
}

.phone {
  position: absolute;
  background: #111;
  border: 10px solid #111;
  border-radius: clamp(28px, 3vw, 48px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18)
}

.phone img {
  height: 100%;
  object-fit: fill
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  background: #111;
  border-radius: 0 0 14px 14px
}

.phone-main {
  width: 28%;
  height: 86%;
  left: 34.5%;
  top: 4%;
  z-index: 3;
  margin-left: 15px;
}

.phone-left {
  width: 25%;
  height: 72%;
  left: 10%;
  top: 15%;
  transform: rotate(-7deg);
  z-index: 2
}

.phone-right {
  width: 25%;
  height: 76%;
  right: 10%;
  top: 13%;
  transform: rotate(7deg);
  z-index: 2
}

.soft-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .18
}

.orb-a {
  width: 330px;
  height: 330px;
  background: var(--purple);
  left: 10%;
  top: 8%
}

.orb-b {
  width: 300px;
  height: 300px;
  background: var(--orange);
  right: 8%;
  bottom: 10%
}

.float-card {
  position: absolute;
  z-index: 6;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1)
}

.float-card small {
  display: block;
  font-size: 8px;
  letter-spacing: .14em;
  color: #999
}

.float-card strong {
  display: block;
  font-size: 13px;
  margin-top: 2px
}

.float-one {
  left: 4%;
  top: 36%
}

.float-two {
  right: 2%;
  top: 48%
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.purple {
  background: var(--purple)
}

.green {
  background: var(--green)
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 44px;
  border-top: 1px solid var(--line);
  padding: 24px 0 50px;
  color: #aaa;
  font-size: 11px
}

.hero-meta strong {
  color: #333;
  margin-left: 7px
}

.about {
  min-height: 950px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 8vw;
  padding: 120px 0
}

.about-visual {
  height: 760px;
  position: relative
}

.phone-about {
  width: 48%;
  height: 78%;
  left: 22%;
  top: 7%;
  transform: rotate(11deg);
  z-index: 2
}

.mini-screen {
  position: absolute;
  width: 24%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .16)
}

.mini-chat {
  right: 1%;
  bottom: 12%;
  width: 150px;
  transform: rotate(10deg)
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .18
}

.dc-one {
  width: 260px;
  height: 260px;
  background: var(--green);
  left: 0;
  bottom: 4%
}

.dc-two {
  width: 170px;
  height: 170px;
  background: var(--orange);
  right: 8%;
  top: 2%
}

.about-copy h2,
.center-heading h2,
.showcase h2,
.story-heading h2,
.why h2,
.pricing-copy h2,
.final-copy h2 {
  font-family: "Manrope";
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1;
  letter-spacing: -.06em;
  margin: 0 0 28px
}

.about-copy>p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  max-width: 600px
}

.info-block {
  margin-top: 34px
}

.info-block span {
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #7955d9
}

.info-block p {
  color: #555;
  line-height: 1.7;
  margin: 8px 0
}

.workflow {
  padding: 130px 0
}

.center-heading {
  text-align: center;
  max-width: 820px;
  margin: auto
}

.center-heading>p:last-child {
  color: #777;
  line-height: 1.7
}

.workflow-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  margin-top: 80px
}

.workflow-track article {
  text-align: center;
  padding: 0 16px
}

.workflow-track b {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #aaa;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 12px
}

.workflow-track h3 {
  font-family: "Manrope";
  font-size: 24px;
  margin: 0 0 10px
}

.workflow-track p {
  color: #777;
  line-height: 1.6;
  font-size: 14px
}

.flow-line {
  width: 70px;
  height: 1px;
  background: #bbb;
  margin-top: 25px
}

.showcase {
  min-height: 1000px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 6vw;
  padding: 120px 0
}

.showcase-copy>p:not(.section-kicker) {
  color: #777;
  line-height: 1.7;
  max-width: 500px
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 40px 0
}

.feature-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 600
}

.feature-list span {
  font-size: 10px;
  color: #999;
  margin-right: 20px
}

.showcase-visual {
  height: 780px;
  position: relative
}

.phone-feature {
  width: 48%;
  height: 88%;
  left: 26%;
  top: 3%;
  z-index: 2
}

.callout {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  z-index: 4
}

.callout-open {
  left: 3%;
  top: 22%
}

.callout-progress {
  right: 0;
  top: 38%
}

.callout-pending {
  left: 8%;
  bottom: 24%
}

.feature-story {
  padding: 130px 0
}

.story-heading {
  text-align: center
}

.story-composition {
  height: 850px;
  position: relative;
  margin-top: 40px
}

.phone-ticket-list {
  /* width: 31%; */
  height: 76%;
  left: 15%;
  top: 8%;
  transform: rotate(-8deg);
  z-index: 2
}

.phone-ticket-add {
  width: 32%;
  height: 84%;
  right: 17%;
  top: 0;
  transform: rotate(8deg);
  z-index: 3
}

.story-note {
  position: absolute;
  left: 3%;
  bottom: 3%;
  max-width: 350px
}

.story-note span {
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
  color: #7955d9
}

.story-note p {
  color: #666;
  margin-bottom: 12px;
  line-height: 1.7
}

.roles {
  padding: 140px 0
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.role-grid article {
  padding: 40px 28px;
  min-height: 300px;
  border-right: 1px solid var(--line)
}

.role-grid article:last-child {
  border-right: 0
}

.role-grid span {
  font-size: 11px;
  color: #999
}

.role-grid h3 {
  font-family: "Manrope";
  font-size: 26px;
  margin: 70px 0 14px
}

.role-grid p {
  color: #777;
  line-height: 1.7;
  font-size: 14px
}

.why {
  padding: 150px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw
}

.why-list article {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line)
}

.why-list span {
  font-size: 11px;
  color: #999
}

.why-list h3 {
  margin: 0 0 8px;
  font-family: "Manrope";
  font-size: 23px
}

.why-list p {
  margin: 0;
  color: #777;
  line-height: 1.6
}

.pricing-preview {
  padding: 150px 0
}

.pricing-copy {
  text-align: center
}

.pricing-copy>p:last-child {
  color: #777
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden
}

.price-row article {
  padding: 44px;
  min-height: 310px;
  border-right: 1px solid var(--line)
}

.price-row article:last-child {
  border-right: 0
}

.price-row .featured {
  background: #191919;
  color: #fff
}

.price-row span {
  font-size: 10px;
  letter-spacing: .14em
}

.price-row h3 {
  font-family: "Manrope";
  font-size: 42px;
  letter-spacing: -.05em;
  margin: 70px 0 16px
}

.price-row small {
  font-family: "DM Sans";
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0
}

.price-row p {
  color: #888;
  line-height: 1.6;
  font-size: 14px
}

.final-cta {
  min-height: 780px;
  background: #171717;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 100px max(5vw, calc((100vw - 1380px)/2))
}

.final-copy {
  position: relative;
  z-index: 4
}

.final-copy .section-kicker {
  color: #aaa
}

.final-copy p:not(.section-kicker) {
  color: #aaa;
  max-width: 580px;
  line-height: 1.7
}

.final-copy .btn {
  margin-top: 22px
}

.final-phones {
  height: 650px;
  position: relative
}

.final-back {
  width: 43%;
  height: 80%;
  left: 8%;
  top: 10%;
  transform: rotate(-9deg);
  opacity: .72
}

.final-front {
  width: 46%;
  height: 90%;
  right: 10%;
  top: 0;
  transform: rotate(8deg);
  z-index: 2
}

.footer {
  min-height: 160px;
  padding: 50px 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  color: #888
}

.footer p:last-child {
  text-align: right
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media(max-width:900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 72px
  }

  .nav,
  .nav-cta {
    display: none
  }

  .menu-toggle {
    display: block
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 30px 5vw;
    flex-direction: column;
    border-top: 1px solid var(--line)
  }

  .hero {
    padding-top: 55px
  }

  .hero-stage {
    height: 620px;
    margin-top: 30px
  }

  .phone-main {
    width: 48%;
    left: 26%;
    height: 82%
  }

  .phone-left {
    width: 38%;
    left: -5%;
    top: 19%
  }

  .phone-right {
    width: 38%;
    right: -5%;
    top: 19%
  }

  .float-card {
    display: none
  }

  .hero-meta {
    gap: 20px;
    flex-wrap: wrap
  }

  .about {
    grid-template-columns: 1fr;
    padding: 70px 0
  }

  .about-visual {
    height: 650px;
    order: 2
  }

  .about-copy {
    order: 1;
    max-width: 680px
  }

  .workflow-track {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }

  .flow-line {
    display: none
  }

  .showcase {
    grid-template-columns: 1fr;
    padding: 80px 0
  }

  .showcase-visual {
    height: 700px
  }

  .phone-feature {
    width: 48%;
    left: 26%
  }

  .story-composition {
    height: 700px
  }

  .phone-ticket-list {
    width: 42%;
    left: 6%
  }

  .phone-ticket-add {
    width: 43%;
    right: 7%
  }

  .role-grid {
    grid-template-columns: 1fr 1fr
  }

  .role-grid article:nth-child(2) {
    border-right: 0
  }

  .role-grid article {
    border-bottom: 1px solid var(--line)
  }

  .why {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .price-row {
    grid-template-columns: 1fr
  }

  .price-row article {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .final-cta {
    grid-template-columns: 1fr;
    min-height: 1100px;
    padding-top: 100px
  }

  .final-phones {
    height: 650px
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center
  }

  .footer p:last-child {
    text-align: center
  }
}

@media(max-width:600px) {
  .section-shell {
    width: min(92vw, 560px)
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px)
  }

  .hero-text {
    font-size: 15px
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px
  }

  .hero-stage {
    height: 500px;
    width: 112%;
    margin-left: -6%
  }

  .phone {
    border-width: 6px;
    border-radius: 28px
  }

  .phone-speaker {
    height: 12px;
    top: 5px
  }

  .phone-main {
    width: 58%;
    left: 21%;
    height: 82%
  }

  .phone-left {
    width: 45%;
    left: -18%;
    top: 22%;
    height: 64%
  }

  .phone-right {
    width: 45%;
    right: -18%;
    top: 22%;
    height: 66%
  }

  .hero-meta {
    justify-content: flex-start;
    padding-bottom: 30px
  }

  .hero-meta span {
    width: 100%
  }

  .about {
    padding-top: 80px
  }

  .about-visual {
    height: 520px
  }

  .phone-about {
    width: 60%;
    left: 15%;
    height: 75%
  }

  .mini-screen {
    width: 30%;
    right: 0
  }

  .workflow,
  .roles,
  .why,
  .pricing-preview {
    padding: 90px 0
  }

  .workflow-track {
    grid-template-columns: 1fr
  }

  .workflow-track article {
    max-width: 340px;
    margin: auto
  }

  .showcase {
    padding: 80px 0
  }

  .showcase-visual {
    height: 580px
  }

  .phone-feature {
    width: 65%;
    left: 17.5%;
    height: 88%
  }

  .callout {
    font-size: 10px;
    padding: 9px 12px
  }

  .feature-story {
    padding: 80px 0
  }

  .story-composition {
    height: 610px
  }

  .phone-ticket-list {
    width: 54%;
    left: -5%;
    height: 70%
  }

  .phone-ticket-add {
    width: 56%;
    right: -7%;
    height: 78%
  }

  .story-note {
    bottom: 0;
    max-width: 270px
  }

  .role-grid {
    grid-template-columns: 1fr
  }

  .role-grid article {
    border-right: 0;
    min-height: 230px
  }

  .role-grid h3 {
    margin-top: 45px
  }

  .why {
    padding-top: 70px
  }

  .price-row article {
    padding: 32px
  }

  .price-row h3 {
    margin-top: 45px
  }

  .final-cta {
    min-height: 980px;
    padding: 80px 5vw
  }

  .final-phones {
    height: 520px
  }

  .final-back {
    width: 54%;
    left: -4%
  }

  .final-front {
    width: 58%;
    right: 0
  }
}

.section-link-wrap {
  display: flex;
  justify-content: left;
  gap: 30px;
  margin-left: 2vw;
  margin-top: 50px
}

/* Shared inner-page system */
.inner-hero {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7vw;
  padding: 90px 0
}

.inner-hero h1,
.simple-page-hero h1,
.contact-hero h1 {
  font-family: "Manrope";
  font-size: clamp(52px, 6vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0 0 28px
}

.inner-hero>div>p:last-child,
.simple-page-hero>p:last-child,
.contact-hero>div>p {
  color: #747474;
  line-height: 1.75;
  max-width: 650px
}

.inner-phones {
  height: 650px;
  position: relative
}

.inner-p1 {
  width: 46%;
  height: 78%;
  left: 3%;
  top: 13%;
  transform: rotate(-8deg)
}

.inner-p2 {
  width: 49%;
  height: 86%;
  right: 3%;
  top: 3%;
  transform: rotate(7deg);
  z-index: 2
}

.editorial-features article {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  border-top: 1px solid var(--line);
  padding: 100px 0
}

.editorial-features article.reverse>div:first-child {
  order: 2
}

.editorial-features h2,
.role-stories h2,
.comparison h2,
.demo-section h2,
.contact-reasons h2 {
  font-family: "Manrope";
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1;
  letter-spacing: -.06em;
  margin: 0 0 25px
}

.editorial-features p,
.role-stories p,
.demo-section p {
  color: #747474;
  line-height: 1.75
}

.single-phone {
  height: 650px;
  position: relative
}

.single-phone .phone {
  width: 48%;
  height: 90%;
  left: 26%;
  top: 4%
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 100px 0 140px
}

.compact-grid article {
  min-height: 250px;
  padding: 35px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.compact-grid span {
  font-size: 11px;
  color: #999
}

.compact-grid h3 {
  font-family: "Manrope";
  font-size: 25px;
  margin: 60px 0 12px
}

.compact-grid p {
  color: #777;
  line-height: 1.65;
  font-size: 14px
}

.page-cta {
  background: #171717;
  color: white;
  text-align: center;
  padding: 130px 5vw
}

.page-cta h2 {
  font-family: "Manrope";
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.06em;
  max-width: 900px;
  margin: 0 auto 35px
}

.role-stories {
  padding-bottom: 130px
}

.role-stories article {
  display: grid;
  grid-template-columns: .3fr 1.7fr;
  gap: 5vw;
  padding: 100px 0;
  border-top: 1px solid var(--line)
}

.role-no {
  font-family: "Manrope";
  font-size: clamp(70px, 10vw, 160px);
  color: #deddd8;
  line-height: 1
}

.role-stories article>div {
  max-width: 800px
}

.role-stories ul,
.full-pricing ul {
  columns: 2;
  list-style: none;
  padding: 0;
  margin: 35px 0
}

.role-stories li,
.full-pricing li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px
}

.simple-page-hero {
  text-align: center;
  max-width: 1050px;
  padding: 150px 0 100px
}

.simple-page-hero p {
  margin-left: auto;
  margin-right: auto
}

.full-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 140px
}

.full-pricing article {
  padding: 45px;
  min-height: 650px;
  border-right: 1px solid var(--line)
}

.full-pricing article:last-child {
  border-right: 0
}

.full-pricing .dark {
  background: #171717;
  color: #fff
}

.full-pricing h2 {
  font-family: "Manrope";
  font-size: 46px;
  letter-spacing: -.05em;
  margin: 65px 0 8px
}

.full-pricing h2 small {
  font-family: "DM Sans";
  font-size: 12px;
  letter-spacing: 0
}

.full-pricing .annual,
.full-pricing article>p {
  color: #777;
  line-height: 1.6
}

.full-pricing a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  margin-top: 20px
}

.comparison {
  padding: 40px 0 150px
}

.table-wrap {
  overflow-x: auto;
  margin-top: 55px
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px
}

th,
td {
  text-align: left;
  padding: 22px;
  border-bottom: 1px solid var(--line)
}

th {
  font-size: 12px;
  letter-spacing: .08em
}

td:not(:first-child),
th:not(:first-child) {
  text-align: center
}

.contact-hero {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  padding: 80px 0
}

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%
}

.contact-phone .phone {
  width: 48%;
  height: 90%;
  left: 26%;
  top: 3%;
  transform: rotate(6deg)
}

.contact-mockup {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #1E1B29;
  border-radius: 14px;
  padding: 14px 14px 0;
  box-shadow: 0 12px 32px rgba(107, 63, 160, .14)
}

.contact-mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 12px
}

.contact-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0
}

.contact-mockup-url {
  flex: 1;
  margin-left: 8px;
  background: #fff;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: #8B85A0;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.contact-mockup-screen {
  background: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden
}

.contact-mockup-screen img {
  width: 100%;
  height: auto;
  display: block
}

.demo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding: 140px 0;
  border-top: 1px solid var(--line)
}

.demo-section ul {
  columns: 2;
  padding-left: 18px;
  line-height: 2;
  color: #555
}

.demo-form {
  display: grid;
  gap: 20px
}

.demo-form label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa;
  background: transparent;
  padding: 14px 0;
  font: inherit;
  outline: none
}

.demo-form textarea {
  resize: vertical
}

.demo-form button {
  border: 0;
  width: max-content;
  margin-top: 15px
}

.contact-reasons {
  padding: 80px 0 140px
}

.contact-reasons>.compact-grid {
  padding: 40px 0 0
}

@media(max-width:900px) {

  .inner-hero,
  .contact-hero,
  .demo-section {
    grid-template-columns: 1fr
  }

  .inner-hero {
    padding-top: 70px
  }

  .inner-phones {
    height: 620px
  }

  .editorial-features article {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 0
  }

  .editorial-features article.reverse>div:first-child {
    order: 0
  }

  .single-phone {
    height: 620px
  }

  .compact-grid {
    grid-template-columns: 1fr 1fr
  }

  .full-pricing {
    grid-template-columns: 1fr
  }

  .full-pricing article {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }
}

@media(max-width:600px) {
  .inner-hero {
    min-height: auto
  }

  .inner-phones {
    height: 520px
  }

  .inner-p1 {
    width: 58%;
    left: -8%
  }

  .inner-p2 {
    width: 61%;
    right: -8%
  }

  .single-phone {
    height: 540px
  }

  .single-phone .phone {
    width: 66%;
    left: 17%
  }

  .compact-grid {
    grid-template-columns: 1fr
  }

  .role-stories article {
    grid-template-columns: 1fr
  }

  .role-stories ul,
  .full-pricing ul,
  .demo-section ul {
    columns: 1
  }

  .role-no {
    font-size: 80px
  }

  .simple-page-hero {
    padding: 100px 0 70px
  }

  .full-pricing article {
    padding: 32px
  }

  .contact-phone .phone {
    width: 66%;
    left: 17%
  }
}

/* APPEO NEXUS LOGO */

.brand-logo {
  display: flex;
  align-items: center;
  width: 145px;
  height: 52px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo img {
  width: 130px;
  height: 400px;
  object-fit: contain;
  display: block;
}

/* Tablet */
@media (max-width: 900px) {
  .brand-logo {
    width: 125px;
    height: 44px;
  }
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: .3s ease;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .25);
}

.download-btn:hover {
  background: #372dbd;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, .35);
}

/* Mobile */
@media (max-width: 600px) {
  .brand-logo img {
    width: 130px;
    height: 100px;
    object-fit: contain;
    display: block;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle .caret {
  font-size: 0.75em;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 100;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.submenu a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
  color: #222;
  text-decoration: none;
}

.submenu a:hover,
.submenu a:focus {
  background: #f3f4f6;
}

.dropdown:hover .submenu,
.dropdown:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .caret,
.dropdown:focus-within .caret {
  transform: rotate(180deg);
}

/* Mobile */
@media (max-width: 768px) {
  .dropdown {
    display: block;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown:hover .submenu,
  .dropdown:focus-within .submenu {
    display: none;
  }

  .dropdown.open .submenu {
    display: block;
  }

  .dropdown.open .caret {
    transform: rotate(180deg);
  }
}

.task-link .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.task-link:hover .arrow {
  transform: translate(2px, -2px);
}



.floating-trial {
  /* Change these to your brand colors */
  --ft-accent: #7955d9;
  --ft-accent-hover: #8969e1;
  --ft-bg: #ffffff;
  --ft-text: #0f172a;
  --ft-muted: #64748b;
  --ft-border: #e2e8f0;
  --ft-live: #22c55e;

  position: fixed;
  right: 15px;
  bottom: 19px;
  z-index: 999;

  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  max-width: calc(100vw - 24px);

  color: var(--ft-text);
  text-decoration: none;
  background: #000000;
  border: 1px solid var(--ft-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-trial:hover,
.floating-trial:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ft-accent);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.2), 0 2px 6px rgba(15, 23, 42, 0.08);
}

.floating-trial:active {
  transform: translateY(0);
}

.floating-trial:focus-visible {
  outline: 3px solid var(--ft-accent);
  outline-offset: 3px;
}

/* pulsing "live" dot */
.ft-dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: var(--ft-live);
  border-radius: 50%;
}

.ft-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ft-live);
  animation: ft-ping 2.2s ease-out infinite;
}

.ft-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.floating-trial small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ft-muted);
}

.floating-trial strong {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ft-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--ft-accent);
  border-radius: 11px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.ft-cta svg {
  transition: transform 0.2s ease;
}

.floating-trial:hover .ft-cta {
  background: var(--ft-accent-hover);
}

.floating-trial:hover .ft-cta svg {
  transform: translateX(3px);
}

@keyframes ft-ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  80%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* mobile: compact bar, hide the long headline */
@media (max-width: 560px) {
  .floating-trial {
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    justify-content: space-between;
    max-width: none;
  }

  .ft-text strong {
    font-size: 0.85rem;
  }
}

/* dark sections / dark mode */
@media (prefers-color-scheme: dark) {
  .floating-trial {
    --ft-bg: #0f172a;
    --ft-text: #f8fafc;
    --ft-muted: #94a3b8;
    --ft-border: #1e293b;
  }
}

@media (prefers-reduced-motion: reduce) {

  .floating-trial,
  .ft-cta,
  .ft-cta svg {
    transition: none;
  }

  .ft-dot::after {
    animation: none;
  }
}

.play-store-hero {
  --ps-bg: #0f172a;
  --ps-hover: #1e293b;
  --ps-accent: #2563eb;

  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  min-height: 42px;

  color: #fff;
  text-decoration: none;
  background: var(--ps-bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.play-store-hero:hover,
.play-store-hero:focus-visible {
  transform: translateY(-2px);
  background: var(--ps-hover);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.play-store-hero:active {
  transform: translateY(0);
}

.play-store-hero:focus-visible {
  outline: 3px solid var(--ps-accent);
  outline-offset: 3px;
}

.play-store-hero .play-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.play-store-hero .play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.play-store-hero small {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.play-store-hero strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .play-store-hero {
    transition: none;
  }
}

/* smooth show/hide (replaces the old transition line) */
.floating-trial {
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

/* hidden until the visitor scrolls past the first screen */
.floating-trial.is-hidden {
  opacity: 0;
  visibility: hidden;
  /* also removes it from keyboard tab order */
  transform: translateY(24px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .floating-trial {
    transition: none;
  }
}

/* header Play Store button: hidden on desktop */
.header-play {
  display: none;
}

/* header Play Store button: hidden on desktop */
.header-play {
  display: none;
}

/* =========== MOBILE ONLY =========== */
@media (max-width: 900px) {

  /* 1. Menu: fixed pill, bottom-right, visible from the start */
  .menu-toggle {
    position: fixed;
    right: 16px;
    left: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 5px;
    padding: 13px 20px 13px 17px;
    background: #fff;
    color: #171717;
    border: 1px solid rgba(23, 23, 23, .12);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    font: 700 14px/1 "DM Sans", sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 0;
    background: #171717;
    border-radius: 2px;
  }

  .menu-toggle span:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .menu-toggle::after {
    content: "Menu";
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .menu-toggle[aria-expanded="true"]::after,
  .site-header:has(.nav.open) .menu-toggle::after {
    content: "Close";
  }

  /* opened menu pops up above the button */
  .nav.open {
    position: fixed;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 170px);
    max-height: calc(100dvh - 170px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  }

  /* 2. Play Store: hidden in hero, compact in header top-right */
  .hero-actions .play-store-hero {
    display: none;
  }

  .site-header .header-play {
    display: inline-flex;
    justify-self: end;
    min-height: 36px;
    padding: 5px 11px 5px 9px;
    gap: 7px;
    border-radius: 10px;
  }

  .header-play .play-icon {
    width: 18px;
    height: 18px;
  }

  .header-play small {
    font-size: .5rem;
  }

  .header-play strong {
    font-size: .82rem;
  }

  /* 3. Free trial + Request a demo in one row */
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 13px 10px;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero-actions .btn span {
    margin-left: 6px;
  }

  /* room so the pill never covers the footer text */
  .footer {
    padding-bottom: 96px;
  }
}

/* 4. Trial banner: stacked ABOVE the menu pill, full width, no collision */
@media (max-width: 900px) {
  .floating-trial {
    display: none;
  }
}

/* =====================================================================
   APPEO NEXUS – responsive fixes
   Load AFTER style.css (or paste at the very end of style.css).
   ===================================================================== */

/* ---------- Global safety nets ---------- */
html,
body {
  overflow-x: clip;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

/* Use small-viewport height so mobile browser toolbars don't cause jumps */
@supports (height: 100svh) {
  .hero {
    min-height: calc(100svh - 86px);
  }
}

/* ---------- 1. Phone screenshots: crop instead of stretch ---------- */
.phone img {
  object-fit: cover;
  object-position: top center;
}

/* ---------- 2. Restore missing width on desktop ticket-list phone ---------- */
@media (min-width: 901px) {
  .phone-ticket-list {
    width: 31%;
  }
}

/* ---------- 3. About section: web screenshot frame (was inline styles) ---------- */
.about-web {
  position: absolute;
  width: 92%;
  height: 74%;
  left: 4%;
  top: 8%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

.about-web-bar {
  flex: 0 0 38px;
  height: 38px;
  background: #f4f3f6;
  border-bottom: 1px solid rgba(23, 23, 23, .14);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
}

.about-web-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-web-bar i:nth-child(1) {
  background: #ff5f57;
}

.about-web-bar i:nth-child(2) {
  background: #febc2e;
}

.about-web-bar i:nth-child(3) {
  background: #28c840;
}

.about-web-bar span {
  margin-left: 12px;
  flex: 1;
  max-width: 220px;
  font-size: 11px;
  color: #999;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .14);
  border-radius: 6px;
  padding: 3px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-web img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* ---------- 4. Hero main phone: only offset on desktop ---------- */
@media (max-width: 900px) {
  .phone-main {
    margin-left: 0;
  }
}

/* ---------- 5. Logo no longer clipped ---------- */
.brand-logo img,
.brand-logo img {
  width: 100%;
  height: 240%;
  object-fit: contain;
}

/* ---------- 6. Top bar on very small phones ---------- */
@media (max-width: 420px) {
  .top-bar {
    gap: 14px;
  }

  .top-bar .email-link span {
    display: none;
  }
}

/* ---------- 7. Dropdowns: mobile behaviour matches nav breakpoint (900px) ---------- */
@media (max-width: 900px) {
  .dropdown {
    display: block;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
  }

  .dropdown:hover .submenu,
  .dropdown:focus-within .submenu {
    display: none;
  }

  .dropdown.open .submenu {
    display: block;
  }

  .dropdown.open .caret {
    transform: rotate(180deg);
  }

  .dropdown:hover .caret,
  .dropdown:focus-within .caret {
    transform: none;
  }

  .dropdown.open:hover .caret,
  .dropdown.open:focus-within .caret {
    transform: rotate(180deg);
  }

  .submenu a {
    white-space: normal;
  }
}

/* ---------- 8. Floating trial button: readable text on black ---------- */
.floating-trial {
  --ft-text: #ffffff;
  --ft-muted: #94a3b8;
  color: #fff;
}

/* ---------- 10. Story section: note no longer overlaps phones ---------- */
.story-phones {
  position: absolute;
  inset: 0;
}

@media (max-width: 900px) {
  .story-composition {
    height: auto;
  }

  .story-phones {
    position: relative;
    inset: auto;
    height: 700px;
  }

  .story-note {
    position: static;
    max-width: 520px;
    margin: 28px auto 0;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .story-phones {
    height: 610px;
  }

  .story-note {
    max-width: none;
  }
}

/* ---------- 11. Roles: link now sits outside the grid ---------- */
.roles>.section-link-wrap {
  margin-top: 36px;
}

/* ---------- Role stories: single column up to 900px ---------- */
@media (max-width: 900px) {
  .role-stories article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 70px 0;
  }

  .role-no {
    font-size: clamp(64px, 16vw, 110px);
  }
}

/* ---------- Header / footer edges align with capped content on ultra-wide ---------- */
.site-header {
  padding-inline: max(clamp(22px, 5vw, 76px), calc((100vw - 1380px) / 2));
}

.footer {
  padding-inline: max(5vw, calc((100vw - 1380px) / 2));
}

/* ---------- Headings on small phones (320–600px) ---------- */
@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(36px, 11.5vw, 64px);
  }

  .about-copy h2,
  .center-heading h2,
  .showcase h2,
  .story-heading h2,
  .why h2,
  .pricing-copy h2,
  .final-copy h2,
  .editorial-features h2,
  .role-stories h2,
  .comparison h2,
  .demo-section h2,
  .contact-reasons h2 {
    font-size: clamp(32px, 9vw, 52px);
  }

  .inner-hero h1,
  .simple-page-hero h1,
  .contact-hero h1 {
    font-size: clamp(38px, 11vw, 60px);
  }

  .price-row h3,
  .full-pricing h2 {
    font-size: clamp(32px, 10vw, 42px);
  }
}

/* ---------- Landscape phones: don't force tall hero stages ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }
}