/* ============================================================
   Nit — landing page styles
   Design language: "Paste" — amber lantern on white marble
   (see DESIGN-3.md). White gallery canvas, system-ui type,
   amber gradient reserved for logo + headline accents,
   blue pill CTAs.
   ============================================================ */

:root {
  /* Surfaces */
  --white: #ffffff;
  --snow: #f5f5f7;
  --mist: #f0f0f0;

  /* Lines & text */
  --silver: #d0d0d3;
  --pewter: #ababb0;
  --smoke: #6e6e73;
  --ink: #101010;
  --black: #000000;

  /* Action — cool blue against warm brand */
  --blue: #0088ff;
  --blue-hover: #1c95ff;

  /* Category indicators (never backgrounds) */
  --green: #34c759;
  --magenta: #cb30e0;
  --red: #ff383c;

  /* Amber brand gradient — logo + headline accents only */
  --amber: linear-gradient(0deg, rgb(240, 100, 19) -29.375%, rgb(254, 171, 48) 100%);

  /* Type */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-label: 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-width: 1200px;

  /* The system's single shadow — soft ambient glow */
  --shadow-ambient: rgba(16, 16, 16, 0.1) 0px 0px 30px 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn--blue {
  background: var(--blue);
  color: #ffffff;
  padding: 8px 20px;
}
.btn--blue:hover { background: var(--blue-hover); }

.btn--lg { padding: 14px 34px; font-size: 17px; }
.btn--lg:hover { transform: translateY(-1px); }

/* ============ Brand mark ============ */

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__name {
  font-family: 'Caveat', cursive;
  font-size: 34px;
  font-weight: 600;
  color: var(--black);
}

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--mist);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.nav__links a:hover { color: var(--smoke); }

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

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px 80px;
  text-align: center;
}
.hero__headline {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1.04px;
  color: var(--ink);
  max-width: 12ch;
  margin: 0 auto 24px;
}
.hero__subtext {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--smoke);
}
.hero__microcopy {
  margin-top: 18px;
  font-size: 14px;
  color: var(--pewter);
  letter-spacing: 0.2px;
}

/* ============ App mockup ============ */

.mockup-wrap {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup {
  position: relative;
  width: 360px;
  max-width: 90vw;
  padding: 26px 22px 18px;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 30% -10%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(165deg, #5a9be6 0%, #3f7ccd 55%, #3468b8 100%);
  box-shadow: var(--shadow-ambient);
  color: #ffffff;
  text-align: left;
}
.mockup__notch {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #5a9be6;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}
.mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mockup__title { font-weight: 700; font-size: 18px; color: #ffffff; letter-spacing: -0.3px; }
.mockup__gear { color: rgba(255, 255, 255, 0.7); }

.mockup__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mockup__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eaf2fd;
  font-size: 16px;
  font-weight: 500;
}
.mockup__glyph { color: #dbe8fa; }
.mockup__value { font-weight: 700; font-size: 16px; color: #ffffff; }
.mockup__reset { color: rgba(255, 255, 255, 0.6); font-weight: 400; margin-left: 4px; }

.mockup__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, #f4d38a 0%, #f4d38a 45%, rgba(255, 255, 255, 0.28) 45%, rgba(255, 255, 255, 0.28) 100%);
  outline: none;
  margin-bottom: 26px;
  cursor: pointer;
}
.mockup__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  cursor: grab;
}
.mockup__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  cursor: grab;
}

.mockup__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.mockup__wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
}
.mockup__quit {
  font-size: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 7px 16px;
}

.mockup-caption {
  margin-top: 22px;
  font-size: 14px;
  color: var(--pewter);
}

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

.section {
  padding: 100px 32px;
  text-align: center;
}
.section--gray { background: var(--snow); }

.section__inner,
.section > * { max-width: var(--max-width); margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 16px;
}

.section__headline {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.7px;
  color: var(--ink);
  margin-bottom: 20px;
}

/* Signature move — display headline in the amber brand gradient */
.amber-headline {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1.04px;
  margin-bottom: 20px;
  background: var(--amber);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__desc {
  max-width: 620px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--smoke);
  margin-bottom: 40px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 8px;
  text-align: left;
}
.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-ambient);
}
.feature-card__icon { font-size: 26px; margin-bottom: 14px; line-height: 1; }
.feature-card__cat {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 16px;
  font-weight: 400;
  color: var(--smoke);
}

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

.footer {
  background: var(--white);
  border-top: 1px solid var(--mist);
  padding: 48px 32px;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__links { display: flex; gap: 28px; }
.footer__links a {
  font-size: 15px;
  color: var(--smoke);
  text-decoration: none;
}
.footer__links a:hover { color: var(--ink); }
.footer__copy {
  font-size: 14px;
  color: var(--pewter);
  width: 100%;
  order: 3;
}

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

@media (max-width: 720px) {
  .nav__inner { padding: 12px 20px; }
  .nav__links { display: none; }
  .hero { padding: 56px 20px 56px; }
  .hero__headline { letter-spacing: -0.5px; }
  .section { padding: 72px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
