/* Linometry marketing + legal — matches the app's theme */
:root {
  --bg: #1D1C21;
  --bg2: #26252B;
  --bg3: #2F2E35;
  --text: #F4F2F8;
  --muted: #A5A1B2;
  --line: #3A3944;
  --accent: #7B61FF;
  --accent-soft: #9B87FF;
  --success: #57CC99;
  --warning: #FFD166;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(29, 28, 33, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-weight: 900; font-size: 20px; letter-spacing: 3px; color: var(--text); }
.logo span { color: var(--accent); }
nav .links { display: flex; gap: 26px; align-items: center; }
nav .links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
nav .links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--accent-soft); transform: translateY(-1px); text-decoration: none !important; }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--text) !important; }
.btn.ghost:hover { border-color: var(--accent); background: transparent; }

/* hero */
.hero { padding: 92px 0 70px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;  height: 130%;
  background: radial-gradient(ellipse at 50% 0%, rgba(123, 97, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 900; line-height: 1.12; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero p.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 620px; margin: 20px auto 34px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* feature grid */
section.features { padding: 40px 0 70px; }
h2.section { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; text-align: center; margin-bottom: 10px; }
p.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 44px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
}
.card .emoji { font-size: 30px; }
.card h3 { font-size: 17.5px; margin: 12px 0 6px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* pricing */
section.pricing { padding: 30px 0 80px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 40px; }
.plan {
  background: var(--bg2); border: 2px solid var(--line); border-radius: 18px; padding: 26px 22px; text-align: center; position: relative;
}
.plan.hero-plan { border-color: var(--accent); background: linear-gradient(180deg, rgba(123,97,255,0.12), var(--bg2) 55%); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.5px; padding: 4px 12px; border-radius: 9px; white-space: nowrap;
}
.plan h3 { font-size: 16px; }
.plan .price { font-size: 34px; font-weight: 900; margin: 10px 0 2px; }
.plan .per { color: var(--muted); font-size: 13px; }
.plan .note { color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
footer p, footer a { color: var(--muted); font-size: 13.5px; }
footer .links { display: flex; gap: 20px; }

/* legal pages */
main.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
main.legal h1 { font-size: 34px; font-weight: 900; margin-bottom: 6px; }
main.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 36px; }
main.legal h2 { font-size: 21px; margin: 36px 0 10px; }
main.legal h3 { font-size: 16.5px; margin: 22px 0 8px; }
main.legal p, main.legal li { color: #CFCBDB; font-size: 15.5px; }
main.legal ul { padding-left: 22px; margin: 10px 0; }
main.legal li { margin-bottom: 6px; }
main.legal table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14.5px; }
main.legal th, main.legal td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; color: #CFCBDB; }
main.legal th { background: var(--bg2); color: var(--text); }
