/* Chromia website – home page and blog (plain HTML).
   Colours are the app's "Rose" theme. */
/* Inter, kept on our own site (no wait for Google Fonts): one variable
   file per alphabet covers every weight; text shows straight away in the
   system font and switches to Inter when it's loaded. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin.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: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --pink: #FF7979;        /* app header / buttons */
  --pink-dark: #E85D5D;   /* button hover */
  --accent: #B51919;      /* strong text accents */
  --pink-mid: #FFB8B8;
  --pink-soft: #FFE2E2;
  --pink-light: #FFF1F1;  /* page background */
  --white: #FFFFFF;
  --ink: #2B1E1E;
  --ink-2: #5E4B4B;
  --ink-3: #8C7A7A;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(181, 25, 25, 0.10), 0 2px 6px rgba(181, 25, 25, 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--pink-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

/* Two languages in one page: only the chosen one shows. */
html.lang-ro .en, html.lang-ro .es,
html.lang-en .ro, html.lang-en .es,
html.lang-es .ro, html.lang-es .en { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------ top bar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 241, 241, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 184, 184, 0.5);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; color: var(--pink); }
.brand img { width: 38px; height: 38px; }
.brand img.wordmark { width: auto; height: 30px; } /* the new logo: oval + name in one */
/* "Beta" next to the name: small filled pink pill, raised */
.brand .beta { font-style: normal; font-size: 9.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); background: var(--pink); border-radius: 6px; padding: 2px 6px; line-height: 1.3;
  align-self: flex-start; margin: -2px 0 0 -6px; }
