/* Paperlock — getpaperlock.com */

:root {
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #1f2d38;
  --ink-strong: #122029;
  --ink-soft: #52616d;
  --pine: #0e5f56;
  --pine-dark: #0a463f;
  --pine-tint: #e7f1ee;
  --line: #e4e2da;
  --gold: #b98a2f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(18, 32, 41, 0.06), 0 8px 24px rgba(18, 32, 41, 0.07);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink-strong); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 0.5em; }
h3 { font-size: 1.2rem; margin-bottom: 0.35em; }

p { color: var(--ink-soft); }
p strong { color: var(--ink); }

.lead { font-size: 1.2rem; }

section { padding: 84px 0; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 12px;
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-strong);
}
.logo:hover { text-decoration: none; }

nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
nav.main a:hover { color: var(--pine); text-decoration: none; }

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-strong);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-soon:hover { text-decoration: none; background: #000; color: #fff; }

@media (max-width: 760px) {
  nav.main { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding: 90px 0 70px; overflow: hidden; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero p.lead { margin: 22px 0 30px; max-width: 32em; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pine);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--pine-dark); text-decoration: none; }

.btn.ghost {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--pine);
}
.btn.ghost:hover { background: var(--pine-tint); }

.hero-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 16px; }
.hero-note svg { display: inline; vertical-align: -3px; margin-right: 5px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Phone mockup ---------- */

.phone {
  width: 300px;
  margin: 0 auto;
  background: #101418;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(18, 32, 41, 0.28);
}

.phone .screen {
  background: #f6f5f1;
  border-radius: 32px;
  padding: 20px 16px 24px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone .screen-img {
  border-radius: 32px;
  width: 100%;
  overflow: hidden;
}
.phone .screen-img img { width: 100%; }

.phone .ask-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.phone .thinking { font-size: 0.72rem; color: var(--ink-soft); padding-left: 6px; }

.answer-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.answer-card .a-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 6px;
}
.answer-card .a-text { font-size: 0.92rem; color: var(--ink-strong); font-weight: 500; line-height: 1.45; }

.doc-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: var(--pine-tint);
  border-radius: 10px;
  padding: 9px 12px;
}
.doc-chip .thumb {
  width: 34px; height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.doc-chip .thumb::after {
  content: "";
  position: absolute;
  inset: 7px 6px;
  background: repeating-linear-gradient(#c9d4d1 0 2px, transparent 2px 7px);
}
.doc-chip .thumb.blurred::after { filter: blur(2px); }
.doc-chip .meta { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.35; }
.doc-chip .meta b { display: block; color: var(--ink-strong); font-size: 0.78rem; }

.phone .suggestions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.phone .suggestions span {
  font-size: 0.75rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  align-self: flex-start;
}

/* ---------- Sections ---------- */

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tinted { background: var(--pine-tint); }

/* problem strip */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.problem-grid .item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.problem-grid .item .emoji { font-size: 1.6rem; margin-bottom: 12px; }
.problem-grid .item p { font-size: 0.97rem; }

@media (max-width: 760px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.step .num {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.step p { font-size: 0.97rem; }

@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--pine-tint);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature p { font-size: 0.95rem; }

@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* ask examples */
.ask-examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ask-example {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}
.ask-example .q {
  font-weight: 600;
  color: var(--ink-strong);
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.ask-example .q::before { content: "“"; color: var(--pine); }
.ask-example .q::after { content: "”"; color: var(--pine); }
.ask-example .a { font-size: 0.94rem; color: var(--ink-soft); }
.ask-example .a b { color: var(--pine-dark); }

@media (max-width: 760px) { .ask-examples { grid-template-columns: 1fr; } }

/* screenshot gallery */
.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 22px;
  -webkit-overflow-scrolling: touch;
}
.gallery figure {
  flex: 0 0 auto;
  width: 264px;
  scroll-snap-align: center;
  margin: 0;
}
.gallery img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(18, 32, 41, 0.18);
}
.gallery figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 12px;
}
.gallery-hint { text-align: center; font-size: 0.82rem; color: var(--ink-soft); }

/* security */
.security-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.security-list li { display: flex; gap: 14px; align-items: flex-start; }
.security-list svg { flex-shrink: 0; margin-top: 3px; color: var(--pine); }
.security-list b { color: var(--ink-strong); }
.security-list span { font-size: 0.97rem; color: var(--ink-soft); }

.promise {
  margin-top: 36px;
  background: var(--ink-strong);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 36px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
}
.promise small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 780px; margin: 0 auto; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border: 2px solid var(--pine); box-shadow: var(--shadow); position: relative; }
.plan .tag {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--pine);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.35rem; }
.plan .price { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink-strong); margin: 10px 0 2px; }
.plan .price small { font-size: 1rem; color: var(--ink-soft); font-family: var(--font-body); }
.plan .alt-price { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 20px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin: 18px 0 8px; }
.plan ul li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink); }
.plan ul li::before { content: "✓"; color: var(--pine); font-weight: 700; }
.plan .fine { font-size: 0.82rem; color: var(--ink-soft); margin-top: auto; padding-top: 18px; }

@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-strong);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; color: var(--pine); font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: "–"; }
details .body { padding: 0 0 18px; font-size: 0.97rem; color: var(--ink-soft); }
details .body p + p { margin-top: 10px; }

/* final CTA */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.final-cta p { max-width: 34em; margin: 16px auto 30px; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--ink-strong);
  color: #c8d2d8;
  padding: 56px 0 40px;
  font-size: 0.92rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
footer.site .logo { color: #fff; margin-bottom: 12px; }
footer.site p { color: #92a2ac; font-size: 0.88rem; max-width: 26em; }
footer.site h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
footer.site ul { list-style: none; display: grid; gap: 9px; }
footer.site a { color: #c8d2d8; }
footer.site a:hover { color: #fff; }
footer.site .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #92a2ac;
}

@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner pages ---------- */

.page-head { padding: 70px 0 10px; }
.page-head p.lead { margin-top: 18px; max-width: 36em; }

.prose { max-width: 720px; padding: 30px 0 90px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose .updated { font-size: 0.85rem; color: var(--ink-soft); }

.hiw-step {
  display: grid;
  grid-template-columns: 64px 1fr 230px;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.hiw-shot { margin: 0; }
.hiw-shot img {
  width: 100%;
  border-radius: 22px;
  border: 6px solid #101418;
  box-shadow: 0 14px 34px rgba(18, 32, 41, 0.22);
}
.hiw-shot figcaption { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin-top: 10px; }
@media (max-width: 860px) {
  .hiw-step { grid-template-columns: 64px 1fr; }
  .hiw-shot { grid-column: 2; max-width: 230px; }
}
.hiw-step:last-of-type { border-bottom: none; }
.hiw-step .num {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hiw-step p { margin-bottom: 12px; }
.hiw-step ul { margin: 8px 0 12px 20px; color: var(--ink-soft); }
.hiw-step ul li { margin-bottom: 6px; }

.callout {
  background: var(--pine-tint);
  border-left: 4px solid var(--pine);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.callout p { margin: 0; color: var(--ink); font-size: 0.97rem; }
