/* Wygląd „Ciepły dom” (t-5): krem, terakota, szałwia; Fraunces + Nunito (OFL, hostowane u nas, bez zapytań do Google). */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2-variations"); 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: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-opsz-normal.woff2) format("woff2-variations"); 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: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(/fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations"); 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: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(/fonts/nunito-latin-wght-normal.woff2) format("woff2-variations"); 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; }

:root {
  --bg: #fff8ef;
  --bg-tint: #fcefe0;
  --surface: #ffffff;
  --text: #33241c;
  --muted: #6f5a4a;
  --line: #f0dcc6;
  --accent: #b84520;
  --accent-hover: #9c3a18;
  --on-accent: #ffffff;
  --soft: #fde0cf;
  --ok: #2f6b4a;
  --error: #b3261e;
  --phone: #3a2a22;
  --phone-screen: #fffaf3;
  --sos: #b12f24;
  --sos-ink: #b12f24;
  --sage: #dcebd8;
  --honey: #f3b94a;
  --rose: #e98f86;
  --glow: #ffd6ba;
  --shadow: rgba(120, 60, 20, .16);
  --radius: 22px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1712;
    --bg-tint: #291e17;
    --surface: #30241c;
    --text: #f6ebe1;
    --muted: #c9b5a5;
    --line: #47372c;
    --accent: #ee8259;
    --accent-hover: #f59a76;
    --on-accent: #1f1712;
    --soft: #4a2b1d;
    --ok: #86c79d;
    --error: #ff8a80;
    --phone: #0f0b09;
    --phone-screen: #291e17;
    --sos: #ef6a5e;
    --sos-ink: #ff8b7f;
    --sage: #24342a;
    --honey: #d9a23c;
    --rose: #d07a72;
    --glow: #4a2a1a;
    --shadow: rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; } /* t-13: przyklejony .top (65 px) nie zasłania kotwic ani potwierdzenia zapisu */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); line-height: 1.1; letter-spacing: -.015em; }
