/* =====================================================
   monknotes — landing page
   Design tokens
   canvas   #F5F4F1   warm off-white, Apple-style paper
   card     #FFFFFF   surface
   ink      #16140F   near-black warm text
   accent   #F55513 → #DD557E   brand gradient (from mark)
   dark     #14110D → #0A0806   premium/dark bento cells
   ===================================================== */

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

:root{
  --canvas: #F5F4F1;
  --canvas-deep: #ECEAE4;
  --card: #FFFFFF;
  --ink: #16140F;
  --ink-soft: #6B6760;
  --ink-faint: #A6A196;
  --border: #E4E1D9;
  --border-soft: #EDEBE5;

  --accent-1: #F55513;
  --accent-2: #DD557E;
  --accent-grad: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  --accent-wash: rgba(245, 85, 19, 0.08);

  --dark: #14110D;
  --dark-deep: #0A0806;
  --on-dark: #F6F2EA;
  --on-dark-soft: rgba(246, 242, 234, 0.60);
  --on-dark-faint: rgba(246, 242, 234, 0.32);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-card: 0 1px 2px rgba(22,20,15,0.04), 0 12px 32px -18px rgba(22,20,15,0.18);
  --ease: cubic-bezier(.4,0,.2,1);
}

html{ scroll-behavior:smooth; }
html, body{ margin:0; padding:0; }
body{
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--ink);
  background:#FFFFFF;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
::selection{ background:var(--ink); color:#fff; border-radius: 10px;}

.mono{
  font-family:'IBM Plex Mono', monospace;
  letter-spacing:0.02em;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

/* ---------- Layout shell ---------- */
.shell{ max-width:1240px; margin:0 auto; padding:0 24px; }

/* ---------- Top navigation ---------- */
.nav{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(255,255,255,0.78);
  -webkit-backdrop-filter:blur(14px) saturate(1.4);
  backdrop-filter:blur(14px) saturate(1.4);
  border-bottom:1px solid transparent;
  transition:border-color .2s var(--ease);
}
.nav-inner{
  position:relative;
  max-width:1240px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
}
.brand-mark{ height:26px; width:auto; display:block; }
.brand-word{
  font-size:18px;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--ink);
}
.nav-right{ display:flex; align-items:center; gap:22px; }
.nav-link{
  font-size:14px;
  font-weight:500;
  color:var(--ink-soft);
  text-decoration:none;
  transition:color .15s var(--ease);
}
.nav-link:hover{ color:var(--ink); }
.nav-center .nav-link[aria-current="page"]{
  color:var(--ink);
  font-weight:700;
  position:relative;
}
.nav-center .nav-link[aria-current="page"]::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
/*  border-radius:2px;
  background:var(--accent-grad);*/
}
.btn-download{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--ink);
  border:1px solid var(--ink);
  color:var(--canvas);
  font-family:inherit;
  font-size:13.5px;
  font-weight:600;
  padding:9px 20px;
  border-radius:99px;
  cursor:pointer;
  transition: background .15s var(--ease), transform .12s var(--ease);
}
.btn-download:hover{ background:#000; transform:translateY(-1px); }
.btn-download:active{ transform:scale(0.97); }
.btn-download-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s var(--ease);
}
.btn-download:hover .btn-download-icon{ transform:translate(1px,-1px); }

/* ---------- Section eyebrow ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--ink);
  margin:0 0 18px;
}
.eyebrow.on-dark{ color:var(--on-dark-faint); }

/* ---------- Main / bento wrapper ---------- */
main{ padding:36px 0 0; }
.bento{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px 24px;
  display:grid;
  gap:20px;
}
.bento-row{
  display:grid;
  gap:20px;
}
.bento-row.split-58{ grid-template-columns: 1.35fr 1fr; }
.bento-row.split-45{ grid-template-columns: 1fr 1.35fr; }

.cell{
  position:relative;
  border-radius:var(--radius-xl);
  overflow:hidden;
}
.cell-dark{
  background: radial-gradient(120% 140% at 85% -10%, #2a1c12 0%, var(--dark) 46%, var(--dark-deep) 100%);
  color:var(--on-dark);
}
.cell-pad{ padding:44px 44px 40px; }

/* ================= HERO (full width, centered) ================= */
.hero-cell{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:40px 32px 40px 32px;
  min-height:0;
}
.hero-heading{
  font-size:clamp(40px, 5.6vw, 74px);
  font-weight:100;
  line-height:1.18;
  letter-spacing:-0.035em;
  margin:0 auto 22px;
  max-width:14ch;
}
.hero-sub{
  font-size:18px;
  line-height:1.55;
  color:var(--ink-soft);
  margin:0 auto;
  max-width:46ch;
}

/* ================= FEATURE ROW (3 columns) ================= */
.feature-row{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px 24px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.feature-col{
  display:flex;
  flex-direction:column;
  min-height:320px;
}
.feature-col .feat-text{ max-width:none; }
.feature-col .voice-mini,
.feature-col .device-row,
.feature-col .mock-frame{ margin:0 0 26px; }
.feature-col .sync-status{ margin-top:14px; }

/* ================= FEATURE CELLS ================= */
.feat-heading{
  font-size:clamp(24px, 2.4vw, 32px);
  font-weight:100;
  letter-spacing:-0.02em;
  line-height:1.15;
  margin:0 0 14px;
}
.feat-text{
  font-size:15.5px;
  line-height:1.65;
  color:var(--ink-soft);
  margin:0;
  max-width:42ch;
}
.cell-dark .feat-text{ color:var(--on-dark-soft); }

/* ---- Everywhere / device availability ---- */
.device-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.device-chip{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px; height:52px;
  border-radius:16px;
  background:var(--canvas);
  color:var(--ink-soft);
  animation: chipGlow 3.6s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * 0.5s);
}
@keyframes chipGlow{
  0%, 62%, 100%{ color:var(--ink-soft); box-shadow:none; transform:translateY(0); }
  78%{ color:var(--accent-1); box-shadow:0 0 0 3px var(--accent-wash); transform:translateY(-3px); }
}
.sync-status{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--ink-faint);
  letter-spacing:0.02em;
}
.dot-muted{
  width:6px; height:6px; border-radius:50%;
  background:var(--ink-faint);
  flex:none;
}

