/* lovly.css — warm bento-grid homepage */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #F9F1F0;
  --card-light: #FADCD9;
  --card-warm: #F8AFA6;
  --card-dark: #1A1A1A;
  --text: #1A1A1A;
  --text-inv: #F9F1F0;
  --text-muted: #6B5E5A;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Layout ─── */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* ─── Bento Grid ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

/* ─── Card Variants ─── */
.card-hero {
  grid-column: span 8;
  grid-row: span 2;
  background: var(--card-dark);
  color: var(--text-inv);
  min-height: 420px;
}

.card-mission {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--card-warm);
  color: var(--text);
  min-height: 420px;
}

.card-app {
  grid-column: span 6;
  background: var(--card-light);
  color: var(--text);
  min-height: 280px;
  cursor: pointer;
}

.card-contact {
  grid-column: span 8;
  background: var(--card-warm);
  color: var(--text);
  min-height: 200px;
}

.card-socials {
  grid-column: span 4;
  background: var(--card-light);
  color: var(--text);
  min-height: 200px;
}

/* ─── Hero ─── */
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-title span {
  display: block;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  opacity: 0.5;
  margin-top: 16px;
  line-height: 1.4;
}

/* ─── Mission ─── */
.mission-icon {
  font-size: 2rem;
  margin-bottom: auto;
}

.mission-text {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
}

.mission-text strong {
  font-weight: 700;
}

/* ─── App Cards ─── */
.app-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.app-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.app-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bento-card:hover .app-arrow {
  transform: translate(3px, -3px);
}

.app-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--bg);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Contact ─── */
.contact-top {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: auto;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.contact-link .app-arrow {
  width: 36px;
  height: 36px;
}

/* ─── Socials / Footer ─── */
.socials-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: auto;
}

.socials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.socials-list a {
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.socials-list a:hover { opacity: 0.6; }

.legal-line {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.legal-line a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .card-hero { grid-column: span 12; min-height: 340px; }
  .card-mission { grid-column: span 12; min-height: auto; }
  .hero-title { font-size: 2.5rem; }
  .card-contact { grid-column: span 12; }
  .card-socials { grid-column: span 12; }
}

@media (max-width: 600px) {
  .page { padding: 12px; }
  .bento { gap: 12px; }
  .bento-card { padding: 28px; }
  .card-app { grid-column: span 12; min-height: 220px; }
  .hero-title { font-size: 2rem; }
  .hero-title span { font-size: 1.15rem; }
  .contact-title { font-size: 1.5rem; }
}
