/* Hallmark · shape: split hero, ruled sections · genre: modern-minimal · theme: Furrow (deal 3/3, seed managed-back-office-automation-small-b643·ecb9b94b·2026-12-05·r0) · redesign: full
 * hero: copy left, one notebook entry right · nav: flat bar, ink rule under · footer: one ruled line · imagery: the product (a contract's record), no photographs · signature: the notebook entry card with pins and mono times
 * reworded: every heading moved to Portuguese (the default language, English kept on the toggle) and cut to one idea; USD prices became the Kz packages · gates 58 and kept
 * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E3 S4 R4 V4 · weakest: E, the generated survey map is swapped for a notebook entry; the product's record carries the hero instead */
@import url("./tokens.css");
@import url("./base.css");

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); font-weight: 500; text-decoration: none; background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 0 1px 0 var(--color-sheet), 0 1px 1px var(--color-rule); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-sheet); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: color-mix(in oklab, var(--color-accent) 78%, var(--color-ink)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-sheet) 32%, transparent), inset 0 -1px 0 color-mix(in oklab, var(--color-ink) 10%, transparent); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 90%, var(--color-sheet)); }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn:disabled, .btn--primary:disabled { background: var(--color-paper-3); color: var(--color-muted); border-color: var(--color-rule); box-shadow: none; cursor: not-allowed; }
.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.note { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-md); }

/* Nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: var(--rule-hair) solid var(--color-ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 14px; height: 14px; background: var(--color-accent); border: var(--rule-hair) solid var(--color-ink); transform: rotate(45deg); }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.nav-links > a:not(.btn) { text-decoration: none; color: var(--color-ink-2); }
.nav-links > a:not(.btn):hover { text-decoration: underline; }
.lang { min-height: 36px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-weight: 500; cursor: pointer; }

/* Hero */
.hero { display: grid; align-items: center; min-height: calc(100svh - 64px); padding-block: var(--space-2xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.hero-copy .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-xl) 0 0; padding: var(--space-md) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); font-size: var(--text-sm); font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-green); }

/* The notebook entry */
.entry { border-radius: var(--radius-entry); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); overflow: hidden; }
.entry-head { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--color-ink); color: var(--color-paper); font-weight: 500; }
.entry-head .num { color: var(--color-accent); }
.entry-title { max-width: none; font-family: var(--font-body); font-size: var(--text-md); font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.notebook { background: linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, var(--color-paper-2); }
.entry-rows { margin: 0; padding: 0; list-style: none; }
.entry-rows li { display: grid; grid-template-columns: 16px 1fr auto; gap: var(--space-md); align-items: start; padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-ink); }
.entry-rows strong { font-weight: 500; }
.entry-rows p { margin-top: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.entry-rows .num { font-size: var(--text-sm); color: var(--color-ink-2); padding-top: var(--space-3xs); }
.entry-rows li.is-open { background: var(--color-accent-soft); }
.pin { width: 12px; height: 12px; margin-top: var(--space-2xs); background: var(--color-ink); }
.pin--disc { border-radius: 50%; background: var(--color-green); }
.pin--diamond { transform: rotate(45deg) scale(0.85); }
.pin--triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-ink); }
.entry-foot { padding: var(--space-sm) var(--space-lg); font-size: var(--text-xs); color: var(--color-muted); }
@media (prefers-reduced-motion: no-preference) {
  .entry-rows li { animation: land var(--dur-long) var(--ease-out) both; }
  .entry-rows li:nth-child(2) { animation-delay: 120ms; } .entry-rows li:nth-child(3) { animation-delay: 240ms; } .entry-rows li:nth-child(4) { animation-delay: 360ms; }
  @keyframes land { from { opacity: 0; transform: translateY(6px); } }
}

/* Sections */
.section { padding-block: var(--section-gap-s); }
.section--sheet { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.section-sub { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-lead); max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-2xl); align-items: start; }
.ruled { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }
.ruled > li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.outcomes > li { padding-block: var(--space-lg); }
.outcomes p { margin-top: var(--space-xs); color: var(--color-muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.steps li { padding-top: var(--space-md); border-top: 2px solid var(--color-ink); }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--font-outlier); }
.steps { counter-reset: step; }
.steps li::before { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; }
.steps p { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }

/* Calculator */
.calc-controls { margin-top: var(--space-xl); }
.range-label { display: flex; justify-content: space-between; font-weight: 500; }
#team-size { width: 100%; margin-block: var(--space-sm) var(--space-lg); accent-color: var(--color-accent); }
.checks { display: grid; gap: var(--space-sm); border-top: var(--rule-hair) solid var(--color-ink); padding-top: var(--space-md); }
.checks label { display: flex; gap: var(--space-sm); align-items: flex-start; font-size: var(--text-sm); color: var(--color-ink-2); cursor: pointer; }
.checks input { margin-top: var(--space-2xs); accent-color: var(--color-accent); }
.sheet { background: var(--color-sheet); border-radius: 3px; padding: var(--space-xl); box-shadow: var(--shadow-card); }
.calc-row { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.calc-row strong { font-weight: 500; }
.calc-total { display: grid; gap: var(--space-xs); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.calc-total strong { font-family: var(--font-display); font-weight: 600; font-size: var(--text-display-s); letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); }
.tier--main { background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); border-color: transparent; }
.tier-who { color: var(--color-muted); font-size: var(--text-sm); }
.tier-price { margin-top: var(--space-md); color: var(--color-muted); }
.tier-price .figure { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.tier-setup { font-size: var(--text-sm); font-weight: 500; }
.tier .ruled { margin-block: var(--space-md); flex: 1; font-size: var(--text-sm); }
.tier .btn { align-self: stretch; }

/* Form */
.lead-form { display: grid; gap: var(--space-md); padding: var(--space-xl); }
.field { position: relative; }
.field label { position: absolute; left: var(--space-md); top: var(--space-2xs); font-size: 0.75rem; font-weight: 500; color: var(--color-muted); pointer-events: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 20px var(--space-md) var(--space-2xs); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-sheet); color: var(--color-ink); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--color-muted) 70%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-status { min-height: 1.5em; font-size: var(--text-sm); }
.form-status.ok { color: var(--color-success); }
.form-status.err { color: var(--color-error); }

/* Footer */
.footer { border-top: var(--rule-hair) solid var(--color-ink); padding-block: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.footer strong { color: var(--color-ink); font-weight: 500; }

@media (max-width: 60rem) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: 1fr; }
  .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 40rem) {
  .tier, .lead-form, .sheet { padding: var(--space-lg); }
  .field-row, .steps { grid-template-columns: 1fr; }
  .nav-links .btn--sm { display: none; }
}
.demo-list { margin-top: var(--space-xl); }
