/* Ligaya download page, in the app's own look: its palette (LigayaColors.kt), its font (Outfit, shipped in the app
   as ligaya_sans.ttf), her script, her room backdrop, the five-petal flower and the app's soft white cards. */

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cream: #fbf6f1;
  --cream-deep: #f7ece6;
  --shell: #fffcfa;
  --surface: #ffffff;
  --blush: #f7ebe8;
  --blush-deep: #f0dad6;
  --rose: #c48b8b;
  --berry: #8e3b46;
  --berry-dark: #6f2c36;
  --cocoa: #4a2e2f;
  --ink: #2e1f1d;
  --taupe: #6e5e59;
  --edge: #eadbd5;
  --online: #3e9b6b;

  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Dancing Script", "Segoe Script", cursive;

  --wrap: 1160px;
  --shadow-soft: 0 10px 30px rgba(74, 46, 47, 0.08), 0 2px 6px rgba(74, 46, 47, 0.05);
  --shadow-lift: 0 24px 50px rgba(74, 46, 47, 0.16), 0 6px 14px rgba(74, 46, 47, 0.07);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Nothing may make the page scroll sideways: the petals and the tilted phone reach past the edges on purpose. */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--berry); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 10px; }

/* ---------- Header: a frosted pill, as the app's own cards float ---------- */

.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  width: min(var(--wrap), 100% - 24px); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 14px;
  background: rgba(255, 252, 250, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(234, 219, 213, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(74, 46, 47, 0.07);
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header.is-scrolled .header-inner { background: rgba(255, 252, 250, 0.94); box-shadow: var(--shadow-soft); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--script); font-weight: 700; font-size: 30px; line-height: 1; color: var(--berry); }
.brand-icon { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 2px 6px rgba(74, 46, 47, 0.18); }

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-size: 15px; color: var(--cocoa);
  padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--blush); }
.site-nav a.is-active { background: var(--blush); color: var(--berry); font-weight: 600; }

.header-cta {
  text-decoration: none; background: var(--berry); color: #fff; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 14px rgba(142, 59, 70, 0.28);
  transition: transform 0.2s, background 0.2s;
}
.header-cta:hover { background: var(--berry-dark); transform: translateY(-1px); }

.menu { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 22px 0 20px;
  background: linear-gradient(180deg, #9a4450, var(--berry));
  color: #fff; text-decoration: none; font-weight: 600; font-size: 17px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(142, 59, 70, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(142, 59, 70, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-android { width: 22px; height: 22px; }
.btn-chevron { width: 18px; height: 18px; opacity: 0.85; }

.btn-ghost {
  display: inline-flex; align-items: center; min-height: 58px; padding: 0 22px;
  border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--berry);
  background: rgba(255, 252, 250, 0.85); border: 1px solid var(--edge);
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--shell); }

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

.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  padding: calc(var(--header-h) + 64px) 0 72px;
  display: flex; align-items: center;
}
.hero-room {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 246, 241, 0.97) 0%, rgba(251, 246, 241, 0.86) 42%, rgba(251, 246, 241, 0.35) 100%),
    linear-gradient(0deg, var(--cream) 0%, rgba(251, 246, 241, 0) 30%),
    url("assets/room.webp") center 30% / cover no-repeat;
}
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 252, 250, 0.9); border: 1px solid var(--edge);
  font-size: 14px; font-weight: 500; color: var(--berry); letter-spacing: 0.01em;
}
.eyebrow svg { width: 16px; height: 16px; color: var(--berry); }

.hero-title {
  margin-top: 22px; text-wrap: balance;
  font-size: clamp(42px, 6vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-script {
  margin-top: 6px;
  font-family: var(--script); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1;
  color: var(--berry);
}
.hero-lead { margin-top: 20px; max-width: 30em; font-size: 18px; color: var(--taupe); }

.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--taupe); }

.hero-art { position: relative; display: flex; justify-content: center; padding: 10px 0; }

