/* ==========================================================================
   NekoSense — brand system
   Palette + type mirror the NekoDiary app ("paper voice", light-only).
   ========================================================================== */

:root {
  /* Core palette — aligned with nyangistudiousa.com */
  --cream:     #F8F3EA;
  --cream-2:   #EFE7D7;
  --paper:     #FFFDF8;
  --charcoal:  #16141A;   /* ink */
  --charcoal-soft: #7C7681; /* muted */
  --forest:    #6B4A82;   /* plum (secondary accent) */
  --forest-2:  #8D6AA8;   /* plum soft */
  --gold:      #E8B14A;   /* marigold (primary accent) */
  --gold-deep: #CF9527;
  --rose:      #D98A8A;

  --line:      rgba(22, 20, 26, 0.12);
  --shadow:    0 18px 40px -22px rgba(22, 20, 26, 0.45);
  --shadow-sm: 0 10px 30px -20px rgba(22, 20, 26, 0.5);

  --radius:    18px;
  --radius-lg: 28px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--forest);
}
.serif { font-family: var(--serif); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(248, 243, 234, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  overflow: hidden; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand__mark img, .brand__mark svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--charcoal-soft); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--charcoal); }
.nav__cta {
  background: var(--gold); color: var(--charcoal);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .18s;
}
.nav__cta:hover { background: var(--gold-deep); transform: translateY(-1px); color: var(--charcoal); }
.nav__toggle { display: none; background: none; border: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--charcoal); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--charcoal); }
.btn--ghost:hover { border-color: var(--charcoal); }

.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--charcoal); color: var(--cream);
  padding: 11px 22px 11px 18px; border-radius: 16px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease;
}
.appstore:hover { transform: translateY(-2px); }
.appstore svg { width: 26px; height: 26px; }
.appstore small { display: block; font-size: 11px; opacity: .8; letter-spacing: .02em; }
.appstore b { display: block; font-size: 17px; font-weight: 600; line-height: 1.15; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 78px 0 90px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); margin: 20px 0 22px; }
.hero h1 em { font-style: italic; color: var(--forest); }
.hero__lede { font-size: 20px; color: var(--charcoal-soft); max-width: 30ch; }
.hero__actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--charcoal-soft); }
.hero__note b { color: var(--forest); }

