/* Solei landing page — mirrors the app's "Aperitivo" palette and type
   (app/globals.css). Static site: no build step, no Tailwind. */

:root {
  --cream: #faf6ee;
  --cream-2: #f3ecdd;
  --stone: #e8e0d1;
  --stone-2: #d9cfb8;
  --ink: #1a1714;
  --ink-soft: #4a4239;
  --terracotta: #b34a30;
  --terracotta-soft: #e08e75;
  --amber: #f4a742;
  --amber-soft: #f8c98a;
  --sage: #7a8b6f;
  --sage-soft: #b3c0a7;
  --water: #5d8294;
  --water-soft: #aac1cc;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius-card: 1.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
}

/* Subtle warm wash on the background — lifted from the app */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(244, 167, 66, 0.1), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(201, 90, 63, 0.07), transparent 55%);
}

a {
  color: var(--terracotta);
  text-decoration: none;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-weight: 500;
}

.page {
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}

.mark {
  display: inline-block;
  width: clamp(5.5rem, 16vw, 7.5rem);
  height: clamp(5.5rem, 16vw, 7.5rem);
  filter: drop-shadow(0 12px 28px rgba(225, 129, 42, 0.28));
}

.mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wordmark {
  font-size: clamp(3.25rem, 11vw, 5.5rem);
  line-height: 1;
  margin-top: 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  color: var(--terracotta);
  margin-top: 0.65rem;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.075rem;
  max-width: 32rem;
  margin: 1.1rem auto 0;
  text-wrap: balance;
}

.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber) 0%, #ec9a33 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(236, 154, 51, 0.65);
}

.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 14px 30px -8px rgba(236, 154, 51, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stone-2);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

/* Official-style "Download on the App Store" badge */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  border-radius: 0.85rem;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 24px -10px rgba(26, 23, 20, 0.55);
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-appstore:hover {
  filter: brightness(1.12);
  box-shadow: 0 14px 30px -10px rgba(26, 23, 20, 0.6);
}

.btn-appstore:active {
  transform: translateY(1px) scale(0.99);
}

.appstore-logo {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--cream);
  flex-shrink: 0;
}

.appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.appstore-small {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.appstore-big {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3rem, 8vw, 4.5rem);
}

.feature {
  background: var(--cream-2);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-align: left;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tint-amber {
  background: rgba(244, 167, 66, 0.25);
  box-shadow: inset 0 0 0 1px rgba(244, 167, 66, 0.5);
}
.tint-sage {
  background: rgba(179, 192, 167, 0.4);
  box-shadow: inset 0 0 0 1px rgba(122, 139, 111, 0.4);
}
.tint-water {
  background: rgba(170, 193, 204, 0.45);
  box-shadow: inset 0 0 0 1px rgba(93, 130, 148, 0.4);
}
.tint-terracotta {
  background: rgba(224, 142, 117, 0.3);
  box-shadow: inset 0 0 0 1px rgba(179, 74, 48, 0.4);
}

.feature h2 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  margin-top: clamp(3rem, 8vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
}

.footer-home {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.legal {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.85rem;
}

.legal a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.legal a:hover {
  color: var(--terracotta);
}

.coverage {
  color: var(--ink-soft);
  opacity: 0.75;
  font-size: 0.85rem;
  margin-top: 1.1rem;
}

/* ---------- Entrance motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mark,
.wordmark,
.tagline,
.lede,
.cta,
.feature {
  animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wordmark {
  animation-delay: 0.06s;
}
.tagline {
  animation-delay: 0.12s;
}
.lede {
  animation-delay: 0.18s;
}
.cta {
  animation-delay: 0.24s;
}
.feature:nth-child(1) {
  animation-delay: 0.34s;
}
.feature:nth-child(2) {
  animation-delay: 0.4s;
}
.feature:nth-child(3) {
  animation-delay: 0.46s;
}
.feature:nth-child(4) {
  animation-delay: 0.52s;
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .wordmark,
  .tagline,
  .lede,
  .cta,
  .feature {
    animation: none;
  }
  .btn,
  .btn-appstore {
    transition: none;
  }
}
