@charset "UTF-8";

:root {
  --paper: #f4f2ed;
  --paper-bright: #fffefa;
  --ink: #19221f;
  --ink-soft: #25302b;
  --muted: #5f6a63;
  --line: rgba(25, 34, 31, 0.16);
  --line-light: rgba(244, 242, 237, 0.2);
  --stone: #dedcd4;
  --selection: #d9422e;
  --action: #c43726;
  --highlight: #ef7765;
  --shadow: 0 18px 50px rgba(25, 34, 31, 0.09);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --shell: 1392px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 2px;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--selection);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  clip-path: inset(50%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  clip-path: none;
  transform: translateY(0);
}

.section-shell,
.site-header-inner,
.site-footer-inner {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 237, 0.96);
}

.site-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-lockup img {
  width: 126px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.3vw, 34px);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.site-nav > a:not(.button) {
  text-decoration: none;
}

.site-nav > a:not(.button):hover {
  color: var(--action);
}

.nav-login {
  padding-left: clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle-lines {
  width: 17px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-lines span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button span[aria-hidden="true"] {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 0;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--action);
  color: var(--paper-bright);
}

.button-primary:hover {
  background: #a52e20;
}

.button-primary:disabled,
.button-primary[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.72rem;
}

.button-outline {
  border-color: var(--line);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--paper-bright);
}

.button-quiet {
  min-height: 44px;
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--ink);
  background: rgba(255, 254, 250, 0.55);
}

.button-light {
  background: var(--paper-bright);
  color: var(--ink);
}

.button-light:hover {
  background: var(--stone);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
}

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

.hero {
  min-height: min(650px, calc(100vh - 84px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 128px);
  padding-top: clamp(54px, 7vw, 100px);
  padding-bottom: clamp(54px, 7vw, 100px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--action);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.hero h1,
.section-heading h2,
.faq-intro h2,
.closing-panel h2,
.signup-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.8rem, 6.4vw, 7.2rem);
}

.hero h1 em,
.section-heading h2 em,
.faq-intro h2 em,
.closing-panel h2 em,
.signup-copy h1 em {
  color: var(--action);
  font-style: italic;
}

.hero-lede {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 34px;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.caption-mark {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--selection);
}

.hero-visual {
  margin: 0;
}

.hero-sheet {
  position: relative;
  overflow: hidden;
  padding: 11px;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-sheet::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(244, 242, 237, 0.42);
  pointer-events: none;
}

.hero-sheet img {
  width: 100%;
  aspect-ratio: 1983 / 793;
  object-fit: cover;
}

