/* =========================================================
   Punz — landing page
   Paper + ink palette, editorial type, purple used sparingly.
   ========================================================= */

:root {
  --paper: #f5f1ea;
  --paper-2: #ece6db;
  --ink: #141210;
  --ink-soft: #57524b;
  --line: #d9d1c3;
  --accent: #7c3aed;
  --accent-soft: #e9defc;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

::selection { background: var(--accent); color: #fff; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-scrolled { border-color: var(--line); }

.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 21px; letter-spacing: -0.03em;
}
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav__links a { position: relative; color: var(--ink-soft); transition: color 0.2s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  font-size: 15px; font-weight: 600;
  padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.3s; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--accent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #6d28d9; }

.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform 0.25s; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 7vw, 100px) var(--pad) 80px;
  min-height: calc(100vh - 70px);
}

.eyebrow {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-soft); margin-bottom: 26px;
}

.hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__title em { font-size: 1.08em; letter-spacing: -0.02em; color: var(--accent); }

.hero__lede {
  max-width: 470px; margin-top: 30px;
  font-size: 19px; color: var(--ink-soft);
}

.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; flex-wrap: wrap; }

.hero__note { margin-top: 28px; font-size: 14px; color: var(--ink-soft); }
.scribble {
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink);
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding: 0 3px;
}

/* phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 478 / 1006;
  background: var(--ink);
  border-radius: 44px;
  padding: 10px;
  transform: rotate(4deg);
  box-shadow: -24px 30px 0 var(--paper-2), 0 40px 80px -30px rgba(20, 18, 16, 0.45);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.hero__visual:hover .phone { transform: rotate(1deg) translateY(-6px); }

.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 16px; background: var(--ink); border-radius: 12px; z-index: 2;
}
.phone__screen {
  height: 100%; background: #fff; border-radius: 34px; overflow: hidden;
  position: relative; padding: 0;
}
.phone__img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; user-select: none; -webkit-user-drag: none;
}

.hero__mascot {
  position: absolute; left: -15px; bottom: -25px; width: 120px; height: auto;
  border: none; outline: none;
  filter: drop-shadow(0 14px 22px rgba(124, 58, 237, 0.22));
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }

.hero__handnote {
  position: absolute; left: 115px; bottom: -36px;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.15;
  color: var(--ink-soft); transform: rotate(-3deg);
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); padding: 18px 0;
}
.marquee__track {
  display: flex; gap: 36px; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px);
  animation: marquee 32s linear infinite;
}
.marquee__track span:nth-child(even) { color: var(--accent); font-family: var(--sans); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTION LABEL ---------- */
.section-label {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 40px;
}
.section-label--light { color: #a59e93; }

/* ---------- WHAT ---------- */
.what { padding: clamp(80px, 12vw, 160px) var(--pad); }
.what__statement {
  font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.03em;
  max-width: 1150px; font-weight: 500;
}
.what__statement em { color: var(--accent); }

.what__stats {
  display: flex; gap: clamp(30px, 8vw, 120px); margin-top: 80px;
  padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.what__stats strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em;
}
.what__stats span { color: var(--ink-soft); font-size: 15px; }

/* ---------- INSIDE (editorial list) ---------- */
.inside { padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.feature-list { list-style: none; border-top: 1px solid var(--ink); }

.feature {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.2fr;
  gap: 40px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: default;
  transition: padding 0.4s cubic-bezier(.2,.8,.2,1);
}
.feature::before {
  content: ''; position: absolute; inset: 0; background: var(--accent-soft);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); z-index: -1;
}
.feature:hover { padding-left: 20px; }
.feature:hover::before { transform: scaleY(1); }

.feature__title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.feature:hover .feature__title { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.feature__desc { color: var(--ink-soft); max-width: 520px; }

/* ---------- E2EE PRIVATE CHAT (EDITORIAL, ZERO CARDS) ---------- */
.e2ee {
  padding: clamp(70px, 10vw, 130px) var(--pad);
  border-top: 1px solid var(--line);
}
.e2ee__header { max-width: 900px; margin-bottom: 50px; }
.e2ee__title {
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 24px;
}
.e2ee__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.e2ee__lede {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 760px;
}
.e2ee__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.e2ee__item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.e2ee__item p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}


/* ---------- WHY ---------- */
.why { background: var(--ink); color: var(--paper); padding: clamp(90px, 12vw, 170px) var(--pad); }
.why__inner { max-width: 1200px; }
.why__quote {
  font-family: var(--serif); font-size: clamp(32px, 4.6vw, 66px); line-height: 1.1; letter-spacing: -0.01em;
}
.why__quote em { color: #c4a5ff; }

.why__sign { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.why__sign img { border-radius: 50%; background: var(--paper); padding: 4px; }
.why__sign b { display: block; }
.why__sign span { color: #a59e93; font-size: 14px; }

.why__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px;
  margin-top: 110px; padding-top: 40px; border-top: 1px solid #39342e;
}
.why__cols h4 { font-size: 21px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.why__cols p { color: #b5ada1; font-size: 16px; }

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px;
}
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 26px 40px 26px 0; position: relative;
  font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 34px; transition: transform 0.3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq__item p { padding: 0 60px 28px 0; color: var(--ink-soft); max-width: 640px; animation: fade 0.4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- GET ---------- */
.get { padding: 40px var(--pad) clamp(90px, 12vw, 160px); text-align: center; }
.get__title {
  font-size: clamp(56px, 11vw, 170px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 600;
}
.get__title em { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 400; }
.get__sub { color: var(--ink-soft); margin: 28px auto 0; max-width: 440px; font-size: 17px; }

.get__form {
  display: flex; gap: 8px; max-width: 480px; margin: 36px auto 0;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px; background: #fff;
}
.get__form input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; padding: 0 18px; color: var(--ink); min-width: 0;
}
.get__form.is-error { border-color: #dc2626; animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.get__msg { min-height: 24px; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 19px; }

.get__stores { display: flex; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border: 1.5px solid var(--ink); border-radius: 14px;
  transition: background 0.2s, color 0.2s;
}
.store span { display: flex; flex-direction: column; text-align: left; font-weight: 600; line-height: 1.1; }
.store small { font-weight: 400; font-size: 11px; color: var(--ink-soft); }
.store:hover { background: var(--ink); color: var(--paper); }
.store:hover small { color: #a59e93; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 0 var(--pad) 30px;
  overflow: hidden;
}
.footer__big {
  font-weight: 700;
  font-size: clamp(120px, 30vw, 460px);
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-align: center;
  user-select: none;
  margin-bottom: 30px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.footer__row nav {
  display: flex;
  gap: 24px;
}
.footer__row a:hover {
  color: var(--ink);
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 80px; }
  .hero__visual { margin-bottom: 40px; }
  .feature { grid-template-columns: 1fr; gap: 10px; }
  .e2ee__grid { grid-template-columns: 1fr; gap: 32px; }
  .why__cols { grid-template-columns: 1fr; gap: 34px; margin-top: 70px; }
  .faq { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 22px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 28px var(--pad); background: var(--paper); border-bottom: 1px solid var(--line);
    font-size: 22px;
  }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero__mascot { width: 90px; left: 0; }
  .hero__handnote { left: 80px; font-size: 16px; }
  .get__form { flex-direction: column; border-radius: 22px; }
  .get__form input { padding: 14px 16px; }
}

/* ---------- LEGAL PAGES (EDITORIAL, ZERO CARDS) ---------- */
.legal-page {
  padding: clamp(60px, 8vw, 100px) var(--pad) clamp(80px, 12vw, 140px);
  max-width: 860px;
  margin: 0 auto;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 40px;
  transition: color 0.2s;
}
.legal__back:hover {
  color: var(--ink);
}
.legal__header {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 30px;
  margin-bottom: 40px;
}
.legal__title {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 16px;
}
.legal__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.legal__meta {
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal__section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.legal__section h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.legal__section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 22px 0 10px;
  color: var(--ink);
}
.legal__section p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal__section p:last-child {
  margin-bottom: 0;
}
.legal__section ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}
.legal__section li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
}
.legal__section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.legal__section li strong {
  color: var(--ink);
  font-weight: 600;
}


