/* link.lexx.in — Linktree-style platform. Inter (Linktree's own fallback for its private LinkSans font), self-hosted. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-mono-latin-500-normal.woff2") format("woff2");
}
:root {
  --bg: #faf8f4;
  --bg-alt: #f1ece4;
  --card: #ffffff;
  --ink: #1a1d21;
  --muted: #5b6068;
  --line: #e3ddd2;
  --accent: #0f766e;
  --accent-dark: #0b5e57;
  --accent-soft: #e6f2f0;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(26, 29, 33, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
h1 { font-size: 48px; line-height: 1.08; letter-spacing: -1px; font-weight: 500; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; margin: 6px 0 14px; font-weight: 500; }
h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; font-weight: 500; }
.eyebrow { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: 0.01em; margin-bottom: 4px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color 150ms cubic-bezier(0.22, 1, 0.36, 1), border-color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: #1e2330; color: #fff; }
.btn-dark:hover { background: #171b26; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-header-cta { padding: 18px 28px; font-size: 16px; font-weight: 500; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header — Linktree's floating white pill: not sticky, logo left, nav
   centre, plain Log in link + dark pill CTA right. */
.site-header {
  position: relative;
  padding: 24px 0 0;
  background: transparent;
}
.header-inner {
  position: relative;
  display: flex; align-items: center; gap: 36px;
  width: min(1440px, calc(100% - 48px)); height: 88px; margin: 0 auto;
  padding: 0 28px 0 44px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.nav-toggle {
  display: none; background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--ink); padding: 6px; line-height: 1;
}
@media (max-width: 900px) {
  .header-inner { height: 72px; padding: 0 16px 0 24px; gap: 16px; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    flex-direction: column; gap: 0; padding: 12px 24px 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .header-login { display: none; }
  .btn-header-cta { padding: 12px 18px; font-size: 14px; }
}

/* Slim header on profile pages — same floating white pill, smaller */
.pf-header {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 560px; margin: 24px auto 0; padding: 10px 12px 10px 20px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.pf-logo { display: inline-flex; align-items: center; gap: 3px; font-size: 18px; font-weight: 700; color: #1a1d21; }
.pf-logo span { color: #1a1d21; }
.pf-logo .logo-star { width: 18px; height: 18px; }
.pf-logo:hover { text-decoration: none; }
.pf-header .pf-cta {
  background: #1e2330; color: #fff;
  border-radius: 999px; border-color: transparent;
  padding: 10px 18px; font-size: 14px; font-weight: 500;
}
.pf-header .pf-cta:hover { text-decoration: none; background: #171b26; }
.logo { display: inline-flex; align-items: center; gap: 3px; font-size: 21px; font-weight: 700; color: #1a1d21; letter-spacing: 0; }
.logo span { color: #1a1d21; }
.logo .logo-star { width: 22px; height: 22px; flex: none; }
.logo:hover { text-decoration: none; }
.header-actions { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.header-login { color: #1a1d21; font-size: 16px; font-weight: 500; }
.header-login:hover { text-decoration: none; opacity: 0.7; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 16px auto 0; }
.claim-box {
  display: flex; gap: 10px; max-width: 560px; margin: 32px auto 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; box-shadow: var(--shadow);
}
.claim-prefix {
  display: flex; align-items: center; padding-left: 10px;
  color: var(--muted); font-size: 15px; white-space: nowrap;
}
.claim-box input {
  flex: 1; min-width: 0; border: none; outline: none; font: inherit; font-size: 16px;
  background: transparent; padding: 8px 4px;
}
.claim-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.claim-error { margin-top: 12px; font-size: 14px; color: #b91c1c; font-weight: 600; min-height: 20px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-block; width: 32px; height: 32px; line-height: 32px; text-align: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 600; font-size: 15px; margin-bottom: 12px;
}
.step-card p { color: var(--muted); font-size: 15px; }

/* Features */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; max-width: 760px; }
.feature-list div { display: flex; gap: 10px; align-items: flex-start; }
.feature-list b { color: var(--accent-dark); font-weight: 600; }
.feature-list p { color: var(--muted); font-size: 15px; }

/* Example */
.example-card {
  display: flex; gap: 20px; align-items: center; max-width: 560px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.example-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #057642; }
.example-card h3 { margin-bottom: 2px; }
.example-card p { color: var(--muted); font-size: 14px; }
.example-card .btn { margin-left: auto; flex-shrink: 0; }

/* CTA + footer */
.cta { text-align: center; }
.cta p { color: var(--muted); margin: 8px 0 24px; }
/* Footer — Linktree style: white card floating on deep purple */
.site-footer { background: #502274; padding: 64px 0 0; }
.footer-card {
  position: relative; overflow: hidden;
  width: min(1520px, calc(100% - 64px)); margin: 0 auto;
  background: #fff; border-radius: 20px; padding: 56px 64px 64px;
}
.footer-blob {
  position: absolute; right: -110px; top: 32%; width: 340px; height: 340px;
  background: #e9c0e9; opacity: 0.55; pointer-events: none;
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
}
.footer-cols { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.footer-col h3 { font-size: 24px; font-weight: 700; color: #1e2330; margin-bottom: 20px; }
.footer-col a { display: block; color: #666; font-size: 16px; line-height: 1.5; padding: 6px 0; }
.footer-col a:hover { color: #1e2330; text-decoration: none; }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 72px; }
.footer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-footer-login { background: #f3f3f1; color: #1e2330; border-radius: 999px; padding: 14px 26px; font-size: 16px; font-weight: 700; }
.btn-footer-login:hover { background: #e8e8e4; }
.btn-footer-lime { background: #d2e823; color: #1e2330; border-radius: 999px; padding: 14px 26px; font-size: 16px; font-weight: 700; }
.btn-footer-lime:hover { background: #c4d91e; }
.footer-social { display: flex; gap: 12px; }
.social-circle { width: 56px; height: 56px; border-radius: 50%; background: #1e2330; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.social-circle:hover { text-decoration: none; opacity: 0.85; }
.social-circle svg { display: block; }
.footer-strip { text-align: center; color: #e9c0e9; font-size: 15px; line-height: 1.6; padding: 56px 20px 64px; }
.footer-strip p { margin: 0; }
@media (max-width: 900px) {
  .footer-card { padding: 44px 28px 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { margin-top: 48px; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col h3 { font-size: 20px; margin-bottom: 12px; }
}

/* ---- Creator / editor app ---- */
.app-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0 72px; align-items: start; }
.app-form h1 { font-size: 32px; margin-bottom: 8px; }
.app-form .app-sub { color: var(--muted); margin-bottom: 28px; max-width: 56ch; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field input[type="text"], .field input[type="url"], .field textarea {
  display: block; width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 15px; background: var(--card);
}
.field textarea { resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.field .hint.ok { color: #15803d; font-weight: 600; }
.field .hint.bad { color: #b91c1c; font-weight: 600; }
.char-count { float: right; font-weight: 400; color: var(--muted); }
.username-row { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 9px; background: var(--card); overflow: hidden; }
.username-row span { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.username-row input { border: none; border-radius: 0; flex: 1; min-width: 0; }
.theme-row { display: flex; gap: 10px; flex-wrap: wrap; }
.theme-swatch {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--line); padding: 0;
}
.theme-swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.theme-swatch[data-theme="warm"] { background: #faf8f4; }
.theme-swatch[data-theme="forest"] { background: #14532d; }
.theme-swatch[data-theme="ocean"] { background: #0c4a6e; }
.theme-swatch[data-theme="sunset"] { background: #c2410c; }
.theme-swatch[data-theme="dark"] { background: #111827; }
.theme-swatch[data-theme="red"] { background: #b91c1c; }
.link-row {
  display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 10px;
}
.link-row input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14.5px; background: var(--bg); min-width: 0; }
.link-row .row-btns { display: flex; gap: 4px; }
.icon-btn {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 7px;
  width: 30px; height: 30px; font-size: 14px; cursor: pointer; color: var(--ink); line-height: 1;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn.danger:hover { border-color: #b91c1c; color: #b91c1c; }
.form-error { color: #b91c1c; font-weight: 600; font-size: 14.5px; margin: 0 0 14px; min-height: 20px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.saved-note { color: #15803d; font-weight: 600; font-size: 14.5px; }

/* Phone preview */
.preview-col { position: sticky; top: 88px; }
.phone {
  width: 340px; max-width: 100%; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--bg);
}
.phone-bar { text-align: center; font-size: 12.5px; color: var(--muted); padding: 10px 0 4px; font-weight: 600; }
.phone-screen { min-height: 480px; }
.preview-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 48px 20px; }

/* Success panel */
.success-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); margin-top: 8px; scroll-margin-top: 88px;
}
.success-panel h2 { margin-bottom: 6px; }
.success-panel p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.key-box {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; margin-bottom: 14px; word-break: break-all; font-size: 14.5px;
}
.key-box b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.key-box code { font-size: 13.5px; }
.warning-box {
  background: #fef3c7; border: 1px solid #f59e0b; border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; margin-bottom: 16px; color: #78350f;
}
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Public profile pages ---- */
.profile { min-height: 100vh; }
.profile.theme-warm { --p-bg: #faf8f4; --p-ink: #1a1d21; --p-muted: #5b6068; --p-btn: #ffffff; --p-btn-ink: #1a1d21; --p-line: #e3ddd2; --p-accent: #0f766e; }
.profile.theme-forest { --p-bg: #14532d; --p-ink: #f0fdf4; --p-muted: #bbf7d0; --p-btn: #ffffff; --p-btn-ink: #14532d; --p-line: rgba(255, 255, 255, 0.25); --p-accent: #4ade80; }
.profile.theme-ocean { --p-bg: #0c4a6e; --p-ink: #f0f9ff; --p-muted: #bae6fd; --p-btn: #ffffff; --p-btn-ink: #0c4a6e; --p-line: rgba(255, 255, 255, 0.25); --p-accent: #38bdf8; }
.profile.theme-sunset { --p-bg: #c2410c; --p-ink: #fff7ed; --p-muted: #fed7aa; --p-btn: #ffffff; --p-btn-ink: #c2410c; --p-line: rgba(255, 255, 255, 0.25); --p-accent: #fdba74; }
.profile.theme-dark { --p-bg: #111827; --p-ink: #f9fafb; --p-muted: #9ca3af; --p-btn: #f9fafb; --p-btn-ink: #111827; --p-line: rgba(255, 255, 255, 0.2); --p-accent: #2dd4bf; }
.profile.theme-red { --p-bg: #b91c1c; --p-ink: #fef2f2; --p-muted: #fecaca; --p-btn: #ffffff; --p-btn-ink: #b91c1c; --p-line: rgba(255, 255, 255, 0.25); --p-accent: #fca5a5; }
.profile { background: var(--p-bg); color: var(--p-ink); }
.pf-wrap { max-width: 560px; margin: 0 auto; padding: 36px 20px 40px; text-align: center; }
.pf-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.pf-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--p-accent); color: #fff; font-size: 34px; font-weight: 600;
}
.pf-name { font-size: 26px; font-weight: 600; letter-spacing: -0.3px; }
.pf-username { color: var(--p-muted); font-size: 15px; margin: 2px 0 10px; }
.pf-bio { color: var(--p-muted); font-size: 15.5px; max-width: 44ch; margin: 0 auto 28px; }
.pf-links { display: flex; flex-direction: column; gap: 12px; }
.pf-link {
  display: block; padding: 14px 18px; border-radius: 12px;
  background: var(--p-btn); color: var(--p-btn-ink);
  border: 1px solid var(--p-line); font-weight: 600; font-size: 16px;
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pf-link:hover { text-decoration: none; transform: translateY(-2px); }
.pf-empty { color: var(--p-muted); font-size: 15px; padding: 20px 0; }
.pf-foot { margin-top: 36px; font-size: 13.5px; color: var(--p-muted); }
.pf-foot a { color: var(--p-ink); font-weight: 600; }

/* 404 */
.nf-wrap { max-width: 560px; margin: 0 auto; padding: 96px 20px; text-align: center; }
.nf-mark { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.nf-text { color: var(--muted); margin: 10px 0 24px; }
.nf-home { margin-top: 20px; font-size: 15px; }

/* Responsive */
@media (max-width: 900px) {
  .app-wrap { grid-template-columns: 1fr; }
  .preview-col { position: static; }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .claim-box { flex-wrap: wrap; }
  .claim-box .btn { width: 100%; }
  .link-row { grid-template-columns: 1fr; }
  .link-row .row-btns { justify-content: flex-end; }
  .example-card { flex-wrap: wrap; }
  .example-card .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- Linktree-style landing (color-blocked sections) ---- */
.landing .site-header { background: #d2e823; }
.main-nav { display: flex; gap: 36px; margin-left: 8px; }
.main-nav a { color: #1a1d21; font-size: 16px; font-weight: 500; }
.main-nav a:hover { color: #1a1d21; text-decoration: none; opacity: 0.7; }
.sec { padding: 84px 0; }
.sec-lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin: 0 auto 24px; }
.sec-lead.light { color: rgba(255, 255, 255, 0.85); }
.center { text-align: center; }
.light { color: #fff; }
.eyebrow.light { color: rgba(255, 255, 255, 0.7); }
.btn-lime { background: #a3e635; color: #1a1d21; }
.btn-lime:hover { background: #bef264; }

/* Hero — Linktree lime */
.sec-hero { background: #d2e823; color: #1a1d21; padding: 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-title { font-size: 60px; line-height: 1.04; letter-spacing: -1.5px; font-weight: 800; color: #1a1d21; }
.hero-line { display: block; }
.hero-lead { font-size: 19px; font-weight: 700; color: rgba(26, 29, 33, 0.78); max-width: 48ch; margin: 20px 0 28px; }
.sec-hero .claim-box { max-width: 520px; margin: 0; }
.sec-hero .claim-prefix { font-weight: 700; color: #1a1d21; }
.sec-hero .claim-box input { font-weight: 700; }
.sec-hero .btn-lime { background: #1e2330; color: #fff; font-weight: 700; }
.sec-hero .btn-lime:hover { background: #171b26; }
.sec-hero .claim-error { color: #991b1b; }
.hero-stats { display: flex; gap: 32px; margin-top: 28px; }
.hero-stat b { display: block; font-size: 28px; font-weight: 800; color: #1a1d21; }
.hero-stat span { font-size: 14px; font-weight: 700; color: rgba(26, 29, 33, 0.75); }
.hero-visual { position: relative; display: flex; justify-content: center; }

/* Hero reel — Linktree-style vertical auto-scrolling column of square
   panels, each a photo with a phone mockup and a monospace caption.
   Continuous upward loop (~30s per panel); no arrows or dots. */
.hero-slider { position: relative; width: 100%; max-width: 540px; }
.hero-reel-viewport { position: relative; height: 640px; overflow: hidden; }
.hero-reel { display: flex; flex-direction: column; animation: reelUp 150s linear infinite; will-change: transform; }
@keyframes reelUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.reel-panel { position: relative; flex: none; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 32px; border-radius: 40px; overflow: hidden; background: #111827; }
.reel-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 72px 20px 18px; text-align: center; font-family: "DM Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: 13.5px; color: #1a1d21; background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0)); }
.reel-phone { position: absolute; right: 26px; bottom: 72px; z-index: 2; width: 188px; border: 8px solid var(--ph-border, #1a1d21); border-radius: 30px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); overflow: hidden; }
.rp-screen { padding: 18px 14px 14px; text-align: center; }
.rp-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; display: block; }
.rp-initials { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--ph-accent, #0f766e); }
.rp-name { font-size: 15px; font-weight: 700; color: #1a1d21; }
.rp-user { font-size: 12px; color: #5b6068; margin: 2px 0 12px; }
.rp-link { display: block; background: #1a1d21; color: #fff; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 8px 10px; margin-bottom: 6px; }
.rp-link:last-child { margin-bottom: 0; }
.rp-foot { font-size: 10px; color: #9ca3af; margin-top: 10px; }
.slide-credit { text-align: center; font-size: 12px; color: rgba(26, 29, 33, 0.55); margin-top: 10px; }
@media (max-width: 900px) {
  .hero-reel-viewport { height: 560px; }
  .reel-phone { width: 160px; right: 18px; bottom: 64px; }
}
/* Desktop: the reel runs edge to edge, top to bottom of the hero, like
   Linktree — the section has no padding, the copy carries its own, and the
   slider is absolutely positioned so its height is definite (a flex-grown
   viewport inside an indefinite-height container stretched the hero). */
@media (min-width: 901px) {
  .hero-grid { align-items: stretch; min-height: 720px; }
  .hero-copy { padding: 72px 0 96px; }
  .hero-slider { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; display: flex; flex-direction: column; }
  .hero-reel-viewport { flex: 1; min-height: 0; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reel { animation: none; }
}
.hero-phone {
  width: 320px; max-width: 88vw;
  border: 10px solid #111827; border-radius: 42px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); background: var(--bg);
}
.hero-phone .phone-screen { min-height: 0; }
.hero-phone .pf-wrap { padding: 32px 20px 24px; }
.hero-phone .pf-avatar { width: 72px; height: 72px; margin-bottom: 12px; }
.hero-phone .pf-name { font-size: 20px; }
.hero-phone .pf-bio { font-size: 13.5px; margin-bottom: 18px; }
.hero-phone .pf-link { padding: 10px 14px; font-size: 14px; }
.hero-phone .pf-foot { margin-top: 20px; }
.float-chip {
  position: absolute; padding: 8px 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: 13.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); white-space: nowrap;
}
.chip-1 { top: 12%; left: 2%; }
.chip-2 { top: 44%; right: 0; }
.chip-3 { bottom: 10%; left: 6%; }

/* Sections */
.sec-cream { background: var(--bg-alt); }
.sec-white { background: #fff; }
.sec-forest { background: #14532d; color: #f0fdf4; }
.sec-faq { background: #7f1d1d; color: #fecdd3; }
.sec-lime { background: #a3e635; color: #1a1d21; }
.sec-lime .sec-lead { color: rgba(26, 29, 33, 0.72); }
.sec-lime .claim-box { margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.feature-card p { color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.share-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.share-pills span {
  padding: 10px 16px; border-radius: 999px; background: var(--bg-alt);
  border: 1px solid var(--line); font-weight: 600; font-size: 14.5px;
}

/* Theme cards */
.theme-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.theme-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border-radius: 18px; padding: 22px 14px; text-decoration: none;
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-card:hover { text-decoration: none; transform: translateY(-4px); }
.theme-card b { font-size: 15px; }
.theme-dot { width: 44px; height: 44px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.theme-bar { display: block; width: 100%; height: 12px; border-radius: 999px; background: currentColor; opacity: 0.35; }
.theme-card.theme-warm { background: #faf8f4; color: #1a1d21; border: 1px solid #e3ddd2; }
.theme-card.theme-forest { background: #14532d; color: #f0fdf4; }
.theme-card.theme-ocean { background: #0c4a6e; color: #f0f9ff; }
.theme-card.theme-sunset { background: #c2410c; color: #fff7ed; }
.theme-card.theme-dark { background: #111827; color: #f9fafb; }
.theme-card.theme-red { background: #b91c1c; color: #fef2f2; }

/* Accordion (features + FAQ) */
.accordion { margin-top: 32px; }
.acc-item {
  border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px;
  background: var(--card); overflow: hidden;
}
.acc-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 18px 20px; background: none; border: none; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); text-align: left;
}
.acc-chev { font-size: 20px; line-height: 1; transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1); }
.acc-item.open .acc-chev { transform: rotate(180deg); }
.acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body p { overflow: hidden; padding: 0 20px; color: var(--muted); font-size: 15.5px; }
.acc-item.open .acc-body p { padding-bottom: 18px; }
.faq-acc .acc-item { background: #991b1b; border-color: rgba(255, 255, 255, 0.14); }
.faq-acc .acc-head { color: #fff7ed; }
.faq-acc .acc-body p { color: #fecdd3; }

/* Landing responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 42px; }
  .sec-hero { padding: 56px 0 72px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .theme-cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .main-nav { display: none; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
}

/* ---- Auth pages: split screen (form left, artwork right) ---- */
.auth-page { background: #fff; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-form-side {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 24px 24px; background: #fff;
}
.auth-logo { font-size: 22px; font-weight: 600; color: var(--ink); }
.auth-logo span { color: var(--accent); }
.auth-logo:hover { text-decoration: none; }
.auth-form-col { width: 100%; max-width: 380px; margin: auto 0; padding: 32px 0; }
.auth-form-col h1 { font-size: 34px; letter-spacing: -0.8px; margin-bottom: 6px; }
.auth-form-col .field input {
  display: block; width: 100%; padding: 13px 16px;
  border: 1.5px solid #d1d5db; border-radius: 999px; font: inherit; font-size: 15.5px; background: #fff;
}
.auth-form-col .field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15); }
.btn-pill { width: 100%; border-radius: 999px; padding: 13px 22px; font-size: 16px; }
.btn-pill:disabled { opacity: 0.45; cursor: not-allowed; }
.auth-art-side { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.art-login { background: #1d4ed8; }
.art-signup { background: #d97706; }
.art-tilt {
  position: absolute; width: 130%; height: 46%; top: 24%; left: -15%;
  background: #a3e635; transform: rotate(-8deg); border-radius: 24px; opacity: 0.9;
}
.art-signup .art-tilt { background: #fbbf24; }
.art-card {
  position: relative; z-index: 2; width: 300px; max-width: 84%;
  background: #fff7ed; border-radius: 22px; padding: 24px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); transform: rotate(-2deg);
}
.art-login .art-card { background: #fff; }
.art-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.art-card b { display: block; font-size: 19px; }
.art-card span { display: block; font-size: 13.5px; color: var(--muted); margin: 2px 0 16px; }
.art-link {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; text-align: left;
}
.art-link i { font-style: normal; color: var(--muted); }
.art-chip {
  position: absolute; z-index: 3; padding: 9px 15px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: 13.5px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); white-space: nowrap;
}
.art-chip-1 { top: 16%; left: 8%; }
.art-chip-2 { top: 30%; right: 6%; }
.art-chip-3 { bottom: 14%; right: 10%; }
.auth-back { font-size: 14px; margin-top: 16px; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-art-side { display: none; }
  .auth-form-col { padding: 24px 0; }
}
.dash-wrap { max-width: 760px; margin: 40px auto 72px; }
.dash-wrap h1 { font-size: 32px; }
.dash-sub { color: var(--muted); margin: 4px 0 0; }
.dash-actions { margin: 24px 0; }
.dash-list { display: flex; flex-direction: column; gap: 12px; }
.dash-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
}
.dash-card-info b { display: block; font-size: 16.5px; }
.dash-card-info span { font-size: 14px; color: var(--muted); }
.dash-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-empty { color: var(--muted); padding: 20px 0; }
.dash-claim {
  margin-top: 32px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.dash-claim h2 { font-size: 20px; margin-bottom: 4px; }
.dash-claim p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.claim-row { display: flex; gap: 8px; flex-wrap: wrap; }
.claim-row input {
  flex: 1; min-width: 140px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 15px; background: var(--bg);
}
@media (max-width: 560px) {
  .auth-wrap { margin-top: 32px; padding: 22px; }
  .dash-card { align-items: flex-start; }
}
