/* LLM Socket — site styles. Tokens come from the old Elementor kit (post-6.css). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #1B1464;
  --navy-hover: #150f50;
  --blue: #1E40AF;
  --blue-bright: #2563EB;
  --text: #1F2937;
  --text-soft: #374151;
  --green: #10B981;
  --green-dark: #047857;
  --green-soft: #D1FAE5;
  --amber: #F59E0B;
  --red: #EF4444;
  --sky: #DBEAFE;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --line: #E5E7EB;
  --soft: #F9FAFB;
  --shadow-card: 0 10px 40px rgba(0, 0, 0, .15);
  --wrap: 1140px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #FAFBFF; transition: background .2s, box-shadow .2s; }
.site-header.scrolled { background: var(--sky); box-shadow: 0 1px 0 rgba(27, 20, 100, .06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo img { display: block; width: 240px; height: auto; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; color: var(--navy); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-bright); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { display: block; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 17px; margin: 0 0 12px; }
.kicker { font-size: 20px; font-weight: 500; letter-spacing: .01em; color: var(--text); text-transform: uppercase; margin: 0 0 12px; }
.lead-h { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
.sub-h { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; }
.intro { text-align: center; padding: 40px 0 16px; }
.intro p { font-size: 17px; }
.problem { text-align: center; padding: 32px 0; }
.problem p { font-size: 17px; }
.problem .sub-h { margin-bottom: 12px; }
.problem .block + .block { margin-top: 28px; }

.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600;
  font-size: 15px; padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer; font-family: inherit;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-bright); transform: translateY(-1px); }
.btn-green { background: var(--green); }
.btn-green:hover { background: #059669; }
.btn-lg { font-size: 17px; padding: 16px 30px; border-radius: 12px; }

/* ---------- score tester ---------- */
.tester { max-width: 700px; margin: 40px auto 0; text-align: left; }
.card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: var(--shadow-card); margin-bottom: 24px; }
.tester h2 { font-size: 24px; font-weight: 700; text-align: center; margin: 0 0 8px; }
.tester .card > p.sub { color: var(--gray); font-size: 15px; text-align: center; margin: 0 0 24px; }
.tester form { display: flex; gap: 12px; margin-bottom: 16px; }
.tester input {
  flex: 1; min-width: 0; padding: 16px; font-size: 16px; font-family: inherit; color: var(--text);
  border: 2px solid var(--line); border-radius: 12px; outline: none; transition: border-color .2s;
}
.tester input:focus { border-color: var(--navy); }
.tester button[type="submit"] {
  padding: 16px 32px; font-size: 16px; font-weight: 600; font-family: inherit; white-space: nowrap;
  background: var(--navy); color: #fff; border: 0; border-radius: 12px; cursor: pointer; transition: background .2s, transform .2s;
}
.tester button[type="submit"]:hover { background: var(--navy-hover); transform: translateY(-1px); }
.tester button[disabled] { opacity: .7; cursor: wait; }
.tester .note { font-size: 13px; color: var(--gray-light); text-align: center; margin: 0; }
.tester .loading { text-align: center; padding: 48px; }
.spinner { width: 48px; height: 48px; border: 4px solid #f3f3f3; border-top-color: var(--navy); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.tester .loading p { color: var(--gray); margin: 0; }
.tester .error { text-align: center; }
.tester .error p { color: var(--red); font-weight: 600; }
.score { text-align: center; }
.score .label { font-size: 14px; color: var(--gray); font-weight: 600; letter-spacing: .02em; margin: 0 0 8px; }
.score .row { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 16px 0; }
.score .num { font-size: 56px; font-weight: 800; line-height: 1.1; }
.score .cap { font-size: 13px; color: var(--gray); }
.score .arrow { font-size: 32px; color: var(--navy); }
.score .badge { display: inline-block; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; margin-top: 8px; }
.score .analysis { color: var(--text-soft); font-size: 15px; line-height: 1.6; margin: 20px 0 0; }
.tester-cta { text-align: center; }
.tester-cta p { color: var(--gray); font-size: 15px; font-weight: 500; margin: 0 0 16px; }
[hidden] { display: none !important; }

/* ---------- Shopify app card ---------- */
.app-card {
  display: flex; align-items: center; gap: 20px; max-width: 560px; margin: 0 auto; text-align: left;
  background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 24px; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.app-card:hover { border-color: #96BF48; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(150, 191, 72, .15); }
.app-card img { width: 48px; height: auto; flex: none; }
.app-card .name { font-size: 18px; font-weight: 700; color: var(--navy); }
.app-card .price { font-size: 14px; color: var(--gray); }
.app-card .go { margin-left: auto; font-size: 14px; color: var(--green); font-weight: 600; white-space: nowrap; }
.platform h2 { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 20px; }
.platform .fine { text-align: center; font-size: 13px; color: var(--gray-light); margin: 14px 0 0; }

/* ---------- ask your AI ---------- */
.ask-ai { text-align: center; }
.ask-ai h2 { font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.ask-ai ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin: 0; padding: 0; }
.ask-ai a { display: block; border-radius: 10px; transition: transform .2s; }
.ask-ai a:hover { transform: translateY(-3px); }
.ask-ai img { display: block; width: 60px; height: 60px; border-radius: 8px; }

/* ---------- proof ---------- */
.proof { text-align: center; }
.proof h2 { font-size: 22px; font-weight: 500; color: var(--text); margin-bottom: 20px; }
.proof img { max-width: 480px; width: 100%; }
.proof figcaption { font-size: 12px; color: var(--text); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq h2 { font-size: 24px; font-weight: 500; text-align: center; margin-bottom: 28px; }
.faq .list { max-width: 680px; margin: 0 auto; border: 1px solid #D5D8DC; }
.faq details + details { border-top: 1px solid #D5D8DC; }
.faq summary {
  list-style: none; cursor: pointer; padding: 11px 14px 11px 40px; position: relative; font-weight: 500; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; position: absolute; left: 14px; top: 8px; font-size: 20px; font-weight: 600; color: var(--text); }
.faq details[open] summary::before { content: '\2212'; }
.faq details[open] summary { border-bottom: 1px solid #D5D8DC; }
.faq .answer { padding: 14px 14px 4px; color: var(--text); }
.faq .answer ul { margin: 0 0 1em; padding-left: 20px; }

/* ---------- how it works ---------- */
.how .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 860px; margin: 0 auto; align-items: start; }
.how h2 { font-size: 26px; font-weight: 500; color: var(--text); }
.how .steps { padding: 8px 16px; }
.how .steps p { margin-bottom: 14px; }
.how .steps ol { margin: 0 0 14px; padding-left: 20px; }
.codepanel { background: #000; color: #fff; padding: 36px 16px; }
.codepanel h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.codepanel .tag { margin: 0 0 14px; }
.codepanel pre {
  background: #1F2937; margin: 0 0 32px; padding: 14px 10px; font-family: var(--mono); font-size: 11.5px;
  line-height: 1.45; white-space: pre-wrap; word-break: break-word;
}
.codepanel pre:last-child { margin-bottom: 0; }
.codepanel .raw { color: #E5E7EB; }
.codepanel .json { color: var(--green); }

/* ---------- pricing ---------- */
.pricing h2 { font-size: 28px; font-weight: 700; text-align: center; }
.pricing .sub { text-align: center; color: var(--gray); margin-bottom: 28px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { border: 2px solid var(--line); border-radius: 12px; padding: 24px 18px; text-align: center; background: #fff; display: flex; flex-direction: column; }
.plan .products { font-weight: 600; color: var(--text); margin-bottom: 10px; }
.plan .price { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1; }
.plan .per { font-size: 14px; color: var(--gray); margin-bottom: 8px; }
.plan .yearly { font-size: 14px; color: var(--text-soft); margin-bottom: 14px; }
.plan .save { display: inline-block; background: var(--green); color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600; padding: 3px 10px; }
.plan .trial { font-size: 13px; color: var(--green); font-weight: 600; margin: auto 0 0; padding-top: 12px; }
.pricing .fine { text-align: center; font-size: 13px; color: var(--gray); margin-top: 16px; }

/* ---------- included (Shopify page) ---------- */
.included { max-width: 520px; margin: 0 auto; border: 1px solid #D5D8DC; }
.included summary { list-style: none; cursor: pointer; text-align: center; font-weight: 700; padding: 10px; }
.included summary::-webkit-details-marker { display: none; }
.included summary::before { content: '+ '; }
.included[open] summary::before { content: '\2212 '; }
.included ul { list-style: none; margin: 0; padding: 4px 24px 18px; }
.included li { padding: 4px 0; }
.included li::before { content: '\2713'; color: var(--green); font-weight: 700; margin-right: 8px; }

/* ---------- prose pages (about, legal, posts) ---------- */
.prose { padding: 56px 0 64px; }
.prose h1 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 700; }
.prose h2 { font-size: 24px; font-weight: 700; margin-top: 1.6em; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 1.4em; }
.prose h4 { font-size: 17px; font-weight: 700; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose img { display: block; margin: 1.2em auto; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.2em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--navy); }
.table-wrap { overflow-x: auto; }
.prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--sky); color: var(--text-soft); }
.prose .meta { color: var(--gray-light); font-size: 13px; margin: -4px 0 24px; }
.post h1 { font-weight: 500; color: var(--text); }
.post h2 { font-weight: 500; color: var(--text); }
.about h1, .about .tagline { text-align: center; }
.about .tagline { font-weight: 600; margin-bottom: 40px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 1.2em 0 1.6em; }
.toc p { font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.toc ol { margin: 0; }
.embed-tester { max-width: 600px; margin: 1.6em auto; }
.embed-tester iframe { display: block; width: 100%; height: 180px; border: 0; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); transition: height .3s; }
.post-cta { margin-top: 48px; padding: 28px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); text-align: center; }
.post-cta h2 { margin-top: 0; color: var(--navy); font-weight: 700; font-size: 22px; }
.post-cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--sky); }

/* ---------- blog index ---------- */
.blog-list h1 { font-size: 30px; font-weight: 400; color: var(--text); text-align: center; margin-bottom: 24px; }
.blog-list article { margin-bottom: 32px; }
.blog-list h2 { font-size: 18px; font-weight: 400; margin: 0; }
.blog-list h2 a { text-decoration: none; }
.blog-list h2 a:hover { text-decoration: underline; }
.blog-list time { display: block; font-size: 12px; color: var(--gray-light); margin-bottom: 12px; }
.blog-list p { font-size: 14px; margin-bottom: 12px; }
.blog-list .more { font-size: 12px; font-weight: 700; text-decoration: none; }

/* ---------- contact ---------- */
.contact { text-align: center; padding: 80px 0 96px; }
.contact h1 { font-size: 36px; }
.contact .mail { font-size: 20px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; margin-top: 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer .brand img { width: 222px; height: auto; }
.site-footer h2 { color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0 0 20px; padding: 0; }
.site-footer li { margin: 2px 0; }
.site-footer a { color: #fff; text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .bottom { background: var(--blue); text-align: center; font-size: 14px; padding: 10px 20px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .how .grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-header .wrap { height: 72px; }
  .logo img { width: 170px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--sky); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav a { display: block; padding: 12px 0; font-size: 13px; }
  .hero { padding-top: 48px; }
  .tester form { flex-direction: column; }
  .tester button[type="submit"] { width: 100%; }
  .card { padding: 24px 18px; }
  .score .num { font-size: 44px; }
  .score .row { gap: 14px; }
  .app-card { flex-wrap: wrap; }
  .app-card .go { margin-left: 0; width: 100%; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 8px; }
  .site-footer .brand { margin-bottom: 16px; }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
