/* Meshportico site: the bold editorial "studio" layout of the Pincela landing (heavy display
   type, colour blocks, pill buttons), in the Meshportico brand: ink and violet, lavender tints,
   low-poly mesh shards where Pincela has paint smears. Light and dark share the brand colours;
   only the page, surface and text tokens flip. */

:root {
  /* Brand colours (theme-independent), as in brand/ and the app's tokens. */
  --ink: #1c1a27;
  --violet: #7c3aed;
  --violet-lt: #a78bfa;
  --deep: #4c1d95;
  --lav: #ddd6fe;
  --lav-2: #ede9fe;

  /* Theme tokens (light) */
  --bg: #f6f4fb;
  --surface: #ffffff;
  --text: #1c1a27;
  --muted: #5b5670;
  --line: #e6e1f0;
  --hl: var(--violet);

  --disp: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 18px 44px rgba(28, 26, 39, 0.16);
  --shadow-sm: 0 6px 16px rgba(28, 26, 39, 0.1);
  color-scheme: light;
}
/* A dusk, not a night: the app's dark screens are near black, and on a page as dark they sank
   into it (owner, 2026-11-30). The page is lifted so each capture reads as a screen. */
:root[data-theme='dark'] {
  --bg: #2d2842;
  --surface: #3a3453;
  --text: #f3f1f9;
  --muted: #c3bdd6;
  --line: #524b6e;
  --hl: var(--violet-lt);
  --shadow: 0 20px 48px rgba(8, 6, 16, 0.5);
  --shadow-sm: 0 6px 18px rgba(8, 6, 16, 0.4);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden makes the body a scroll box, so the page still scrolls sideways on
     phones and the sticky nav stops sticking. */
  overflow-x: clip;
}
html {
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.wrap-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 560px) {
  .wrap,
  .wrap-wide {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex: none;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition:
    transform 0.14s,
    background 0.14s,
    color 0.14s;
}
.pill:hover {
  transform: translateY(-1px);
}
.pill.violet {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.pill.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.pill.light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.pill.sm {
  padding: 9px 16px;
  font-size: 14px;
}
.pill.lg {
  padding: 14px 26px;
  font-size: 16px;
}
:root[data-theme='dark'] .pill:not(.ghost):not(.light) {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.pill:focus-visible,
.tab:focus-visible,
.lang-sel:focus-visible,
.theme-toggle:focus-visible,
.nav-burger:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--violet-lt);
  outline-offset: 3px;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}
.brand img {
  height: 32px;
  width: 32px;
}
.brand .p {
  color: var(--hl);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-menu a:hover {
  color: var(--hl);
}
.lang-sel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 9px;
  cursor: pointer;
}
.theme-toggle,
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .ic-sun {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .ic-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .ic-sun {
  display: inline-flex;
}
.nav-burger {
  display: none;
}
.nav-burger svg {
  width: 20px;
  height: 20px;
}

/* Hero */
.hero {
  padding-top: 84px;
  padding-bottom: 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--lav);
  color: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
h1 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.92;
  font-size: clamp(42px, 5.8vw, 80px);
  margin: 0;
}
h1 .hl,
.hl {
  color: var(--hl);
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 30em;
  margin: 30px 0 36px;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
}
.meta {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* Hero art: the real app in a window frame, with two cards floating over it. */
.hero-art {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.app-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.app-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.float {
  position: absolute;
  z-index: 4;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(28, 26, 39, 0.28);
}
.float small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.float.money {
  left: -34px;
  bottom: -30px;
  background: linear-gradient(135deg, var(--violet-lt), var(--violet) 55%, var(--deep));
  color: #fff;
  border: 0;
  transform: rotate(-3deg);
}
.float.money small {
  color: rgba(255, 255, 255, 0.8);
}
.float.money strong {
  display: block;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.float.money span {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 8px;
  border-radius: 999px;
}
.float.sent {
  right: -26px;
  top: -30px;
  transform: rotate(3deg);
}
.float.sent ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}
.float.sent li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.float.sent li img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  /* A mark drawn in black (MakerOnline's) needs a light square under it. */
  background: #fff;
}
/* The check mark, for a line with no store mark. */
.float.sent li:not(:has(img))::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--violet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 6'/%3E%3C/svg%3E")
    center / 9px no-repeat;
  flex: none;
}
@media (max-width: 920px) {
  .float {
    display: none;
  }
}

/* The 3D ornaments (deco3d.js) stand where the mesh shards stood, square and unturned: they
   turn by themselves. */
.shard.d3 {
  aspect-ratio: 1;
  height: auto;
  transform: none !important;
}
/* Low-poly mesh shards: the brand's decoration, scattered behind content. */
.shard {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero-art .shard {
  z-index: 0;
}
.hero-art .hs-a {
  width: 260px;
  top: -90px;
  left: -70px;
  transform: rotate(-14deg);
}
.hero-art .hs-b {
  width: 210px;
  bottom: -110px;
  right: -40px;
  transform: rotate(10deg);
}
.hero-art .hs-c {
  width: 120px;
  top: 40%;
  right: -60px;
  transform: rotate(24deg);
}
.deco {
  position: relative;
  isolation: isolate;
}
.deco > .shard {
  z-index: -1;
}
#como .cm-1 {
  width: 200px;
  top: 30px;
  right: -20px;
  transform: rotate(-8deg);
}
#dentro .dn-1 {
  width: 240px;
  top: 20px;
  right: 2%;
  transform: rotate(12deg);
}
#publicar .pb-1 {
  width: 220px;
  bottom: -20px;
  right: -30px;
  transform: rotate(-12deg);
}
#acesso .ac-1 {
  width: 190px;
  top: 40px;
  right: -10px;
  transform: rotate(18deg);
}
#faq .fq-1 {
  width: 170px;
  bottom: 0;
  right: -10px;
  transform: rotate(-10deg);
}
.cta-deco .ct-1 {
  width: 220px;
  top: -40px;
  left: -40px;
  transform: rotate(160deg);
}
/* On phones the section shards would sit on the headings: only the hero keeps its own. */
@media (max-width: 700px) {
  .shard {
    scale: 0.6;
  }
  .deco > .shard {
    display: none;
  }
}

