/* muala.pl — typograficzny landing. Bez zewnętrznych fontów i bibliotek. */
:root {
  --paper: #f7f7f0;
  --ink: #242c25;
  --green: #315d42;
  --lime: #deefb7;
  --muted: #6f776b;
  --placeholder: #7e857a;
  --rule: #dce0d4;
  --error: #a0352b;
  --letter-size: clamp(2rem, 4.18vw, 3.875rem);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: progress; }
button, input, textarea { border-radius: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(1224px, calc(100% - 112px)); min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { min-height: 101px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { text-decoration: none; font-size: 32px; font-weight: 700; letter-spacing: -.08em; line-height: 1; }
.wordmark span { color: var(--green); }
.availability { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; letter-spacing: -.015em; border: 1px solid #d3d9ca; border-radius: 999px; padding: 10px 14px; line-height: 1; white-space: nowrap; }
.status-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--green); display: inline-block; flex: 0 0 auto; }
.main-content { flex: 1; padding: 46px 0 42px; }
.letter-meta { display: flex; justify-content: space-between; gap: 24px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 10px; letter-spacing: .09em; color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.letter { max-width: 1140px; }
h1 { font-size: clamp(76px, 8.5vw, 124px); line-height: 1; font-weight: 400; letter-spacing: -.076em; margin: 0 0 19px -6px; }
.hello-punctuation { color: var(--green); }
.hello-spark { color: var(--green); margin-left: 32px; vertical-align: 15%; transform: rotate(12deg); width: .39em; height: .39em; }
.letter-body { font-size: var(--letter-size); line-height: 1.3; font-weight: 400; letter-spacing: -.054em; }
.sentence { margin: 0; }
.domain-sentence { margin-bottom: 1px; }
.domain-name { color: var(--green); position: relative; display: inline-block; font-weight: 500; }
.domain-name svg { position: absolute; left: -.005em; bottom: -.035em; width: 100%; height: .16em; opacity: .7; }
.sentence-period { margin-left: .035em; }
.offer-sentence { display: flex; align-items: baseline; gap: .24em; flex-wrap: wrap; }
.amount-group { display: inline-flex; align-items: baseline; gap: .15em; max-width: 100%; }
.inline-input { background: transparent; color: var(--green); border: 0; border-bottom: 1.5px solid #a1ad98; padding: 0 .08em .015em; font-size: inherit; font-weight: inherit; letter-spacing: -.045em; line-height: 1.18; min-width: 0; caret-color: var(--green); outline: none; transition: background .2s ease, border-color .2s ease; box-shadow: none; }
.inline-input::placeholder { color: var(--placeholder); opacity: 1; }
.inline-input:hover { border-color: var(--green); }
.inline-input:focus { background: #eaf0de; border-bottom-color: var(--green); outline: none; }
.inline-input[aria-invalid="true"] { border-color: var(--error); background: #f8ede6; }
.inline-input:-webkit-autofill { -webkit-text-fill-color: var(--green); -webkit-box-shadow: 0 0 0 1000px var(--paper) inset; }
.amount-input { width: 5.55em; }
.currency { white-space: nowrap; }
.email-sentence { margin-top: 2px; }
.email-line { display: inline-flex; align-items: baseline; gap: .19em; max-width: 100%; }
.email-input { width: 10.2em; }
.extra-message { margin-top: 27px; max-width: 700px; }
.extra-message summary { display: inline-flex; list-style: none; align-items: center; gap: 9px; color: var(--green); font-size: 13px; font-weight: 500; cursor: pointer; padding: 6px 0; }
.extra-message summary::-webkit-details-marker { display: none; }
.extra-message summary:hover { color: var(--ink); }
.plus-icon { width: 11px; height: 11px; display: inline-block; position: relative; }
.plus-icon::before, .plus-icon::after { content: ""; position: absolute; background: currentColor; top: 5px; left: 0; width: 11px; height: 1px; transition: transform .2s ease; }
.plus-icon::after { transform: rotate(90deg); }
.extra-message[open] .plus-icon::after { transform: rotate(0); }
.optional { margin-left: 4px; color: var(--muted); font-size: 11px; font-weight: 400; }
.message-box { padding-top: 13px; }
.message-box label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.message-box textarea { width: 100%; min-height: 110px; max-height: 380px; background: #f0f2e8; border: 1px solid var(--rule); border-radius: 4px; resize: vertical; padding: 16px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.message-box textarea::placeholder { color: var(--muted); }
.message-box textarea:focus { outline: 1px solid var(--green); outline-offset: 0; }
.character-count { display: block; text-align: right; font-size: 10px; color: var(--muted); margin-top: 5px; }
.send-row { display: flex; align-items: center; gap: 25px; margin-top: 24px; }
.send-button { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 5px; min-height: 60px; min-width: 242px; padding: 0 24px; display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; transition: background .2s ease, transform .2s ease; }
.send-button:hover:not(:disabled) { background: var(--green); border-color: var(--green); }
.send-button:active:not(:disabled) { transform: translateY(1px); }
.button-arrow { color: var(--lime); transition: transform .2s ease; flex: 0 0 auto; }
.send-button:hover:not(:disabled) .button-arrow { transform: translateX(4px); }
.send-caption { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }
.data-note { margin: 15px 0 0; font-size: 10px; line-height: 1.7; color: var(--muted); }
.text-button { appearance: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; background: none; font-size: inherit; color: inherit; line-height: 1.25; }
.text-button:hover { color: var(--green); }
.data-note .text-button { margin-left: 4px; }
.form-feedback { border-left: 2px solid var(--error); color: var(--error); padding: 11px 0 11px 14px; font-size: 13px; line-height: 1.6; max-width: 630px; margin-top: 18px; }
.form-feedback a { text-underline-offset: 3px; }
.spinner { width: 18px; height: 18px; border: 2px solid #aeb9a3; border-top-color: var(--paper); border-radius: 50%; display: none; animation: spin .8s linear infinite; }
.send-button.is-loading .spinner { display: inline-block; }
.send-button.is-loading .button-arrow { display: none; }
.noscript-note { color: var(--error); line-height: 1.6; }
.site-footer { border-top: 1px solid var(--rule); padding: 23px 0 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-thought { margin: 0; font-size: 14px; letter-spacing: -.025em; }
.footer-thought > span { color: var(--green); }
.footer-contact { display: flex; align-items: center; gap: 13px; font-size: 11px; }
.footer-contact > span { color: var(--muted); }
.footer-contact a { font-size: 12px; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact a span { margin-left: 3px; color: var(--green); }
.success-panel { padding: 12px 0 40px; }
.success-label { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--green); letter-spacing: .09em; margin: 0 0 28px; }
.success-panel h1 { margin-bottom: 24px; }
.success-headline { font-size: var(--letter-size); line-height: 1.13; letter-spacing: -.06em; margin: 0 0 30px; }
.success-summary { display: flex; gap: 48px; margin: 0 0 24px; flex-wrap: wrap; }
.success-summary dt { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.success-summary dd { font-size: 18px; color: var(--green); margin: 0; overflow-wrap: anywhere; }
.success-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.reset-button { font-size: 13px; margin-top: 14px; color: var(--green); }
.privacy-dialog { padding: 32px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 9px; width: min(560px, calc(100% - 32px)); max-height: 85svh; }
.privacy-dialog::backdrop { background: rgba(23, 36, 25, .36); backdrop-filter: blur(3px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.eyebrow { font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.dialog-close { border: 0; background: transparent; padding: 7px; display: flex; }
.privacy-dialog h2 { font-size: 40px; font-weight: 400; letter-spacing: -.05em; line-height: 1.1; margin: 18px 0 25px; }
.privacy-dialog p { font-size: 13px; line-height: 1.7; color: #525c50; }
.privacy-dialog a { text-underline-offset: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1650px) {
  .main-content { padding-top: 58px; padding-bottom: 54px; }
  .letter-meta { margin-bottom: 32px; }
  .extra-message { margin-top: 36px; }
  .send-row { margin-top: 30px; }
}
@media (max-width: 1100px) {
  .page-shell { width: calc(100% - 80px); }
  .main-content { padding-top: 35px; }
  .site-header { min-height: 90px; }
  .letter-meta { margin-bottom: 28px; }
  .meta-right { font-size: 9px; }
  .amount-input { width: 5.25em; }
}
@media (max-width: 700px) {
  :root { --letter-size: clamp(1.85rem, 5.45vw, 2.7rem); }
  html { scrollbar-gutter: auto; }
  .page-shell { width: calc(100% - 44px); }
  .site-header { min-height: 81px; gap: 12px; }
  .wordmark { font-size: 29px; }
  .availability { font-size: 10px; padding: 9px 11px; gap: 7px; }
  .status-dot { width: 5px; height: 5px; }
  .main-content { padding: 35px 0 37px; }
  .letter-meta { font-size: 8px; letter-spacing: .07em; margin-bottom: 28px; }
  .meta-right { display: none; }
  h1 { font-size: clamp(76px, 18vw, 104px); margin: 0 0 28px -4px; letter-spacing: -.07em; }
  .hello-spark { margin-left: 22px; vertical-align: 18%; }
  .letter-body { line-height: 1.42; letter-spacing: -.054em; }
  .domain-sentence { margin-bottom: 14px; }
  .offer-sentence { display: block; margin-bottom: 14px; }
  .offer-sentence > span:first-child { display: block; }
  .amount-input { width: 6.35em; }
  .amount-group { gap: .18em; }
  .email-input { width: 9.6em; }
  .inline-input { line-height: 1.25; padding-left: .04em; padding-right: .04em; }
  .email-line { gap: .15em; display: flex; width: 100%; }
  .email-input { flex: 1; }
  .extra-message { margin-top: 23px; }
  .extra-message summary { font-size: 12px; }
  .optional { font-size: 10px; }
  .send-row { margin-top: 24px; gap: 16px; align-items: center; }
  .send-button { min-width: 209px; min-height: 56px; font-size: 13px; padding: 0 18px; gap: 20px; }
  .send-caption { font-size: 10px; }
  .data-note { font-size: 9px; max-width: 310px; line-height: 1.7; margin-top: 15px; }
  .site-footer { padding: 22px 0 25px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-thought { font-size: 12px; }
  .footer-contact { font-size: 10px; }
  .footer-contact a { font-size: 11px; }
  .privacy-dialog { padding: 23px; }
  .privacy-dialog h2 { font-size: 34px; }
  .success-summary { gap: 22px; flex-direction: column; }
}
@media (max-width: 359px) {
  .page-shell { width: calc(100% - 36px); }
  :root { --letter-size: 1.72rem; }
  .availability { font-size: 9px; }
  .send-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .send-caption br { display: none; }
  .send-caption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Bez JavaScript pozostaje dostępny bezpośredni kontakt w stopce. */
.send-button:disabled:not(.is-loading) { opacity: .55; cursor: default; }
