/* "Bedrag in letters" page (/bedrag-in-letters/, /en/amount-in-words/). Builds on site.css tokens. */
.aw-page [hidden] { display: none !important; }
.aw-page .wrap { padding-inline: clamp(16px, 3vw, 48px); }

.aw-intro { padding-top: 40px; padding-bottom: 28px; }
.aw-intro h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 12px; overflow-wrap: anywhere; }
.aw-intro .lead { max-width: 40em; font-size: clamp(17px, 1.6vw, 20px); }

.aw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 28px; align-items: start; padding-bottom: 64px; }
.aw-form { display: grid; gap: 18px; min-width: 0; }
.aw-example { font-size: 14px; color: var(--muted); }
.aw-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 24px; display: grid; gap: 18px; }
.aw-field { display: grid; gap: 6px; min-width: 0; }
.aw-field label { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.aw-input { display: flex; align-items: center; min-height: 48px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s; }
.aw-input:hover { border-color: #B3B8C3; }
.aw-input:focus-within { border-color: var(--navy); outline: 3px solid var(--ring); outline-offset: 1px; }
.aw-input input { flex: 1 1 0; width: 0; min-width: 0; height: 45px; padding: 0 14px 0 6px; border: 0; background: transparent; color: var(--ink); font: 400 16px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.aw-input input:focus-visible { outline: none; }
.aw-affix { flex: none; padding-left: 14px; color: var(--muted); font-size: 15px; }
.aw-input:has(input[aria-invalid="true"]) { border-color: #b4441f; }
.aw-hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.aw-error { font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--error); }
.aw-error:empty { display: none; }
.aw-reset { justify-self: start; cursor: pointer; font-family: inherit; }

.aw-result { position: sticky; top: 84px; min-width: 0; background: var(--brand-navy); color: #ECEEF4; border-radius: 22px; padding: 22px 26px 20px; box-shadow: var(--shadow); }
.aw-result-heading { font-size: 19px; color: #fff; }
.aw-problem { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }
.aw-line { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.aw-line:first-child { border-top: 0; }
.aw-line h3 { font-size: 14px; font-weight: 600; color: #C3CADA; }
.aw-line .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.aw-words { font: 600 clamp(20px, 2.2vw, 24px)/1.35 Outfit, Inter, sans-serif; color: var(--orange); overflow-wrap: anywhere; word-break: break-word; }
.aw-working { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #DFDCD6; font-variant-numeric: tabular-nums; }
.aw-working span:first-child { color: #C3CADA; }
.aw-status { min-height: 1.4em; margin-top: 4px; font-size: 14px; color: #fff; }
.aw-disclaimer { margin-top: 10px; font-size: 14px; font-weight: 600; color: #fff; }
.aw-checked { margin-top: 4px; font-weight: 400; }
.aw-privacy { margin-top: 4px; font-size: 13px; color: #C3CADA; }

.aw-more { max-width: 820px; display: grid; gap: 56px; padding-bottom: 88px; }
.aw-section h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.aw-section h3 { font-size: 19px; margin: 22px 0 8px; }
.aw-section > p { color: var(--muted); }
.aw-list { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.aw-list a { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.aw-faq details:last-child { margin-bottom: 0; }
.aw-cta { padding-top: 28px; border-top: 1px solid var(--line); text-align: center; font-size: 17px; color: var(--muted); }
.aw-cta a { color: var(--navy); font-weight: 600; }

@media (max-width: 920px) {
  .aw { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 48px; }
  .aw-result { position: static; }
}
@media (max-width: 560px) {
  .aw-intro { padding-top: 28px; }
  .aw-card { padding: 18px 16px 20px; border-radius: 18px; }
  .aw-result { padding: 20px 18px 18px; border-radius: 18px; }
  .aw-more { gap: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-input { transition: none; }
}
.aw-line .btn-primary { background: var(--orange); color: var(--brand-navy); }