footer .brand .beta { font-size: 8.5px; padding: 1px 5px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--pink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-links + .nav-right { margin-left: 8px; }

/* Language drop-down (like the app's "🌐 RO ▾"). */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 800; color: var(--pink);
  background: var(--white); border: 1.5px solid var(--pink-mid); border-radius: 999px;
  padding: 6px 6px 6px 10px;
}
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--pink); }
.lang-btn svg { fill: currentColor; }
.lang-btn .globe { width: 16px; height: 16px; }
.lang-btn .caret { width: 20px; height: 20px; margin-left: -2px; transition: transform .15s ease; }
.lang.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; z-index: 60;
  background: var(--pink-light); border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 30px rgba(43, 30, 30, 0.16), 0 2px 6px rgba(43, 30, 30, 0.08);
  display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: transparent; border: 0; border-radius: 8px; padding: 9px 10px;
}
.lang-menu button:hover { background: var(--pink-soft); }
.lang-menu .check { width: 18px; height: 18px; fill: var(--pink); visibility: hidden; }
html.lang-ro .lang-menu [data-lang="ro"], html.lang-en .lang-menu [data-lang="en"], html.lang-es .lang-menu [data-lang="es"] { font-weight: 800; }
html.lang-ro .lang-menu [data-lang="ro"] .check, html.lang-en .lang-menu [data-lang="en"] .check, html.lang-es .lang-menu [data-lang="es"] .check { visibility: visible; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 800; font-size: 16px;
  padding: 14px 24px; border-radius: 14px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 8px 20px rgba(255, 121, 121, 0.35); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-ghost { background: var(--white); color: var(--pink); border-color: var(--pink-mid); }
.btn-ghost:hover { border-color: var(--pink); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.account svg.user { width: 17px; height: 17px; fill: currentColor; flex: none; }
.account .label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, var(--pink-soft) 0%, rgba(255, 226, 226, 0) 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--white); border: 1.5px solid var(--pink-mid);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin: 20px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .small { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero .small a { color: var(--pink); font-weight: 700; }
.hero .small.download { margin-top: 6px; }

/* Phone drawn in CSS: a peek at the day view. */
.phone {
  justify-self: center; width: 300px; max-width: 100%;
  background: var(--pink-light); border: 10px solid #2B1E1E; border-radius: 42px; /* the phone stays black, also in dark mode */
  box-shadow: 0 30px 60px rgba(43, 30, 30, 0.22); overflow: hidden; position: relative;
  transform: rotate(2.5deg);
}
.phone .slides { display: flex; transition: transform .8s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.phone .slides.instant { transition: none; }
.phone img { width: 100%; flex: none; height: auto; display: block; }
.phone .bar { background: var(--pink); color: var(--white); padding: 34px 18px 16px; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.phone .bar span { font-size: 12px; font-weight: 600; opacity: .9; }
.phone .day { padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.appt { background: var(--white); border-radius: 12px; padding: 10px 12px 10px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 2px 8px rgba(181, 25, 25, 0.08); position: relative; }
.appt::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--c, var(--pink)); }
.appt .t { font-weight: 800; font-size: 13px; color: var(--accent); min-width: 40px; }
.appt .s { min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.25; }
.appt .s small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.appt .dots { margin-left: auto; display: flex; gap: 3px; }
.appt .dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.appt.now { outline: 2px solid var(--pink); }
.timer { margin: 4px 12px 0; background: var(--white); border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 8px rgba(181, 25, 25, 0.08); }
.ring { width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--pink) 0 68%, var(--pink-soft) 68% 100%); display: grid; place-items: center; flex: none; }
.ring b { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 11px; color: var(--accent); }
.timer .s { font-size: 12.5px; font-weight: 700; }
.timer .s small { display: block; color: var(--ink-3); font-weight: 500; }

/* ------------------------------------------------------------ sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 14px 0 0; }
.kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }

.features { background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--pink-light); border-radius: var(--radius); padding: 26px;
  border: 1.5px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--pink-mid); transform: translateY(-2px); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: grid; place-items: center;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.icon i {
  width: 26px; height: 26px; background: var(--pink);
  -webkit-mask: var(--img) center / contain no-repeat; mask: var(--img) center / contain no-repeat;
}
.card h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { color: var(--ink-2); margin: 8px 0 0; font-size: 15.5px; }
.pro { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--white); background: var(--accent); padding: 3px 8px; border-radius: 999px; }
/* Under the cards: everything Chromia Pro adds. */
.pro-box {
  margin-top: 28px; padding: 30px 32px 26px; border-radius: var(--radius);
  background: var(--pink-light); border: 1.5px solid var(--pink-mid);
}
.pro-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.pro-box-head h3 { font-size: 24px; font-weight: 900; color: var(--accent); margin: 0; }
.pro-price { margin: 0; color: var(--ink-2); font-size: 15px; }
.pro-price strong { font-size: 20px; font-weight: 900; color: var(--ink); }
.pro-lead { margin: 6px 0 16px; color: var(--ink-2); font-size: 15.5px; }
.pro-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.pro-list li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.pro-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink); color: #FFFFFF; font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.pro-list strong { color: var(--ink); font-weight: 800; }
.pro-box .beta-pro { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; }
@media (max-width: 640px) {
  .pro-box { padding: 22px 20px 20px; }
  .pro-list { grid-template-columns: 1fr; }
}

.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin-bottom: 18px; }
.about p { color: var(--ink-2); font-size: 17px; margin: 0 0 14px; }
.pillars { display: flex; flex-direction: column; gap: 14px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; }
.pillar .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--pink-soft); color: var(--accent); font-weight: 900; display: grid; place-items: center; }
.pillar h3 { font-size: 17px; font-weight: 800; }
.pillar p { font-size: 15px; margin: 4px 0 0; }

.blog { background: var(--white); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Carousels (home page blog + FAQ): --per cards visible, arrows, dots. */
.carousel { --per: 4; position: relative; }
.carousel.per-3 { --per: 3; }
.car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 8px 0 22px; margin: -8px 0 -22px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { flex: 0 0 calc((100% - (var(--per) - 1) * 20px) / var(--per)); scroll-snap-align: start; min-width: 0; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--pink-mid); background: var(--white); color: var(--pink); font-size: 30px; line-height: 1;
  padding: 0 0 4px; cursor: pointer; box-shadow: 0 4px 14px rgba(181, 25, 25, 0.12); transition: opacity .15s ease, background .15s ease, transform .15s ease; }
