/* LinkNow design system v2: Kinso-style neutral palette, Geist type, floating pill nav. */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --bg: #fbfbfb;
  --surface: #ffffff;
  --ink: #121212;
  --ink-2: #757575;
  --ink-3: #a3a3a3;
  --accent: #d9763f;
  --accent-soft: #f9e9db;
  --wash-blue: #e9f0f3;
  --hairline: #ececec;
  --dark: #121212;
  --dark-card: #1a1a1a;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-text: #b5b5b5;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(18, 18, 18, 0.06);
  --font-body: "Geist", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Geist", -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Header: floating pill */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  pointer-events: none;
}
.site-header .nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 10px 0 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(18, 18, 18, 0.08);
  max-width: 1020px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.brand svg { display: block; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-menu a:hover { color: var(--ink-2); }
.nav-menu .nav-cta a { color: #fff; }
.nav-menu .nav-cta a:hover { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--hairline); border-radius: 999px;
  width: 42px; height: 42px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
main { padding-top: 0; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 68px; left: 12px; right: 12px;
    background: var(--surface); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 16px; border: 1px solid var(--hairline); border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-top: 1px solid var(--hairline); }
  .nav-menu li:first-child { border-top: 0; }
  .nav-menu a { display: block; padding: 13px 2px; font-size: 16px; }
  .nav-menu .nav-cta { margin-top: 10px; }
  .nav-menu .nav-cta a { display: block; text-align: center; }
}

/* Buttons: black pill with arrow */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 24px; border-radius: 999px; font-weight: 550; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #000; color: #fff; }
.btn-primary::after, .btn-dark::after {
  content: "\2192"; font-weight: 400; transition: transform 0.15s ease;
}
.btn-primary:hover::after, .btn-dark:hover::after { transform: translateX(3px); }
.btn-primary:hover { background: #262626; box-shadow: 0 8px 20px rgba(18, 18, 18, 0.22); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #262626; box-shadow: 0 8px 20px rgba(18, 18, 18, 0.22); }
.btn-light { background: #fff; color: #000; }
.btn-light::after { content: "\2192"; font-weight: 400; transition: transform 0.15s ease; }
.btn-light:hover::after { transform: translateX(3px); }
.btn-light:hover { background: #efefef; }
.btn-outline { border-color: #d8d8d8; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn svg { flex: none; }

/* Sections */
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section-head { max-width: 620px; margin-bottom: 34px; }
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 13px;
  background: var(--surface);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; }
.h-display { font-size: clamp(38px, 6.5vw, 62px); font-weight: 600; }
.h-section { font-size: clamp(27px, 4.4vw, 38px); margin-bottom: 12px; }
.mute { color: var(--ink-3); }
.accent { color: var(--accent); }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.center .section-head, .section-head.center { margin-left: auto; margin-right: auto; }

/* Dark sections */
.section-dark { background: var(--dark); color: #fff; }
.section-dark, .final-cta {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section-dark .eyebrow { background: transparent; border-color: var(--dark-line); color: var(--dark-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .mute { color: #6e6e6e; }
.section-dark .lead, .section-dark .muted { color: var(--dark-text); }

/* Hero */
.hero {
  padding: 148px 0 64px; overflow: hidden;
  background:
    radial-gradient(560px 420px at 8% 12%, var(--accent-soft) 0%, rgba(249, 233, 219, 0) 70%),
    radial-gradient(640px 480px at 96% 30%, var(--wash-blue) 0%, rgba(233, 240, 243, 0) 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy .lead { margin: 20px 0 30px; max-width: 460px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.hero-note b { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .hero { padding: 120px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 280px; border-radius: 42px; border: 9px solid var(--dark);
  background: var(--surface); overflow: hidden; box-shadow: 0 30px 60px rgba(18, 18, 18, 0.2);
}
.phone-notch { height: 22px; display: flex; justify-content: center; align-items: flex-end; }
.phone-notch::after { content: ""; width: 74px; height: 7px; border-radius: 4px; background: var(--dark); margin-bottom: 6px; }
.phone-screen { padding: 14px 14px 20px; font-size: 10px; }
.mini-brand { font-weight: 650; font-size: 10px; margin-bottom: 12px; letter-spacing: 0.06em; }
.mini-hero { text-align: center; margin-bottom: 12px; }
.mini-hero img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; }
.mini-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.mini-role { color: var(--ink-2); font-size: 10px; margin-bottom: 8px; }
.mini-btn {
  display: block; background: #000; color: #fff; border-radius: 999px;
  padding: 7px 0; font-size: 10px; font-weight: 550; margin: 6px 14px 0; text-align: center;
}
.mini-btn.alt { background: #fff; color: #000; border: 1px solid #d8d8d8; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mini-card { border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.mini-card img { height: 44px; width: 100%; object-fit: cover; }
.mini-card div { padding: 5px 7px; font-size: 8.5px; font-weight: 600; }
.mini-card span { display: block; color: var(--accent); font-size: 8px; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card-link { text-decoration: none; display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18, 18, 18, 0.1); }
.card h3 { font-size: 19px; margin: 16px 0 6px; letter-spacing: -0.02em; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card .card-go { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.card .card-go::after { content: " \2192"; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #000; color: #fff;
  font-weight: 600; font-size: 15px; margin-bottom: 16px; font-family: var(--font-body);
}
.step h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* Pricing */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.price-card.featured .muted, .price-card.featured p { color: var(--dark-text); }
.tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #fff; color: #000; font-size: 11px; font-weight: 650;
  letter-spacing: 0.07em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  white-space: nowrap; border: 1px solid var(--hairline);
}
.price-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.price-amount { font-size: 42px; font-weight: 600; letter-spacing: -0.04em; margin: 10px 0 2px; }
.price-amount small { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price-card.featured .price-amount small { color: var(--dark-text); }
.price-includes { margin: 16px 0; }
.price-includes summary {
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; align-items: center; gap: 6px;
}
.price-card.featured .price-includes summary { color: #fff; }
.price-includes summary::after { content: "+"; font-size: 16px; font-weight: 400; }
.price-includes[open] summary::after { content: "\2212"; }
.price-includes summary::-webkit-details-marker { display: none; }
.check-list { list-style: none; margin-top: 12px; }
.check-list li { font-size: 14px; padding: 5px 0 5px 26px; position: relative; color: var(--ink-2); }
.price-card.featured .check-list li { color: #d5d5d5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9763f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 9px; background-repeat: no-repeat; background-position: center;
}
.price-card .btn { margin-top: auto; }
.price-card.featured .btn-primary { background: #fff; color: #000; }
.price-card.featured .btn-primary:hover { background: #efefef; }
.price-footnote { margin-top: 26px; font-size: 14px; color: var(--ink-2); max-width: 640px; }
.price-footnote strong { color: var(--ink); }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--dark-card); border: 1px solid var(--dark-line);
  border-radius: 16px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 550; font-size: 15.5px; color: #fff;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::after {
  content: "+"; color: #fff; font-size: 15px; font-weight: 400; flex: none;
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: center;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 20px 17px; font-size: 14.5px; color: var(--dark-text); }
/* FAQ on light backgrounds (pricing page has none, but keep safe) */
.section:not(.section-dark) .faq details { background: var(--surface); border-color: var(--hairline); }
.section:not(.section-dark) .faq summary { color: var(--ink); }
.section:not(.section-dark) .faq summary::after { color: var(--ink); border-color: var(--hairline); }
.section:not(.section-dark) .faq details p { color: var(--ink-2); }

/* Final CTA */
.final-cta {
  background-color: var(--dark); color: #fff; border-radius: 28px;
  padding: 60px 28px; text-align: center;
}
.final-cta h2 { font-size: clamp(28px, 4.6vw, 42px); margin-bottom: 14px; color: #fff; }
.final-cta .mute { color: #6e6e6e; }
.final-cta p { color: var(--dark-text); margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-text); margin-top: 64px; }
.footer-inner { padding: 44px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-brand { color: #fff; font-weight: 650; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; display: flex; gap: 9px; align-items: center; }
.footer-tag { font-size: 13.5px; margin-top: 8px; max-width: 260px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--dark-text); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-base { border-top: 1px solid var(--dark-line); padding-top: 18px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-row label .opt { font-weight: 400; color: var(--ink-2); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #e2e2e2; border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid rgba(18, 18, 18, 0.18); border-color: var(--ink);
}
.form-row .has-error { border-color: #c0392b; outline-color: rgba(192, 57, 43, 0.3); }
.field-error { color: #c0392b; font-size: 12.5px; margin-top: 5px; }
.form-status { margin-top: 14px; font-size: 14px; }
.form-status.is-error { color: #c0392b; }
.form-status.is-ok { color: #5a4a2e; background: var(--accent-soft); padding: 12px 14px; border-radius: 12px; }
.form-honest { font-size: 13px; color: var(--ink-2); margin-top: 12px; }

/* Demo ribbon */
.demo-ribbon {
  background: var(--dark); color: var(--dark-text); font-size: 13px;
  padding: 9px 0; text-align: center; position: relative; z-index: 60;
}
.demo-ribbon a { color: #fff; font-weight: 600; }
.demo-ribbon .ribbon-inner { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 0 16px; }

/* Demo shared */
.demo-hero { padding: 140px 0 40px; text-align: center; }
.demo-hero img.avatar { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--surface); box-shadow: var(--shadow); }
.demo-hero h1 { font-size: clamp(30px, 5vw, 42px); }
.demo-hero .lead { max-width: 480px; margin: 10px auto 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 14px 0 20px; }
.chip {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 7px 15px; font-size: 13px; font-weight: 550; color: var(--ink-2);
}
.prop-card { overflow: hidden; padding: 0; }
.prop-card img { height: 190px; width: 100%; object-fit: cover; }
.prop-body { padding: 18px 20px 20px; }
.prop-body h3 { margin: 0 0 4px; font-size: 18px; }
.prop-price { font-size: 21px; color: var(--accent); font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 4px; }
.prop-meta { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.sample-note { font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.social-row { display: flex; gap: 12px; justify-content: center; margin-bottom: 8px; }
.social-row a {
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: transform 0.15s ease;
}
.social-row a:hover { transform: translateY(-2px); color: var(--accent); }
.handles { font-size: 13px; color: var(--ink-2); text-align: center; }
.testimonial { font-size: 15px; }
.testimonial p { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.testimonial .who { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.sample-flag {
  display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hairline);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; background: var(--surface);
}
.stats-strip { display: flex; justify-content: center; gap: 34px; margin: 6px 0 4px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { font-size: 25px; display: block; font-weight: 600; letter-spacing: -0.03em; }
.stat span { font-size: 12px; color: var(--ink-2); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .works { grid-template-columns: 1fr; } }
.work-card { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.work-thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; letter-spacing: -0.02em; font-weight: 600; background: linear-gradient(120deg, #1a1a1a, #3a3a3a); }
.work-body { padding: 16px 18px; }
.work-body h3 { font-size: 17px; margin-bottom: 3px; }
.work-body p { font-size: 13.5px; color: var(--ink-2); }

/* Reveal animation */
.reveal { transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
}

/* Prose pages (privacy, terms, 404) */
.prose { max-width: 680px; margin: 0 auto; padding: 130px 0 48px; }
.prose h1 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 16px; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose p { color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
