/* 100moments.app – one stylesheet, no framework. Colors follow the app's two themes
   ("Bright sky" light, "Starry night" dark). Theme: system preference, overridable via [data-theme]. */

@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("fonts/patrickhand-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-600i.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
/* Fredoka has no glyphs for parts of Polish, Czech and Turkish; those pages use Nunito for headings. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  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"; src: url("fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  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 {
  --font-head: "Fredoka", ui-rounded, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Patrick Hand", "Fredoka", cursive;
  --font-quote: "Fraunces", Georgia, serif;

  --bg: #F3F7FE;
  --bg-alt: #E8F0FC;
  --sky-1: #C9DFFF;
  --sky-2: #E6F0FF;
  --surface: #FFFFFF;
  --text: #13294B;
  --text-2: #3E5375;
  --muted: #55688A;
  --border: #DCE6F5;
  --link: #2F55D4;
  --hand: #E04A2E;
  --accent: #F4A93C;
  --accent-edge: #B8701F;
  --on-accent: #3A2208;
  --green: #178A4A;
  --polaroid: #FFFFFF;
  --peg: #D9A35A;
  --string: #C9A36B;
  --bezel: #16273F;
  --shadow: 0 1px 2px rgba(30, 60, 120, .06), 0 10px 30px rgba(30, 60, 120, .10);
  --shadow-phone: 0 30px 60px -20px rgba(19, 41, 75, .35);
  --panel-1: #13294B;
  --panel-2: #1F3A78;
  --on-panel: #FBF4E6;
  --radius: 22px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1626; --bg-alt: #111D33; --sky-1: #1A2D4C; --sky-2: #0D1626; --surface: #16253F;
    --text: #FBF4E6; --text-2: #C7D6E8; --muted: #A9BCD4; --border: rgba(255, 255, 255, .10);
    --link: #FFC14D; --hand: #FF7A59; --polaroid: #FBF4E6; --bezel: #050A14;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .35);
    --shadow-phone: 0 30px 60px -20px rgba(0, 0, 0, .7);
    --panel-1: #1F3456; --panel-2: #2A2466;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1626; --bg-alt: #111D33; --sky-1: #1A2D4C; --sky-2: #0D1626; --surface: #16253F;
  --text: #FBF4E6; --text-2: #C7D6E8; --muted: #A9BCD4; --border: rgba(255, 255, 255, .10);
  --link: #FFC14D; --hand: #FF7A59; --polaroid: #FBF4E6; --bezel: #050A14;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .35);
  --shadow-phone: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --panel-1: #1F3456; --panel-2: #2A2466;
  color-scheme: dark;
}

:lang(pl), :lang(cs), :lang(tr) { --font-head: "Nunito", ui-rounded, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
:lang(pl) :is(h1, h2, h3), :lang(cs) :is(h1, h2, h3), :lang(tr) :is(h1, h2, h3) { font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 38em; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--sky-2) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.15rem/1 var(--font-head); }
.brand img { border-radius: 8px; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font: 500 1rem var(--font-head); }
.nav a:hover { color: var(--text); }
@media (min-width: 960px) { .nav { display: flex; } }
.tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 960px) { .tools { margin-left: 8px; } }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border-radius: 12px; color: var(--text-2); font: 500 .95rem var(--font-head); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .theme-toggle:hover { background: var(--bg-alt); }
.lang summary span { display: none; }
@media (min-width: 560px) { .lang summary span { display: inline; } }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); columns: 2; column-gap: 4px; width: 300px; }
.lang li a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: .95rem; }
.lang li a:hover { background: var(--bg-alt); }
.lang a[aria-current] { font-weight: 700; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--text-2); cursor: pointer; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 55%, var(--bg)); padding: 40px 0 24px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 56px; } .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.hero h1 em { font-style: normal; color: var(--hand); }
.store-note { color: var(--muted); font-size: .95rem; margin-top: 12px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 14px; border-radius: 16px; background: var(--text); color: var(--bg); text-decoration: none; font: 600 1.2rem/1.1 var(--font-head); }
.store .icon { width: 26px; height: 26px; }
.store small { display: block; font: 500 .74rem/1.2 var(--font-head); opacity: .8; }
a.store:hover { transform: translateY(-1px); }
.store.is-soon { background: transparent; color: var(--text); border: 1.5px dashed var(--muted); }
.stores.on-panel .store { background: var(--accent); color: var(--on-accent); box-shadow: 0 3px 0 var(--accent-edge); }
.stores.on-panel .store.is-soon { background: transparent; color: var(--on-panel); border-color: rgba(251, 244, 230, .55); box-shadow: none; }
.stores.small { margin-top: 14px; }
.stores.small .store { min-height: 48px; font-size: 1.05rem; }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 8px 0 12px; container-type: inline-size; }
.phone { margin: 0; flex: none; width: min(50cqi, 290px); border-radius: 40px; padding: 8px; background: var(--bezel); box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, .08); position: relative; }
.phone-screen { border-radius: 32px; overflow: hidden; aspect-ratio: 393 / 852; background: var(--sky-2); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-home { z-index: 2; }
.phone-all, .phone-celebrate { width: min(41cqi, 238px); margin-bottom: 22px; opacity: .97; }
.phone-all { margin-right: -16%; transform: rotate(-4deg); }
.phone-celebrate { margin-left: -16%; transform: rotate(4deg); }
@media (prefers-reduced-motion: no-preference) {
  .phones .phone { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .phones .phone-all { animation-delay: .12s; --r: -4deg; }
  .phones .phone-celebrate { animation-delay: .2s; --r: 4deg; }
  @keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
}

/* Sections */
.section { padding: 64px 0; }
.section.tight { padding-top: 8px; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-alt); }
.section + .section:not(.section-alt):has(.panel) { padding-top: 0; }
.section-head { margin-bottom: 36px; }
.section-head.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Clothesline with polaroids */
.line { position: relative; margin: 0 0 44px; }
.string { position: absolute; left: -16px; right: -16px; top: 0; width: calc(100% + 32px); height: 46px; fill: none; stroke: var(--string); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.polaroids { list-style: none; margin: 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.polaroid { position: relative; background: var(--polaroid); padding: 7px 7px 0; border-radius: 4px; box-shadow: 0 10px 22px -10px rgba(10, 25, 50, .45); }
.polaroid img { aspect-ratio: 6 / 5; width: 100%; object-fit: cover; border-radius: 2px; }
.polaroid span { display: block; padding: 6px 2px 9px; font: 400 clamp(.95rem, 2.4vw, 1.35rem)/1.15 var(--font-hand); color: #16273F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 12px; height: 26px; margin-left: -6px; border-radius: 3px; background: var(--peg); box-shadow: inset 0 -9px 0 -6px #9E6E2A; z-index: 1; }
.polaroid.p0 { rotate: -2.5deg; translate: 0 2px; }
.polaroid.p1 { rotate: 1.8deg; translate: 0 14px; }
.polaroid.p2 { rotate: -1.2deg; translate: 0 10px; }
.polaroid.p3 { rotate: 2.4deg; translate: 0 -2px; display: none; }
@media (min-width: 720px) { .polaroids { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 18px 4% 0; } .polaroid.p3 { display: block; } .polaroid.p2 { translate: 0 16px; } .polaroid { padding: 9px 9px 0; } }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px 24px 20px; }
.feature-icon { width: 30px; height: 30px; color: var(--hand); margin-bottom: 14px; }
.feature p { color: var(--text-2); margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 840px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 16px; background: var(--accent); color: var(--on-accent); box-shadow: 0 3px 0 var(--accent-edge); font: 600 1.6rem/1 var(--font-head); }
.step p { color: var(--text-2); margin: 0; }

.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 840px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review { padding: 26px 24px 20px; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 16px; flex: 1; }
.review blockquote p { font: italic 600 1.22rem/1.4 var(--font-quote); margin: 0; }
.review .who { color: var(--muted); margin: 0; font-size: .95rem; }

.privacy-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.checks .icon { color: var(--green); width: 22px; height: 22px; margin-top: 2px; }
:root[data-theme="dark"] .checks .icon { color: #5BD08F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .checks .icon { color: #5BD08F; } }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.12rem/1.35 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; transition: rotate .2s; }
.faq details[open] summary::after { rotate: -135deg; margin-top: -2px; }
.faq details p { color: var(--text-2); margin: 0 0 20px; }

.articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .articles { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1040px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article-card a { display: block; height: 100%; padding: 24px; color: inherit; text-decoration: none; }
.article-card h3 { color: var(--text); }
.article-card a:hover h3 { color: var(--link); }
.article-card p { color: var(--text-2); }
.meta { color: var(--muted); font-size: .92rem; margin: 0; }

.panel { border-radius: 28px; padding: 48px 24px; text-align: center; color: var(--on-panel); background: radial-gradient(120% 140% at 85% -10%, rgba(244, 169, 60, .28), transparent 55%), linear-gradient(135deg, var(--panel-1), var(--panel-2)); }
.panel h2 { color: var(--on-panel); }
.panel p { color: rgba(251, 244, 230, .82); max-width: 34em; margin: 0 auto; }
.panel .stores { justify-content: center; }
@media (min-width: 960px) { .panel { padding: 72px 48px; } }

/* Articles and legal pages */
.page-head { padding-bottom: 24px; }
.article { padding: 40px 0 72px; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.article .meta { margin-bottom: 32px; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--text-2); }
.prose .table { overflow-x: auto; margin: 0 0 1.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--font-head); font-weight: 600; }
.legal .prose h2 { font-size: 1.35rem; }
.other-lang { margin: 0 0 16px; font-size: .95rem; }
.cta-box { display: flex; gap: 18px; align-items: flex-start; margin: 2em 0; padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.cta-box img { border-radius: 14px; flex: none; }
.cta-title { font: 600 1.25rem/1.25 var(--font-head); margin: 0 0 6px; }
.cta-box p { margin: 0; }
.lang-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--text-2); font-size: .95rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.footer-top p { margin: 0; color: var(--muted); }
.footer-cols { display: grid; gap: 28px; }
@media (min-width: 840px) { .footer-cols { grid-template-columns: 1fr 1.6fr; } }
.footer-links, .footer-langs { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: var(--text-2); }
.footer-label { font: 600 1rem var(--font-head); color: var(--text); margin-bottom: 8px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-langs a[aria-current] { font-weight: 700; color: var(--text); }
.fine { margin: 32px 0 0; color: var(--muted); font-size: .88rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 719px) {
  .phone { width: 56cqi; border-radius: 30px; padding: 6px; }
  .phone-screen { border-radius: 25px; }
  .phone-all, .phone-celebrate { width: 45cqi; margin-bottom: 16px; }
  .feature, .review { padding: 22px 20px 18px; }
}