.car-btn:hover:not([disabled]) { background: var(--pink); color: var(--white); border-color: var(--pink); }
.car-btn:active:not([disabled]) { transform: translateY(-50%) scale(.94); }
.car-btn[disabled] { opacity: .3; cursor: default; }
.car-btn.prev { left: -62px; }
.car-btn.next { right: -62px; }
.carousel.single .car-btn { display: none; }
/* Not enough room beside the cards: the arrows sit on their edges. */
@media (max-width: 1260px) { .car-btn.prev { left: -14px; } .car-btn.next { right: -14px; } }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; min-height: 8px; }
.car-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-mid); cursor: pointer; transition: width .2s ease, background .2s ease; }
.car-dots i.on { width: 22px; border-radius: 4px; background: var(--pink); }

/* Home page FAQ: the blog's open / close list, 3 per carousel page. */
.carousel.per-1 { --per: 1; }
.carousel.per-1 .car-track { align-items: flex-start; }
.faq.home { max-width: 820px; margin: 0 auto; }
.faq-page details:last-child { margin-bottom: 0; }
.post-card { background: var(--white); border: 1.5px solid var(--pink-mid); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(181, 25, 25, 0.06); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pink); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-bottom: 1px solid var(--pink-soft); }
.post-card .body { padding: 18px 20px 22px; }
.post-card time { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.post-card h3 { font-size: 18px; font-weight: 800; margin-top: 6px; }
.post-card p { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; }
.empty {
  text-align: center; padding: 44px 24px; border: 2px dashed var(--pink-mid); border-radius: var(--radius);
  color: var(--ink-2); background: var(--pink-light);
}
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.more { text-align: center; margin-top: 30px; }
.more a { color: var(--pink); font-weight: 800; text-decoration: none; }
.more a:hover { text-decoration: underline; }

.cta-band { padding: 72px 0; }
.cta-box {
  background: var(--pink); color: var(--white); border-radius: 28px; padding: 52px 32px; text-align: center;
  box-shadow: 0 20px 50px rgba(255, 121, 121, 0.35);
}
.cta-box h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; }
.cta-box p { margin: 12px 0 26px; font-size: 17px; opacity: .95; }
.cta-box .btn-primary { background: var(--white); color: var(--pink); box-shadow: none; }
.cta-box .btn-primary:hover { background: var(--pink-light); }