/* ---- Design / minimal UI mockup ---- */
.mock-frame{
  background:var(--canvas);
  border-radius:var(--radius-md);
  padding:20px 20px 22px;
}
.mock-dots{ display:flex; gap:6px; margin-bottom:16px; }
.mock-dots span{ width:8px; height:8px; border-radius:50%; background:var(--border); }
.mock-line{
  height:9px;
  border-radius:5px;
  background:var(--border-soft);
  margin-bottom:9px;
  width:0;
  animation-duration:5s;
  animation-timing-function: var(--ease);
  animation-iteration-count:infinite;
}
.mock-line.title{
  height:13px; background:var(--ink-faint); opacity:0.35; margin-bottom:14px;
  animation-name: writeLineTitle;
  animation-delay:0s;
}
.mock-line.w80{ animation-name:writeLine80; animation-delay:.5s; }
.mock-line.w95{ animation-name:writeLine95; animation-delay:.9s; }
.mock-line.w60{ animation-name:writeLine60; animation-delay:1.3s; }
@keyframes writeLineTitle{ 0%{ width:0; } 8%, 100%{ width:62%; } }
@keyframes writeLine80{ 0%{ width:0; } 8%, 100%{ width:80%; } }
@keyframes writeLine95{ 0%{ width:0; } 8%, 100%{ width:95%; } }
@keyframes writeLine60{ 0%{ width:0; } 8%, 100%{ width:60%; } }
.mock-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:14px;
  padding:5px 11px;
  border-radius:99px;
  font-size:11px;
  color:#fff;
  background:var(--accent-grad);
  opacity:0;
  animation: tagIn 5s var(--ease) infinite;
}
@keyframes tagIn{ 0%, 34%{ opacity:0; transform:translateY(4px); } 44%, 100%{ opacity:1; transform:translateY(0); } }
@keyframes blink{ 0%,49%{ opacity:1; } 50%,100%{ opacity:0; } }
.mock-cursor{
  display:inline-block;
  width:6px; height:14px;
  background:var(--ink-faint);
  border-radius:2px;
  margin-left:4px;
  animation:blink 1.1s step-end infinite;
  vertical-align:middle;
  opacity:0.5;
}

/* ---- Voice mini waveform ---- */
.voice-mini{
  display:flex;
  align-items:center;
  gap:5px;
  height:56px;
}
.vm-bar{
  width:3px;
  border-radius:4px;
  background:var(--accent-grad);
  opacity:0.85;
  transform-origin:bottom;
  animation: vmPulse 1.1s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * 0.08s);
}
@keyframes vmPulse{
  0%, 100%{ height:calc(var(--h, .5) * 22%); }
  50%{ height:calc(var(--h, .5) * 100%); }
}

