/* linkofy.app — visual no estilo do app (cores e tipografia da extensão). Sem fontes externas, sem rastreio. */
@font-face { font-family: "Cookie"; src: url("/assets/Cookie-Regular.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #f6f8fb; --surface: #ffffff; --text: #1f2937; --muted: #5b6472; --line: #e3e8ef;
  --accent: #2f8ccf; --accent-hover: #297fbf; --accent-text: #fff; --soft: #eaf4fb;
  --danger: #c43d3d; --warn: #a86b00; --ok: #1f8a4c;
  --radius: 12px; --shadow: 0 6px 20px rgba(15, 23, 42, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c; --surface: #1a2028; --text: #e6e9ee; --muted: #9aa4b2; --line: #2a323d;
    --accent: #4aa3e0; --accent-hover: #5fb0e8; --soft: #1d2a36; --shadow: 0 6px 20px rgba(0, 0, 0, .35);
    --danger: #ef6b6b; --warn: #e0a83a; --ok: #4cc27f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* cabeçalho */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: 28px; }
.brand span { font-family: "Cookie", ui-rounded, system-ui, sans-serif; font-size: 34px; line-height: 1; }
.nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* início */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero .btn-row { justify-content: center; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.shot { margin: 40px auto 0; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); display: block; }

.section { padding: 48px 0; }
.section h2 { font-size: 28px; margin: 0 0 8px; text-align: center; }
.section .sub { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 620px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* preços */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 34px; font-weight: 700; margin: 8px 0 0; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .alt { color: var(--muted); font-size: 14px; margin: 2px 0 16px; }
.plan ul { padding: 0; margin: 0 0 22px; list-style: none; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.badge { display: inline-block; background: var(--soft); color: var(--accent); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* textos legais */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: 34px; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .intro { font-size: 18px; color: var(--muted); }

/* rodapé */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; margin-top: 40px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* checkout */
.checkout { padding: 48px 0 64px; text-align: center; }
.checkout h1 { font-size: 30px; margin: 0 0 8px; }
.checkout .lead { color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 620px; margin: 0 auto 18px; }
.choice {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; cursor: pointer;
  text-align: left; font: inherit; color: var(--text);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.choice:hover { border-color: var(--accent); transform: translateY(-1px); }
.choice h3 { margin: 0 0 4px; font-size: 18px; }
.choice .price { font-size: 28px; }
.choice p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.msg { max-width: 560px; margin: 18px auto 0; padding: 14px 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.msg[data-kind="ok"] { border-color: var(--ok); }
.msg[data-kind="error"] { border-color: var(--danger); }
.small { font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
[hidden] { display: none !important; }
.left { text-align: left !important; }
.center { text-align: center; }
.center-row { margin-top: 28px; display: flex; justify-content: center; }
.hero.compact { padding-bottom: 24px; }
.pt0 { padding-top: 0; }
.mt { margin-top: 18px; }
