/* ============================================================
   Prashant — Life Design  ·  Shared design system
   Warm beige · off-white surfaces · black type · terracotta accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  /* ---- Color ---- */
  --bg:          #F3F4F6;   /* soft gray page */
  --bg-deep:     #E9EBEF;   /* deeper gray for alternating bands */
  --surface:     #FFFFFF;   /* white cards */
  --surface-2:   #EDEFF2;   /* muted gray (image slots) */
  --ink:         #181B20;   /* cool near-black */
  --ink-2:       #3C4148;   /* secondary text */
  --ink-soft:    #697079;   /* muted body text */
  --line:        rgba(24,27,32,0.09);
  --line-strong: rgba(24,27,32,0.15);
  --accent:      #3E8EDE;   /* Tufts Blue */
  --accent-deep: #2C72BD;
  --accent-tint: #E3EFFB;   /* badge / wash backgrounds */
  --white:       #FFFFFF;

  /* ---- Radius ---- */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* ---- Shadow ---- */
  --shadow-sm: 0 1px 2px rgba(21,18,13,0.04), 0 2px 8px rgba(21,18,13,0.04);
  --shadow-md: 0 4px 16px rgba(21,18,13,0.06), 0 12px 40px rgba(21,18,13,0.06);
  --shadow-lg: 0 20px 60px rgba(21,18,13,0.12);

  /* ---- Layout ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* ---- Type ---- */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Type scale ---------- */
.display {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  text-wrap: balance;
}
.h1 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; font-size: clamp(2.1rem, 4.4vw, 3.4rem); text-wrap: balance; }
.h2 { font-weight: 800; letter-spacing: -0.022em; line-height: 1.1;  font-size: clamp(1.7rem, 3vw, 2.5rem); text-wrap: balance; }
.h3 { font-weight: 700; letter-spacing: -0.018em; line-height: 1.18; font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.eyebrow {
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-soft); font-weight: 500; line-height: 1.55; text-wrap: pretty; }
.muted { color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 88px); }
.band { background: var(--bg-deep); }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }

.section-head { max-width: 640px; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(216,85,42,0.28); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.btn-lg { padding: 17px 30px; font-size: 1.04rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); transition: gap .18s ease, color .18s ease; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.01em;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--accent-tint); color: var(--accent-deep);
}
.badge-ink { background: var(--ink); color: var(--surface); }
.badge-outline { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.price-tag {
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 0.92rem; letter-spacing: -0.01em;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--surface);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-hover { transition: transform .22s ease, box-shadow .22s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line); }

/* ---------- Image slot styling ---------- */
image-slot {
  --is-bg: var(--surface-2);
  background: var(--surface-2);
  color: var(--ink-soft);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  height: 74px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--ink); color: var(--surface);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.brand-text { line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-tag { font-size: 0.72rem; color: var(--ink-soft); font-weight: 600; }

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

/* Nav modes (toggled via [data-nav] on <html>) */
.nav-mode { display: none; align-items: center; gap: 4px; }
html[data-nav="split"] .nav-mode-split { display: flex; }
html[data-nav="solutions"] .nav-mode-solutions { display: flex; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.96rem; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--r-pill); transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(620px, 86vw);
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  padding: 22px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dropdown-col-title {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 0 10px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.dropdown-col-title .dot { width: 7px; height: 7px; border-radius: 50%; }
.ddi {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  border-radius: var(--r-sm); transition: background .15s ease;
}
.ddi:hover { background: var(--surface-2); }
.ddi > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ddi-ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.ddi-ic svg { width: 19px; height: 19px; }
.ddi-t { display: block; font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.ddi-d { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.35; }

/* Single-platform dropdown (split nav mode) */
.dropdown-single { width: min(348px, 90vw); left: 0; transform: translateX(0) translateY(8px); padding: 14px; }
.dropdown-single.open { transform: translateX(0) translateY(0); }
.dropdown-single .dropdown-col-title { margin-bottom: 6px; }
.dropdown-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 6px; padding: 12px 12px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.86rem; color: var(--ink);
  border-top: 1px solid var(--line);
}
.dropdown-foot svg { width: 16px; height: 16px; transition: transform .16s ease; }
.dropdown-foot:hover { color: var(--accent); }
.dropdown-foot:hover svg { transform: translateX(3px); }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface); }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu {
  position: fixed; inset: 74px 0 0 0; z-index: 99;
  background: var(--bg); padding: 24px var(--gutter) 40px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.m-group + .m-group { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.m-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.m-link { display: block; font-weight: 700; font-size: 1.15rem; padding: 10px 0; letter-spacing: -0.01em; }
.m-sublink { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; padding: 9px 0; color: var(--ink-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #D9D3C8; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer a { color: #D9D3C8; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #948D80; }
.footer .brand-mark { background: var(--surface); color: var(--ink); }
.footer-blurb { color: #948D80; font-size: 0.94rem; margin-top: 16px; max-width: 30ch; line-height: 1.55; }
.footer-col-title { color: #fff; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.02em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 7px 0; font-size: 0.95rem; }
.news-form { display: flex; gap: 8px; margin-top: 14px; background: rgba(255,255,255,0.06); border-radius: var(--r-pill); padding: 6px; }
.news-form input { flex: 1; background: none; border: none; color: #fff; padding: 8px 14px; font-family: inherit; font-size: 0.92rem; outline: none; }
.news-form input::placeholder { color: #948D80; }
.news-form button { background: var(--accent); color: #fff; border-radius: var(--r-pill); padding: 10px 16px; font-weight: 700; font-size: 0.88rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.07); transition: background .15s ease; }
.social:hover { background: rgba(255,255,255,0.16); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #948D80; font-size: 0.85rem; }

/* ============================================================
   Reusable: feature icon, testimonial, etc.
   ============================================================ */
.feat-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.feat-ic svg { width: 24px; height: 24px; color: var(--accent); }

/* ---------- Accordion / FAQ ---------- */
.acc-item { background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s ease; }
.acc-item.open { box-shadow: inset 0 0 0 1px var(--line-strong); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 26px; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--ink); }
.acc-ic { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s ease, background .2s ease; }
.acc-ic svg { width: 16px; height: 16px; transition: transform .25s ease; }
.acc-item.open .acc-ic { background: var(--accent); color: #fff; box-shadow: none; }
.acc-item.open .acc-ic svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .32s cubic-bezier(.2,.7,.2,1); }
.acc-body-inner { padding: 0 26px 24px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; max-width: 64ch; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.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: 940px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
body.menu-open { overflow: hidden; }