h2 { letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.section h2::after {
  content: ""; display: block; width: 76px; height: 12px; margin-top: 12px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 12'><path d='M2 7c6-5 11-5 17 0s11 5 17 0 11-5 17 0 11 5 17 0' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat;
          mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 12'><path d='M2 7c6-5 11-5 17 0s11 5 17 0 11-5 17 0 11 5 17 0' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat;
}

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.logo:hover { color: var(--text); }
.logo__mark { width: 32px; height: 32px; }
.top__nav { display: flex; align-items: center; gap: 22px; }
.top__link { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.top__link:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: 999px; padding: 16px 28px;
  font: 700 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -10px var(--accent); transition: background .15s;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--small { padding: 10px 18px; font-size: .95rem; }
.btn--block { display: block; width: 100%; }

/* hero */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(55% 75% at 88% 45%, var(--glow) 0%, transparent 70%),
    radial-gradient(35% 45% at 0% 0%, var(--sage) 0%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; background: var(--sage); color: var(--ok); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin-bottom: .75em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero__cta { margin-top: 28px; }
.note { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* phone mockup */
.phone {
  justify-self: center; width: 300px; max-width: 100%;
  background: var(--phone); border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px -22px var(--shadow);
}
.phone__screen { background: var(--phone-screen); border-radius: 30px; padding: 22px 16px 16px; min-height: 400px; display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.4; max-width: 88%; }
.bubble--me { align-self: flex-end; background: var(--soft); border-bottom-right-radius: 4px; }
.bubble--ai { align-self: flex-start; background: var(--sage); border-bottom-left-radius: 4px; }
.bubble__voice { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.bubble__voice svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.phone__buttons { margin-top: auto; display: grid; gap: 10px; }
.pbtn { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 18px; padding: 14px; font-weight: 600; text-align: center; font-size: 1rem; }
.pbtn svg { width: 26px; height: 26px; fill: currentColor; }
.pbtn--talk { background: var(--accent); color: var(--on-accent); padding: 22px; font-size: 1.2rem; }
.pbtn--call { background: var(--soft); color: var(--text); }
.pbtn--sos { background: var(--sos); color: #fff; }
.pbtn--small { padding: 12px; font-size: .95rem; margin-top: 4px; }

/* hero scene: parent in Poland, you abroad */
.scene { position: relative; isolation: isolate; justify-self: center; width: 100%; max-width: 450px; padding-bottom: 120px; }
.scene::before {
  content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; left: -90px; top: 90px;
  background: var(--sage); border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
}
.scene .phone { margin: 0; justify-self: auto; width: 290px; }
.scene__place { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--soft); flex-shrink: 0; }
.dot--you { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.notif { position: absolute; right: 0; bottom: 0; width: 300px; }
.scene__place--you { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.notif__card {
  background: var(--surface); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 22px 44px -18px var(--shadow);
}
.notif__card--flat { box-shadow: 0 10px 24px -16px var(--shadow); }
.notif__head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .88rem; }
.notif__icon { width: 20px; height: 20px; }
.notif__tag { margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sos-ink); background: color-mix(in srgb, var(--sos) 12%, transparent); padding: 2px 8px; border-radius: 999px; }
.notif__text { margin: 0; font-size: .92rem; line-height: 1.45; }

.phone__label { margin: 0; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.brief { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .88rem; line-height: 1.4; }
.brief li { display: flex; gap: 10px; align-items: flex-start; }
.brief b { font-weight: 600; }
.brief__icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--bg-tint); color: var(--muted); }
.brief__icon--ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.brief__icon--warn { background: color-mix(in srgb, var(--sos) 16%, transparent); color: var(--sos-ink); }

/* pains */
.sub { color: var(--muted); font-size: 1.1rem; margin-top: -.2em; }
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.pain { background: var(--surface); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 22px; box-shadow: 0 14px 30px -20px var(--shadow); }
.pain:nth-child(2) { border-top-color: var(--ok); }
.pain:nth-child(3) { border-top-color: var(--honey); }
.pain:nth-child(4) { border-top-color: var(--rose); }
.pain h3 { font-size: 1.12rem; }
.pain p { color: var(--muted); margin: 0; font-size: 1rem; }

/* a week with the product */
.week { display: grid; gap: 22px; margin-top: 32px; }
.week__row {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px 28px; align-items: start;
  background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: 0 18px 40px -26px var(--shadow);
}
.week__when { grid-column: 1 / -1; margin: 0; font-size: .95rem; color: var(--muted); }
.week__when b { color: var(--text); font-family: var(--serif); font-size: 1.15rem; margin-right: 6px; }
.week__talk { display: flex; flex-direction: column; gap: 10px; }
.week__talk .bubble { font-size: 1rem; max-width: 92%; }
.week__talk--note p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.week__you { display: grid; gap: 12px; justify-items: start; background: var(--bg); border-radius: var(--radius); padding: 16px 18px; }
.week__you > .notif__card { width: 100%; }
.week__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.week__quiet { margin: 0; font-size: 1rem; }
.tag { display: inline-block; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tag--ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.tag--warn { color: var(--sos-ink); background: color-mix(in srgb, var(--sos) 12%, transparent); }
.week__row--summary { background: var(--sage); }
.week__row--summary .week__you { padding: 0; border: 0; background: none; }
.summary { width: 100%; background: var(--phone-screen); border-radius: 22px; padding: 20px 18px; display: grid; gap: 12px; box-shadow: 0 22px 44px -18px var(--shadow); }
.summary__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 0; text-align: center; }
.summary .bubble { max-width: 100%; }

/* sections */
.section { padding: 72px 0; }
.section--tint { background: var(--bg-tint); }
.section--signup { background: linear-gradient(180deg, var(--soft), var(--bg)); }
.big { font-size: 1.25rem; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 600 1.2rem var(--serif); margin-bottom: 14px; }
.steps p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 14px 30px -22px var(--shadow); }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
.feature--accent { background: var(--soft); box-shadow: none; }
.feature--wide { grid-column: 1 / -1; }

/* autonomy levels (t-9): trust ramp 1-3 */
.section--sage { background: var(--sage); }
.levels { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.level { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 14px 30px -22px var(--shadow); }
.level h3 { margin: 0; }
.level > p { margin: 0; color: var(--muted); font-size: 1rem; }
.level .bubble, .level .notif__card { margin-top: auto; max-width: 100%; }
.level .bubble--ai { background: var(--bg-tint); }
.level .notif__card { background: var(--bg); }
.level__meter { display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.level__meter i { width: 10px; border-radius: 3px; background: var(--line); }
.level__meter i:nth-child(1) { height: 10px; }
.level__meter i:nth-child(2) { height: 18px; }
.level__meter i:nth-child(3) { height: 26px; }
.level__meter i.on { background: var(--accent); }
p.level__os { margin: -2px 0 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.levels__os { margin: 14px 0 0; font-size: .95rem; color: var(--muted); max-width: 46em; }
p.level__n { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.levels__more { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.setup, .always { border-radius: var(--radius); padding: 22px; }
.setup { background: var(--phone-screen); box-shadow: 0 14px 30px -22px var(--shadow); display: grid; gap: 12px; }
.setup .phone__label { text-align: left; }
.setup__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.setup__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.setup__list li:last-child { border-bottom: 0; }
.setup__lvl { font-size: .85rem; font-weight: 700; padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-tint); color: var(--muted); white-space: nowrap; }
.setup__lvl--2, .setup__lvl--3 { border-color: transparent; }
.setup__lvl--2 { background: var(--soft); color: var(--text); }
.setup__lvl--3 { background: var(--accent); color: var(--on-accent); }
.setup__note { margin: 0; font-size: .92rem; color: var(--muted); }
.always { background: var(--surface); border-left: 6px solid var(--sos); box-shadow: 0 14px 30px -22px var(--shadow); }
.always h3 { margin-bottom: .4em; }
.always p { margin: 0 0 .5em; color: var(--muted); font-size: 1rem; }
.always__list { margin: 0; padding-left: 1.2em; font-weight: 600; }
.always__list li::marker { color: var(--sos); }

/* form */
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; margin-top: 28px; box-shadow: 0 20px 44px -26px var(--shadow); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-weight: 600; padding: 0; margin-bottom: 4px; }
.field__hint { font-size: .88rem; color: var(--muted); }
input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px;
}
input[type="email"]:focus, textarea:focus { border-color: var(--accent); outline: none; }
.choice { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.choice input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.choice--consent { font-size: .92rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: var(--error); font-weight: 600; margin: 0; }
.form__ok { color: var(--ok); font-weight: 700; font-size: 1.2rem; margin: 0 0 .3em; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; cursor: pointer; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--soft); color: var(--accent); font: 600 1.3rem/1 var(--sans); transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: .92rem; color: var(--muted); }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* legal page */
.legal { padding: 48px 16px 72px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal li { margin-bottom: .4em; }

@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 56px 0; }
  .card { padding: 20px; }
  .pains { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .levels, .levels__more { grid-template-columns: 1fr; }
  .week__row { grid-template-columns: 1fr; padding: 20px; border-radius: 24px; }
}

@media (max-width: 600px) {
  .top__link { display: none; }
  .pains { grid-template-columns: 1fr; gap: 12px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .scene { padding-bottom: 0; max-width: 340px; }
  .scene::before { width: 280px; height: 280px; left: -40px; top: 60px; }
  .scene .phone { width: 270px; }
  .phone__screen { min-height: 0; }
  .notif { position: relative; width: auto; margin: -48px 0 0 24px; }
}
