:root {
  --bg: #08090b;
  --bg-raise: #0f1013;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.14);
  --text: #f4f4f6;
  --text-2: #a3a4ad;
  --text-3: #6c6d78;
  --violet: #a78bfa;
  --green: #34d399;
  --amber: #fbbf24;
  --wrap: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

code {
  font-size: 0.9em;
  color: var(--text);
  background: rgb(255 255 255 / 0.06);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 550;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--text);
  color: #0b0b0f;
  padding: 0.8rem 1.35rem;
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-small {
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 0.04);
}

.btn-small:hover {
  border-color: rgb(255 255 255 / 0.28);
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(8 9 11 / 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-right: auto;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Hero */

.hero {
  position: relative;
  padding-top: clamp(4rem, 10vw, 8.5rem);
  overflow: hidden;
}

/* Optional atmosphere image (assets/topo.png) behind the hero, very faint. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  background:
    radial-gradient(60% 50% at 70% 10%, rgb(167 139 250 / 0.16), transparent 70%),
    var(--hero-image, none) right top / cover no-repeat;
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.hero-sub {
  margin: 0;
  max-width: 34rem;
  color: var(--text-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.hero-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-link:hover {
  color: var(--text);
}

.hero-stage {
  position: relative;
  width: min(1280px, 100% - 2rem);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
}

/* The product shot sinks into the page at the bottom, like a lit stage. */
.hero-stage::after {
  content: '';
  position: absolute;
  inset: auto -2rem -1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg) 92%);
  pointer-events: none;
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: -8% 10% 30%;
  background: radial-gradient(closest-side, rgb(167 139 250 / 0.28), transparent);
  filter: blur(40px);
  pointer-events: none;
}

/* Product frames */

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raise);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 40px 100px -30px rgb(0 0 0 / 0.8);
}

.frame img {
  width: 100%;
}

.frame-hero {
  border-radius: 14px;
}

/* Crops show the part of a full-window shot that matters (drawers sit on the right). */
.frame-crop {
  aspect-ratio: 16 / 9;
}

.frame-crop img {
  height: 100%;
  object-fit: cover;
}

.crop-drawer img {
  object-position: right top;
}

/* Dialog shots are already cropped; a narrower frame keeps them at the app's real size. */
.frame-tall {
  max-width: 720px;
  margin-inline: auto;
}

.frame-doc {
  background: #fff;
}

/* Statement */

.statement {
  padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 7rem);
}

.statement-text {
  margin: 0;
  max-width: 54rem;
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 550;
  color: var(--text-3);
}

.statement-lead {
  color: var(--text);
}