.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; z-index: 0;
}
.hero__blob--1 { width: 360px; height: 360px; background: radial-gradient(circle, #F3E3C0, transparent 70%); top: -80px; right: -60px; }
.hero__blob--2 { width: 300px; height: 300px; background: radial-gradient(circle, #E9DDF0, transparent 70%); bottom: -90px; left: -80px; }
.hero .wrap { position: relative; z-index: 1; }

/* phone mockup */
.phone {
  position: relative; width: 300px; margin: 0 auto;
  border-radius: 46px; background: var(--charcoal);
  padding: 12px; box-shadow: var(--shadow); transform: rotate(2deg);
}
.phone__screen {
  border-radius: 36px; background: var(--paper); overflow: hidden; aspect-ratio: 9 / 19;
  display: flex; flex-direction: column;
}
.phone__notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 118px; height: 26px; background: var(--charcoal); border-radius: 999px; z-index: 3; }
.scr__top { padding: 40px 20px 14px; }
.scr__hi { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.scr__sub { font-size: 12px; color: var(--charcoal-soft); }
.scr__capture {
  margin: 14px 20px; padding: 14px 16px; border-radius: 16px;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--charcoal-soft);
}
.scr__capture .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-size: 17px; }
.scr__feed { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.scr__day { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--forest); font-weight: 700; margin-top: 6px; }
.scr__card { border-radius: 14px; background: var(--cream); border: 1px solid var(--line); overflow: hidden; }
.scr__photo { height: 84px; background: linear-gradient(135deg, #16141A, #6B4A82); position: relative; }
.scr__photo::after { content: "🐈‍⬛"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; filter: saturate(0) brightness(1.6); opacity: .85; }
.scr__row { padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.scr__mood { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #E7E1D5; color: var(--forest); font-weight: 600; }
.scr__note { font-size: 12px; color: var(--charcoal-soft); }
.scr__tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 0 16px; border-top: 1px solid var(--line); background: var(--paper); font-size: 10px; color: var(--charcoal-soft); }
.scr__tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.scr__tabs span.on { color: var(--forest); font-weight: 700; }
.scr__tabs i { width: 18px; height: 18px; border-radius: 6px; background: currentColor; opacity: .35; }
.scr__tabs span.on i { opacity: 1; }

/* trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust__inner { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; padding: 22px 0; font-size: 14px; color: var(--charcoal-soft); }
.trust__inner b { color: var(--charcoal); }
.trust__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- section shell ---------- */
.section { padding: 92px 0; }
.section--tint { background: var(--paper); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.section__head p { font-size: 18px; color: var(--charcoal-soft); }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.section--tint .feature { background: var(--cream); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--charcoal); color: var(--cream); margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 22px; margin-bottom: 9px; }
.feature p { font-size: 15.5px; color: var(--charcoal-soft); }

/* ---------- principle band ---------- */
.principle { background: var(--charcoal); color: var(--cream); }
.principle .wrap { padding: 80px 24px; text-align: center; }
.principle blockquote { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; max-width: 20ch; margin: 0 auto 18px; }
.principle blockquote em { color: var(--gold); font-style: italic; }
.principle p { color: rgba(248,243,234,.72); max-width: 46ch; margin: 0 auto; }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.phase {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 32px; overflow: hidden;
}
.section--tint .phase { background: var(--cream); }
.phase__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.phase__num { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--charcoal-soft); }
.pill { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.pill--live { background: #F7E7C4; color: #A9770F; }
.pill--soon { background: #EADFF2; color: var(--forest); }
.pill--future { background: #EDE7DE; color: var(--charcoal-soft); }
.phase h3 { font-size: 24px; margin-bottom: 6px; }
.phase__tag { font-size: 13px; color: var(--forest); font-weight: 600; margin-bottom: 14px; }
.phase p { font-size: 15px; color: var(--charcoal-soft); margin-bottom: 16px; }
.phase ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.phase li { font-size: 14.5px; color: var(--charcoal); display: flex; gap: 10px; align-items: flex-start; }
.phase li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--forest); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.phase--future li::before { background: var(--charcoal-soft); }
.phase__glow { position: absolute; top: -40px; right: -40px; width: 130px; height: 130px; border-radius: 50%; opacity: .35; filter: blur(6px); }
.phase--live .phase__glow { background: radial-gradient(circle, #F0DFB4, transparent 70%); }
.phase--soon .phase__glow { background: radial-gradient(circle, #E2D2EE, transparent 70%); }
.phase--future .phase__glow { background: radial-gradient(circle, #DCD5C9, transparent 70%); }

/* ---------- company / about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 18px; }
.about p { color: var(--charcoal-soft); font-size: 17px; margin-bottom: 16px; }
.about p b { color: var(--charcoal); }
.ventures { display: grid; gap: 16px; }
.venture { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.venture__mark { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.venture__mark img { width: 100%; height: 100%; object-fit: cover; }
.venture__mark--bcc { background: var(--cream-2); border-radius: 13px; }
.venture h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 3px; }
.venture span { font-size: 14px; color: var(--charcoal-soft); }

/* ---------- signup ---------- */
.cta { text-align: center; }
.cta__card {
  background: var(--charcoal); color: var(--cream); border-radius: var(--radius-lg);
  padding: 66px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta__card h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta__card p { color: rgba(248,243,234,.74); max-width: 44ch; margin: 0 auto 30px; }
.cta__form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }
.cta__form input {
  flex: 1; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(248,243,234,.25);
  background: rgba(248,243,234,.08); color: var(--cream); font-size: 15px; font-family: var(--sans);
}
.cta__form input::placeholder { color: rgba(248,243,234,.55); }
.cta__form input:focus { outline: none; border-color: var(--gold); }
.cta__form button { background: var(--gold); color: var(--charcoal); border: none; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .18s; }
.cta__form button:hover { transform: translateY(-2px); }
.cta__ok { margin-top: 16px; font-size: 14px; color: var(--gold); min-height: 20px; position: relative; z-index: 1; }
.cta__glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(199,160,99,.35), transparent 70%); top: -120px; right: -80px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer__brand { max-width: 300px; }
.footer__brand p { font-size: 14px; color: var(--charcoal-soft); margin-top: 14px; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--forest); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 15px; color: var(--charcoal-soft); margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--charcoal); }
.footer__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--charcoal-soft); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero__lede { margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .features, .roadmap { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
  .nav__toggle span { width: 18px; height: 2px; background: var(--charcoal); position: relative; display: block; }
  .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--charcoal); }
  .nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
}
@media (max-width: 560px) {
  .section { padding: 66px 0; }
  .cta__form { flex-direction: column; }
  .cta__form button { padding: 14px; }
}
