/* On a Break Studio – landing page */
:root {
  --coral: #F26B5B;
  --coral-dark: #D9435A;
  --peach: #FF9A62;
  --cream: #FFF8F1;
  --cream-2: #FDEEE3;
  --cup: #FFFBF5;
  --ink: #5A1F2B;       /* wine from the logo wordmark */
  --ink-soft: #7C5560;
  --line: #F1D9CC;
  --white: #FFFFFF;
  --mint: #CDEBDD;
  --lilac: #E5DDF6;
  --butter: #FFE9B0;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(90, 31, 43, .08);
  --shadow-lg: 0 24px 60px rgba(217, 67, 90, .18);

  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--coral-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 7vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: .75em; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--peach), var(--coral-dark)); color: var(--white); box-shadow: var(--shadow-lg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 241, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-icon { border-radius: 28%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-sub { font-size: .625rem; letter-spacing: .38em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--coral-dark); }
.lang-switch { display: flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { font: 700 .8125rem var(--font-body); border: 0; background: transparent; color: var(--ink-soft); padding: 6px 12px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* Hero */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero h1 .accent { background: linear-gradient(120deg, var(--peach), var(--coral-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 280px; order: -1; }
.hero-icon { position: relative; width: min(220px, 60vw); height: auto; border-radius: 28%; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-1 { width: 260px; height: 260px; background: var(--butter); top: 0; left: 50%; transform: translateX(-80%); opacity: .7; }
.blob-2 { width: 200px; height: 200px; background: var(--cream-2); bottom: 0; left: 50%; transform: translateX(-5%); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* Sections */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--ink-soft); }

.about { background: var(--white); border-radius: 40px 40px 0 0; }
.about .lead { color: var(--ink); }
.about p:not(.lead):not(.eyebrow) { color: var(--ink-soft); }

/* Apps */
.apps { background: var(--white); padding-top: 24px; }
.app-grid { display: grid; gap: 20px; }
.app-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-shot { aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 3.5rem; background: linear-gradient(160deg, var(--cream-2), var(--butter)); }
.app-card:nth-child(2) .app-shot { background: linear-gradient(160deg, var(--mint), var(--cream-2)); }
.app-card--soon .app-shot { background: linear-gradient(160deg, var(--lilac), var(--cream-2)); }
.app-body { padding: 0 22px 24px; position: relative; display: flex; flex-direction: column; flex: 1; }
.app-icon { width: 64px; height: 64px; margin-top: -32px; margin-bottom: 14px; border-radius: 18px; display: grid; place-items: center; font: 800 1.5rem var(--font-head); color: var(--white); box-shadow: var(--shadow); border: 3px solid var(--cream); }
.app-icon--1 { background: linear-gradient(135deg, var(--peach), var(--coral-dark)); }
.app-icon--2 { background: linear-gradient(135deg, #6CC3A0, #2F8F7A); }
.app-icon--3 { background: linear-gradient(135deg, #B9A6EE, #7C64C8); }
.app-body p { color: var(--ink-soft); flex: 1; }
.store-links { display: flex; flex-wrap: wrap; gap: 8px; }
.store-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; font-size: .875rem; }
.store-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.text-link { font-weight: 700; text-decoration: none; }

/* Why */
.why-grid { display: grid; gap: 20px; }
.why-item { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.why-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--cream-2); display: grid; place-items: center; font-size: 1.75rem; margin-bottom: 16px; }
.why-item p { color: var(--ink-soft); margin: 0; }

/* Reviews */
.reviews { background: var(--cream-2); }
.review-grid { display: grid; gap: 20px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--peach); letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 1.125rem; }
.review figcaption { color: var(--ink-soft); font-weight: 700; font-size: .9375rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 0; text-align: center; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font: 800 clamp(1.75rem, 6vw, 2.5rem) var(--font-head); color: var(--coral-dark); }
.stats dt { color: var(--ink-soft); font-size: .875rem; }

/* Newsletter */
.newsletter-card { background: linear-gradient(140deg, var(--peach), var(--coral-dark)); color: var(--white); border-radius: 32px; padding: 40px 24px; text-align: center; box-shadow: var(--shadow-lg); }
.newsletter-card p { opacity: .95; }
.news-form { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin: 24px auto 0; }
.news-form input { min-height: 52px; border-radius: 999px; border: 0; padding: 0 22px; font: 600 1rem var(--font-body); color: var(--ink); }
.news-form .btn-primary { background: var(--ink); box-shadow: none; }
.form-msg { min-height: 1.6em; margin: 12px 0 0; font-weight: 700; }

/* Contact */
.contact p { color: var(--ink-soft); }
.contact-mail { display: inline-block; font: 800 clamp(1.25rem, 5vw, 2rem) var(--font-head); color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 6px; margin: 8px 0 24px; word-break: break-word; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; }
.socials a:hover { border-color: var(--coral); }

/* Footer */
.site-footer { background: var(--ink); color: #F6E3E6; padding: 40px 0; }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #F6E3E6; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.copyright { margin: 0; font-size: .875rem; opacity: .75; }

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { font-size: 1.375rem; margin-top: 1.75em; }
.legal .note { background: var(--butter); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; }

/* Tablet+ */
@media (min-width: 720px) {
  .container { padding: 0 32px; }
  .app-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .news-form { flex-direction: row; }
  .news-form input { flex: 1; }
  .newsletter-card { padding: 56px 48px; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .nav { display: flex; margin-right: 16px; }
  .hero { padding: 72px 0 96px; }
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .hero-art { order: 0; min-height: 420px; }
  .hero-icon { width: 300px; }
  .blob-1 { width: 380px; height: 380px; }
  .blob-2 { width: 280px; height: 280px; }
  .section { padding: 104px 0; }
}

/* Language-specific blocks (legal pages) */
html[lang="pl"] [data-only="en"],
html[lang="en"] [data-only="pl"] { display: none; }
