/* Coastify — tap-to-connect landing page
   Brand: teal #2BBFBF · deep sea #003d40 · sand #c8a97e · off-white #f7f9f9
   Type: Cormorant Garamond (display) · DM Sans (body) */

:root {
  --teal: #2BBFBF;
  --teal-dark: #1fa3a3;
  --teal-soft: rgba(43, 191, 191, 0.12);
  --deep: #003d40;
  --deep-2: #002528;
  --slate: #4a6565;
  --sand: #c8a97e;
  --bg: #f7f9f9;
  --white: #ffffff;
  --ink: #123233;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(0, 61, 64, 0.10);
  --shadow-sm: 0 8px 24px rgba(0, 61, 64, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section-alt { background: var(--bg); }
.center { text-align: center; margin-top: 44px; }

/* ---------- Type ---------- */
h1, h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--deep);
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 14px 0 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal-dark); }
.section-dark h1 em, .section-dark h2 em, .hero h1 em, .final-cta h2 em { color: var(--teal); }

.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 6px;
}
.eyebrow-light { color: var(--teal); }

.section-sub {
  font-size: 1.12rem; color: var(--slate);
  max-width: 640px; margin: 18px auto 0; text-align: center;
}
.section-dark .section-sub, .section-sub-light { color: rgba(255, 255, 255, 0.78); }
.section .eyebrow, .section h2 { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 600; font-size: 1rem;
  padding: 15px 34px; border-radius: 40px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer; border: none; font-family: 'DM Sans', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal); color: #fff; box-shadow: 0 10px 26px rgba(43, 191, 191, 0.35); }
.btn-solid:hover { background: var(--teal-dark); }
.btn-ghost {
  background: transparent; color: var(--deep);
  border: 2px solid var(--teal); padding: 13px 30px;
}
.btn-ghost:hover { background: var(--teal-soft); }
.btn-outline-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65); padding: 13px 32px;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.10); }
.btn-light { background: #fff; color: var(--deep); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.btn-sm { padding: 10px 24px; font-size: 0.92rem; }
.btn-ghost.btn-sm { padding: 8px 22px; }
.btn-lg { padding: 17px 42px; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled, body.nav-open .nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 61, 64, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 1.9rem; letter-spacing: 0.06em; color: var(--deep); text-decoration: none;
}
.nav.scrolled .wordmark, body.nav-open .wordmark { color: var(--deep); }
.nav:not(.scrolled) .wordmark { color: #fff; }
body.nav-open .nav .wordmark { color: var(--deep); }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--ink);
  transition: color 0.15s ease;
}
.nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.92); }
body.nav-open .nav .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--teal-dark); }
.nav:not(.scrolled) .nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav:not(.scrolled) .btn-ghost { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.2s; }
.nav.scrolled .nav-toggle span { background: var(--deep); }
body.nav-open .nav .nav-toggle span { background: var(--deep); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 96vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 37, 40, 0.88) 0%, rgba(0, 61, 64, 0.55) 48%, rgba(0, 61, 64, 0.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 90px; max-width: 1140px; }
.hero h1 { color: #fff; max-width: 640px; }
.hero-sub { font-size: 1.22rem; max-width: 560px; margin: 22px 0 36px; color: rgba(255, 255, 255, 0.88); font-weight: 300; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 46px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); font-weight: 500; flex-wrap: wrap; }
.hero-trust i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); display: inline-block; }

/* ---------- Stats ---------- */
.stats { background: var(--deep); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 3.4rem; color: var(--teal); line-height: 1; }
.stat-label { color: rgba(255, 255, 255, 0.75); margin-top: 10px; font-size: 1rem; max-width: 300px; margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 61, 64, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.card h3 { font-size: 1.18rem; font-weight: 600; color: var(--deep); margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.99rem; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.how-grid .eyebrow, .how-grid h2 { text-align: left; }
.how-media img { border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.steps { list-style: none; margin-top: 38px; display: flex; flex-direction: column; gap: 30px; }
.steps li { display: flex; gap: 22px; }
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--teal);
  line-height: 1; min-width: 52px;
}
.steps h3 { font-size: 1.25rem; color: var(--deep); font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--slate); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; transition: transform 0.22s ease; }
.gallery figure:hover { transform: translateY(-6px); }
.gallery img { aspect-ratio: 1 / 1.05; object-fit: cover; width: 100%; }
.gallery figcaption {
  padding: 18px; text-align: center; font-weight: 600; color: var(--deep);
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; letter-spacing: 0.02em;
}

