/* V-Sharp AI Labs — shared styles */
:root {
  --ink: #1b1f3b;
  --ink-soft: #4a4f6a;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e7e4dc;
  --accent: #f5455a;      /* coral pink */
  --accent-dark: #d6246f;
  --brand: #1c48e0;       /* logo blue */
  --grad: linear-gradient(90deg,#ff8a00 0%,#f5455a 35%,#e80aa8 55%,#1c9be0 75%,#1c48e0 100%);
  --brand-soft: #edf1fd;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; white-space: nowrap;
}
.logo-mark span { color: var(--accent); }
nav a {
  margin-left: 22px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px;
}
nav a:hover, nav a[aria-current="page"] { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1537b5; }
.btn-accent { background: linear-gradient(90deg,#ff8a00,#f5455a 60%,#e80aa8); color: #fff; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.03em; max-width: 14ch; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 58ch; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 14px; }
.section-intro { color: var(--ink-soft); max-width: 62ch; margin: 0 0 36px; font-size: 1.05rem; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; font-size: 22px;
}

.quote {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.4; font-weight: 600;
  max-width: 34ch; margin: 0; letter-spacing: -0.01em;
}
.quote span { color: var(--accent-dark); }

/* Tool cards */
.tool {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.tool-icon {
  width: 96px; height: 96px; border-radius: 22px; background: var(--brand-soft);
  display: grid; place-items: center;
}
.tool h3 { margin: 0 0 4px; font-size: 1.4rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.tag.free { background: #e6f5ea; color: #1f7a3b; }
.tool ul { margin: 0 0 20px; padding-left: 20px; color: var(--ink-soft); }
.tool .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.small { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }
.tool.soon { grid-template-columns: 1fr; text-align: center; border-style: dashed; background: transparent; }
.tool.soon p { color: var(--ink-soft); margin: 0; }

.support {
  background: linear-gradient(120deg,#1c48e0 0%,#1c6fe0 55%,#7a2bd6 100%); color: #fff; border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.support h2 { color: #fff; }
.support p { color: #d6daf5; margin: 0; max-width: 56ch; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--ink-soft); margin: 10px 0 0; }

/* Footer */
.site-footer { padding: 40px 0; font-size: 13.5px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer p { margin: 0 0 4px; }

@media (max-width: 640px) {
  nav a { margin-left: 14px; }
  .tool { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; padding: 28px; }
  .hero { padding: 60px 0 48px; }
}

.logo-img { width: 50px; height: 50px; object-fit: contain; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--grad); }

.pay-only { display: none !important; }

/* ---- v2: tools list, tool pages, links, mobile menu ---- */
.small-hero { padding: 64px 0 40px; }
.small-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: 20ch; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.link-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .12s; display: block; }
.link-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.link-card .more, .tool-row .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--brand); }
.ext { font-size: .8em; color: var(--ink-soft); }
h2.cat { margin: 40px 0 16px; font-size: 1.35rem; }
h2.cat:first-child { margin-top: 0; }

.tool-list { display: grid; gap: 18px; }
.tool-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
  text-decoration: none; color: inherit; transition: border-color .15s, transform .12s;
}
a.tool-row:hover { border-color: var(--brand); transform: translateY(-2px); }
.tool-row h3 { margin: 0 0 4px; font-size: 1.3rem; }
.tool-row p { margin: 0; color: var(--ink-soft); }
.tool-row .meta { margin: 6px 0 10px; }
.tool-row.soon { grid-template-columns: 1fr; text-align: center; border-style: dashed; background: transparent; }

.tool-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.tool-hero .meta { margin: 0 0 18px; }
code { background: var(--brand-soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

/* replica of the real widget */
.widget-demo { display: grid; gap: 16px; justify-items: center; padding: 30px; border-radius: 20px;
  background: linear-gradient(135deg, #2a3350, #4b3a6b 60%, #7a3b5c); }
.bw { width: 230px; height: 88px; border-radius: 14px; background: rgba(30,31,36,.9); padding: 10px 16px;
  display: flex; align-items: center; gap: 14px; color: #fff; font-family: "Segoe UI", system-ui, sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.bw.alert { background: rgba(178,91,0,.95); }
.bw-batt { width: 22px; display: flex; flex-direction: column; align-items: center; }
.bw-cap { width: 10px; height: 4px; border-radius: 1px; background: rgba(255,255,255,.8); }
.bw-body { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.8); border-radius: 4px; padding: 2px; display: flex; align-items: flex-end; }
.bw-fill { width: 100%; background: #30d158; border-radius: 2px; }
.bw-fill.white { background: #fff; }
.bw-pct { font-size: 30px; font-weight: 600; line-height: 1.1; }
.bw-status { font-size: 11.5px; color: rgba(255,255,255,.85); white-space: nowrap; }
.widget-demo .small { color: #e6e3f5; margin: 0; }

.soon-hero { background:
  radial-gradient(600px 300px at 85% 10%, rgba(28,72,224,.14), transparent 70%),
  radial-gradient(500px 300px at 10% 90%, rgba(245,69,90,.12), transparent 70%); }

.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; font-size: 20px; padding: 4px 10px; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .site-header nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 22px 16px; flex-direction: column; }
  .nav-open .site-header nav { display: flex; }
  .site-header nav a { margin: 10px 0 0; }
  .tool-hero { grid-template-columns: 1fr; }
  .tool-row { grid-template-columns: 1fr; }
  .tool-row .more { justify-self: start; }
}

/* privacy / long-form text */
.prose > * { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }

/* passport photo illustration */
.pp-demo { display: grid; gap: 14px; justify-items: center; padding: 30px; border-radius: 20px; background: linear-gradient(135deg,#e9edf7,#f6e9f0); }
.pp-photo { position: relative; width: 175px; height: 225px; background: #e5e6e7; border-radius: 4px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 10px 24px rgba(0,0,0,.15); }
.pp-head { position: absolute; left: 50%; top: 26px; width: 92px; height: 120px; transform: translateX(-50%); border-radius: 50% 50% 46% 46%; background: #c99a7a; }
.pp-body { position: absolute; left: 50%; bottom: -60px; width: 170px; height: 110px; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #2d3a5c; }
.pp-line.top { position: absolute; left: 0; right: 0; top: 26px; border-top: 2px dashed #1c48e0; }
.pp-band { position: absolute; left: 0; right: 0; top: 171px; height: 25px; background: rgba(28,72,224,.18); border-top: 2px solid #1c48e0; border-bottom: 2px solid #1c48e0; }
.pp-demo .small { margin: 0; }

/* guides */
.guide-meta { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark) !important; margin: 12px 0 0 !important; }
.guide-card h3 { margin-top: 6px; }
.article h1 em { font-style: normal; }
.prose ol { padding-left: 22px; }
.prose ol li { margin-bottom: 8px; }
.callout { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 10px; padding: 16px 20px; margin: 24px 0; color: var(--ink); }
.callout strong { color: var(--brand); }
.tool-cta { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin: 28px 0;
  padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tool-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.tool-cta h3 { margin: 0 0 6px; }
.tool-cta p { margin: 0; }
@media (max-width: 700px) { .tool-cta { grid-template-columns: 1fr; } }
