:root{
  /* NoteWave palette */
  --primary: #00B4D7;
  --primary-2: #91E0EF;
  --primary-3: #CAF1F8;
  --navy: #03045E;

  /* Neutrals */
  --bg: #FFFFFF;
  --text: #0B1230;
  --muted: rgba(11,18,48,0.62);

  /* Surfaces / borders */
  --card: #FFFFFF;
  --border: rgba(11,18,48,0.12);
  --border-strong: rgba(11,18,48,0.16);

  /* Radii */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 12px;

  /* Focus ring */
  --focus: rgba(145,224,239,0.38);

  /* Spacing */
  --wrap: 980px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  min-height:100svh;

  /* Global background (you switched to the bold blue look) */
  background: var(--primary);
  color: #ffffff;

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px 20px 44px;
  display:flex;
  flex-direction:column;
  min-height:100svh;
  gap: 18px;
}

/* =========================
   Header
   ========================= */

header.site-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  padding: 6px 0 4px;
  color: #ffffff;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}
.brand:hover{ text-decoration:none; }

.logo{
  width: 48px;
  height: 48px;
  display:block;
}

.brand-text h1{
  margin:0;
  font-size: 17px;
  font-weight: 800; /* NoteWave bold */
  letter-spacing: -0.2px;
  line-height: 1.1;
}

.brand-studio{
  font-weight: 500; /* Studio lighter */
  opacity: 0.85;    /* optional, looks more refined */
}

/* Top nav */
.top-nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-link{
  font-weight: 700;
  color: rgba(255,255,255,0.86);
  padding: 8px 8px;
  border-radius: 10px;
}
.nav-link:hover{
  text-decoration:none;
  background: rgba(255,255,255,0.14);
  color: #ffffff;
}

/* Secondary nav button (still used on other pages if needed) */
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  cursor:pointer;
  transition: background 120ms ease, filter 120ms ease;
}
.btn-secondary:hover{
  text-decoration:none;
  background: rgba(255,255,255,0.16);
}
/* Contact page */
.contact-card{
  max-width: 640px;
  width: 100%;
}

.contact-lead{
  margin-top: 8px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 560;
}

.contact-block{
  margin-top: 14px;
}

.contact-email{
  margin: 6px 0 0;
}

.contact-socials{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.contact-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
  font-weight: 750;
  text-decoration: none;
}

.contact-socials a:hover{
  background: rgba(255,255,255,0.18);
}

/* CTA (primary button) */
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  height: 46px;
  padding: 0 22px;

  border-radius: var(--radius-sm);
  border: none;
  background: #ffffff;
  color: var(--primary);

  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.2px;

  cursor: pointer;
  transition: filter 120ms ease, transform 80ms ease;
}
.cta:hover{
  text-decoration: none;
  filter: brightness(0.96);
}
.cta:active{
  transform: translateY(0.5px);
}

/* Small CTA for header */
.cta.cta-small{
  height: 40px;
  padding: 0 14px;
  font-size: 14.5px;
}

/* =========================
   Main layout
   ========================= */

main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow: hidden;
}

/* Landing page main override */
main.main-home{
  display:flex;
  flex-direction:column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: visible;
  gap: 18px;
}

/* Background phone image (unused now; keep for other pages if referenced) */
.hero-phone{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: min(620px, 66vw);
  height:auto;
  opacity: 0.24;
  pointer-events:none;
  user-select:none;
  z-index:0;
}

/* Optional hero background layer (kept subtle) */
.hero-bg{
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index:0;
  opacity: 0.14;
  background:
    radial-gradient(900px 600px at 12% 10%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(780px 520px at 92% 18%, rgba(0,0,0,0.08), transparent 58%);
}

/* Typography */
h2{
  margin: 0 0 10px;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 850;
  letter-spacing: -0.6px;
  line-height: 1.02;
}

.page-title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

p{
  margin: 0 0 16px;
  max-width: 70ch;
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 560;
}

/* =========================
   Hero
   ========================= */

.hero{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 34px 0 6px;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items:center;
}

.hero-copy h2{
  text-align:left;
  margin-bottom: 10px;
}

.hero-sub{
  text-align:left;
  margin-left: 0;
  margin-right: 0;
  max-width: 64ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Phones */
.hero-media{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  overflow: visible;
}

.hero-phone-foreground{
  width: min(560px, 56vw);
  height:auto;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.35));
  transform: translate(40px, 8px);
}

/* Store badges (glass, not white blocks) */
/* Store row */
.store-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}

/* Badge wrapper becomes “invisible” (no glass pill) */
.store-badge{
  display:inline-flex;
  align-items:center;
  padding: 0;
  border: 0;
  background: transparent;
  height: auto;
}
.store-badge:hover{
  text-decoration:none;
  filter: brightness(0.98);
}

/* Apple-like badge image sizing */
.app-store-badge{
  height: 200px;     /* match your previous badge height */
  transform: translate(-30px, -85px);
  width: auto;
  display: block;
  border-radius: 10px; /* subtle rounding so it fits your aesthetic */
}

/* =========================
   Sections / Features
   ========================= */

.section{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px 0 0;
}

/* If you’re using the “Features header” version */
.features-wrap{ padding: 10px 0 8px; }

.features-head{
  text-align:left;
  margin: 6px 0 14px;
  max-width: 72ch;
}

