/* Homepage only (index.html). Fonts, the language switch and the beta/launched
   copy rules come from site.css, which loads first; the invite and get pages
   keep site.css alone. */

:root {
  --ink: #111827;
  --ink-soft: #374151;
  --muted-ink: #4b5563;
  --rose: #be185d;
  --rose-dark: #9d174d;
  --rose-tint: #fdf2f8;
  --rose-line: #fbcfe8;
  --hairline: rgba(15, 23, 42, 0.08);
  --hairline-strong: rgba(15, 23, 42, 0.14);
  --card: rgba(255, 255, 255, 0.86);
  --display: "Newsreader", Georgia, serif;
}

.home {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
}

.home img { height: auto; }

.home a { color: var(--rose); }
.home a:hover { color: var(--rose-dark); }

.home-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* Navigation */
.home-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgba(250, 247, 251, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.home-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 14px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
}

.home-brand img { width: 36px; height: 36px; border-radius: 10px; }

.home-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  flex-grow: 1;
  font-size: 15px;
  font-weight: 500;
}

.home-nav__links a { color: var(--ink-soft); text-decoration: none; }
.home-nav__links a:hover { color: var(--rose); }

.home-nav__actions { display: flex; align-items: center; gap: 12px; }

.home-lang {
  display: flex;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.home-lang button {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  font: 600 13px "Inter", sans-serif;
  color: var(--muted-ink);
  cursor: pointer;
}

.home-lang button.is-active { background: var(--ink); color: #fff; }

/* Buttons */
.home-btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
}

.home-btn--dark { background: var(--ink); color: #fff !important; }
.home-btn--light { background: #fff; color: var(--ink) !important; border-color: var(--hairline-strong); }
.home-btn--rose { background: var(--rose); color: #fff !important; padding: 11px 20px; border-radius: 999px; font-size: 15px; }
.home-btn:hover { filter: brightness(0.94); }

/* Shared type */
.home-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.home-h2 {
  margin: 0 0 32px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

.home-section { padding-block: 56px; }

/* Hero */
.home-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-block: 72px 56px;
}

.home-hero__copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-hero__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted-ink);
  max-width: 520px;
}

.home-row { display: flex; flex-wrap: wrap; gap: 12px; }

.home-chip {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.home-hero__phones {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 12px;
}

.home-hero__phones img {
  width: 30%;
  max-width: 210px;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  margin-bottom: 10px;
}

.home-hero__phones img:nth-child(1) { transform: rotate(-6deg) translateX(18%); }
.home-hero__phones img:nth-child(3) { transform: rotate(6deg) translateX(-18%); }
.home-hero__phones img:nth-child(2) {
  width: 36%;
  max-width: 240px;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* Steps */
.home-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.home-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-card h3 { margin: 0; font-size: 21px; }
.home-card p, .home-trust p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted-ink); }

.home-step__no { font-family: var(--display); font-size: 40px; color: var(--rose); line-height: 1; }

/* Looks */
.home-looks__lead { margin: -20px 0 32px; font-size: 18px; color: var(--muted-ink); max-width: 640px; }

.home-looks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 24px 28px;
}

.home-looks figure {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.home-looks img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.home-looks figcaption { font-weight: 600; font-size: 15px; }

/* Audiences */
.home-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.home-panel {
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-panel h3 { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 600; }
.home-panel p { margin: 0; font-size: 16px; line-height: 1.6; }

.home-panel--dark { background: var(--ink); color: #f9fafb; }
.home-panel--dark .home-kicker { color: #f9a8d4; }
.home-panel--dark p { color: #d1d5db; }
.home-panel--rose { background: var(--rose-tint); border: 1px solid var(--rose-line); }
.home-panel--rose p { color: var(--muted-ink); }
.home-panel--rose .home-kicker, .home-brands .home-kicker { color: var(--rose); }

/* Trust */
.home-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.home-trust > div { display: flex; flex-direction: column; gap: 8px; }
.home-trust h3 { margin: 0; font-size: 18px; }

/* Brands */
.home-brands {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.home-brands > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.home-brands h3 { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 600; }
.home-brands p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted-ink); }

/* FAQ */
.home-faq { max-width: 900px; }
.home-faq__list { display: flex; flex-direction: column; gap: 10px; }

.home-faq details {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px 22px;
}

.home-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; color: var(--rose); font-weight: 700; }
.home-faq details[open] summary::after { content: "\2212"; }
.home-faq details p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted-ink); }

/* Download */
.home-download {
  background: var(--rose);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.home-download > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.home-download h2 { margin: 0; font-family: var(--display); font-size: clamp(34px, 5vw, 46px); font-weight: 600; line-height: 1.05; }
.home-download p { margin: 0; font-size: 18px; color: #fce7f3; }
.home-download .home-btn--light { border-color: transparent; }

/* Footer */
.home-footer { border-top: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.6); }

.home-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  padding-block: 40px;
  font-size: 15px;
}

.home-footer__cols > div { display: flex; flex-direction: column; gap: 8px; }
.home-footer__cols strong { font-weight: 700; }
.home-footer__cols a { color: var(--ink-soft); text-decoration: none; }
.home-footer__cols a:hover { color: var(--rose); }
.home-footer__brand { font-family: var(--display); font-size: 22px; font-weight: 600; }
.home-footer__note { margin: 0; padding: 0 24px 32px; text-align: center; font-size: 13px; color: var(--muted-ink); }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .home-hero__phones img { transform: none !important; }
}

.home-narrow { display: none; }

@media (max-width: 640px) {
  /* One row on a phone: logo, language switch, a short download button. */
  .home-nav__inner { flex-wrap: nowrap; gap: 8px; padding-inline: 16px; }
  .home-nav__links { display: none; }
  .home-nav__actions { margin-left: auto; gap: 8px; }
  .home-brand { font-size: 20px; gap: 8px; }
  .home-brand img { width: 30px; height: 30px; border-radius: 8px; }
  .home-lang button { padding: 7px 9px; font-size: 12px; }
  .home-btn--rose { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
  .home-wide { display: none; }
  .home-narrow { display: inline; }
  .home-hero { padding-block: 40px 32px; }
  .home-panel, .home-brands, .home-download { padding: 28px; }
}