.hero-sheet-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 7px 9px;
  background: rgba(25, 34, 31, 0.86);
  color: var(--paper);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual figcaption {
  margin-top: 17px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  text-align: right;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-strip p {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-content: center;
  margin: 0;
  padding: 18px clamp(4px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.fact-strip p:first-child {
  padding-left: 0;
}

.fact-strip p:last-child {
  padding-right: 0;
  border-right: 0;
}

.fact-strip strong {
  grid-row: span 2;
  color: var(--action);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.fact-strip span {
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fact-strip small {
  color: var(--muted);
  font-size: 0.72rem;
}

.workflow-section,
.demo-section,
.packages-section,
.faq-section {
  margin-top: clamp(96px, 14vw, 190px);
}

.section-heading-wide {
  max-width: 820px;
}

.section-heading h2,
.faq-intro h2,
.closing-panel h2 {
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.section-heading > p:last-child {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-step {
  min-height: 240px;
  padding: 24px clamp(14px, 2.4vw, 34px) 28px;
  border-right: 1px solid var(--line);
}

.workflow-step:first-child {
  padding-left: 0;
}

.workflow-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 72px;
  color: var(--action);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.workflow-step h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.workflow-step p {
  max-width: 220px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.demo-section {
  width: min(var(--shell), calc(100% - var(--gutter)));
  padding: clamp(38px, 6vw, 88px) clamp(var(--gutter), 7vw, 120px) clamp(38px, 6vw, 76px);
  background: var(--ink);
  color: var(--paper);
}

.demo-section .eyebrow {
  color: var(--highlight);
}

.demo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.62fr);
  gap: 42px;
  align-items: end;
}

.demo-heading h2 {
  color: var(--paper);
}

.demo-intro p {
  margin: 0;
  color: rgba(244, 242, 237, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

.demo-status {
  min-height: 25px;
  margin-top: 14px !important;
  color: var(--paper) !important;
  font-size: 0.77rem !important;
}

.demo-module {
  margin-top: 54px;
  border: 1px solid rgba(244, 242, 237, 0.22);
  background: var(--ink-soft);
}

.demo-module-top,
.selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.demo-module-top {
  min-height: 56px;
  padding: 12px 17px;
  border-bottom: 1px solid rgba(244, 242, 237, 0.18);
  color: rgba(244, 242, 237, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-module-top p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--paper);
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--highlight);
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(244, 242, 237, 0.2);
}

.photo-choice {
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  text-align: left;
}

.photo-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.67;
  background-image: url("/assets/saas/demo.webp");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  background-position: center;
  filter: saturate(0.88);
  transition: filter 160ms ease, transform 160ms ease;
}

.photo-choice:hover .photo-art {
  filter: saturate(1.05);
  transform: scale(1.012);
}

.photo-choice[aria-pressed="true"] .photo-art {
  outline: 4px solid var(--selection);
  outline-offset: -4px;
  filter: saturate(1.04);
}

.photo-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 242, 237, 0.72);
  border-radius: 50%;
  background: rgba(25, 34, 31, 0.62);
  color: var(--paper-bright);
  font-size: 0.84rem;
  opacity: 0;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.photo-choice[aria-pressed="true"] .photo-check {
  border-color: var(--selection);
  background: var(--selection);
  opacity: 1;
}

.photo-label {
  display: block;
  padding: 11px 12px 13px;
  color: rgba(244, 242, 237, 0.7);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.selection-bar {
  padding: 15px 17px;
}

.selection-bar p {
  margin: 0;
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 700;
}

.demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.demo-actions .button-primary {
  min-height: 42px;
  padding-block: 10px;
}

.demo-actions .button-quiet {
  border-color: rgba(244, 242, 237, 0.34);
  color: var(--paper);
}

.demo-actions .button-quiet:hover {
  border-color: var(--paper);
  background: rgba(244, 242, 237, 0.08);
}

.is-hidden {
  display: none !important;
}

.packages-section {
  padding: clamp(38px, 6vw, 82px) clamp(var(--gutter), 5vw, 78px);
  background: var(--stone);
}

.product-tools { padding-top: clamp(5rem, 10vw, 9rem); }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.tool-card { min-height: 25rem; padding: clamp(1.75rem, 4vw, 3rem); border: 1px solid rgba(25,34,31,.18); display: flex; flex-direction: column; justify-content: flex-end; }
.tool-card-selection { background: #DEDCD4; }
.tool-card-storage { background: #19221F; color: #F4F2ED; }
.tool-card h3 { max-width: 13ch; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .98; letter-spacing: -.045em; margin: 1rem 0; }
.tool-card p:not(.tool-index) { max-width: 35rem; line-height: 1.65; }
.tool-index { margin-bottom: auto; font-size: .72rem; letter-spacing: .13em; font-weight: 700; }
.tool-card-storage .text-link { color: #F4F2ED; }
.plan-group { margin-top: clamp(3rem, 6vw, 6rem); }
.plan-group-heading { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem; }
.plan-group-heading > span { color: #D9422E; font-weight: 800; letter-spacing: .08em; }
.plan-group-heading h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.plan-group-heading p { margin: .35rem 0 0; color: rgba(25,34,31,.68); }
.package-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-plan { position: relative; }
.product-plan.is-featured { border-color: #D9422E; box-shadow: inset 0 4px 0 #D9422E; }
.plan-badge { display: inline-flex; align-self: flex-start; margin-bottom: 1rem; padding: .35rem .55rem; background: #D9422E; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }

@media (max-width: 760px) {
  .tool-grid, .package-grid-three { grid-template-columns: 1fr; }
  .tool-card { min-height: 21rem; }
}

.packages-section .section-heading {
  max-width: 700px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
}

.package-card {
  min-width: 0;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 24px 21px 21px;
  background: var(--paper-bright);
}

.package-card h3 {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-credits {
  margin: 22px 0 0;
  color: var(--action);
  font-family: var(--serif);
  font-size: 2.7rem;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.package-price {
  margin: 34px 0 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.package-price small {
  margin-right: 2px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
}

.package-installments {
  min-height: 24px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.package-card ul {
  display: grid;
  gap: 8px;
  margin: 26px 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.73rem;
}

.package-card li {
  position: relative;
  padding-left: 15px;
}

.package-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--selection);
}

.package-card .button {
  width: 100%;
  margin-top: auto;
}

.package-skeleton {
  min-height: 370px;
  display: grid;
  align-content: start;
  gap: 17px;
  padding: 25px 21px;
  background: rgba(255, 254, 250, 0.76);
}

.package-skeleton span {
  display: block;
  height: 15px;
  background: linear-gradient(90deg, rgba(25, 34, 31, 0.08), rgba(25, 34, 31, 0.18), rgba(25, 34, 31, 0.08));
  background-size: 200% 100%;
  animation: skeleton 1.4s linear infinite;
}

.package-skeleton span:nth-child(2) {
  width: 62%;
  height: 46px;
  margin-top: 30px;
}

.package-skeleton span:nth-child(3) {
  width: 76%;
  height: 27px;
  margin-top: 4px;
}

.package-skeleton span:nth-child(4) {
  width: 100%;
  height: 46px;
  margin-top: auto;
}

.section-note,
.state-message {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.state-message-error {
  padding: 15px 16px;
  border: 1px solid rgba(196, 55, 38, 0.38);
  background: rgba(255, 254, 250, 0.65);
  color: var(--action);
}

.text-button {
  margin-left: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(42px, 9vw, 150px);
}

.faq-intro {
  align-self: start;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 310px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.faq-intro .text-link {
  margin-top: 25px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 640px;
  margin: -3px 38px 21px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(230px, 0.9fr);
  align-items: end;
  gap: 44px;
  margin-top: clamp(96px, 14vw, 190px);
  padding: clamp(38px, 6vw, 80px) clamp(var(--gutter), 6vw, 96px);
  background: var(--selection);
  color: var(--paper-bright);
}

.closing-panel .eyebrow {
  color: var(--paper-bright);
}

.closing-panel h2 {
  color: var(--paper-bright);
}

.closing-panel h2 em {
  color: var(--paper-bright);
}

.closing-panel > div:last-child {
  max-width: 320px;
  justify-self: end;
}

.closing-panel > div:last-child p {
  margin: 0 0 25px;
  color: rgba(255, 254, 250, 0.82);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: clamp(96px, 14vw, 190px);
  padding: 60px 0 34px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand nav"
    "copy copy"
    "legal legal";
  align-items: start;
  gap: 17px 28px;
}

.site-footer-inner > img {
  grid-area: brand;
  width: 106px;
}

.site-footer-inner > p {
  grid-area: copy;
  margin: 0;
  color: rgba(244, 242, 237, 0.62);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.site-footer nav {
  grid-area: nav;
  display: flex;
  gap: 24px;
  font-size: 0.72rem;
}

.site-footer nav a {
  text-decoration: none;
}

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

.site-footer small {
  grid-area: legal;
  margin-top: 43px;
  color: rgba(244, 242, 237, 0.43);
  font-size: 0.65rem;
}

/* Cadastro */
.signup-page {
  min-height: 100vh;
}

.signup-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: stretch;
  gap: clamp(46px, 9vw, 140px);
  padding-top: clamp(56px, 8vw, 120px);
  padding-bottom: clamp(70px, 11vw, 160px);
}

.signup-copy {
  position: sticky;
  top: 30px;
  align-self: start;
}

.signup-copy h1 {
  max-width: 580px;
  font-size: clamp(3.6rem, 6vw, 6.8rem);
}

.signup-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.signup-visual {
  position: relative;
  max-width: 490px;
  margin: 48px 0 0;
  overflow: hidden;
  background: var(--ink);
}

.signup-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.58;
  object-fit: cover;
}

.signup-visual figcaption {
  position: absolute;
  right: 13px;
  bottom: 13px;
  max-width: 190px;
  padding: 8px 10px;
  background: rgba(25, 34, 31, 0.86);
  color: var(--paper);
  font-size: 0.67rem;
  line-height: 1.4;
}

.package-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 440px;
  margin-top: 33px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.package-summary-mark {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--selection);
}

.package-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-summary strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.8rem;
}

.signup-card {
  align-self: start;
  padding: clamp(23px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.signup-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.signup-card-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.signup-card-header p {
  max-width: 160px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: right;
}

.progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 38px 0 35px;
}

.progress-step {
  padding-top: 10px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.progress-step[aria-current="step"] {
  border-color: var(--selection);
  color: var(--action);
}

.signup-step[hidden] {
  display: none;
}

.form-fields {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.field-hint {
  margin: -1px 0 1px;
  color: var(--muted);
  font-size: 0.68rem;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font-size: 0.85rem;
}

.field input::placeholder {
  color: rgba(95, 106, 99, 0.76);
}

.field input:hover {
  border-color: rgba(25, 34, 31, 0.35);
}

.field input[aria-invalid="true"] {
  border-color: rgba(196, 55, 38, 0.74);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 78px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  bottom: 7px;
  min-height: 34px;
  padding: 6px 7px;
  border: 0;
  background: transparent;
  color: var(--action);
  font-size: 0.66rem;
  font-weight: 800;
}

.password-toggle:hover {
  text-decoration: underline;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.5;
}

.terms-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--selection);
}

.terms-check a {
  color: var(--ink);
  font-weight: 700;
}

.phase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.phase-actions .button-primary {
  flex: 0 0 auto;
  min-height: 48px;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.signup-message {
  min-height: 25px;
  margin: 17px 0 0;
  color: var(--action);
  font-size: 0.72rem;
  line-height: 1.5;
}

.signup-message[data-kind="success"] {
  color: #306347;
}

.signup-message[data-kind="neutral"] {
  color: var(--muted);
}

.code-destination {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.code-destination strong {
  color: var(--ink);
}

.back-link {
  min-height: 44px;
  padding-inline: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--ink);
}

@keyframes skeleton {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 18px;
  }

  .hero {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-card {
    min-height: 340px;
  }

  .signup-main {
    grid-template-columns: minmax(0, 0.8fr) minmax(390px, 1.2fr);
    gap: 48px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header-inner {
    min-height: 72px;
  }

  .brand-lockup img {
    width: 108px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 22px 30px rgba(25, 34, 31, 0.08);
  }

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

  .site-nav > a:not(.button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-login {
    padding-left: 0;
    border-left: 0;
  }

  .site-nav .button {
    width: 100%;
    margin-top: 17px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 14vw, 5rem);
  }

  .hero-lede {
    margin-top: 23px;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-caption {
    margin-top: 27px;
  }

  .hero-sheet {
    padding: 7px;
  }

  .hero-sheet::after {
    inset: 7px;
  }

  .hero-sheet-label {
    right: 13px;
    bottom: 13px;
    font-size: 0.57rem;
  }

  .hero-visual figcaption {
    margin-top: 13px;
    font-size: 0.98rem;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact-strip p,
  .fact-strip p:first-child,
  .fact-strip p:last-child {
    min-height: 71px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-strip p:last-child {
    border-bottom: 0;
  }

  .workflow-section,
  .demo-section,
  .packages-section,
  .faq-section {
    margin-top: 100px;
  }

  .section-heading h2,
  .faq-intro h2,
  .closing-panel h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .section-heading > p:last-child {
    margin-top: 23px;
    font-size: 0.9rem;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 42px;
  }

  .workflow-step,
  .workflow-step:first-child,
  .workflow-step:last-child {
    min-height: 215px;
    padding: 18px 15px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:nth-child(2n) {
    border-right: 0;
  }

  .workflow-step:nth-child(n + 3) {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 50px;
  }

  .workflow-step p {
    font-size: 0.75rem;
  }

  .demo-section {
    width: calc(100% - var(--gutter));
    padding: 38px var(--gutter) 32px;
  }

  .demo-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .demo-module {
    margin-top: 37px;
  }

  .demo-module-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 13px;
  }

  .photo-check {
    top: 7px;
    right: 7px;
    width: 23px;
    height: 23px;
    font-size: 0.7rem;
  }

  .photo-label {
    overflow: hidden;
    padding: 8px 7px 10px;
    font-size: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .selection-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 13px 15px;
  }

  .demo-actions {
    width: 100%;
    justify-content: stretch;
  }

  .demo-actions .button {
    flex: 1 1 auto;
  }

  .packages-section {
    padding: 38px var(--gutter) 34px;
  }

  .package-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .package-card,
  .package-skeleton {
    min-height: 0;
  }

  .package-card {
    padding: 22px 18px 18px;
  }

  .package-credits {
    margin-top: 18px;
  }

  .package-price {
    margin-top: 28px;
  }

  .package-card ul {
    margin-block: 22px;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-intro > p:not(.eyebrow) {
    max-width: 390px;
    margin-top: 22px;
  }

  .faq-list summary {
    min-height: 63px;
    font-size: 0.82rem;
  }

  .faq-list details p {
    margin-right: 24px;
    font-size: 0.76rem;
  }

  .closing-panel {
    grid-template-columns: 1fr;
    gap: 31px;
    margin-top: 100px;
    padding: 38px var(--gutter) 42px;
  }

  .closing-panel > div:last-child {
    justify-self: start;
  }

  .closing-panel > div:last-child p {
    font-size: 0.83rem;
  }

  .site-footer {
    margin-top: 100px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "copy"
      "nav"
      "legal";
  }

  .site-footer nav {
    margin-top: 10px;
  }

  .site-footer small {
    margin-top: 27px;
  }

  .signup-main {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .signup-copy {
    position: static;
  }

  .signup-copy h1 {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .signup-copy > p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 0.92rem;
  }

  .signup-visual {
    display: none;
  }

  .package-summary {
    margin-top: 25px;
  }

  .signup-card {
    padding: 24px 18px 22px;
  }

  .signup-card-header h2 {
    font-size: 2.05rem;
  }

  .signup-card-header p {
    max-width: 130px;
    font-size: 0.63rem;
  }

  .progress {
    margin: 30px 0 28px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .phase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .phase-actions .button-primary,
  .phase-actions .back-link {
    width: 100%;
  }

  .phase-actions .button-primary {
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .signup-copy h1 {
    font-size: 3.35rem;
  }

  .demo-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .selection-bar p {
    font-size: 0.68rem;
  }
}

/* The account header keeps both recovery paths reachable on narrow screens. */
@media (max-width: 760px) {
  .signup-page .site-header-inner {
    gap: 10px;
  }

  .signup-page .signup-nav {
    position: static;
    inset: auto;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .signup-page .signup-nav > a:not(.button) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    font-size: 0.62rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .signup-page .signup-nav .nav-login {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 380px) {
  .signup-page .site-header-inner {
    gap: 7px;
  }

  .signup-page .signup-nav {
    gap: 7px;
  }

  .signup-page .signup-nav > a:not(.button) {
    font-size: 0.57rem;
  }
}

/* Public signup: list numbering lives in the labels; country keeps native keyboard search. */
.signup-page .progress { list-style: none; padding-left: 0; }
.signup-page .field select { width: 100%; min-width: 0; min-height: 50px; padding: 12px 13px; border: 1px solid var(--line); background: var(--paper); font: inherit; }
.signup-page .field [aria-invalid="true"] { border-color: #b83125; }
.signup-page .field-error { color: #a32b21; font-size: .78rem; }

.signup-page .field input:disabled { opacity: .5; cursor: not-allowed; }
