/* Fonts are hosted with the site (no requests to Google) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/raleway-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/raleway-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/raleway-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/raleway-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/raleway-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/raleway-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #f6f2ea;
  --card: #fffdf9;
  --ink: #1f1b16;
  --muted: #6b6257;
  --line: #e2d9cb;
  --accent: #8a6a3b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--accent); }
.wrap { max-width: 600px; margin: 0 auto; padding: 24px 16px 56px; }
.wrap.wide { max-width: 760px; }

/* Header */
header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 8px; }
.brand { display: block; line-height: 0; }
.brand img { height: 84px; width: auto; display: block; }
@media (max-width: 480px) { .brand img { height: 64px; } }
/* Landing: flags on top, big centred logo */
.wrap:not(.legal) header { flex-direction: column; align-items: center; gap: 28px; padding-top: 4px; }
.wrap:not(.legal) .langs { align-self: flex-end; }
.wrap:not(.legal) .brand img { height: 150px; }
@media (max-width: 480px) { .wrap:not(.legal) .brand img { height: 120px; } }
.langs { display: flex; gap: 8px; flex-shrink: 0; }
.langs button {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit; font-size: 13px; color: var(--muted);
  cursor: pointer;
}
.langs button img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.langs button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); background: var(--card); }

/* Language visibility */
[data-lang] { display: none; }
html[lang="pl"] [data-lang="pl"],
html[lang="en"] [data-lang="en"] { display: revert; }

/* Landing */
.hero { padding: 44px 0 8px; }
h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1.08;
  margin: 0 0 20px;
}
.hero p { margin: 0 0 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  margin-top: 36px;
}
.form-fallback { padding: 24px 16px; color: var(--muted); font-size: 14px; text-align: center; }

/* Footer */
footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
footer a { color: var(--muted); }
footer .sep { margin: 0 6px; }

/* Legal pages */
.legal h1 { font-size: clamp(30px, 7vw, 40px); margin-top: 40px; }
.legal h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 32px 0 10px;
}
.legal p, .legal li { font-size: 15px; }
.legal ol, .legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .meta { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--card); font-weight: 500; }

/* ===== Newsletter form (MailerLite HTML embed, styled to match the site) ===== */
.ts-form { padding: 28px 24px 24px; }
@media (max-width: 480px) { .ts-form { padding: 22px 16px 18px; } }
.ts-intro h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 8vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
  text-align: center;
}
.ts-intro p { margin: 0 0 12px; font-size: 16px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.ts-intro .ts-sign, .ts-success p { text-align: right; }
.ts-intro .ts-sign { text-align: right; margin-top: 16px; color: var(--muted); }
.ts-intro .ts-sign em { color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-style: italic; }
.ts-success p { text-align: center !important; }

.ml-block-form { margin-top: 26px; }
.ml-form-fieldRow { margin: 0 0 10px; }
.ml-block-form input[type="text"],
.ml-block-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .15s;
}
.ml-block-form input:focus { border-color: var(--accent); }
.ml-block-form input::placeholder { color: #9a8f82; }

.ts-note { margin: 22px 0 12px; font-size: 15px; color: var(--muted); text-align: center; }

/* custom checkbox */
.ts-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 0 0 12px; position: relative; }
.ts-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ts-box {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px;
  border: 1px solid var(--line); border-radius: 5px; background: #fff;
  position: relative; transition: background .15s, border-color .15s;
}
.ts-check input:checked + .ts-box { background: var(--accent); border-color: var(--accent); }
.ts-check input:checked + .ts-box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ts-check input:focus-visible + .ts-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.ts-check .label-description { font-size: 16px; line-height: 1.5; }
.ts-consent .label-description { font-size: 13px; color: var(--muted); }
.ts-consent .label-description a { color: var(--muted); }
.ts-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ml-form-checkboxRow { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ts-legal { font-size: 12px; color: var(--muted); margin: 0 0 20px 32px; line-height: 1.5; }
.ts-legal a { color: var(--muted); }

.ml-form-embedSubmit button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px;
  font: inherit; font-size: 16px; font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.ml-form-embedSubmit button:hover { background: #74582f; }
.ts-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: ts-spin .9s linear infinite; }
@keyframes ts-spin { to { transform: rotate(360deg); } }

/* validation states set by MailerLite's script */
.ml-error input[type="text"], .ml-error input[type="email"] { border-color: #b3261e !important; }
.ml-error .ts-box { border-color: #b3261e; }
.ml-error .label-description { color: #b3261e; }

/* ===== Photo background ===== */
body {
  background: var(--bg) url(bg-small.jpg) center / cover no-repeat fixed;
}
@media (min-width: 700px) { body { background-image: url(bg.jpg); } }
/* soft cream veil so the form stays readable */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: rgba(246, 242, 234, 0.62);
}
.wrap { position: relative; }
.card { box-shadow: 0 10px 40px rgba(31, 27, 22, 0.12); }
/* legal pages: calmer, more cover */
.legal { background: rgba(255, 253, 249, 0.85); border-radius: 12px; padding-left: 24px; padding-right: 24px; margin-top: 16px; }
/* iOS doesn't do fixed backgrounds well */
@supports (-webkit-touch-callout: none) { body { background-attachment: scroll; } }
.brand img { filter: drop-shadow(0 0 14px rgba(246,242,234,.95)) drop-shadow(0 0 4px rgba(246,242,234,.9)); }
.langs button { background: rgba(255,253,249,.85); }

/* logo inside the card */
.wrap:not(.legal) header { flex-direction: row; justify-content: flex-end; gap: 0; padding-top: 0; }
.ts-logo { display: block; width: 190px; max-width: 70%; height: auto; margin: 4px auto 22px; filter: none; }
.ts-intro h1 { margin-top: 0; }
.card { margin-top: 16px; }