/* ---------- Footer ---------- */
.site-footer{
  margin-top:12px;
  background: #29211D;
  border-radius: 30px 30px 0 0;
  padding:20px 0;
}
.footer-inner{
  max-width:1240px;
  margin:0 auto;
  padding:30px 24px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.footer-brand{ display:flex; align-items:center; gap:9px; color:var(--ink-faint); }
.footer-logo{ height:16px; width:auto; opacity:1; }
.footer-copy{ font-size:12.5px; color:var(--ink-faint); }
.footer-links{ display:flex; gap:22px; }
.footer-links a{ font-size:13px; color:var(--ink-soft); text-decoration:none; transition: color .25s var(--ease), opacity .25s var(--ease); }
.footer-links a:hover{ color:#fff; }

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed; inset:0;
  background:rgba(15,13,10,0.46);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:20px;
}
.modal-overlay.show{ display:flex; }
.modal-box{
  background:var(--card);
  border-radius:var(--radius-lg);
  padding:28px;
  max-width:380px;
  width:100%;
  box-shadow:0 30px 70px rgba(15,13,10,0.28);
}
.modal-box h3{ margin:0 0 6px; font-size:19px; font-weight:800; letter-spacing:-0.01em; }
.modal-box > p{ margin:0 0 22px; color:var(--ink-soft); font-size:13.5px; }
.modal-note{
  margin:2px 0 20px;
  padding:12px 14px;
  border-radius:12px;
  background:var(--canvas);
  color:var(--ink-soft);
  font-size:12.5px;
  line-height:1.5;
}
.modal-platforms{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.modal-platform{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border-soft);
  text-decoration:none;
  color:var(--ink);
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.modal-platform:hover{ background:var(--canvas); border-color:var(--border); }
.modal-platform .mp-icon{
  width:36px; height:36px;
  border-radius:10px;
  background:var(--canvas);
  display:flex; align-items:center; justify-content:center;
  flex:none;
  color:var(--ink-soft);
}
.modal-platform.available .mp-icon{ background:var(--accent-grad); color:#fff; }
.mp-body{ flex:1; }
.mp-name{ font-size:14px; font-weight:700; }
.mp-status{ font-size:12px; color:var(--ink-faint); }
.modal-platform.available .mp-status{ color:var(--accent-1); font-weight:600; }
.modal-actions{ display:flex; justify-content:center; }
.btn-modal-close{
  font-family:inherit;
  font-size:13px;
  font-weight:600;
  padding:10px 22px;
  border-radius:99px;
  border:1px solid var(--border);
  background:transparent;
  color:var(--ink-soft);
  cursor:pointer;
  width:100%;
  transition: background .15s var(--ease);
}
.btn-modal-close:hover{ background:var(--canvas); color:var(--ink); }

/* ---------- Bottom menu: always docked fixed at the bottom ---------- */
.bm-anchor{
  position:relative;
  width:100%;
  max-width:440px;
  height:64px;
  margin:40px auto 0;
}
.bottom-menu{
  position:fixed;
  left:50%;
  bottom:36px;
  width:min(660px, calc(100% - 32px));
  transform:translateX(-50%) translateY(24px);
  z-index:80;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .45s var(--ease), transform .45s var(--ease), visibility .45s var(--ease);
}
/* revealed once the visitor scrolls to the "Why" section */
.bottom-menu.is-revealed{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
/* ---- Animated border glow (hidden while menu is open) ---- */
.bottom-menu-glow{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:999px;
  overflow:hidden;
  filter:blur(16px);
  opacity:1;
  pointer-events:none;
  transition:opacity .25s var(--ease);
}
.bottom-menu-glow::before{
  content:'';
  position:absolute;
  top:50%;
  left:10%;
  width:99999px;
  height:99999px;
  background-repeat:no-repeat;
  background-position:0 0;
  background-image:conic-gradient(from 0deg,
    rgba(245,85,19,0) 0deg,
    var(--accent-1) 40deg,
    var(--accent-2) 80deg,
    rgba(245,85,19,0) 120deg,
    rgba(245,85,19,0) 360deg);
  transform:translate(-50%,-50%) rotate(0deg);
  animation:bm-glow-rotate 4s linear infinite;
}
.bottom-menu.is-open .bottom-menu-glow{
  opacity:0;
}
@keyframes bm-glow-rotate{
  100%{ transform:translate(-50%,-50%) rotate(1turn); }
}
@media (prefers-reduced-motion: reduce){
  .bottom-menu-glow::before{ animation:none; }
}

/* ---- Sharp rotating gradient border ring (same gradient as the app's
   .empty-grid.first-visit .new-note-card-glow::before / .new-note-card-ring::before) ---- */
.bottom-menu-ring{
  position:absolute;
  inset:-2px;
  z-index:0;
  border-radius:999px;
  overflow:hidden;
  pointer-events:none;
  transition:opacity .25s var(--ease);
}
.bottom-menu-ring::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:680px;
  height:680px;
  transform:translate(-50%,-50%) rotate(0deg);
  background-repeat:no-repeat;
  background-position:0 0;
  background-image:conic-gradient(rgba(0,0,0,0), var(--accent-1) 0deg, var(--accent-2) 120deg, rgba(0,0,0,0) 200deg);
  animation:bm-glow-rotate 4s linear infinite;
}
.bottom-menu.is-open .bottom-menu-ring{
  opacity:0;
}
@media (prefers-reduced-motion: reduce){
  .bottom-menu-ring::before{ animation:none; }
}

.bottom-menu-inner{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:var(--ink);
  color:var(--on-dark);
  border-radius:999px;
  padding:8px 8px 8px 22px;
  box-shadow:0 20px 48px -14px rgba(22,20,15,0.45);
  border:none;
  cursor:pointer;
  font-family:inherit;
  text-align:left;
  transition: background .15s var(--ease);
}
.bottom-menu-inner:hover{ background:#000; }
.bm-label{
  font-weight:700;
  font-size:14.5px;
  letter-spacing:-0.01em;
}
.bm-icon{
  width:40px; height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--on-dark);
  flex:none;
}
.bm-icon svg{ transition: transform .3s var(--ease); }
.bottom-menu.is-open .bm-icon svg{ transform:rotate(180deg); }

/* ---- The tray that opens above the bar ---- */
.bm-tray{
  position:absolute;
  left:0; right:0;
  bottom:calc(100% + -45px);
  display:flex;
  gap:10px;
  background:var(--ink);
  border-radius:24px;
  padding:14px 14px 55px 14px;
  opacity:0;
  transform:translateY(14px) scale(0.97);
  transform-origin:bottom center;
  pointer-events:none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.bottom-menu.is-open .bm-tray{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.bm-card{
  flex:1 1 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:7px;
  padding:16px 15px 15px;
  border-radius:16px;
  text-decoration:none;
  color:var(--ink);
  background:rgba(255,255,255,0.04);
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.bm-card:hover{ background:rgba(255,255,255,0.08); transform:translateY(-2px); }
.bm-card-icon{
  width:48px; height:48px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:var(--card);
  color:var(--ink-soft);
  margin-bottom: 3px;
}
.bm-card-accent .bm-card-icon{ background:var(--accent-grad); color:#fff; }
.bm-card-name{ color:#fff; font-size:15px; font-weight:700; letter-spacing:-0.01em; }
.bm-card-desc{
  color:rgba(255,255,255,0.58);
  font-size:12px;
  line-height:1.45;
  flex:1 1 auto;
}
.bm-card-btn{
  margin-top:11px;
  align-self:stretch;
  text-align:center;
  padding:9px 14px;
  border-radius:11px;
  background:rgba(255,255,255,0.10);
  color:#fff;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:-0.01em;
  text-decoration:none;
  transition: background .15s var(--ease);
}
.bm-card-btn:hover{ background:rgba(255,255,255,0.20); }
.bm-card-accent .bm-card-btn{ background:var(--accent-grad); }
.bm-card-accent .bm-card-btn:hover{ filter:brightness(1.08); }

@media (max-width: 620px){
  .bm-tray{ flex-wrap:wrap; }
  .bm-card{ flex:1 1 100%; }
  .bm-card-btn{ margin-top:8px; }
}
@media (max-width: 480px){
  .bottom-menu{ bottom:16px; width:calc(100% - 24px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .feature-row{ grid-template-columns:1fr; }
  .cell-pad{ padding:34px 28px 32px; }
}
@media (max-width: 640px){
  .nav-right .nav-link{ display:none; }
  .hero-heading{ max-width:none; }
  .hero-cell{ padding:64px 22px 56px; }
  .device-row{ flex-wrap:wrap; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}

/* ================= Center nav + Products mega menu ================= */
.nav-center{
  display:flex;
  align-items:center;
  gap:28px;
  margin:0 auto;
}
.nav-center .nav-link{ font-size:14px; font-weight:600; }

/* trigger */
.has-mega{ position:static; }
.btn-mega{ gap:6px; }
.mega-chevron svg{ transition: transform .2s var(--ease); }
.has-mega:hover .mega-chevron svg,
.has-mega:focus-within .mega-chevron svg,
.has-mega.is-open .mega-chevron svg{ transform:rotate(180deg); }
.btn-mega:hover .btn-download-icon{ transform:none; }

/* panel — width matches .nav-inner (aligned to brand on the left, Products on the right) */
.mega{
  position:absolute;
  top:calc(100% - 16px);       /* start at trigger's bottom so hover doesn't drop */
  left:24px;
  right:24px;
  padding-top:28px;            /* invisible bridge between trigger and card */
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  z-index:70;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  transition:opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.mega-inner{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:14px;
}
.mega-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:6px;
}
.mega-col{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  padding:16px 14px;
  border-radius:var(--radius-md);
  text-decoration:none;
  color:var(--ink);
  transition:background .15s var(--ease);
}
.mega-col:hover{ background:var(--canvas); }

/* icon + name on one row (name comes after the icon) */
.mega-head{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
}

.mega-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:40px;
  height:40px;
  border-radius:12px;
  color:#fff;
  background:var(--accent-grad);
  box-shadow:0 6px 16px -8px rgba(245,85,19,0.55);
}
.mega-name{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:15px;
  font-weight:700;
  letter-spacing:-0.01em;
  color:var(--ink);
}
.mega-soon{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--accent-1);
  background:var(--accent-wash);
  padding:2px 7px;
  border-radius:99px;
}
.mega-desc{
  font-size:12.5px;
  line-height:1.5;
  color:var(--ink-soft);
}
.mega-platforms{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:2px;
  padding-top:11px;
  border-top:1px solid var(--border-soft);
  width:100%;
}
.mega-platforms .mp{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ink-faint);
  transition:color .15s var(--ease);
}
.mega-col:hover .mega-platforms .mp{ color:var(--ink-soft); }
.mega-platforms .mp svg{ width:15px; height:15px; display:block; }

/* Responsive — panel width follows .nav-inner via left/right:24px */
@media (max-width:880px){
  .nav-center{ display:none; }
  .mega-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:560px){
  .mega-grid{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce){
  .mega,
  .mega-chevron svg{ transition:none; }
}

/* ================= Products showcase (3-column, after hero) ================= */
.products{
  max-width:1240px;
  margin:0 auto;
  padding:12px 24px 40px;
}
.products-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 34px;
}
.products-eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--accent-1);
  background:var(--accent-wash);
  padding:5px 12px;
  border-radius:99px;
  margin-bottom:14px;
}
.products-title{
  font-size:clamp(26px, 3.4vw, 38px);
  line-height:1.1;
  letter-spacing:-0.02em;
  font-weight:800;
  color:var(--ink);
  margin:0 0 12px;
}
.products-sub{
  font-size:16px;
  line-height:1.55;
  color:var(--ink-soft);
  margin:0;
}

.products-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.product-card{
  flex:1 1 300px;
  max-width:372px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:26px 24px 22px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  text-decoration:none;
  color:var(--ink);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.product-card:hover{
  transform:translateY(-4px);
  border-color:var(--accent-1);
  box-shadow:0 22px 44px -22px rgba(245,85,19,0.4);
}
.product-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:52px;
  height:52px;
  border-radius:15px;
  color:#fff;
  background:var(--accent-grad);
  box-shadow:0 10px 22px -10px rgba(245,85,19,0.6);
}
.product-icon svg{ width:26px; height:26px; }
.product-name{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:19px;
  font-weight:700;
  letter-spacing:-0.01em;
  color:var(--ink);
}
.product-soon{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:var(--accent-1);
  background:var(--accent-wash);
  padding:2px 8px;
  border-radius:99px;
}
.product-desc{
  font-size:14.5px;
  line-height:1.55;
  color:var(--ink-soft);
  margin:0;
  flex:1;
}
.product-platforms{
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  padding:14px 0 4px;
  border-top:1px solid var(--border-soft);
}
.product-platforms .product-mp{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ink-faint);
  transition:color .15s var(--ease);
}
.product-card:hover .product-platforms .product-mp{ color:var(--ink-soft); }
.product-platforms .product-mp svg{ width:17px; height:17px; display:block; }
.product-cta{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:14px;
  font-weight:600;
  color:var(--accent-1);
}
.product-cta-arrow{ display:inline-flex; transition:transform .18s var(--ease); }
.product-card:hover .product-cta-arrow{ transform:translateX(4px); }
.product-card.is-soon{ }
.product-card.is-soon .product-cta{ color:var(--ink-faint); }

@media (max-width:920px){
  .product-card{ flex-basis:44%; }
}
@media (max-width:640px){
  .products{ padding:8px 18px 32px; }
  .product-card{ flex-basis:100%; max-width:440px; }
}
@media (prefers-reduced-motion: reduce){
  .product-card, .product-cta-arrow{ transition:none; }
  .product-card:hover{ transform:none; }
}

/* ===== Early Access nav CTA ===== */
.early-access-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 18px;
  border-radius:99px;
  background:var(--accent-grad);
  color:#fff;
  font-size:14px; font-weight:700; letter-spacing:-0.01em;
  text-decoration:none;
  box-shadow:0 10px 24px -12px rgba(245,85,19,.6);
  transition:transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
}
.early-access-btn:hover{ transform:translateY(-1px); filter:brightness(1.05); box-shadow:0 14px 28px -12px rgba(245,85,19,.7); }
.early-access-btn:active{ transform:translateY(0); }
.ea-spark{ display:inline-flex; }
@media (max-width:560px){
  .early-access-btn{ padding:8px 14px; font-size:13px; }
}

/* ===== Language switcher (nav) ===== */
.lang-switch{ position:relative; }
.lang-switch-btn{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 12px; border-radius:99px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--ink-soft);
  font:inherit; font-size:13px; font-weight:600; cursor:pointer;
  transition:border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.lang-switch-btn:hover{ color:var(--ink); border-color:var(--border-soft); background:var(--canvas); }
.lang-switch-btn svg{ flex:none; }
.lang-switch-code{ letter-spacing:0.02em; text-transform:uppercase; }
.lang-switch-chev{ transition:transform .15s var(--ease); }
.lang-switch.is-open .lang-switch-chev{ transform:rotate(180deg); }
.lang-switch.is-open .lang-switch-btn{ color:var(--ink); border-color:var(--border-soft); background:var(--canvas); }

.lang-switch-menu{
  position:absolute; top:calc(100% + 8px); right:0; z-index:70;
  min-width:170px; padding:6px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--card);
  box-shadow:0 18px 40px -16px rgba(0,0,0,0.22);
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateY(-6px);
  transition:opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
}
.lang-switch.is-open .lang-switch-menu{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
.lang-switch-option{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; text-align:left; font:inherit;
  padding:9px 12px; border-radius:9px; border:none;
  background:transparent; color:var(--ink);
  font-size:14px; cursor:pointer;
  transition:background .15s var(--ease);
}
.lang-switch-option:hover{ background:var(--canvas); }
.lang-switch-option.is-active{ font-weight:700; color:var(--accent-1); }
.lang-switch-option.is-active::after{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--accent-1); flex:none;
}
@media (max-width:560px){
  .lang-switch-btn{ padding:7px 9px; }
  .lang-switch-btn svg:first-child{ display:none; }
}

/* ================= Account / sign-in menu (nav-right) ================= */
.account{ position:relative; }
.account-btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:5px 15px 5px 5px;
  border:1px solid var(--border);
  background:var(--card); color:var(--ink);
  border-radius:99px; cursor:pointer; font:inherit;
  transition:border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.account-btn:hover{ border-color:var(--accent-1); box-shadow:0 6px 16px -10px rgba(0,0,0,.35); }
.account-avatar{
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%;
  color:#fff; background:var(--accent-grad); flex:none;
}
.account-name{ font-size:14px; font-weight:600; }

.account-panel{
  position:absolute; top:calc(100% - 2px); right:0;
  padding-top:12px; width:320px; max-width:calc(100vw - 32px);
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  z-index:70;
}
.account.is-open .account-panel{
  opacity:1; visibility:visible; transform:translateY(0);
  transition:opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.account-panel-inner{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-card);
  padding:22px 20px;
}
.account-tick{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px;
  color:#fff; background:var(--accent-grad); margin-bottom:14px;
  box-shadow:0 8px 18px -10px rgba(245,85,19,.55);
}
.account-title{ font-size:17px; font-weight:800; letter-spacing:-.01em; color:var(--ink); margin:0 0 8px; }
.account-text{ font-size:13.5px; line-height:1.55; color:var(--ink-soft); margin:0 0 10px; }
.account-text-dim{ color:var(--ink-faint); margin-bottom:16px; }
.account-actions{ display:flex; gap:10px; }
.account-open{
  flex:1; text-align:center; text-decoration:none;
  font-size:14px; font-weight:600; color:#fff;
  background:var(--accent-grad); border-radius:10px; padding:10px 12px;
}
.account-signin{
  flex:none; border:1px solid var(--border); background:transparent;
  border-radius:10px; padding:10px 14px; font:inherit; font-size:14px; font-weight:600;
  color:var(--ink); cursor:pointer; transition:border-color .15s var(--ease), color .15s var(--ease);
}
.account-signin:hover{ border-color:var(--accent-1); color:var(--accent-1); }
@media (max-width:560px){
  .account-name{ display:none; }
  .account-btn{ padding:5px; }
}

/* ================= Why MonkThoughts ================= */
.why{ max-width:1240px; margin:0 auto; padding:20px 24px 46px; }
.why-head{ text-align:center; max-width:640px; margin:0 auto 30px; }
.why-eyebrow{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-1); background:var(--accent-wash);
  padding:5px 12px; border-radius:99px; margin-bottom:14px;
}
.why-title{ font-size:clamp(26px,3.4vw,38px); line-height:1.1; letter-spacing:-.02em; font-weight:200; color:var(--ink); margin:0; }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.why-card{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:22px 20px; box-shadow:var(--shadow-card);
}
.why-icon{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px; color:#fff; background:var(--accent-grad);
  margin-bottom:14px; box-shadow:0 8px 18px -10px rgba(245,85,19,.55);
}
.why-icon svg{ width:22px; height:22px; }
.why-card h3{ font-size:16px; font-weight:700; letter-spacing:-.01em; color:var(--ink); margin:0 0 8px; }
.why-card p{ font-size:13.5px; line-height:1.55; color:var(--ink-soft); margin:0; }
@media (max-width:920px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .why-grid{ grid-template-columns:1fr; } }

/* ================= Animated wave background (scrolls with page, not fixed) ============ */
.wave-bg{
  position:absolute;        /* absolute, not fixed -> it scrolls away with the page */
  top:0;
  left:0;
  width:100%;
  height:118vh;
  z-index:-1;               /* behind all content, above the white page background */
  overflow:hidden;
  pointer-events:none;
  /* dissolve into the white page toward the bottom */
  -webkit-mask-image:linear-gradient(to bottom, #000 55%, rgba(0,0,0,0) 100%);
          mask-image:linear-gradient(to bottom, #000 55%, rgba(0,0,0,0) 100%);
}
.wave-bg svg{
  display:block;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity .9s ease;
}
.wave-bg.is-ready svg{ opacity:0.6; }
/* JS clones each stroke into a <mask>; these must be solid white (and a touch
   thicker) so the animated dash fully reveals the coloured stroke underneath. */
.wave-bg defs path{ stroke:#fff; stroke-width:2px; }

@media (prefers-reduced-motion: reduce){
  .wave-bg.is-ready svg{ opacity:0.45; }
}

/* ═══════════════════════════════════════════════════════════════
   Why section — feat-heading / feat-text style, no card borders
═══════════════════════════════════════════════════════════════ */
.why{ max-width:1240px; margin:0 auto; padding:56px 24px; }
.why-head{ max-width:560px; margin:0 auto 44px; text-align:center; }
.why-eyebrow{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-1); background:var(--accent-wash);
  padding:5px 12px; border-radius:99px; margin-bottom:14px;
}
.why-title{ font-size:clamp(26px,3.4vw,38px); line-height:1.1; letter-spacing:-.02em; font-weight:200; color:var(--ink); margin:0; }
.why-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 64px; }
.why-item{
  display:grid; align-items:flex-start; gap:5px;
  padding:28px 0;
  border-top:1px solid var(--border-soft);
}
.why-item:nth-child(-n+2){ border-top:none; padding-top:0; }
.why-item-icon{
  flex:none; display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:11px;
  color:#fff; background:var(--accent-grad);
  box-shadow:0 6px 16px -8px rgba(245,85,19,.55);
  margin-top:3px;
}
.why-item-icon svg{ width:20px; height:20px; }
.why-item .feat-heading{ font-size:24px; margin:0 0 6px; }
.why-item .feat-text{ font-size:15.5px; max-width:none; }
@media (max-width:720px){
  .why-grid{ grid-template-columns:1fr; gap:0; }
  .why-item:nth-child(-n+2){ border-top:1px solid var(--border-soft); padding-top:28px; }
  .why-item:first-child{ border-top:none; padding-top:0; }
}

/* ═══════════════════════════════════════════════════════════════
   Product tabs section
═══════════════════════════════════════════════════════════════ */
.prod-tabs{
  max-width:1240px; margin:0 auto; padding:0 24px 64px;
}

/* ── Tab strip ── */
.pt-strip{
  display:flex; gap:0; margin-bottom:36px;
  border-bottom:2px solid var(--border-soft);
}
.pt-tab{
  flex:1; position:relative;
  background:none; border:none; cursor:pointer;
  padding:20px; text-align:left; font:inherit;
  color:var(--ink-faint); transition:color .2s var(--ease);
  text-align: center;
}
.pt-tab:hover{ color:var(--ink-soft); }
.pt-tab.is-active{ color:var(--ink); }
.pt-tab-label{
  display:block; font-size:15px; font-weight:600;
  letter-spacing:-.01em;
}

/* progress bar inside each tab — fills during the interval */
.pt-tab-progress{
  display:block; height:2px;
  position:absolute; bottom:-2px; left:0; right:0;
  overflow:hidden;
}
.pt-tab-bar{
  display:block; height:100%;
  background:var(--accent-1); width:0%;
  /* JS drives width via a CSS custom property transition */
  transition:width var(--pt-dur,5s) linear;
}
.pt-tab.is-active .pt-tab-bar{ width:100%; }

/* ── Panel ── */
.pt-panel{ display:none; }
.pt-panel.is-active{ display:block; }
.pt-panel[hidden=""]{ display:none; }

.pt-body{
  display:grid;
  grid-template-columns:40% 1fr;
  gap:0 64px;
  align-items:center;
  min-height:380px;
}

/* Left column */
.pt-info{
  display:flex; flex-direction:column; gap:0;
}
.pt-icon{
  display:flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:18px; flex:none;
  color:#fff; background:var(--accent-grad);
  box-shadow:0 12px 28px -14px rgba(245,85,19,.6);
  margin-bottom:20px;
}
.pt-icon svg{ width:32px; height:32px; }
.pt-info .feat-heading{ margin:0 0 12px; }
.pt-info .feat-text{ margin:0 0 24px; }
.pt-platforms{
  display:flex; align-items:center; gap:14px;
}
.pt-platforms .pt-mp{
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-faint); transition:color .15s var(--ease);
}
.pt-platforms .pt-mp:hover{ color:var(--ink-soft); }
.pt-platforms .pt-mp svg{ width:18px; height:18px; display:block; }

/* Right column — placeholder screen */
.pt-img-wrap{
  display:flex; align-items:center; justify-content:center;
  border-radius:18px; overflow:hidden;
  background:var(--canvas); border:1px solid var(--border);
  box-shadow:0 24px 48px -24px rgba(0,0,0,.18);
  aspect-ratio:16/10;
}
.pt-img-screen{
  width:100%; height:100%;
  background:linear-gradient(135deg, color-mix(in srgb, var(--pt-accent) 12%, #fff) 0%, #fff 100%);
  padding:20px 24px; display:flex; flex-direction:column; gap:10px; position:relative;
}
.pt-img-topbar{
  display:flex; gap:7px; margin-bottom:8px;
}
.pt-img-topbar span{
  width:11px; height:11px; border-radius:50%;
  background:var(--border);
}
.pt-img-content{ display:flex; flex-direction:column; gap:10px; flex:1; }
.pt-img-bar{
  height:10px; border-radius:6px;
  background:color-mix(in srgb, var(--pt-accent) 22%, var(--border));
}
.pt-img-label{
  position:absolute; bottom:20px; right:24px;
  font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--pt-accent); opacity:.7;
}

/* panel fade-in */
@keyframes ptFadeIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
.pt-panel.is-active{ animation:ptFadeIn .28s var(--ease) both; }

@media (max-width:880px){
  .pt-body{ grid-template-columns:1fr; min-height:auto; gap:32px; }
  .pt-img-wrap{ aspect-ratio:16/9; }
}
@media (max-width:560px){
  .pt-strip{ gap:0; }
  .pt-tab{ padding:12px 10px 0; }
  .pt-tab-label{ font-size:13px; }
}
@media (prefers-reduced-motion: reduce){
  .pt-panel.is-active{ animation:none; }
  .pt-tab-bar{ transition:none; }
}

/* ══════════════════════════════════════════════════════════════════
   PATCH: feat-heading — remove the 18px override in why-item
   The base .feat-heading already governs size; the override added
   last session conflicts, so we drop it.
══════════════════════════════════════════════════════════════════ */
.why-item .feat-heading{ margin:0 0 6px; }

/* ══════════════════════════════════════════════════════════════════
   WHY grid — 3 columns
══════════════════════════════════════════════════════════════════ */
.why-grid{ grid-template-columns: repeat(3,1fr); gap: 0 56px; }
.why-item:nth-child(-n+3){ border-top:none; padding-top:0; }
.why-item:nth-child(n+4){ border-top:1px solid var(--border-soft); }
@media (max-width:860px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

/* ══════════════════════════════════════════════════════════════════
   PROD-TABS — dark background #29211D
══════════════════════════════════════════════════════════════════ */
.prod-tabs{
  background: #29211D;
  max-width: 1240px;          /* full-bleed background */
  padding:0 0 64px;
  margin: 0 auto;
  border-radius: 20px;
}
/* constrain content inside */
.prod-tabs .pt-strip,
.prod-tabs .pt-panel{ max-width:1240px; margin-left:auto; margin-right:auto; padding-left:24px; padding-right:24px; }

/* on dark: strip border */
.pt-strip{ border-bottom-color: rgba(255,255,255,0.12); }

/* tab button on dark */
.pt-tab{ color: rgba(255,255,255,0.38); }
.pt-tab:hover{ color: rgba(255,255,255,0.65); }
.pt-tab.is-active{ color: #fff; }
.pt-tab-bar{ background: #F55513; }

/* headings and text on dark */
.prod-tabs .feat-heading{ color: #fff; font-weight:100; }
.prod-tabs .feat-text{ color: rgba(255,255,255,0.6); }

/* icon on dark — slightly lighter shadow */
.prod-tabs .pt-icon{ box-shadow: 0 12px 28px -14px rgba(0,0,0,0.8); }

/* platform buttons on dark */
.pt-platforms{ gap: 10px; flex-wrap:wrap; }
.pt-plat-btn{
  display:inline-flex; align-items:center; gap:7px;
  padding:7px 14px;
  border-radius:99px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.07);
  color:rgba(255,255,255,0.75);
  font-size:13px; font-weight:500;
  text-decoration:none;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
  cursor:pointer;
}
.pt-plat-btn:hover{
  background:rgba(255,255,255,0.14);
  border-color:rgba(255,255,255,0.35);
  color:#fff;
}
.pt-plat-icon{ display:flex; align-items:center; justify-content:center; }
.pt-plat-icon svg{ width:14px; height:14px; display:block; }
/* keep old .pt-mp hidden if any stray ones remain */
.pt-platforms .pt-mp{ display:none; }

/* screen / right col on dark */
.pt-img-wrap{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 24px 64px -24px rgba(0,0,0,0.6);
}
.pt-img-screen{
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--pt-accent) 18%, #29211D) 0%,
    #29211D 100%);
}
.pt-img-topbar span{ background: rgba(255,255,255,0.15); }
.pt-img-bar{ background: color-mix(in srgb, var(--pt-accent) 40%, rgba(255,255,255,0.08)); }
.pt-img-label{ opacity: 0.55; color: var(--pt-accent); }

/* ══════════════════════════════════════════════════════════════════
   FOOTER — 3 columns + bottom bar
══════════════════════════════════════════════════════════════════ */
.site-footer{
  background: var(--dark, #1a1a1a);
  color: rgba(255,255,255,0.6);
}
.footer-top{
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo{ height:32px; margin-bottom:14px; display:block; }
.footer-tagline{ font-size:13.5px; line-height:1.6; color:rgba(255,255,255,0.45); margin:0 0 20px; max-width:240px; }

.footer-store-badges{ display:flex; gap:10px; flex-wrap:wrap; }
.store-badge{
  display:flex; align-items:center; gap:9px;
  padding:8px 14px 8px 12px; border-radius:11px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.03);
  text-decoration:none; color:#fff;
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
.store-badge:hover{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.28); transform:translateY(-1px); }
.store-badge-icon{ display:flex; align-items:center; justify-content:center; flex:none; }
.store-badge-icon svg{ width:18px; height:18px; display:block; }
.store-badge-text{ display:flex; flex-direction:column; line-height:1.25; }
.store-badge-text small{ font-size:9.5px; color:rgba(255,255,255,0.5); letter-spacing:0.01em; }
.store-badge-text b{ font-size:13.5px; font-weight:700; letter-spacing:-0.01em; }
.footer-col-title{
  font-size:12px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:rgba(255,255,255,0.35);
  margin:0 0 16px;
}
.footer-col-links{ display:flex; flex-direction:column; gap:10px; }
.footer-col-links a{
  font-size:14px; color:rgba(255,255,255,0.6);
  text-decoration:none;
  transition:color .15s ease;
}
.footer-col-links a:hover{ color:#fff; }

.footer-bottom{
  max-width:1240px;
  margin:0 auto;
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-copy{ font-size:13px; color:rgba(255,255,255,0.3); }
.footer-social{ display:flex; align-items:center; gap:6px; }
.footer-social-link{
  display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:50%;
  color:rgba(255,255,255,0.4);
  border:1px solid rgba(255,255,255,0.1);
  text-decoration:none;
  transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.footer-social-link:hover{
  color:#fff;
  border-color:rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.07);
}

@media (max-width:760px){
  .footer-top{ grid-template-columns:1fr 1fr; }
  .footer-col-brand{ grid-column:1/-1; }
}
@media (max-width:480px){
  .footer-top{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:12px; }
}

/* ══════════════════════════════════════════════════════════════════
   Per-product tab background
   JS writes --pt-bg on .prod-tabs whenever a tab activates.
   We use a pseudo-element crossfade instead of background-color
   transition (background-color can't tween between arbitrary hex
   values without a flash in older engines), so we layer two
   backgrounds and fade the top one's opacity.
══════════════════════════════════════════════════════════════════ */
.prod-tabs{
  position:relative;
  isolation:isolate;                  /* new stacking context */
  background: var(--pt-bg, #2C1A10); /* fallback = notes colour */
  transition: background 0.55s ease;
}

/* ============================================================
   TESTIMONIALS — horizontal scroll
   ============================================================ */
.tst{
  max-width:1240px;
  margin:0 auto;
  padding:56px 0 64px;
  overflow:hidden; /* contain the scroller's edge fade */
}
.tst-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  max-width:1240px;
  margin:0 auto 30px;
  padding:0 24px;
}
.tst-head-text{ max-width:560px; }
.tst-head .eyebrow{ margin:0 0 14px; }
.tst-title{
  font-size:clamp(26px,3.4vw,38px);
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:200;
  color:var(--ink);
  margin:0;
}

/* nav arrows */
.tst-nav{ display:flex; gap:10px; flex-shrink:0; }
.tst-arrow{
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--ink);
  cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease),
             color .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
}
.tst-arrow:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.tst-arrow:active{ transform:scale(.94); }
.tst-arrow:disabled{ opacity:.35; cursor:default; }
.tst-arrow:disabled:hover{ background:var(--card); border-color:var(--border); color:var(--ink); }

/* scroller */
.tst-scroller{
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:none;            /* continuous marquee auto-scroll */
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;              /* Firefox */
  cursor:grab;
  /* fade the left/right edges into the page */
  -webkit-mask-image:linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image:linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.tst-scroller::-webkit-scrollbar{ display:none; }  /* Chrome/Safari */
.tst-scroller.is-dragging{ cursor:grabbing; scroll-snap-type:none; }
.tst-scroller:focus-visible{ outline:2px solid var(--accent-1); outline-offset:4px; border-radius:var(--radius-lg); }

.tst-track{
  display:flex;
  gap:20px;
  padding:6px 0 8px;                /* no side padding → seamless marquee loop */
  width:max-content;
}

/* card */
.tst-card{
  scroll-snap-align:start;
  flex:0 0 auto;
  width:340px;
  min-height:100%;
  display:flex;
  flex-direction:column;
  margin:0;
  padding:28px 26px 24px;
  background:#F6F6F6;
  border-radius:var(--radius-lg);
  position:relative;;
}
.tst-mark{
  font-family:Georgia, 'Times New Roman', serif;
  font-size:56px;
  line-height:1;
  height:30px;
  color:var(--accent-1);
  opacity:.9;
  margin-bottom:10px;
  display:block;
}
.tst-quote{
  margin:0 0 22px;
  font-size:16px;
  line-height:1.6;
  letter-spacing:-.01em;
  color:var(--ink);
  flex:1 1 auto;
}
.tst-person{
  display:flex;
  align-items:center;
  gap:10px;
}
.tst-avatar{
  flex-shrink:0;
  width:44px; height:44px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
  color:#fff;
  background:linear-gradient(135deg, var(--a1, var(--accent-1)) 0%, var(--a2, var(--accent-2)) 100%);
  box-shadow:0 6px 14px -6px rgba(22,20,15,0.4);
}
.tst-photo{
  flex-shrink:0;
  width:48px; height:48px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  background:var(--border-soft);
}
.tst-meta{ display:flex; flex-direction:column; line-height:1.3; min-width:0; }
.tst-name{ font-size:14.5px; font-weight:700; color:var(--ink); }
.tst-role{ font-size:12.5px; color:var(--ink-soft); margin-top:2px; }

@media (max-width:600px){
  .tst-nav{ display:none; }               /* swipe on mobile */
  .tst-card{ width:82vw; max-width:320px; }
  .tst-head{ margin-bottom:24px; }
}
@media (prefers-reduced-motion:reduce){
  .tst-scroller{ scroll-behavior:auto; }
  .tst-card{ transition:none; }
}

/* ================= BLOG ================= */
.blog{
  max-width:1240px;
  margin:0 auto;
  padding:24px 24px 72px;
}
.blog-head{
  max-width:640px;
  margin:0 0 34px;
}
.blog-head .eyebrow{ margin:0 0 14px; }
.blog-title{
  font-size:clamp(26px,3.4vw,38px);
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:200;
  color:var(--ink);
  margin:0;
}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.blog-card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.blog-card:hover{
  transform:translateY(-4px);
  border-color:var(--border-soft);
  box-shadow:0 2px 4px rgba(22,20,15,0.05), 0 22px 44px -22px rgba(22,20,15,0.28);
}
.blog-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  height:150px;
  color:#fff;
  background:linear-gradient(135deg, var(--c1, var(--accent-1)) 0%, var(--c2, var(--accent-2)) 100%);
}
.blog-cover svg{ opacity:.95; }
.blog-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  padding:22px 22px 24px;
}
.blog-cat{
  display:inline-block;
  align-self:flex-start;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent-1);
  margin-bottom:12px;
}
.blog-card-title{
  font-size:18px;
  line-height:1.3;
  letter-spacing:-.01em;
  font-weight:700;
  color:var(--ink);
  margin:0 0 10px;
}
.blog-excerpt{
  font-size:14px;
  line-height:1.6;
  color:var(--ink-soft);
  margin:0 0 18px;
  flex:1 1 auto;
}
.blog-meta{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  color:var(--ink-faint);
}
.blog-dot{ opacity:.7; }
.blog-more{
  display:flex;
  justify-content:center;
  margin-top:44px;
}
.blog-more-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:13px 24px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--ink);
  font-size:14.5px;
  font-weight:700;
  letter-spacing:-.01em;
  text-decoration:none;
  transition:background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.blog-more-link svg{ transition:transform .2s var(--ease); }
.blog-more-link:hover{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}
.blog-more-link:hover svg{ transform:translateX(3px); }

@media (max-width:900px){
  .blog-grid{ grid-template-columns:1fr; max-width:520px; margin:0 auto; }
}

/* ================= COMPANY PAGE ================= */
.cmp-hero{
  max-width:1240px;
  margin:0 auto;
  padding:64px 24px 72px;
}
.cmp-hero-inner{ max-width:820px; }
.cmp-hero .eyebrow{ margin:0 0 18px; }
.cmp-hero h1{
  font-size:clamp(34px,5.2vw,62px);
  line-height:1.04;
  letter-spacing:-0.03em;
  font-weight:800;
  color:var(--ink);
  margin:0 0 22px;
}
.cmp-hero h1 .cmp-grad{
  background:var(--accent-grad);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.cmp-lede{
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.6;
  color:var(--ink-soft);
  margin:0 0 16px;
  max-width:700px;
}
.cmp-lede strong{ color:var(--ink); font-weight:700; }

/* ---- principles ---- */
.cmp-principles{
  max-width:1240px;
  margin:0 auto;
  padding:8px 24px 84px;
}
.cmp-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.cmp-card{
  position:relative;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:34px 32px 32px;
  overflow:hidden;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cmp-card:hover{
  transform:translateY(-4px);
  box-shadow:0 2px 4px rgba(22,20,15,0.05), 0 22px 44px -22px rgba(22,20,15,0.28);
}
.cmp-card::after{
  content:"";
  position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg, var(--c1, var(--accent-1)), var(--c2, var(--accent-2)));
  opacity:0; transition:opacity .25s var(--ease);
}
.cmp-card:hover::after{ opacity:1; }
.cmp-card-icon{
  width:50px; height:50px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--c1, var(--accent-1)) 0%, var(--c2, var(--accent-2)) 100%);
  color:#fff;
  margin-bottom:20px;
}
.cmp-card h2{
  font-size:22px; letter-spacing:-0.02em; font-weight:800;
  color:var(--ink); margin:0 0 14px;
}
.cmp-card .cmp-strap{
  font-size:15px; line-height:1.6; color:var(--ink);
  font-weight:600; margin:0 0 12px;
}
.cmp-card .cmp-strap span{ display:block; }
.cmp-card p{
  font-size:14.5px; line-height:1.65; color:var(--ink-soft); margin:0 0 12px;
}
.cmp-card p:last-child{ margin-bottom:0; }
.cmp-kicker{
  font-size:14.5px; line-height:1.6; font-weight:700;
  color:var(--accent-1); margin:16px 0 0;
}

/* ---- philosophy (dark panel) ---- */
.cmp-philosophy{
  max-width:1240px;
  margin:0 auto 84px;
  padding:0 24px;
}
.cmp-philosophy-inner{
  position:relative;
  overflow:hidden;
  background:var(--dark);
  border-radius:var(--radius-xl);
  padding:72px 56px 76px;
  text-align:center;
  color:var(--on-dark);
}
.cmp-philosophy-inner::before{
  content:"";
  position:absolute; inset:-40% -10% auto -10%; height:80%;
  background:radial-gradient(60% 60% at 50% 0%, rgba(245,85,19,0.28), transparent 70%);
  pointer-events:none;
}
.cmp-philosophy .eyebrow{ color:var(--accent-1); position:relative; margin:0 0 26px; }
.cmp-creed{
  position:relative;
  list-style:none; margin:0 auto; padding:0;
  max-width:640px;
  display:flex; flex-direction:column; gap:12px;
}
.cmp-creed li{
  font-size:clamp(22px,2.6vw,32px);
  line-height:1.25; letter-spacing:-0.02em; font-weight:800;
  color:var(--on-dark);
}
.cmp-creed li:nth-child(even){ color:var(--on-dark-soft); }
.cmp-signature{
  position:relative;
  margin:34px 0 0;
  font-size:17px; font-weight:700; letter-spacing:-0.01em;
}
.cmp-signature span{
  background:var(--accent-grad);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* ---- origin strip ---- */
.cmp-origin{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px 96px;
}
.cmp-origin-inner{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  text-align:center;
}
.cmp-origin-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px 24px;
}
.cmp-origin-item .cmp-origin-ico{
  width:42px; height:42px; margin:0 auto 16px;
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:var(--accent-wash); color:var(--accent-1);
}
.cmp-origin-item strong{
  display:block; font-size:19px; letter-spacing:-0.01em; font-weight:800; color:var(--ink); margin-bottom:6px;
}
.cmp-origin-item span{ font-size:13.5px; color:var(--ink-soft); }

@media (max-width:900px){
  .cmp-grid{ grid-template-columns:1fr; }
  .cmp-origin-inner{ grid-template-columns:1fr; }
  .cmp-philosophy-inner{ padding:52px 24px 56px; border-radius:var(--radius-lg); }
  .cmp-hero{ padding:44px 24px 52px; }
}

/* =====================================================
   Common heading class
   One shared class `.heading` for every heading/subheading.
   Hierarchy comes from the tag (h1/h2/h3/h4) + the component
   context, so pages no longer need many bespoke title classes.
   ===================================================== */
.heading{
  margin:0;
  color:var(--ink);
  font-weight:200;
  line-height:1.15;
  letter-spacing:-0.02em;
}

/* hero headline */
.hero-cell .heading{
  font-size:clamp(40px, 5.6vw, 74px);
  font-weight:100;
  line-height:1.18;
  letter-spacing:-0.035em;
  margin:0 auto 22px;
  max-width:14ch;
}

/* section titles — why / testimonials / blog */
.why-head .heading,
.tst-head .heading,
.blog-head .heading{
  font-size:clamp(26px, 3.4vw, 38px);
  font-weight:200;
  line-height:1.1;
}

/* feature headings — product tabs + why items */
.pt-info .heading,
.why-item .heading{
  font-size:clamp(24px, 2.4vw, 32px);
  font-weight:100;
  line-height:1.15;
}
.pt-info .heading{ margin:0 0 12px; }
.why-item .heading{ font-size:24px; margin:0 0 6px; }
.prod-tabs .heading{ color:#fff; font-weight:100; }

/* blog card title */
.blog-card .heading{
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-0.01em;
  margin:0 0 10px;
}

/* footer column title */
.footer-col .heading{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.35);
  margin:0 0 16px;
}

/* =====================================================
   Utility / modifier classes
   Replace former inline style="" values on the landing page.
   ===================================================== */

/* product-tab mock-screen accent (was style="--pt-accent:…") */
.pt-img-screen--notes{ --pt-accent:#F55513; }
.pt-img-screen--workspace{ --pt-accent:#6366F1; }
.pt-img-screen--brainstorm{ --pt-accent:#10B981; }

/* product-tab mock bar widths (was style="width:…") */
.pt-img-bar.w40{ width:40%; }
.pt-img-bar.w45{ width:45%; }
.pt-img-bar.w50{ width:50%; }
.pt-img-bar.w55{ width:55%; }
.pt-img-bar.w60{ width:60%; }
.pt-img-bar.w65{ width:65%; }
.pt-img-bar.w70{ width:70%; }
.pt-img-bar.w75{ width:75%; }
.pt-img-bar.w80{ width:80%; }
.pt-img-bar.w85{ width:85%; }
.pt-img-bar.w90{ width:90%; }

/* blog cover gradients (was style="--c1:…;--c2:…") */
.blog-cover--a{ --c1:#F55513; --c2:#DD557E; }
.blog-cover--b{ --c1:#6366F1; --c2:#22D3EE; }
.blog-cover--c{ --c1:#10B981; --c2:#34D399; }
