/* pengo.money design system — variant J.
   Spec: docs/superpowers/specs/2026-10-01-web-redesign-design.md
   Written against the class names the pages already use. */

:root {
  --paper: #f8f0e3;
  --paper-2: #f0e2c9;
  --card: #fcf6ec;
  --ink: #33231a;
  --ink-2: #5a4232;
  --ink-3: #7a5d48;
  --line: #e3d1b2;
  --tomato: #d9482b;
  --tomato-text: #a8361f;
  --tomato-dark: #7e2817;
  --mustard: #e3a13a;
  --petrol: #1f5f5b;
  --petrol-ink: #d3e4df;
  --sun-on-petrol: #f3cc8a;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1120px;
  --r: 24px;
  --soft: 'SOFT' 100, 'WONK' 1;

  /* Legacy names still used in inline style="" attributes of the pages. */
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line-soft: var(--line);
  --pos: var(--petrol);
  --warn: var(--mustard);
  --blue: #3f7fb0;
  --neg: var(--tomato-text);
  --accent: var(--tomato-text);
  --accent-bd: var(--line);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}
.link {
  color: var(--petrol);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.center {
  text-align: center;
}
:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Content is never hidden waiting for a scroll observer. */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}
.hero-glow {
  display: none;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: box-shadow 0.2s;
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 28px/1 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nl {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.nl:hover {
  color: var(--ink);
}
.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
}
.lang-current {
  color: var(--ink);
  font-weight: 700;
}
.lang-link {
  color: var(--ink-3);
  text-decoration: none;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 8px;
  cursor: pointer;
}

/* ---------- buttons: one primary, everything else is a link ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 17px/1 var(--sans);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  cursor: pointer;
}
.btn-primary {
  background: var(--tomato-text);
  color: #fff6ea;
  box-shadow: 0 4px 0 var(--tomato-dark);
}
.btn-primary:hover {
  transform: translateY(1px);
  box-shadow: 0 3px 0 var(--tomato-dark);
}
.btn-ghost {
  background: none;
  color: var(--ink);
  border-radius: 0;
  padding: 16px 4px;
  text-decoration: underline;
  text-decoration-color: var(--mustard);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.btn-sm {
  font-size: 15px;
  padding: 10px 18px;
  box-shadow: none;
}
.nav-cta .btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}
.nav-cta .btn-ghost {
  padding: 10px 4px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-2);
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 72px;
}
.hero .wrap > * {
  max-width: 880px;
}
.hero .wrap > .shot-frame {
  max-width: none;
}
.hero-title {
  font: 800 92px/0.92 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.03em;
}
.hero-title .em {
  color: var(--tomato);
  font-style: italic;
  font-weight: 700;
}
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--petrol);
  font-weight: 600;
  font-size: 16px;
}
.hero-sub {
  font-size: 20px;
  color: var(--ink-2);
  margin: 14px 0 0;
  max-width: 36em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.hero-demo-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--petrol);
  font-weight: 600;
  text-decoration: none;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 15px;
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-note svg {
  color: var(--mustard);
}

/* ---------- app screenshot ---------- */
.shot-frame {
  position: relative;
  margin-top: 56px;
}
.shot-frame::before {
  content: '';
  position: absolute;
  right: -28px;
  top: -34px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--mustard);
}
.shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0d1117;
  box-shadow: 0 30px 60px -20px rgba(51, 35, 26, 0.45);
}
.shot-bar {
  display: none;
}
.shot-body img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
dialog.zoom {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1600px);
  max-height: 94vh;
}
dialog.zoom::backdrop {
  background: rgba(30, 20, 14, 0.82);
}
dialog.zoom img {
  display: block;
  max-width: 100%;
  max-height: 94vh;
  border-radius: 12px;
  cursor: zoom-out;
}

/* ---------- sections ---------- */
.sec {
  padding: 96px 0;
  position: relative;
  overflow-x: clip; /* the screenshot's sun circle must not widen the page on phones */
}
.sec-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: block;
  font: italic 600 22px/1.2 var(--serif);
  font-variation-settings: var(--soft);
  color: var(--tomato-text);
  margin-bottom: 8px;
}
.sec-title {
  font: 700 52px/1 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.02em;
}
.sec-lead {
  font-size: 19px;
  color: var(--ink-2);
  margin: 16px 0 0;
}
.sec-head.center .sec-lead {
  margin-left: auto;
  margin-right: auto;
}
/* The retro stripe: under the hero and above the closing call to action. */
#pilire::before,
.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(var(--mustard) 0 33%, var(--tomato) 33% 66%, var(--ink) 66%);
}
#pilire {
  padding-top: 96px !important;
}