/* Store marquee */
.strip {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 20px 0;
}
:root[data-theme='dark'] .strip {
  background: #0b0a10;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  animation: slide 30s linear infinite;
}
.strip-track span {
  padding: 0 26px;
}
.strip-track .node {
  color: var(--violet-lt);
  padding: 0;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track {
    animation: none;
  }
}

/* Sections */
section {
  padding-top: 100px;
  padding-bottom: 100px;
  scroll-margin-top: 84px;
}
.sec-tag {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hl);
}
.sec-h {
  font-family: var(--disp);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(32px, 4.4vw, 54px);
  margin: 14px 0 0;
  max-width: 16em;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 58px;
}
.step {
  border-radius: 24px;
  padding: 30px 26px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.step .n {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
}
.step h3 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.step p {
  font-size: 15px;
  margin: 0;
}
.st1 {
  background: var(--lav);
  color: var(--ink);
}
.st1 p {
  color: rgba(28, 26, 39, 0.78);
}
.st2 {
  background: var(--violet);
  color: #fff;
}
.st2 p {
  color: rgba(255, 255, 255, 0.86);
}
.st3 {
  background: var(--ink);
  color: #fff;
}
.st3 p {
  color: rgba(255, 255, 255, 0.78);
}
:root[data-theme='dark'] .st3 {
  background: var(--surface);
  border: 1px solid var(--line);
}

/* Inside the app: tabs over real screens */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.tab {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.tab[aria-selected='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
:root[data-theme='dark'] .tab[aria-selected='true'] {
  background: var(--violet);
  border-color: var(--violet);
}
.screen {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
}
.screen .app-frame {
  box-shadow: var(--shadow);
}
.screen-text h3 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.screen-text p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 920px) {
  .screen {
    grid-template-columns: 1fr;
  }
}

/* Publish band */
.band {
  background: linear-gradient(140deg, var(--ink) 0%, #2a1660 60%, var(--deep) 100%);
  color: #f3f0fb;
  border-radius: 30px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  margin-top: 10px;
}
.band .badge {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet-lt);
}
.band h2 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.band h2 .hl {
  color: var(--violet-lt);
}
.band p {
  margin: 18px 0 0;
  color: rgba(243, 240, 251, 0.82);
  max-width: 30em;
}
.band ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.band li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.band li .num {
  background: var(--violet-lt);
  color: var(--ink);
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 14px;
  flex: none;
}
.band li strong {
  display: block;
  font-weight: 700;
}
.band li span > span {
  color: rgba(243, 240, 251, 0.72);
  font-size: 14.5px;
}
.band-visual {
  position: relative;
}
.band-visual .app-frame {
  z-index: 1;
}
.band-visual .app-frame {
  border-color: rgba(255, 255, 255, 0.14);
}
.band-chip {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: -20px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.band-chip b {
  background: var(--lav);
  color: var(--deep);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}
@media (max-width: 920px) {
  .band {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }
  .band-chip {
    left: 12px;
    bottom: 12px;
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 58px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.feature .fic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature:nth-child(3n + 1) .fic {
  background: var(--lav);
  color: var(--deep);
}
.feature:nth-child(3n + 2) .fic {
  background: var(--violet);
  color: #fff;
}
.feature:nth-child(3n) .fic {
  background: var(--ink);
  color: #fff;
}
:root[data-theme='dark'] .feature:nth-child(3n) .fic {
  background: var(--line);
}
.feature .fic svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* Early access (no prices yet) */
.access {
  max-width: 860px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.plan {
  border: 2px solid var(--text);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.plan.dark {
  background: var(--ink);
  color: #f3f0fb;
  border-color: var(--ink);
}
:root[data-theme='dark'] .plan.dark {
  background: linear-gradient(140deg, #2a1660, var(--deep));
  border-color: transparent;
}
.plan h3 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rec {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--violet-lt);
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 999px;
}
.big {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 2px;
  text-transform: uppercase;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
}
.plan.dark li {
  color: rgba(243, 240, 251, 0.86);
}
.plan li svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--violet);
  margin-top: 2px;
}
.plan.dark li svg {
  color: var(--violet-lt);
}
.plan .pill {
  margin-top: auto;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 58px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--hl);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s;
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Big CTA */
.bigcta {
  background: var(--ink);
  border-radius: 34px;
  padding: 84px 40px;
  text-align: center;
  color: #f3f0fb;
}
:root[data-theme='dark'] .bigcta {
  background: linear-gradient(140deg, #1c1822, #2a1660);
  border: 1px solid var(--line);
}
.bigcta h2 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(38px, 6vw, 80px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0;
}
.bigcta h2 .hl {
  color: var(--violet-lt);
}
.bigcta p {
  margin: 20px auto 30px;
  max-width: 30em;
  color: rgba(243, 240, 251, 0.72);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.foot-in .brand {
  color: var(--text);
  font-size: 19px;
}
.foot-in .brand img {
  height: 26px;
  width: 26px;
}
.foot-in a {
  text-decoration: underline;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Legal pages */
.legal {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 80px;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 56px);
}
.legal h2 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 20px;
  margin: 34px 0 6px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal a {
  color: var(--hl);
  text-decoration: underline;
}
.legal .date {
  font-size: 14px;
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art {
    min-height: 0;
  }
  .steps,
  .features,
  .access {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    width: 100%;
    padding: 9px 12px;
    border-radius: 9px;
  }
  .nav-burger {
    display: inline-flex;
  }
  .nav-links {
    gap: 10px;
  }
  section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
@media (max-width: 560px) {
  .brand .word {
    display: none;
  }
  .nav-links .pill {
    display: none;
  }
  .band,
  .bigcta {
    border-radius: 22px;
  }
  .bigcta {
    padding: 56px 22px;
  }
}

/* ---- Content pages (features, statistics, how it works, questions) ---- */
.page-hero {
  padding-top: 76px;
  padding-bottom: 28px;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
}
.page-hero .lead {
  margin-bottom: 0;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.toc a {
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.toc a:hover {
  border-color: var(--hl);
  color: var(--hl);
}
.nav-menu a[aria-current='page'] {
  color: var(--hl);
}

.topic {
  border-top: 1px solid var(--line);
  padding-top: 72px;
  padding-bottom: 72px;
  scroll-margin-top: 84px;
}
.topic-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.topic-grid.flip > :first-child {
  order: 2;
}
.topic h2 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}
.topic p {
  color: var(--muted);
  margin: 0 0 14px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--lav);
  box-shadow: inset 0 0 0 4px var(--violet);
}
.ticks li strong {
  display: block;
}
.ticks li span {
  color: var(--muted);
  font-size: 15px;
}
.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lav-2);
  color: var(--ink);
  font-size: 14.5px;
}
:root[data-theme='dark'] .note {
  background: #241d36;
  color: var(--text);
}
.note b {
  color: var(--deep);
}
:root[data-theme='dark'] .note b {
  color: var(--violet-lt);
}
@media (max-width: 920px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic-grid.flip > :first-child {
    order: 0;
  }
}

/* Screenshot placeholder: a window frame waiting for the beta capture named in data-shot
   (site/shots.md lists them all). */
.shot-ph {
  margin: 0;
}
.topic-grid.solo {
  grid-template-columns: minmax(0, 720px);
}
.pay-error a {
  color: inherit;
  text-decoration: underline;
}
.shot-ph .frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.shot-ph .frame .app-bar {
  border-bottom: 1px dashed var(--line);
}
.shot-ph .slot {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(
        135deg,
        transparent 0 48%,
        color-mix(in srgb, var(--violet) 10%, transparent) 48% 52%,
        transparent 52%
      )
      0 0 / 28px 28px,
    var(--lav-2);
  color: var(--deep);
}
:root[data-theme='dark'] .shot-ph .slot {
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(167, 139, 250, 0.08) 48% 52%, transparent 52%) 0
      0 / 28px 28px,
    #1f1a2c;
  color: var(--violet-lt);
}
.shot-ph .slot.tall {
  aspect-ratio: 4 / 5;
}
.shot-ph .slot.wide {
  aspect-ratio: 21 / 9;
}
.shot-ph .slot b {
  display: block;
  font-family: var(--disp);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.shot-ph .slot code {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}
.shot-ph figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* A capture that was taken, and a promo video: the same window frame, with the picture in it. */
.shot-real .frame .app-bar {
  border-bottom-style: solid;
}
/* A lighter edge around a dark capture, so its own dark ground does not run into the frame. */
:root[data-theme='dark'] .shot-real .frame {
  border-color: #6d6590;
}
.shot-real .frame img,
.shot-real .frame video {
  display: block;
  width: 100%;
  height: auto;
}
.shot-real.video .frame video {
  aspect-ratio: 16 / 9;
  background: #08070f;
}
/* A video under a page's heading, or between the landing's sections. */
.video-band {
  padding-top: 8px;
  padding-bottom: 8px;
}
.video-band .shot-ph {
  max-width: 980px;
  margin: 0 auto;
}
.video-band .sec-h {
  margin-bottom: 26px;
}
.video-band figcaption {
  text-align: center;
}

.page-hero .ph-1 {
  width: 190px;
  top: 6px;
  right: 2%;
}
/* Pricing: the plans side by side, the switch between a month and a year, the credit packs,
   and the licence key on the page a customer lands on after paying. */
.when {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--lav-2);
  margin-bottom: 26px;
}
:root[data-theme='dark'] .when {
  background: #1f1a2c;
}
.when-btn {
  border: 0;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
}
.when-btn.on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
:root[data-theme='dark'] .when-btn.on {
  color: #fff;
}
body[data-when='month'] [data-when='year'],
body[data-when='year'] [data-when='month'] {
  display: none;
}
.plans,
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan,
.pack {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan.best {
  border-color: var(--violet);
  box-shadow:
    0 0 0 1px var(--violet),
    0 18px 50px rgba(124, 58, 237, 0.18);
}
.plan h3,
.pack h3 {
  font-family: var(--disp);
  font-size: 22px;
  margin: 0;
}
.plan-lead {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 14px;
  min-height: 42px;
}
.plan-price {
  font-family: var(--disp);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.plan-per {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.plan .buy,
.pack .buy {
  margin: 0;
  justify-content: center;
  text-align: center;
  width: 100%;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.buy:disabled {
  opacity: 0.6;
  cursor: progress;
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.plan-list li {
  position: relative;
  padding-left: 22px;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--violet);
}
.packs {
  margin-top: 22px;
}
.pack .plan-price {
  margin-top: 14px;
  font-size: 32px;
}
.pay-error {
  margin: 18px 0 0;
  color: #dc2626;
  font-weight: 600;
}
.pay-for {
  margin: 18px 0 0;
  color: var(--muted);
}
.pay-for code {
  font-weight: 600;
  color: var(--ink, inherit);
}
.thanks {
  max-width: 640px;
}
.thanks-state {
  color: var(--muted);
}
.key-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 26px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px dashed var(--violet);
  background: var(--lav-2);
}
:root[data-theme='dark'] .key-box {
  background: #1f1a2c;
}
.key-box code {
  flex: 1;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .plans,
  .packs {
    grid-template-columns: 1fr;
  }
}

/* Statistics tables */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.stats-table th,
.stats-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.stats-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--bg);
}
.stats-table td.y {
  color: var(--violet);
  font-weight: 800;
  text-align: center;
}
.stats-table td.n {
  color: var(--muted);
  text-align: center;
}
.stats-table th[scope='row'] {
  font-weight: 700;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
}
.table-wrap .stats-table {
  min-width: 720px;
}

/* Numbered guide */
.guide-steps {
  counter-reset: g;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.guide-steps > li {
  counter-increment: g;
  position: relative;
  padding-left: 58px;
}
.guide-steps > li::before {
  content: counter(g, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 30px;
  color: var(--hl);
}
.guide-steps h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.guide-steps p {
  margin: 0;
  color: var(--muted);
}

/* Long texts carry both languages (data-l); the page shows the chosen one. */
:root[lang='en'] [data-l='pt'],
:root:not([lang='en']) [data-l='en'] {
  display: none !important;
}
