/* Hintr — components: nav, buttons, cards, pricing, faq, forms */

/* ─── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  transition: background var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-17);
  letter-spacing: var(--ls-tight);
  color: var(--c-ink);
}
.nav__brand-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  align-self: center;
}
.nav__brand-tag {
  font-size: var(--fs-12);
  font-weight: var(--fw-regular);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-normal);
}
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: var(--fs-14);
  color: var(--c-text);
}
.nav__links a {
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--c-ink); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__cta { flex-shrink: 0; }

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-ink);
  white-space: nowrap;
  text-align: center;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
}
.btn--primary:hover { background: var(--c-accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
}
.btn--ghost:hover { color: var(--c-text-muted); }

.btn--outline {
  background: var(--c-white);
  border-color: var(--c-divider);
  color: var(--c-ink);
}
.btn--outline:hover {
  border-color: var(--c-text-faint);
  background: var(--c-white);
}

.btn--lg {
  padding: 16px 30px;
  font-size: var(--fs-17);
}
.btn--block { width: 100%; }

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── Hero (text + product shot in one section, Peec-style) ──── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 0;
}
.hero__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  font-size: var(--fs-12);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  letter-spacing: var(--ls-normal);
  margin-bottom: 20px;
}
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d83930;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(216, 57, 48, 0.5);
  animation: hero-dot-pulse 2.4s ease-out infinite;
}
@keyframes hero-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 57, 48, 0.45); }
  60%      { box-shadow: 0 0 0 6px rgba(216, 57, 48, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__dot { animation: none; }
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--c-ink);
}
.hero__title-faint {
  display: block;
  color: var(--c-text-faint);
}
.hero__sub {
  max-width: 540px;
  margin: 0 auto;
  font-size: var(--fs-17);
  line-height: var(--lh-snug);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-normal);
}
.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero__meta {
  margin-top: 18px;
  font-size: var(--fs-12);
  color: var(--c-text-faint);
  letter-spacing: var(--ls-normal);
}
.hero__meta span + span::before {
  content: " · ";
  margin: 0 6px;
  opacity: 0.6;
}

/* Product shot — sits inside the hero section, anchored to the bottom.
   Tighter top margin pulls it into the first viewport (Peec-style). */
.hero__shot {
  margin: 36px auto 0;
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
  position: relative;
}
.hero__shot picture,
.hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 24px 48px -16px rgba(0, 0, 0, 0.18),
    0 8px 16px -8px rgba(0, 0, 0, 0.10);
}

@media (min-width: 768px) {
  .hero__shot { margin-top: 48px; padding: 0 32px; }
}

/* ─── Pillar / feature card ───────────────────────── */
.pillar {
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.pillar:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}
.pillar__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent-soft);
  color: var(--c-ink);
  margin-bottom: 20px;
}
.pillar__title {
  font-size: var(--fs-21);
  margin-bottom: 8px;
}
.pillar__body {
  color: var(--c-text-muted);
  font-size: var(--fs-14);
  line-height: var(--lh-body);
}

/* On light sections, pillar uses white card; on white sections, light card */
.section--light .pillar { background: var(--c-white); border-color: transparent; box-shadow: var(--elev-1); }
.section--white .pillar { background: var(--c-light); border-color: transparent; }

/* ─── Step (How it works) ─────────────────────────── */
.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-text-faint);
}
.step__title {
  font-size: var(--fs-21);
  color: var(--c-ink);
}
.step__body {
  color: var(--c-text-muted);
  font-size: var(--fs-14);
  line-height: var(--lh-body);
}