/* ---------- cards: pillars, steps ---------- */
.pillars,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pillar,
.step {
  background: var(--card);
  border-radius: var(--r);
  padding: 26px;
}
.pico {
  display: none;
}
.pillar h3,
.step h3 {
  font: 700 20px/1.25 var(--sans);
  margin-bottom: 8px;
}
.pillar p {
  margin: 0;
  color: var(--ink-2);
}
#jak .step {
  background: var(--paper);
}
.steps {
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
}
.step-n {
  counter-increment: step;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font: 800 27px/1 var(--serif);
  font-variation-settings: var(--soft);
  margin-bottom: 16px;
}
.step-n::before {
  content: counter(step);
}
.step:nth-child(2) .step-n {
  background: var(--tomato-text);
}
.step:nth-child(3) .step-n {
  background: var(--mustard);
  color: var(--ink);
}
.step p {
  margin: 0 0 20px;
  color: var(--ink-2);
}
.step-visual {
  margin-top: auto;
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  min-height: 110px;
  display: grid;
  place-items: center;
}
.file-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
.file-chip svg {
  color: var(--tomato-text);
}
.drop-zone {
  width: 100%;
  border: 2px dashed var(--mustard);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  font-weight: 600;
}
.mini-cats {
  width: 100%;
  display: grid;
  gap: 10px;
}
.mini-cat {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
}
.sw {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--paper-2) !important;
}
.track {
  height: 8px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}
.fill {
  display: block;
  height: 100%;
  border-radius: 99px;
}
.amt {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- Majetek block (homepage #majetek) ---------- */
#majetek {
  background: var(--petrol);
  color: var(--paper);
}
#majetek .eyebrow {
  color: var(--sun-on-petrol);
}
#majetek .sec-lead,
#majetek .pillar p,
#majetek p[style] {
  color: var(--petrol-ink) !important;
}
#majetek .pillar {
  background: rgba(255, 255, 255, 0.08);
}
#majetek .btn-ghost {
  color: var(--paper);
}
#majetek .hero-cta {
  justify-content: center;
}

/* ---------- features: a quiet two-column list, not a card grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}
.feat {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.fico {
  display: none;
}
.feat h3 {
  font: 700 22px/1.2 var(--serif);
  font-variation-settings: var(--soft);
  margin-bottom: 6px;
}
.feat p {
  margin: 0;
  color: var(--ink-2);
}
.feat .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
a.feat:hover h3 {
  color: var(--tomato-text);
}

/* ---------- trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.trust-list {
  display: grid;
  gap: 18px;
}
.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: var(--card);
  border-radius: var(--r);
  padding: 24px;
}
.ci {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--paper);
  display: grid;
  place-items: center;
}
.trust-item h3 {
  font: 700 19px/1.3 var(--sans);
  margin-bottom: 6px;
}
.trust-item p {
  margin: 0;
  color: var(--ink-2);
}

/* "Proč věřit": the container is plain paper, the items carry the cards. */
.trust {
  position: relative;
}
.lang-sep {
  color: var(--ink-3);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.faq {
  border-bottom: 2px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 18px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--tomato-text);
  font: 700 24px/1 var(--sans);
  transition: transform 0.2s;
}
.faq[open] summary::after {
  transform: rotate(45deg);
}
.ans {
  padding: 0 0 20px;
  color: var(--ink-2);
  max-width: 46em;
}

/* ---------- closing call to action ---------- */
.cta-band {
  position: relative;
  padding: 110px 0 96px;
  text-align: center;
}
.cta-band > .wrap {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px;
  padding: 80px 40px;
}
.cta-band > .wrap::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--tomato);
}
.cta-band > .wrap > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font: 800 58px/1 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.02em;
}
.cta-band p {
  color: #e6d3b9;
  font-size: 19px;
  max-width: 34em;
  margin: 18px auto 0;
}
.cta-band .btn-ghost {
  color: var(--paper);
}
.cta-band .hero-demo-link,
#majetek .hero-demo-link {
  color: var(--sun-on-petrol);
}
.cta-band .hero-cta {
  justify-content: center;
}

/* ---------- footer ---------- */
.ft {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--ink-3);
  font-size: 14px;
}
.ft-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ft-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ft-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ft-links a {
  color: var(--ink-3);
  text-decoration: none;
}
.ft-links a:hover {
  color: var(--ink);
}