.pillars {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillars li {
  padding: 0 2rem 0 0;
}

.pillars li + li {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.pillars h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.pillars p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-working {
  background: var(--violet);
  box-shadow: 0 0 14px rgb(167 139 250 / 0.7);
}

.dot-waiting {
  background: var(--amber);
  box-shadow: 0 0 14px rgb(251 191 36 / 0.55);
}

.dot-done {
  background: var(--green);
  box-shadow: 0 0 14px rgb(52 211 153 / 0.55);
}

/* Feature sections: big title left, copy right, product below. */

.feature,
.install {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.feature-head p {
  margin: 0.4rem 0 0;
  max-width: 30rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-2);
}

.media {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.media-pair {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.frame-float {
  margin-top: 3.5rem;
}

/* The ask dialog sits over the corner of the main shot, at a size that can be read. */
.media-stack {
  position: relative;
  padding-bottom: 6rem;
}

.media-stack > .frame:first-child {
  width: 80%;
}

.media-stack > .frame-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  margin: 0;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 40px 120px -20px rgb(0 0 0 / 0.95);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  margin-top: 2.2rem;
  color: var(--text-3);
  font-size: 0.9rem;
}

.feature-list span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.6rem;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--text-3);
}

/* Install */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.steps li {
  counter-increment: step;
  padding: 1.6rem 2rem 0 0;
  border-top: 1px solid var(--line-strong);
}

.steps li + li {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: block;
  color: var(--violet);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

/* Closing */

.closing {
  position: relative;
  text-align: center;
  padding-block: clamp(6rem, 12vw, 10rem);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 20% 25% auto;
  height: 60%;
  background: radial-gradient(closest-side, rgb(167 139 250 / 0.18), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.closing .wrap {
  position: relative;
}

.closing-mark {
  margin: 0 auto 2rem;
}

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.closing .btn {
  margin-top: 2.4rem;
}

.closing-note {
  margin: 1rem 0 0;
  color: var(--text-3);
  font-size: 0.9rem;
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  color: var(--text-3);
  font-size: 0.9rem;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-quiet {
  color: var(--text-2);
  font-weight: 550;
}

.foot a {
  color: var(--text-3);
  text-decoration: none;
}

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

/* Smaller screens */

@media (max-width: 860px) {
  /* On narrow screens the tower sits behind the headline: keep it as atmosphere only. */
  .hero::before {
    opacity: 0.35;
    height: 640px;
  }

  .feature-head,
  .media-pair {
    grid-template-columns: 1fr;
  }

  .frame-float {
    margin-top: 0;
  }

  .media-stack {
    display: grid;
    gap: 1.25rem;
    padding-bottom: 0;
  }

  .media-stack > .frame:first-child,
  .media-stack > .frame-float {
    position: static;
    width: 100%;
  }

  .pillars,
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pillars li,
  .pillars li + li,
  .steps li,
  .steps li + li {
    padding: 1.4rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-links {
    display: none;
  }

  .brand {
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Photography and atmosphere */

.scene {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
}

.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* The converging routes sit behind the helper shots, like the paths the leader coordinates. */
.media-routes {
  position: relative;
  isolation: isolate;
}

.media-routes::before {
  content: '';
  position: absolute;
  inset: -12% -6%;
  z-index: -1;
  background: url(assets/coordenacao.jpg) center / cover no-repeat;
  opacity: 0.35;
  mask-image: radial-gradient(closest-side, black 55%, transparent);
  pointer-events: none;
}

/* Nav: account link */

.nav-account {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-account:hover,
.nav-account[aria-current='page'] {
  color: var(--text);
}

.nav-links {
  margin-right: 0;
}

.nav-inner > .nav-account {
  margin-left: auto;
}

.btn-ghost {
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 0.03);
}

.btn-ghost:hover {
  border-color: rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.06);
}

.foot-links {
  display: flex;
  gap: 1.6rem;
}

/* Pricing */

.pricing {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-raise);
}

.plan-main {
  border-color: rgb(167 139 250 / 0.45);
  background:
    radial-gradient(80% 60% at 50% 0%, rgb(167 139 250 / 0.14), transparent 70%),
    var(--bg-raise);
}

.plan h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.4rem 0 0;
}

.price strong {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--text-2);
}

.price-alt {
  margin: 0.5rem 0 0;
  color: var(--green);
  font-size: 0.95rem;
}

.plan-soon .price-alt {
  color: var(--text-3);
}

.plan-desc {
  margin: 1.4rem 0 1.8rem;
  max-width: 26rem;
  color: var(--text-2);
}

.plan .btn {
  margin-top: auto;
}

.plan-note {
  margin: 0.8rem 0 0;
  color: var(--text-3);
  font-size: 0.875rem;
}

.chip {
  display: inline-block;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.5;
  white-space: nowrap;
}

.chip-soft {
  color: var(--text-2);
}

.founder {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgb(251 191 36 / 0.35);
  border-radius: 14px;
  background: rgb(251 191 36 / 0.05);
}

.founder .dot {
  flex: none;
  margin-top: 0.5rem;
  background: var(--amber);
  box-shadow: 0 0 14px rgb(251 191 36 / 0.55);
}

.founder h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.founder p {
  margin: 0.3rem 0 0;
  color: var(--text-2);
}

.pricing-block {
  margin-top: clamp(4rem, 8vw, 6.5rem);
}

.included {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.included li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.included li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.faq {
  margin-top: 0.4rem;
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 0.9rem;
  color: var(--text-3);
  font-size: 1.25rem;
  line-height: 1.4;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq summary:hover::after {
  color: var(--text);
}

.faq details p {
  margin: 0 0 1.1rem;
  max-width: 32rem;
  color: var(--text-2);
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan {
    padding: 1.6rem;
  }

  .founder {
    padding: 1.3rem 1.4rem;
  }

  .nav-inner {
    gap: 1.2rem;
  }
}

@media (max-width: 860px) {
  .nav-inner > .nav-account {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .foot-inner {
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
  }

  .foot-links {
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
  }
}