/* ------------------------------------------------------------ footer */
footer { padding: 64px 0 72px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .foot-mid { display: flex; flex-direction: column; align-items: center; gap: 18px; }
footer .socials { display: flex; justify-content: center; gap: 14px; }
footer .socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-soft); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
footer .socials a svg { width: 20px; height: 20px; fill: var(--pink); transition: fill .2s; }
footer .socials a:hover { background: var(--pink); transform: translateY(-2px); }
footer .socials a:hover svg { fill: #fff; }
footer a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
footer a:hover { color: var(--pink); }
footer .brand { font-size: 17px; }
footer .brand img { width: 28px; height: 28px; }
footer .brand img.wordmark { width: auto; height: 24px; }

/* ------------------------------------------------------------ blog pages */
.page-head { padding: 56px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; }
.page-head p { color: var(--ink-2); font-size: 17px; margin: 12px auto 0; max-width: 36em; }
.blog-list { padding: 40px 0 80px; }

.article { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }
.article .back { color: var(--pink); font-weight: 700; text-decoration: none; font-size: 15px; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; margin: 18px 0 10px; }
.article time { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.article .cover { border-radius: var(--radius); margin: 26px 0 8px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .content { font-size: 18px; line-height: 1.7; color: var(--ink); }
.article .content h2 { font-size: 26px; font-weight: 800; margin: 18px 0 8px; }
.article .content p { margin: 0 0 6px; }
.content .gap { height: 0.9em; }
.article .content ul, .article .content ol { padding-left: 24px; margin: 0 0 6px; }
.article .content ol li::marker { font-weight: 800; color: var(--pink); }
.article .content li { margin: 6px 0; }
.article .content blockquote { margin: 4px 0 8px; padding: 14px 20px; background: var(--white); border-left: 4px solid var(--pink); border-radius: 0 12px 12px 0; color: var(--ink-2); }

/* ------------------------------------------------------------ blog (made by functions/blog.js) */
.blog-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 18px; margin-bottom: 8px; scrollbar-width: none; }
.blog-tabs::-webkit-scrollbar { display: none; }
.blog-tabs .tab {
  flex: none; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink-2);
  background: var(--white); border: 1.5px solid var(--pink-mid); border-radius: 999px; padding: 8px 14px;
}
.blog-tabs .tab:hover { border-color: var(--pink); color: var(--pink); }
.blog-tabs .tab.on { background: var(--pink); border-color: var(--pink); color: var(--white); }
.post-cat { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-right: 8px; }
.post-card-blank { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--pink-soft), var(--pink-mid)); }
.blog-list.related { padding-top: 0; }
.blog-list.related h2 { font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.article .content figure { margin: 10px 0; }
.article .content figure img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; }
.article .content figcaption { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.article .content a { color: var(--pink); font-weight: 600; }
.content .muted { color: var(--ink-3); }
.content .inline-quote { font-style: italic; font-weight: 600; color: var(--accent); background: var(--pink-soft); padding: 0 .3em; border-radius: 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.content img.inline-img { display: inline-block; height: 1.6em; width: auto; max-width: none; vertical-align: middle; margin: 0 .15em; border-radius: 4px; }
.health-note { margin-top: 32px; padding: 12px 16px; border-radius: 12px; background: var(--white); color: var(--ink-3); font-size: 14px; }
/* Contact page */
.contact-page { padding: 80px 0 90px; }
.contact-page h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin: 6px 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: 22px; justify-content: center; }
.contact-card { background: var(--white); border: 1.5px solid var(--pink-mid); border-radius: var(--radius); padding: 30px 28px;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 2px 10px rgba(181, 25, 25, 0.06); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pink); }
.contact-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--pink-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-icon svg { width: 28px; height: 28px; fill: var(--pink); }
.contact-card h2 { font-size: 22px; font-weight: 900; margin: 0 0 4px; }
.contact-card .contact-value { font-weight: 800; color: var(--accent); margin: 0 0 8px; word-break: break-all; }
.contact-card p { color: var(--ink-2); margin: 0 0 20px; }
.contact-card .btn { margin-top: auto; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 420px); } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } .contact-page { padding: 50px 0 60px; } }