.phone {
  margin: 0;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #3a2a2a, #1f1515);
  box-shadow: var(--shadow-lift);
}
.phone img { border-radius: 31px; width: 100%; }
.phone-hero { width: min(330px, 78%); transform: rotate(3deg); }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--shell); border: 1px solid var(--edge); border-radius: 999px;
  box-shadow: var(--shadow-soft); font-size: 14px; color: var(--cocoa);
  animation: bob 6s ease-in-out infinite;
}
.float-chip { left: 2%; top: 30%; padding: 10px 16px; font-weight: 600; }
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 4px rgba(62, 155, 107, 0.15); }
.float-bubble { right: -2%; bottom: 14%; padding: 8px 18px 8px 8px; border-radius: 22px 22px 22px 6px; animation-delay: -3s; max-width: 260px; }
.float-bubble img { width: 40px; height: 40px; border-radius: 12px; }
.float-bubble span { display: grid; line-height: 1.3; }
.float-bubble b { font-family: var(--script); font-size: 20px; color: var(--berry); font-weight: 700; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.petal {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  transform: rotate(var(--r)); color: var(--berry); opacity: 0.9; pointer-events: none;
}
.petal-rose { color: var(--rose); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--berry); margin-bottom: 12px;
}
.kicker svg { width: 14px; height: 14px; color: var(--rose); }
.section-title {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
  text-wrap: balance;
}

/* Features */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--edge); border-radius: 24px; padding: 26px 24px 24px;
  box-shadow: var(--shadow-soft); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; background: var(--blush);
}
.card .icon svg { width: 25px; height: 25px; fill: none; stroke: var(--berry); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 18px; font-size: 19px; font-weight: 600; color: var(--ink); }
.card p { margin-top: 6px; color: var(--taupe); font-size: 15.5px; }

/* Inside the app */

.inside { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 50%, var(--cream) 100%); }
.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px);
  gap: 28px; justify-content: center;
  padding: 8px 20px 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.shot { margin: 0; scroll-snap-align: center; }
.shot:nth-child(even) { margin-top: 36px; }
.shot .phone { border-radius: 34px; padding: 8px; }
.shot .phone img { border-radius: 27px; }
.shot figcaption { margin-top: 16px; text-align: center; color: var(--taupe); font-size: 14.5px; line-height: 1.4; }
.shot figcaption b { display: block; font-family: var(--script); font-size: 26px; color: var(--berry); font-weight: 700; line-height: 1.2; }

/* Ligaya+ */

.plus-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--edge); border-radius: 32px; padding: 52px;
  box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
.plus-grid::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--blush-deep), rgba(247, 235, 232, 0));
}
.plus-copy { position: relative; }
.plus-copy > p { margin-top: 14px; color: var(--taupe); font-size: 17px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--cocoa); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%238e3b46' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ticks li.soon { color: var(--taupe); }
.ticks li.soon span {
  margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--berry); background: var(--blush);
  padding: 2px 9px; border-radius: 999px; white-space: nowrap;
}
.plus-fine { margin-top: 20px !important; font-size: 14px !important; }

.prices { position: relative; display: grid; gap: 14px; }
.price {
  border: 1px solid var(--edge); border-radius: 24px; padding: 22px 24px; background: var(--shell);
}
.price-best { border: 2px solid var(--berry); background: linear-gradient(180deg, #fff, var(--blush)); position: relative; }
.badge {
  position: absolute; top: -12px; right: 20px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.price-name { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe); }
.price-amount { margin-top: 4px; font-size: 40px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.price-amount span { font-size: 16px; font-weight: 500; color: var(--taupe); letter-spacing: 0; margin-left: 4px; }
.price-note { margin-top: 2px; color: var(--berry); font-weight: 600; font-size: 14px; }
.price-fine { margin-top: 4px; color: var(--taupe); font-size: 13px; line-height: 1.5; }

/* Install */

.install-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 22px; align-items: stretch; }
.install-card, .safety {
  background: var(--surface); border: 1px solid var(--edge); border-radius: 28px; padding: 40px;
  box-shadow: var(--shadow-soft);
}
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; background: var(--cream); border-radius: 18px; padding: 14px 16px; }
.steps .num {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--berry); color: #fff; font-weight: 600;
}
.steps p { color: var(--cocoa); font-size: 15px; }
.install-note { margin-top: 20px; font-size: 14px; color: var(--taupe); }