/* ---------- pricing ---------- */
.pricing-sec {
  padding-top: 24px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--ink);
  color: var(--paper);
}
.tier-name {
  margin: 0;
  font: 700 26px/1.1 var(--serif);
  font-variation-settings: var(--soft);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 2px;
  font: 800 56px/1 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.02em;
}
.price-amount .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* One primary action per screen: on pricing that is Plus; Free gets an outline. */
.price-card:not(.featured) .btn-primary {
  background: none;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.price-amount .unit {
  letter-spacing: 0;
  font: 500 17px var(--sans);
  opacity: 0.8;
}
.price-note {
  font-size: 14px;
  color: var(--ink-3);
  margin: 4px 0 24px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  color: var(--ink-2);
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.price-features li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--petrol);
}
.price-card .btn {
  width: 100%;
}
.price-fine {
  margin: 0 0 12px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}
.price-card.featured .price-features,
.price-card.featured .price-fine,
.price-card.featured .price-note {
  color: var(--petrol-ink);
}
.price-card.featured .price-features li svg {
  color: var(--sun-on-petrol);
}
.price-card.featured .tier-name {
  color: var(--sun-on-petrol);
}
.status {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
.price-card.featured .status {
  color: var(--petrol-ink);
}
/* Empty status must not push the Plus CTA off the line shared with Free's CTA. */
.status:empty {
  display: none;
}
.status.is-error {
  color: var(--tomato-text);
}
.price-card.featured .status.is-error {
  color: #ffb3a1;
}

/* ---------- Majetek landing ---------- */
/* .sec-narrow sits on .wrap: the block keeps the page's left edge, only the text measure is capped. */
.sec-narrow .sec-title {
  margin-bottom: 18px;
}
.sec-narrow > p,
.sec-narrow > .sec-title,
.kinds-chips {
  max-width: 760px;
}
.sec-narrow p {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.kinds-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.kinds-chips > * {
  background: var(--card);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------- guides and legal reading template ---------- */
.legal {
  padding: 72px 0 96px;
}
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal h1 {
  font: 800 56px/1 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.legal-perex {
  font-size: 20px;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.effective {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.legal-body h2 {
  font: 700 30px/1.15 var(--serif);
  font-variation-settings: var(--soft);
  margin: 44px 0 12px;
}
.legal-body h3 {
  font: 700 19px/1.3 var(--sans);
  margin: 28px 0 8px;
}
.legal-body p,
.legal-body li {
  color: var(--ink-2);
}
.legal-body p {
  margin: 0 0 16px;
}
.legal-body ul,
.legal-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.legal-body li {
  margin-bottom: 10px;
}
.legal-body li:last-child {
  margin-bottom: 0;
}
.legal-body strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-body a {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a.btn {
  text-decoration: none;
}
.legal-body a.btn-primary {
  color: #fff6ea;
}
.legal-body a.btn-ghost {
  color: var(--ink);
  text-decoration: underline;
}
.legal-body ol li::marker {
  color: var(--tomato-text);
  font-weight: 700;
}
.legal-body table {
  border-collapse: collapse;
  width: 100%;
}
.legal-body th,
.legal-body td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
}
.legal-body img {
  border-radius: 12px;
}
.note-box {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--ink-2);
}
.legal-body .note-box {
  margin: 0 0 16px;
}
.note-box strong {
  color: var(--ink);
}
.cta-box {
  background: var(--card);
  border-radius: var(--r);
  padding: 28px;
  margin-top: 48px;
  text-align: center;
}
.cta-box p {
  margin: 0 0 18px;
  color: var(--ink);
  font: 700 22px/1.25 var(--serif);
  font-variation-settings: var(--soft);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.guide-card {
  display: block;
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}
.legal-body a.guide-card {
  color: inherit;
  text-decoration: none;
}
.guide-card:hover {
  box-shadow: 0 0 0 2px var(--mustard);
}
.guide-card-name {
  display: block;
  font: 700 22px/1.2 var(--serif);
  font-variation-settings: var(--soft);
  color: var(--ink);
}
.guide-card-formats {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 6px;
}
@media (max-width: 640px) {
  .legal {
    padding: 48px 0 72px;
  }
  .legal h1 {
    font-size: 40px;
  }
  .legal-wrap {
    padding: 0 18px;
  }
}

/* ---------- 404 and claim ---------- */
main:has(> .code) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
main:has(> .code) h1 {
  font: 800 40px/1.1 var(--serif);
  font-variation-settings: var(--soft);
  margin: 0 0 14px;
}
main:has(> .code) p {
  color: var(--ink-2);
  margin: 0 auto 10px;
  max-width: 46ch;
}
main:has(> .code) a:not(.btn) {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.code {
  font: 800 120px/1 var(--serif);
  font-variation-settings: var(--soft);
  color: var(--tomato);
}
main:has(> .code) p.code {
  color: var(--tomato);
  margin: 0;
  max-width: none;
}
.links .btn:not(.btn-primary):not(.btn-ghost) {
  background: var(--tomato-text);
  color: #fff6ea;
  box-shadow: 0 4px 0 var(--tomato-dark);
}
.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
main:has(> .code) p.en {
  color: var(--ink-3);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 15px;
}

.claim {
  padding: 72px 0 96px;
}
.claim-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.claim-wrap h1 {
  font: 800 44px/1.05 var(--serif);
  font-variation-settings: var(--soft);
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.claim .lede {
  margin: 0 0 32px;
  color: var(--ink-2);
  font-size: 18px;
}
.claim .field {
  margin-bottom: 20px;
}
.claim .field label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 7px;
}
.claim .field input {
  width: 100%;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
.claim .field input:focus {
  outline: 2px solid var(--petrol);
  outline-offset: 1px;
}
.claim .field input::placeholder {
  color: var(--ink-3);
}
.claim .hint {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.claim .form-error {
  margin: 4px 0 20px;
  font-size: 15px;
  color: var(--tomato-text);
  min-height: 20px;
}
.claim .btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.claim .result-card {
  margin-top: 4px;
  padding: 28px;
  background: var(--card);
  border-radius: var(--r);
}
.claim .result-card h2 {
  font: 700 28px/1.15 var(--serif);
  font-variation-settings: var(--soft);
  margin: 0 0 4px;
}
.claim .result-sub {
  margin: 0 0 20px;
  color: var(--ink-2);
}
.claim .key-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.claim .key-box code {
  flex: 1 1 260px;
  min-width: 0;
  word-break: break-all;
  font: 14px/1.6 var(--mono);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
.claim .copy-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.claim .copy-wrap .btn-ghost {
  padding: 10px 4px;
}
.claim .copy-status {
  font-size: 14px;
  color: var(--petrol);
  min-width: 90px;
}
.claim .steps {
  display: block;
  margin: 0;
  padding-left: 24px;
  color: var(--ink-2);
}
.claim .steps li {
  margin-bottom: 8px;
}
.claim .steps li::marker {
  color: var(--tomato-text);
  font-weight: 700;
}
.claim .steps strong {
  color: var(--ink);
}
.claim .result-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.claim a.link {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .claim {
    padding: 48px 0 72px;
  }
  .claim-wrap {
    padding: 0 18px;
  }
  .claim-wrap h1 {
    font-size: 34px;
  }
  .code {
    font-size: 88px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pillars,
  .steps,
  .features,
  .trust-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    max-width: 480px;
  }
  .hero-title {
    font-size: 64px;
  }
  .sec-title {
    font-size: 40px;
  }
}
@media (max-width: 640px) {
  .price-card {
    padding: 28px 22px;
  }
  .price-amount {
    font-size: 44px;
    flex-wrap: wrap;
  }
  .wrap {
    padding: 0 16px;
  }
  .nav-inner {
    height: 64px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--paper);
    box-shadow: 0 12px 24px -12px rgba(51, 35, 26, 0.3);
  }
  .nav-links.open {
    display: flex;
  }
  .nl {
    padding: 12px 0;
    font-size: 17px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links .lang-switch {
    padding: 12px 0 4px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    width: 100%;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-cta {
    gap: 6px;
  }
  .nav-cta .btn-sm {
    white-space: nowrap;
    font-size: 14px;
    padding: 9px 14px;
  }
  .hero {
    padding: 40px 0 56px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero-sub {
    font-size: 18px;
  }
  .sec {
    padding: 64px 0;
  }
  .sec-title {
    font-size: 36px;
  }
  .shot-frame::before {
    width: 90px;
    height: 90px;
    right: -10px;
    top: -20px;
  }
  .cta-band > .wrap {
    border-radius: 28px;
    padding: 56px 22px;
  }
  .cta-band h2 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Headings break into balanced lines instead of leaving one word alone. */
.hero-title,
.sec-title,
.cta-band h2,
.legal h1 {
  text-wrap: balance;
}
@media (max-width: 640px) {
  /* Keep the closing block's tomato circle clear of the links. */
  .cta-band > .wrap {
    margin: 0 16px;
  }
  .cta-band > .wrap::after {
    width: 110px;
    height: 110px;
    left: -55px;
    bottom: -55px;
  }
}
