:root {
  --berry: #c41e3a;
  --berry-dark: #8e1429;
  --leaf: #3d6b2a;
  --leaf-bright: #5a8f3e;
  --blush: #f7c5d1;
  --cream: #fff7f2;
  --ink: #2a1216;
  --muted: #6b4a50;
  --card: #ffffff;
  --line: rgba(196, 30, 58, 0.14);
  --shadow: 0 18px 50px rgba(142, 20, 41, 0.12);
  --radius: 22px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe4ea 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #e7f3dc 0%, transparent 50%),
    var(--cream);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--berry-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 247, 242, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.2);
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-panel {
  flex: none;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--berry-dark);
  background: rgba(196, 30, 58, 0.08);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: var(--berry-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--berry);
  color: #fff;
  box-shadow: 0 10px 24px rgba(196, 30, 58, 0.28);
}

.btn-primary:hover {
  background: var(--berry-dark);
}

.btn-leaf {
  background: var(--leaf);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--berry-dark);
  border: 1px solid var(--line);
}

.btn-panel {
  background: var(--ink);
  color: #fff;
}

.hero {
  padding: 48px 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--berry-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

h1,
h2,
.legal-article h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 14px 0 12px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-card {
  background: linear-gradient(180deg, #fff, #ffeef2);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: 36px;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 28px 0 8px;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(42, 18, 22, 0.04);
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.store {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.store.is-preferred {
  border-color: var(--berry);
  box-shadow: var(--shadow);
}

.store-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: #111;
  color: #fff;
  flex: none;
}

.store[data-store="ios"] .store-badge {
  background: #1c1c1e;
}

.store[data-store="play"] .store-badge {
  background: #3ddc84;
  color: #083318;
}

.soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--blush);
  color: var(--berry-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 32px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

.social.ig { color: #c13584; }
.social.fb { color: #1877f2; }
.social.wa { color: #128c7e; }

.site-footer {
  margin-top: 40px;
  padding: 28px 0 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.4);
  font-weight: 900;
  font-size: 1.4rem;
}

.legal-page {
  padding: 36px 0 64px;
}

.legal-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-article h2 {
  font-size: 1.25rem;
  margin-top: 1.4em;
}

.delete-form {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.delete-form input,
.delete-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: var(--cream);
}

.delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.form-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

body.legal-open .hero-actions,
body.legal-open .wa-float {
  /* keep float */
}

@media (max-width: 840px) {
  .hero,
  .grid,
  .stores,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .btn-panel {
    margin-left: auto;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }
}
