/* ===========================================================
   NotedSuite — site styles
   Calm, low-noise, ADHD-friendly. One message at a time.
   =========================================================== */

:root {
  /* Colors (sampled to match the dusk-lake hero) */
  --bg:        #0e1326;   /* page background, deep navy */
  --bg-soft:   #141a32;   /* alternating section tint */
  --text:      #f2f4fb;   /* primary light text */
  --text-dim:  #aeb6cf;   /* secondary text, still readable */
  --accent:    #ff8a6b;   /* warm sunset coral for buttons */
  --accent-2:  #ffd2a8;   /* soft highlight */
  --card:      rgba(20, 26, 50, 0.55);  /* frosted glass */
  --card-line: rgba(255, 255, 255, 0.14);

  /* Spacing & shape */
  --radius: 18px;
  --maxw: 880px;          /* narrow column = easy reading */
  --gap: clamp(2.5rem, 6vw, 5rem);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #1a0f0a;
}
.btn-primary:hover { background: var(--accent-2); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--card-line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--card-line);
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95rem;
}
footer a { color: var(--text-dim); text-decoration: none; margin: 0 0.6rem; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .copyright { margin-top: 1rem; opacity: 0.7; }

/* ---------- SIMPLE CONTENT PAGES (privacy / support / help) ---------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
}
.page a.back { color: var(--accent-2); text-decoration: none; font-size: 0.95rem; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 1rem 0 0.25rem; }
.page .updated { color: var(--text-dim); margin: 0 0 2rem; font-size: 0.9rem; }
.page h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.page h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; color: var(--text); }
.page p, .page li { color: var(--text-dim); }
.page a { color: var(--accent-2); }
.page-wide { max-width: 900px; }

.page code {
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: var(--text);
  white-space: nowrap;
}

.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.75rem;
}
.page th, .page td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--card-line);
  font-size: 0.95rem;
}
.page th { color: var(--text); font-weight: 600; }
.page td { color: var(--text-dim); }

/* ---------- HELP / TOC ---------- */
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 3rem;
}
.toc h2 { margin: 0 0 0.75rem; }
.toc ul {
  columns: 2;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.1rem;
}
.toc li { margin-bottom: 0.5rem; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.back-to-top { display: inline-block; margin: 0 0 2.5rem; font-size: 0.9rem; }

@media (max-width: 640px) {
  .toc ul { columns: 1; }
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.5rem 0 2.5rem;
}
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
}
.contact-form select option {
  background: var(--bg-soft);
  color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.contact-form button { align-self: flex-start; border: none; cursor: pointer; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- PRODUCT HERO (Tab.Noted homepage) ---------- */
.tn-hero {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem 2rem;
  text-align: center;
}
.tn-hero img.icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.tn-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 0.25rem;
}
.tn-hero .subhead {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 1rem;
}
.tn-hero .lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 auto;
}
.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--card-line);
  font-size: 1rem;
  font-weight: 600;
}
.badge-pending .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.85;
}

/* ---------- PRODUCT SCREENSHOT ---------- */
.shot {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 2rem;
  text-align: center;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--card-line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

/* ---------- FEATURE BANDS ---------- */
.feature-band {
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem;
}
.feature-band--alt { background: var(--bg-soft); }
.feature-band-inner {
  max-width: 640px;
  margin: 0 auto;
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.feature-band h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.feature-band p {
  color: var(--text-dim);
  margin: 0 0 0.5rem;
}
.feature-band p.detail {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ---------- FEATURE GRID (compact callouts) ---------- */
.feature-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.feature-grid-item {
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ---------- PRICING BLOCK ---------- */
.pricing-block {
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem 4rem;
  text-align: center;
}
.pricing-block .price-amount {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pricing-block .price-label {
  color: var(--text);
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}
.pricing-block .price-line {
  color: var(--text-dim);
  margin: 0 0 0.5rem;
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  .app { flex-direction: column; text-align: center; }
  .app-body { min-width: 0; }
}