/* ---------- Dark / boutiques ---------- */
.section-dark { background: radial-gradient(1100px 500px at 50% -10%, rgba(43, 191, 191, 0.16), transparent 60%), var(--deep); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { text-align: center; }
.section-dark h2 { text-align: center; }
.cards-dark .card-dark { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.cards-dark .card-dark:hover { background: rgba(255, 255, 255, 0.09); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, 0.72); }
.card-dark .card-icon { background: rgba(43, 191, 191, 0.18); color: var(--teal); }

/* ---------- Testimonials ---------- */
.testimonials { grid-template-columns: repeat(3, 1fr); }
.testimonials .card { display: flex; flex-direction: column; }
.stars { color: var(--sand); letter-spacing: 3px; margin-bottom: 16px; font-size: 1.05rem; }
.testimonials p { font-family: 'Cormorant Garamond', serif; font-size: 1.28rem; line-height: 1.45; color: var(--deep); font-style: italic; flex: 1; }
.testimonials footer { margin-top: 20px; color: var(--slate); font-size: 0.92rem; }
.testimonials footer strong { color: var(--deep); }

/* ---------- Activate ---------- */
.activate-box {
  max-width: 720px; text-align: center;
  background: var(--bg); border-radius: 28px; padding: 70px 54px;
  border: 1px solid rgba(0, 61, 64, 0.07);
}
.activate-box h2 { text-align: center; }
.activate-form { display: flex; gap: 12px; margin: 34px auto 0; max-width: 520px; }
.activate-form input {
  flex: 1; padding: 16px 24px; border-radius: 40px;
  border: 2px solid rgba(0, 61, 64, 0.14); font-size: 1rem; font-family: 'DM Sans', sans-serif;
  background: #fff; color: var(--ink); outline: none; transition: border-color 0.15s ease;
  min-width: 0;
}
.activate-form input:focus { border-color: var(--teal); }
.activate-note { margin-top: 22px; color: var(--slate); font-size: 0.98rem; }
.activate-note a { color: var(--teal-dark); font-weight: 600; }
.activate-note.visible-note {
  background: #fff; border: 1px solid rgba(43, 191, 191, 0.35);
  border-radius: 14px; padding: 16px 20px;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; }
.faq-wrap .eyebrow, .faq-wrap h2 { text-align: center; }
.faq-list { margin-top: 48px; }
.faq-list details {
  border-bottom: 1px solid rgba(0, 61, 64, 0.12);
  padding: 6px 0;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.12rem; color: var(--deep);
  padding: 20px 40px 20px 0; position: relative;
  font-family: 'DM Sans', sans-serif;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 4px; top: 18px;
  font-size: 1.6rem; font-weight: 300; color: var(--teal-dark);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--slate); padding: 0 40px 24px 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: #fff; text-align: center; padding: 110px 0;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 50% 120%, rgba(255, 255, 255, 0.22), transparent 65%);
}
.final-cta .container { position: relative; }
.final-cta h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 36px; }
.final-cta h2 em { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--deep-2); color: rgba(255, 255, 255, 0.7); padding: 70px 0 34px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.wordmark-light { color: #fff; }
.footer-tag { margin-top: 10px; font-size: 0.95rem; max-width: 300px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 500; font-size: 0.98rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .how-media img { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 10px 24px 24px; display: none;
    box-shadow: 0 18px 30px rgba(0, 61, 64, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(0, 61, 64, 0.08); color: var(--ink) !important; }
  .nav-toggle { display: flex; }
  .nav:not(.scrolled) .nav-toggle span { background: #fff; }
  body.nav-open .nav .nav-toggle span { background: var(--deep); }
  .how-grid .eyebrow, .how-grid h2 { text-align: center; }
  .nav-cta .btn-ghost { display: none; }
  .activate-form { flex-direction: column; }
  .activate-box { padding: 54px 28px; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
  /* Follow-up draft actions: stack Send on its own row, pair the other two */
  .draft-actions { flex-wrap: wrap; }
  .draft-actions #sendDraftBtn { flex: 1 1 100%; }
  .draft-actions #regenDraftBtn, .draft-actions #cancelDraftBtn { flex: 1; }
}

/* ---------- Activate / Edit flow (shared) ---------- */
  .activate-hero { background: radial-gradient(900px 420px at 50% -10%, rgba(43,191,191,.16), transparent 60%), #003d40; color:#fff; padding: 86px 0 20px; text-align:center; }
  .activate-hero h1 { color:#fff; font-size: clamp(1.35rem, 4vw, 2rem); }
  .activate-hero h1 em { color:#2BBFBF; }
  .activate-hero .piece-code { display:inline-block; margin-top:8px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); border-radius:40px; padding:6px 18px; font-family:ui-monospace,monospace; letter-spacing:.12em; font-size:.85rem; }
  .activate-hero p.sub { color:rgba(255,255,255,.78); max-width:520px; margin:8px auto 0; }
  .flow { max-width: 640px; margin: -34px auto 0; padding: 0 24px 110px; position:relative; z-index:2; }
  .panel { background:#fff; border-radius:24px; box-shadow:0 24px 60px rgba(0,61,64,.14); padding:44px 40px; border:1px solid rgba(0,61,64,.06); }
  .panel h2 { text-align:center; font-size:1.9rem; }
  .panel .hint { text-align:center; color:#4a6565; margin-top:10px; }
  .path-cards { display:grid; gap:14px; margin-top:30px; }
  .path-card { display:flex; gap:18px; align-items:flex-start; text-align:left; background:#f7f9f9; border:2px solid transparent; border-radius:18px; padding:22px; cursor:pointer; transition:border-color .15s ease, transform .15s ease; font:inherit; width:100%; color:inherit; }
  .path-card:hover { border-color:#2BBFBF; transform:translateY(-2px); }
  a.path-card { text-decoration:none; }
  .path-card .pic { width:52px; height:52px; flex:none; border-radius:14px; background:rgba(43,191,191,.14); color:#1fa3a3; display:flex; align-items:center; justify-content:center; font-size:1.4rem; }
  .path-card .pic svg { width:26px; height:26px; }
  .path-card b { display:block; color:#003d40; font-size:1.1rem; margin-bottom:4px; }
  .path-card span { color:#4a6565; font-size:.95rem; }
  .field { margin-bottom:18px; }
  .field label { display:block; font-weight:600; color:#003d40; margin-bottom:8px; font-size:.95rem; }
  .field input, .field textarea { width:100%; padding:14px 18px; border-radius:14px; border:2px solid rgba(0,61,64,.14); font:inherit; font-size:1rem; outline:none; transition:border-color .15s ease; background:#fff; color:#123233; }
  .field input:focus, .field textarea:focus { border-color:#2BBFBF; }
  .field .opt { font-weight:400; color:#4a6565; font-size:.85rem; }
  .link-row { display:grid; grid-template-columns: 1fr 1.4fr auto; gap:10px; margin-bottom:10px; }
  .link-row button { border:none; background:rgba(163,18,18,.1); color:#a31212; border-radius:12px; width:48px; cursor:pointer; font-size:1.2rem; }
  .add-link { background:none; border:2px dashed rgba(43,191,191,.5); color:#1fa3a3; border-radius:14px; padding:12px; width:100%; font:inherit; font-weight:800; font-size:16px; cursor:pointer; margin-bottom:18px; }
  .form-err { display:none; background:#ffe1e1; color:#a31212; border-radius:12px; padding:14px 18px; margin-bottom:18px; font-size:.95rem; }
  .form-err.show { display:block; }

  /* ---------- Link Store + dual modes ---------- */
  .mode-seg { display:flex; background:rgba(0,61,64,.06); border-radius:999px; padding:4px; margin-bottom:6px; }
  .mode-tab { flex:1; border:none; background:none; border-radius:999px; padding:12px; font:inherit; font-weight:700; font-size:.95rem; color:#4a6565; cursor:pointer; }
  .mode-tab.on { background:#003d40; color:#fff; box-shadow:0 4px 12px rgba(0,61,64,.25); }
  /* ---------- Multiple sides ---------- */
  .mode-seg { overflow-x:auto; scrollbar-width:none; }
  .mode-seg::-webkit-scrollbar { display:none; }
  .mode-tab.side-tab { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; padding:12px 16px; }
  .side-label { white-space:nowrap; }
  .side-del { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:rgba(163,18,18,.12); color:#a31212; font-size:.85rem; line-height:1; flex:none; }
  .mode-tab.on .side-del { background:rgba(255,255,255,.25); color:#fff; }
  .mode-tab.side-add { flex:0 0 auto; border:2px dashed rgba(43,191,191,.5); color:#1fa3a3; padding:10px 16px; }
  .side-rename { font:inherit; font-weight:700; font-size:.95rem; border:none; border-bottom:2px solid #2BBFBF; background:transparent; outline:none; width:110px; text-align:center; color:inherit; }
  .radio-row { display:flex; gap:18px; }
  .radio-row label.radio { display:flex; align-items:center; gap:8px; font-weight:500; cursor:pointer; }
  .radio-row input[type="radio"] { width:18px; height:18px; accent-color:#2BBFBF; }
  .ls-row { display:grid; grid-template-columns:auto auto 1fr 1.4fr auto; gap:8px; margin-bottom:10px; align-items:center; background:#f7f9f9; border:1px solid rgba(0,61,64,.08); border-radius:14px; padding:8px; touch-action:none; }
  #researchSuggest { background:#f0f7f7; border:1px solid rgba(0,61,64,.12); border-radius:14px; padding:10px 12px; }
  .rs-head { font-size:.82rem; font-weight:600; color:#003d40; margin-bottom:8px; }
  .rs-row { display:flex; gap:8px; align-items:center; margin-bottom:8px; }
  .rs-row:last-child { margin-bottom:0; }
  .rs-val { flex:1; font-size:.82rem; color:#123233; word-break:break-all; }
  .rs-add { border:none; background:#2BBFBF; color:#003d40; font-weight:700; border-radius:10px; padding:8px 14px; cursor:pointer; font-size:.82rem; flex:none; }
  .rs-add:disabled { background:#9fc6c6; cursor:default; }
  .ls-drag { width:28px; height:42px; display:flex; align-items:center; justify-content:center; cursor:grab; color:#8aa3a3; flex:none; touch-action:none; }
  .ls-drag:active { cursor:grabbing; color:#2BBFBF; }
  .ls-row.ls-dragging { box-shadow:0 8px 24px rgba(0,61,64,.18); z-index:10; position:relative; }
  .ls-ico-wrap { width:42px; height:42px; border-radius:12px; background:#003d40; display:flex; align-items:center; justify-content:center; flex:none; }
  .ls-ico { width:22px; height:22px; color:#2BBFBF; }
  .ls-row input { width:100%; padding:11px 12px; border-radius:10px; border:2px solid rgba(0,61,64,.12); font:inherit; font-size:.92rem; background:#fff; color:#123233; outline:none; }
  .ls-row input:focus { border-color:#2BBFBF; }
  .ls-noinput { font-size:.82rem; color:#4a6565; padding:0 4px; }
  .ls-rm { border:none; background:rgba(163,18,18,.1); color:#a31212; border-radius:10px; width:42px; height:42px; cursor:pointer; font-size:1.2rem; flex:none; }
  .ls-overlay { position:fixed; inset:0; background:rgba(0,30,31,.55); z-index:200; display:flex; align-items:flex-end; justify-content:center; animation:lsFade .18s ease; }
  @keyframes lsFade { from { opacity:0; } }
  .ls-sheet { background:#fff; width:100%; max-width:560px; max-height:86vh; border-radius:24px 24px 0 0; display:flex; flex-direction:column; overflow:hidden; animation:lsUp .22s ease; }
  @keyframes lsUp { from { transform:translateY(40px); opacity:.6; } }
  .ls-head { display:flex; align-items:center; justify-content:space-between; padding:18px 22px 6px; }
  .ls-head h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; color:#003d40; margin:0; }
  .ls-close { border:none; background:rgba(0,61,64,.07); width:38px; height:38px; border-radius:50%; font-size:1.3rem; color:#003d40; cursor:pointer; }
  .ls-search { padding:10px 22px 4px; }
  .ls-search input { width:100%; padding:12px 16px; border-radius:12px; border:2px solid rgba(0,61,64,.12); font:inherit; font-size:.95rem; outline:none; }
  .ls-search input:focus { border-color:#2BBFBF; }
  .ls-cats { overflow-y:auto; padding:8px 22px 30px; }
  .ls-cats h4 { font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:#4a6565; margin:16px 0 10px; }
  .ls-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
  .ls-item { display:flex; flex-direction:column; align-items:center; gap:8px; background:#f7f9f9; border:2px solid transparent; border-radius:16px; padding:14px 6px; font:inherit; font-size:.8rem; font-weight:600; color:#003d40; cursor:pointer; transition:border-color .12s ease; }
  .ls-item:hover { border-color:#2BBFBF; }
  .ls-item .ls-ico-wrap { width:46px; height:46px; }
  .ls-count { font-size:.85rem; color:#4a6565; margin-top:2px; }
  .back { background:none; border:none; color:#4a6565; font:inherit; cursor:pointer; margin-top:18px; display:block; margin-left:auto; margin-right:auto; text-decoration:underline; }
  .success { text-align:center; }
  .success .check { width:76px; height:76px; border-radius:50%; background:rgba(43,191,191,.14); color:#1fa3a3; font-size:2.2rem; display:flex; align-items:center; justify-content:center; margin:0 auto 22px; }
  .success h2 { margin-bottom:12px; }
  .success p { color:#4a6565; }
  .success .btn { margin-top:26px; }
  .state-box { text-align:center; padding:20px 0 6px; }
  .spinner { width:44px; height:44px; border:4px solid rgba(43,191,191,.2); border-top-color:#2BBFBF; border-radius:50%; margin:30px auto; animation:spin 0.9s linear infinite; }
  @keyframes spin { to { transform:rotate(360deg); } }
  @media (max-width:560px){ .panel{padding:34px 24px;} .link-row{grid-template-columns:1fr; } .link-row button{width:100%; padding:10px;} .ls-row{grid-template-columns:auto auto 1fr auto;} .ls-row .ls-value,.ls-row .ls-noinput{grid-column:1/-1;} .ls-grid{grid-template-columns:repeat(2,1fr);} }

/* ---------- My Contacts (owner) ---------- */
.soft-divider { border:none; border-top:1px solid rgba(0,61,64,.14); margin:6px 0 22px; }
.count-pill { display:inline-block; min-width:28px; text-align:center; background:#2BBFBF; color:#003d40;
  font-family:'DM Sans',sans-serif; font-size:.85rem; font-weight:700; border-radius:999px; padding:2px 10px; vertical-align:middle; }
.contact-card { border:1px solid rgba(0,61,64,.14); border-radius:14px; padding:12px 14px; margin-bottom:10px;
  background:#fff; display:flex; gap:12px; align-items:flex-start; flex-wrap:wrap; }
.contact-main { flex:1; min-width:0; }
.contact-name { font-weight:700; color:#003d40; font-size:1rem; }
.contact-sub { color:rgba(0,61,64,.62); font-size:.88rem; margin-top:2px; }
.contact-meta { color:rgba(0,61,64,.45); font-size:.78rem; margin-top:6px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.source-badge { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.4px; text-transform:uppercase;
  border-radius:999px; padding:2px 9px; }
.source-badge.scan { background:rgba(43,191,191,.16); color:#0a6b6e; }
.source-badge.lead-form { background:rgba(200,169,126,.22); color:#8a6d3b; }
.contact-del { flex-shrink:0; border:1px solid rgba(0,61,64,.2); background:#fff; color:#b3261e; border-radius:10px;
  width:34px; height:34px; font-size:1.1rem; line-height:1; cursor:pointer; }
.contact-del:hover { background:#fdeceb; }
.contact-link { color:#0a6b6e; text-decoration:none; }
.contact-link:hover { text-decoration:underline; }