.features-kicker{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.features-title{
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  color: #ffffff;
}

.features-sub{
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1.55;
}

.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

/* Feature cards = White */
.feature-card{
  padding: 18px 16px;
  border-radius: 20px;
  background: #ffffff;              /* solid white */
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon{
  width: 72px;
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 12px;

  background: transparent;
  border: none;
  border-radius: 0;
}

.feature-icon img{
  width: 72px;
  height: 72px;
  display:block;
}

.feature-title{
  font-weight: 900;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--text);
}

.feature-text{
  margin:0;
  color: var(--text);
  font-weight: 650;
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================
   Utility / Other pages
   ========================= */

.divider{
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 18px 0;
}

.section-title{
  font-weight: 800;
  font-size: 12px;
  margin: 14px 0 8px;
  color: rgba(255,255,255,0.80);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-box{
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.info-title{
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.clean-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.80);
  font-weight: 650;
  line-height: 1.6;
}

.small{
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  font-weight: 650;
  margin-bottom: 10px;
}

.tiny-note{
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}

.backlink{
  display:inline-block;
  margin-top: 14px;
  color: rgba(255,255,255,0.92);
  font-weight: 750;
}
.backlink:hover{ text-decoration: underline; }

/* Forms (keep readable on blue) */
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  font-weight: 650;
  outline: none;
}

input::placeholder, textarea::placeholder{
  color: rgba(255,255,255,0.70);
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(255,255,255,0.45);
  outline: 3px solid rgba(255,255,255,0.20);
  outline-offset: 1px;
}

.wide{ width: 100%; }
.hidden{ display:none; }

/* Link box (download page) */
.linkbox{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.linkbox code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  color: rgba(255,255,255,0.92);
  overflow-wrap:anywhere;
}

/* =========================
   Footer
   ========================= */

.footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 650;
}

.nav{
  display:flex;
  gap: 18px;
  font-weight: 700;
}

.nav a{
  color: rgba(255,255,255,0.82);
}

.nav a:hover{
  color: #ffffff;
  text-decoration: none;
}

.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 14px;
}

.footer-socials{
  display:flex;
  align-items:center;
  gap: 10px;
}

.footer-socials a{
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  transition: background 120ms ease;
}

.footer-socials a:hover{
  background: rgba(255,255,255,0.18);
}

.footer-socials img{
  width: 30px;
  height: 30px;
  display:block;
}

.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

/* RIGHT SIDE (socials + copyright) */
.footer-right{
  display:flex;
  align-items:center;
  gap: 16px;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 840px){
  .hero{
    grid-template-columns: 1fr;
    padding-top: 18px;
    gap: 18px;
  }

  .hero-media{
    justify-content:center;
  }

  .hero-phone-foreground{
    transform: none;
    width: min(520px, 90vw);
  }

  .feature-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .wrap{
    padding: 22px 16px 40px;
  }

  .nav{
    gap: 14px;
  }
}
/* =========================
   FAQ
   ========================= */

.faq-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
  max-width: 760px;
}

.faq-item{
  border-radius: 18px;
  background: #ffffff;              /* solid white */
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.faq-item summary{
  cursor: pointer;
  font-weight: 850;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item p{
  margin: 10px 0 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 650;
}
.store-badge{
  display: inline-flex;
  align-items: center;
  line-height: 0; /* critical */
}
.app-store-badge{
  display: block;
}
/* =========================
   Mobile header fix
   ========================= */

@media (max-width: 640px){

  header.site-header{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px 0 2px;
  }

  /* Brand stays on its own row */
  .brand{
    justify-content: flex-start;
  }

  /* Make the nav a tidy grid instead of wrapping inline */
  .top-nav{
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 2 columns */
    gap: 10px 12px;
    align-items: center;
  }

  .nav-link{
    padding: 10px 10px;
    text-align: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
  }

  /* CTA becomes the “main” button row */
  .cta.cta-small{
    grid-column: 1 / -1;            /* span full width */
    width: 100%;
    justify-content: center;
    height: 44px;
  }

  /* Optional: slightly smaller logo on mobile */
  .logo{
    width: 38px;
    height: 38px;
  }
}
/* =========================
   Collapsible mobile header
   ========================= */

.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.header-handle{
  display:none; /* desktop hidden */
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}

.handle-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.chev{
  display:inline-block;
  font-size: 16px;
  line-height: 1;
  color: rgba(255,255,255,0.92);
  transform: translateY(-1px);
  transition: transform 160ms ease;
}

@media (max-width: 640px){
  header.site-header{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 4px;
  }

  .header-handle{ display:inline-flex; }

  /* Collapse container */
  .header-collapse{
    overflow: hidden;
    transition: max-height 220ms ease, opacity 180ms ease;
    max-height: 260px; /* expanded height budget */
    opacity: 1;
  }

  /* When collapsed */
  header.site-header.is-collapsed .header-collapse{
    max-height: 0;
    opacity: 0;
  }

  header.site-header.is-collapsed .chev{
    transform: rotate(180deg); /* arrow flips when closed */
  }

  /* Your nav as a tidy grid on mobile */
  .top-nav{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    align-items:center;
    padding-top: 4px;
  }

  .nav-link{
    padding: 10px 10px;
    text-align: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
  }

  .cta.cta-small{
    grid-column: 1 / -1;
    width: 100%;
    height: 44px;
    justify-content:center;
  }
}