.safety { background: linear-gradient(180deg, var(--shell), var(--blush)); display: flex; flex-direction: column; justify-content: center; }
.safety-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--script); font-weight: 700; font-size: 32px; color: var(--berry); line-height: 1.1;
}
.safety-title svg { width: 24px; height: 24px; flex: none; }
.safety p + p { margin-top: 12px; }
.safety > p:not(.safety-title) { color: var(--cocoa); }
.safety .safety-fine { color: var(--taupe); font-size: 14px; }

/* Closing */

.closing { padding: 40px 0 96px; }
.closing-inner {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  background: radial-gradient(120% 140% at 0% 100%, var(--blush-deep), var(--shell) 60%);
  border: 1px solid var(--edge); border-radius: 32px; padding: 36px 48px 0;
  overflow: hidden;
}
.closing-ligaya { width: 300px; align-self: flex-end; }
.closing-inner > div { padding-bottom: 36px; }
.closing-title {
  font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.1; color: var(--ink); margin-bottom: 24px;
}
.closing-title span { display: block; font-family: var(--script); color: var(--berry); font-weight: 700; margin-top: 4px; }

/* Footer */

.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px;
  padding: 30px 20px 44px; border-top: 1px solid var(--edge); color: var(--taupe); font-size: 14px; text-align: center;
}
.brand-small span { font-size: 24px; }
.brand-small .brand-icon { width: 28px; height: 28px; border-radius: 9px; }
.footer-links a { color: var(--berry); }

/* ---------- Arrivals ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .header-cta { transition: none; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-room {
    background:
      linear-gradient(180deg, rgba(251, 246, 241, 0.94) 0%, rgba(251, 246, 241, 0.8) 55%, var(--cream) 100%),
      url("assets/room.webp") center 20% / cover no-repeat;
  }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .screens { justify-content: start; }
  .plus-grid { grid-template-columns: 1fr; padding: 36px 28px; }
  .install-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 58px; }
  .site-nav {
    position: absolute; top: calc(100% + 10px); left: 12px; right: 12px;
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--shell); border: 1px solid var(--edge); border-radius: 24px; box-shadow: var(--shadow-lift);
    opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 12px 16px; font-size: 16px; }
  .header-inner { position: relative; gap: 10px; }
  .header-cta { margin-left: auto; padding: 9px 16px; }
  .menu {
    display: grid; gap: 4px; place-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--blush); cursor: pointer;
  }
  .menu span { width: 18px; height: 2px; border-radius: 2px; background: var(--cocoa); transition: transform 0.2s, opacity 0.2s; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { padding-top: calc(var(--header-h) + 52px); min-height: 0; }
  .hero-lead { font-size: 16.5px; }
  .btn, .btn-ghost { width: 100%; justify-content: center; }
  .phone-hero { width: min(270px, 74%); }
  .float-chip { left: 0; top: 18%; font-size: 13px; }
  .float-bubble { right: 0; bottom: 8%; max-width: 220px; font-size: 13px; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .screens { grid-auto-columns: 62%; gap: 18px; }
  .shot:nth-child(even) { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .install-card, .safety { padding: 28px 22px; }
  .closing-inner { flex-direction: column-reverse; text-align: center; padding: 32px 22px 0; gap: 8px; }
  .closing-ligaya { width: 200px; align-self: center; }
  .closing-inner > div { padding-bottom: 0; }
}