/* "Surse / Sources" at the end of a post */
.article .sources { margin-top: 34px; padding-top: 18px; border-top: 1.5px solid var(--pink-mid); }
.article .sources h2 { font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.article .sources ol { padding-left: 22px; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.article .sources li { margin: 4px 0; word-break: break-word; }
.article .sources li::marker { color: var(--pink); font-weight: 800; }
.article .sources a { color: var(--pink); font-weight: 600; }
.faq { margin: 8px 0 36px; scroll-margin-top: 90px; } /* not hidden under the top bar */
.faq h2 { font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.faq details { background: var(--white); border-radius: 14px; margin-bottom: 10px; padding: 0 18px; border: 1.5px solid var(--pink-mid);
  box-shadow: 0 2px 10px rgba(181, 25, 25, 0.05); transition: border-color .15s ease, box-shadow .15s ease; }
.faq details:hover { border-color: var(--pink); }
.faq details[open] { border-color: var(--pink); box-shadow: var(--shadow); }
.faq .answer ul, .faq .answer ol { padding-left: 22px; margin: 0 0 6px; }
.faq .answer figure { margin: 8px 0; }
.faq .answer figure img { max-width: 100%; border-radius: 12px; }
.faq .answer a { color: var(--pink); font-weight: 600; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 16.5px; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--pink); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.faq .answer p { margin: 0 0 6px; }

/* Phones: ☰ menu (the button and panel are added by site.js). */
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--white);
  box-shadow: 0 0 0 1px var(--pink-mid) inset; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--pink); transition: transform .2s, opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ------------------------------------------------------------ phones & tablets */
@media (max-width: 900px) {
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .phone { width: 260px; transform: none; }
  .grid, .posts { grid-template-columns: 1fr 1fr; }
  .carousel, .carousel.per-3 { --per: 2; }
}
/* Phones and tablets: the top-bar links move into the ☰ menu (they don't
   fit next to the logo and the buttons). */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-right { gap: 8px; }
  .menu-open .mobile-menu { display: block; }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--pink-light);
    border-bottom: 1px solid var(--pink-mid); box-shadow: 0 14px 24px rgba(181, 25, 25, 0.10); }
  .mobile-menu .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto;
    padding-top: 6px; padding-bottom: 12px; }
  .mobile-menu a { text-decoration: none; font-weight: 700; font-size: 17px; color: var(--ink);
    padding: 14px 4px; border-bottom: 1px solid var(--pink-soft); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a:active, .mobile-menu a:hover { color: var(--pink); }
  .nav-right, .nav-links + .nav-right { margin-left: auto; } /* stuck to the right */
}
@media (max-width: 640px) {
  .account .label { max-width: 110px; }
  .brand span { display: none; }
  section { padding: 60px 0; }
  .grid, .posts { grid-template-columns: 1fr; }
  .carousel, .carousel.per-3 { --per: 1; }
  .car-btn { width: 38px; height: 38px; font-size: 26px; }
  .car-btn.prev { left: -10px; }
  .car-btn.next { right: -10px; }
  .carousel.per-1 .car-btn { display: none; } /* FAQ on phones: swipe or the dots */
  .cta-row .btn { width: 100%; }
  .card { padding: 22px; }
  footer .wrap { flex-direction: column; text-align: center; }
  footer .links { justify-content: center; }
}
/* Small phones: "Log in" shows just its icon, so the ☰ and BETA fit. */
/* Phones: the account button is just the person icon (a long name pushed
   the language button over the logo). */
@media (max-width: 640px) {
  .nav .account .label { display: none; }
  .nav .account { padding-left: 11px; padding-right: 11px; }
  .nav .brand { flex: none; }
}
@media (max-width: 420px) {
  .nav .account .label { display: none; }
  .nav .account { padding-left: 11px; padding-right: 11px; }
  .nav-right { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .post-card { transition: none; }
}

/* Blog: a picture's source, right under it ("Sursa: …"). */
.content figure .img-source { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); text-align: center; }

/* Blog pictures: a soft, faded pink glow behind each one. */
.article .content figure, .faq .answer figure {
  padding: 18px;
  border-radius: 22px;
  background: radial-gradient(ellipse at center, rgba(255, 121, 121, 0.24) 0%, rgba(255, 184, 184, 0.14) 45%, rgba(255, 241, 241, 0) 78%);
}
@media (max-width: 640px) {
  .article .content figure, .faq .answer figure { padding: 12px; }
}

/* "During the Beta, all PRO features are free" – next to every
   "Create a free account" button. */
.beta-pro {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px; padding: 9px 16px 9px 12px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--pink); border-radius: 999px;
  font-size: 14.5px; font-weight: 600; line-height: 1.35;
  box-shadow: 0 8px 20px rgba(255, 121, 121, 0.22);
}
.beta-pro strong { color: var(--pink); font-weight: 900; letter-spacing: .02em; }
.beta-pro .beta-star {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--pink); color: var(--white); font-size: 13px;
}
/* In the pink box: on its own line, centred, with the button centred under it. */
.cta-box .beta-pro {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 24px;
  border-color: var(--white); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}
@media (max-width: 640px) {
  .beta-pro { font-size: 13.5px; border-radius: 16px; text-align: left; }
}

/* ------------------------------------------------------------ dark mode
   The app's "Dark Rose" theme. Switched with the sun/moon switch in the top
   bar (phones: in the ☰ menu); first visit follows the device's setting. */