/* ─── Pricing ─────────────────────────────────────── */
.price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.plan:hover { box-shadow: var(--elev-2); transform: translateY(-2px); }
.plan--featured {
  border-color: var(--c-ink);
  border-width: 1.5px;
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--c-ink);
  color: var(--c-text-on-dark);
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
}
.plan__name {
  font-size: var(--fs-17);
  font-weight: var(--fw-semibold);
  color: var(--c-ink);
  letter-spacing: var(--ls-tight);
}
.plan__tagline {
  margin-top: 4px;
  font-size: var(--fs-12);
  color: var(--c-text-muted);
}
.plan__price {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  letter-spacing: var(--ls-display);
}
.plan__price-num { font-size: 2.5rem; line-height: 1; }
.plan__price-unit { font-size: var(--fs-14); color: var(--c-text-muted); font-weight: var(--fw-regular); }
.plan__features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-14);
  color: var(--c-text);
  flex-grow: 1;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: var(--lh-snug);
}
.plan__features li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  background: var(--c-ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.plan__cta { margin-top: 28px; }

.price-fineprint {
  margin-top: 32px;
  text-align: center;
  font-size: var(--fs-12);
  color: var(--c-text-muted);
}
.price-fineprint span + span::before {
  content: " · ";
  margin: 0 6px;
  opacity: 0.6;
}

/* ─── Privacy guarantees ──────────────────────────── */
.guard {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
}
.guard__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--c-ink);
}
.guard__title {
  font-size: var(--fs-17);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--c-ink);
  margin-bottom: 8px;
}
.guard__body {
  font-size: var(--fs-14);
  color: var(--c-text-muted);
  line-height: var(--lh-body);
}
.guard__note {
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--c-light);
  font-size: var(--fs-12);
  color: var(--c-text-muted);
  line-height: var(--lh-body);
  font-family: var(--font-mono);
}

/* ─── Customization tile ──────────────────────────── */
.tile {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile__label {
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-text-faint);
}
.tile__title {
  font-size: var(--fs-21);
  font-weight: var(--fw-semibold);
  color: var(--c-ink);
  letter-spacing: var(--ls-tight);
}
.tile__body {
  font-size: var(--fs-14);
  color: var(--c-text-muted);
  line-height: var(--lh-body);
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--c-divider);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-17);
  font-weight: var(--fw-semibold);
  color: var(--c-ink);
  letter-spacing: var(--ls-tight);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: var(--c-text-muted);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item__body {
  padding: 0 0 20px;
  font-size: var(--fs-17);
  color: var(--c-text-muted);
  line-height: var(--lh-body);
  max-width: 600px;
}

/* ─── Final CTA / waitlist ────────────────────────── */
.final {
  text-align: center;
}
.final__title {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--c-ink);
}
.final__sub {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--c-text-muted);
  font-size: var(--fs-21);
  line-height: var(--lh-snug);
}

.waitlist {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-direction: column;
}
@media (min-width: 480px) {
  .waitlist { flex-direction: row; }
}
.waitlist__input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-divider);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: var(--fs-14);
  font-family: inherit;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.waitlist__input::placeholder {
  color: var(--c-text-faint);
}
.waitlist__input:focus {
  border-color: var(--c-ink);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}
.waitlist__msg {
  margin-top: 12px;
  font-size: var(--fs-12);
  color: var(--c-text-muted);
  min-height: 1.2em;
}
.waitlist__msg--error  { color: var(--c-error); }
.waitlist__msg--success { color: var(--c-success); }

/* ─── Footer ──────────────────────────────────────── */
.footer {
  padding: 56px 0 40px;
}
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-21);
  color: var(--c-text-on-dark);
  margin-bottom: 8px;
}
.footer__tag {
  font-size: var(--fs-14);
  color: var(--c-text-on-dark-muted);
  max-width: 320px;
  line-height: var(--lh-body);
}
.footer__col-title {
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-text-on-dark);
  margin-bottom: 16px;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a {
  font-size: var(--fs-14);
  color: var(--c-text-on-dark-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__list a:hover { color: var(--c-text-on-dark); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--c-divider-on-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: var(--fs-12);
  color: var(--c-text-on-dark-muted);
}
