/* ==========================================================================
   Color Notes — Landing site styles
   Recreated as a static HTML/CSS/JS project from
   https://mycolorstickynotes.wordpress.com/
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-cream: #fffbeb;
  --bg-hero-top: #fffcf4;
  --bg-shots-top: #fff7e6;
  --badge-bg: #fff4d6;
  --icon-bg: #fff1cf;

  /* Text */
  --ink: #221c17;     /* headings */
  --body: #3f3a34;    /* body copy */
  --muted: #6b6157;   /* secondary copy */

  /* Brand / accents */
  --amber: #d97706;
  --amber-dark: #b45309;
  --amber-500: #f59e0b;
  --dark-btn: #16110d;

  /* Lines */
  --border: #f0e6d2;

  /* Footer */
  --footer-bg: #1b1611;
  --footer-text: #d9cfc2;
  --footer-link: #cabfae;
  --footer-muted: #b7ab9b;
  --footer-copy: #9b9081;
  --footer-border: #332a20;

  /* Misc */
  --maxw: 1140px;
  --gutter: 20px;
  --radius-card: 18px;
  --radius-btn: 14px;
  --shadow-sm: 0 1px 2px rgba(34, 28, 23, .06);
  --shadow-img: 0 18px 45px -22px rgba(124, 74, 33, .45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0;
}

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ----------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(46px, 8vw, 84px) 0; }
.section--cream { background: var(--bg-cream); }
.section--tight { padding: clamp(40px, 6vw, 68px) 0; }

.section-head { text-align: center; }
.section-head p {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--amber-dark);
  background: var(--badge-bg);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(1.55rem, 1.1rem + 2vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 .4em;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }

/* Google Play button (two-line label) */
.btn-play {
  background: var(--dark-btn);
  color: #fff;
  padding: 13px 22px;
}
.btn-play small {
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}
.btn-play b { font-size: 1.12rem; font-weight: 700; }
.btn-play .label {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.btn-play .play-icon { flex: 0 0 auto; }
.btn-play--sm { padding: 11px 20px; }
.btn-play--sm b { font-size: 1.05rem; }
.btn-play--light { background: #fff; color: var(--ink); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 1.05rem;
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.06rem;
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 1px 2px rgba(34, 28, 23, .12);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a:not(.btn) {
  color: var(--body);
  font-weight: 650;
  font-size: .95rem;
  text-decoration: none;
  padding: 6px 0;
}
.main-nav a:not(.btn):hover { color: var(--amber-dark); }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--bg-hero-top), var(--bg));
  padding: clamp(40px, 5vw, 72px) 0;
}
.hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.35rem);
  font-weight: 800;
  margin: 0 0 .35em;
}
.hero h1 .accent { color: var(--amber); }
.hero .lead {
  font-size: clamp(1.02rem, .98rem + .4vw, 1.2rem);
  color: var(--body);
  margin: 0 0 1.2rem;
  max-width: 60ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 18px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 650;
  font-size: .86rem;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Phone / screenshot frame */
.device {
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}
.device .frame {
  border-radius: 22px;
  overflow: hidden;
  background: #11121a;
  border: 6px solid #14151d;
  box-shadow: var(--shadow-img);
}
.device .frame img { display: block; width: 100%; height: auto; }

/* ---------- Value strip -------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  list-style: none;
}
.value-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.value-grid b { display: block; color: var(--ink); font-size: .98rem; }
.value-grid .sub { font-size: .88rem; color: var(--muted); }

/* Icon chips (colored square + svg) */
.ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  color: var(--amber-dark);
}
.ico svg { width: 55%; height: 55%; }
.ico--sm { width: 42px; height: 42px; border-radius: 11px; }
.ico--md { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 14px; }