html[data-theme="dark"] {
  color-scheme: dark;
  --pink: #FF6B7A;
  --pink-dark: #C2566A;
  --accent: #FF8F9B;
  --pink-mid: #5E3440;
  --pink-soft: #3A232A;
  --pink-light: #1E1417;
  --white: #2B1D21;          /* cards and panels */
  --ink: #F5E8EA;
  --ink-2: #D9C4C8;
  --ink-3: #A88F95;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .nav { background: rgba(30, 20, 23, 0.88); border-bottom-color: rgba(94, 52, 64, 0.7); }
/* Text on the pink buttons and badges stays white. */
html[data-theme="dark"] .brand .beta,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .phone .bar,
html[data-theme="dark"] .pro,
html[data-theme="dark"] .car-btn:hover:not([disabled]),
html[data-theme="dark"] .cta-box,
html[data-theme="dark"] .blog-tabs .tab.on,
html[data-theme="dark"] .beta-pro .beta-star { color: #FFFFFF; }
html[data-theme="dark"] .cta-box { background: linear-gradient(135deg, #C2566A, #FF6B7A); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
html[data-theme="dark"] .cta-box .btn-primary { background: #1E1417; color: #FF8F9B; }
html[data-theme="dark"] .cta-box .beta-pro { border-color: #1E1417; }
html[data-theme="dark"] .btn-primary { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
html[data-theme="dark"] .content figure, html[data-theme="dark"] .faq .answer figure {
  background: radial-gradient(ellipse at center, rgba(255, 107, 122, 0.22) 0%, rgba(94, 52, 64, 0.25) 45%, rgba(30, 20, 23, 0) 78%);
}
/* The phone frame stays black; a faint light edge keeps it visible on the dark page. */
html[data-theme="dark"] .phone { border-color: #0E0809; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 30px 60px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .hero::before, html[data-theme="dark"] .hero::after { opacity: .5; }

/* The switch: a little pill with a sun (light) / moon (dark) knob. */
.theme-switch {
  flex: none; position: relative; width: 52px; height: 30px; padding: 0; cursor: pointer;
  border-radius: 999px; border: 1.5px solid var(--pink-mid); background: var(--pink-soft);
  transition: background .2s ease, border-color .2s ease;
}
.theme-switch:hover { border-color: var(--pink); }
.theme-switch .knob {
  position: absolute; top: 2px; left: 2px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--white); color: var(--pink); display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); transition: transform .2s ease;
}
.theme-switch svg { width: 15px; height: 15px; fill: currentColor; grid-area: 1 / 1; }
.theme-switch .moon { opacity: 0; }
.theme-switch[aria-checked="true"] { background: var(--pink); border-color: var(--pink); }
.theme-switch[aria-checked="true"] .knob { transform: translateX(22px); background: #1E1417; color: #FFD27A; }
.theme-switch[aria-checked="true"] .sun { opacity: 0; }
.theme-switch[aria-checked="true"] .moon { opacity: 1; }
/* The switch floats in the lower right corner on every screen size. */
.theme-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  padding: 6px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--pink-mid);
  box-shadow: 0 8px 24px rgba(181, 25, 25, 0.18);
}
html[data-theme="dark"] .theme-float { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.theme-float .theme-switch { display: block; }
@media (max-width: 640px) {
  .theme-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .theme-float { display: none; } }

/* ------------------------------------------------------------ blog: TikTok videos */
.tt-video { max-width: 330px; margin: 18px auto; }
.tt-facade, .tt-frame { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius); }
.tt-frame { background: #000; aspect-ratio: auto; height: 740px; }
.tt-open { display: block; margin-top: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--accent); }
.tt-facade { position: relative; cursor: pointer; padding: 0; overflow: hidden; color: #fff; font: inherit; text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(255, 121, 121, .55), rgba(255, 121, 121, 0) 60%), #1E1417; box-shadow: var(--shadow); }
.tt-play { position: absolute; left: 50%; top: 42%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .2s; }
.tt-play::after { content: ''; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.tt-facade:hover .tt-play { transform: scale(1.08); }
.tt-name { position: absolute; left: 0; right: 0; bottom: 64px; font-weight: 800; font-size: 15px; }
.tt-note { position: absolute; left: 16px; right: 16px; bottom: 22px; font-size: 12.5px; opacity: .75; line-height: 1.35; }