/* Per-feature accent colors */
.ico.c-amber  { background: #fff1cf; color: #b45309; }
.ico.c-rose   { background: #ffe1e8; color: #f43f5e; }
.ico.c-purple { background: #ebe2fe; color: #8b5cf6; }
.ico.c-green  { background: #d8f6e9; color: #0f9d6e; }
.ico.c-sky    { background: #d8f0fb; color: #0ea5e9; }
.ico.c-indigo { background: #e5e7ff; color: #6366f1; }

/* ---------- Features ----------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 30px 0 0;
  list-style: none;
}
.feature-grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feature-grid h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.feature-grid p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Spotlight ---------------------------------------------------- */
.spotlight .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  align-items: center;
}
.checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: #d8f6e9
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* ---------- Screenshots -------------------------------------------------- */
.shots {
  background: linear-gradient(180deg, var(--bg-shots-top), var(--bg));
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 26px 0 0;
  list-style: none;
}
.shot-grid figure { margin: 0; }
.shot-grid .frame {
  border-radius: 16px;
  overflow: hidden;
  background: #11121a;
  border: 5px solid #15161e;
  box-shadow: var(--shadow-img);
}
.shot-grid .frame img { display: block; width: 100%; height: auto; }
.shot-grid figcaption {
  margin-top: 12px;
  font-weight: 650;
  color: var(--ink);
  font-size: .95rem;
  text-align: center;
}

/* ---------- How it works ------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.steps .num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-500);
  color: #3a2a08;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}
.steps h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 5px; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Stats -------------------------------------------------------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.stats div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  min-width: 150px;
}
.stats b { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 800; }
.stats span { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 28px auto 0;
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2px 20px;
}
.faq-list summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--amber-dark);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 18px; color: var(--muted); font-size: .97rem; }
.faq-list .answer a { color: var(--amber-dark); font-weight: 700; text-decoration: underline; }

/* ---------- Final CTA ---------------------------------------------------- */
.cta-card {
  background: linear-gradient(135deg, #2a1c0c, #7c4a21);
  color: #fff;
  border-radius: 26px;
  padding: clamp(34px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-img);
}
.cta-card h2 { color: #fff; }
.cta-card .lead { color: #fbead0; max-width: 56ch; margin: 0 auto 20px; }
.cta-card .cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-card .fine { margin-top: 16px; font-size: .86rem; color: #f3d9b4; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 54px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: #fff;
  font-size: 1.06rem;
  text-decoration: none;
}
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.footer-tag {
  color: var(--footer-muted);
  font-size: .93rem;
  max-width: 34ch;
  margin: 12px 0 0;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer ul a {
  color: var(--footer-link);
  font-size: .94rem;
  text-decoration: none;
}
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-bar {
  border-top: 1px solid var(--footer-border);
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--footer-copy);
}
.footer-bar span:last-child { max-width: 60ch; }

/* ---------- Legal / document page --------------------------------------- */
.doc-wrap { padding: 30px 0 clamp(40px, 7vw, 72px); }
.breadcrumb {
  font-size: .95rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--amber-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.doc {
  max-width: 830px;
  margin: 16px auto 0;
}
.doc h1 {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.45rem);
  font-weight: 800;
  margin: 0 0 10px;
}
.doc-body { color: var(--body); font-size: 1.02rem; line-height: 1.75; }
.doc-body h2 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 1.7em 0 .45em;
}
.doc-body p { margin: 0 0 1em; }
.doc-body strong { color: var(--ink); }
.updated {
  display: inline-block;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .85rem;
  padding: 6px 13px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.decl-list {
  list-style: none;
  margin: 0 0 1.2em;
  display: grid;
  gap: 11px;
}
.decl-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 600;
}
.decl-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--icon-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.callout {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber-500);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 1.3em 0;
}
.callout p:last-child { margin-bottom: 0; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1em 0;
  font-size: .94rem;
}
.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  background: var(--bg-cream);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.info-table a { color: var(--amber-dark); text-decoration: underline; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px var(--gutter) 18px;
    box-shadow: 0 12px 24px -16px rgba(34, 28, 23, .4);
    /* collapsed by default on mobile */
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav .btn-play {
    justify-content: center;
    margin-top: 8px;
  }
  .site-header .container { position: relative; }

  .footer-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-cta .btn,
  .cta-card .btn { width: 100%; justify-content: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
