/* ClaroSi guides — homepage electric-blue tokens and Montserrat type scale */
:root {
  --cream: #eef3fb; --cream-2: #f7f9fd; --line: #dbe4f2; --line-strong: #6f87b0;
  --ink: #0a1838; --ink-82: rgba(10,24,56,.82); --ink-62: rgba(10,24,56,.68);
  --blue: #0d47c9; --blue-soft: #e3ecff; --blue-deep: #0a2f8f; --blue-mid: #1e6bff;
  --night: #061a4d; --cyan: #38d0ff;
  --font: "Montserrat", system-ui, sans-serif;
  --radius: 16px; --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--cream); }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; }
.section-title { font-size: clamp(28px, 4vw, 52px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; }
h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--cyan); }

/* Nav + footer */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(238,243,251,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: -0.1px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-82); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -0.1px; border-radius: 10px; transition: background .18s, color .18s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--blue); background: var(--blue-soft); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px var(--font); text-decoration: none; color: #fff; background: linear-gradient(180deg, #1759e0, var(--blue-deep)); border: 0; cursor: pointer; transition: box-shadow .18s; }
.button:hover { box-shadow: 0 8px 22px rgba(13,71,201,.3); }
.button-light { background: #fff; color: var(--blue-deep); }
.footer { margin-top: 96px; padding: 40px 0; border-top: 1px solid var(--line); color: var(--ink-62); font-size: 15px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Blog index */
.blog-hero { padding: 64px 0 24px; }
.blog-hero p { max-width: 60ch; font-size: 18px; color: var(--ink-82); margin: 16px 0 0; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 24px; scrollbar-width: none; }
.cats a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .18s, color .18s; }
.cats a:hover, .cats a[aria-current] { border-color: var(--blue); color: var(--blue); }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.featured .tile { min-height: 340px; }
.featured-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-body h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.featured:hover h2, .card:hover h3 { color: var(--blue); }
.meta { font-size: 14px; color: var(--ink-62); }
.cat { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.card .tile { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.card-media { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--blue-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { transition: color .18s; }
.card p { margin: 0; color: var(--ink-82); font-size: 15px; }
/* Typographic tiles stand in for images: one gradient per category */
.tile { position: relative; display: grid; place-items: end start; padding: 20px; color: #fff; font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; background: linear-gradient(150deg, var(--blue-mid), var(--night)); }
.tile[data-cat="ai"] { background: radial-gradient(70% 80% at 80% 10%, rgba(56,208,255,.55), transparent 70%), linear-gradient(160deg, var(--blue-deep), var(--night)); }
.tile[data-cat="tools"] { background: linear-gradient(150deg, #fff, var(--blue-soft)); color: var(--blue-deep); }
.tile[data-cat="teardown"] { background: linear-gradient(150deg, var(--ink), var(--blue-deep)); }
.tile[data-cat="notes"] { background: linear-gradient(150deg, var(--blue-soft), #c9daff); color: var(--ink); }
.signup { margin: 56px 0; padding: clamp(28px, 4vw, 48px); border-radius: 24px; color: #fff; background: radial-gradient(60% 80% at 85% 0%, rgba(30,107,255,.6), transparent 70%), linear-gradient(180deg, var(--night), var(--blue-deep)); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.signup h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; max-width: 22ch; }
.signup p { margin: 8px 0 0; color: rgba(247,249,253,.85); max-width: 50ch; }
.start-here { margin-top: 64px; }
.start-here ol { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.start-here li a { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; }
.start-here li a:hover { color: var(--blue); }
.start-here .cat { min-width: 110px; }

/* Article */
.article-head { padding: 56px 0 32px; max-width: 860px; }
.crumbs { font-size: 14px; color: var(--ink-62); margin-bottom: 20px; }
.crumbs a { color: var(--ink-62); }
.dek { font-size: 20px; color: var(--ink-82); margin: 20px 0; max-width: 60ch; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-62); flex-wrap: wrap; }
.byline strong { color: var(--ink); font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; }
.article-hero { border-radius: 24px; overflow: hidden; }
.article-hero .tile { aspect-ratio: 21 / 9; }
.article-hero picture,
.article-hero img { display: block; width: 100%; }
.article-hero img { aspect-ratio: 1600 / 686; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; margin-top: 48px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc, .prose { min-width: 0; }
.toc strong { display: block; margin-bottom: 10px; font-size: 13px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-62); text-decoration: none; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 2em; scroll-margin-top: 92px; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.answer { padding: 24px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.answer strong { display: block; font-size: 14px; color: var(--blue); margin-bottom: 6px; }
.answer p { margin: 0; }
.callout { padding: 20px 24px; border-radius: var(--radius); background: var(--blue-soft); font-size: 16px; }
.problem { margin: 0 0 16px; font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -0.2px; }
.action { margin: 16px 0 0; padding: 12px 16px; border-left: 1px solid var(--blue-mid); background: var(--cream-2); border-radius: 0 10px 10px 0; font-size: 15px; }
.example-label { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #fff3c4; color: #5c4300; }
.tool-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tool-card h3 { margin: 0; }
.tool-card dl { grid-column: 1 / -1; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 8px 0 0; font-size: 15px; }
.tool-card dt { font-weight: 600; }
.tool-card dd { margin: 0; color: var(--ink-82); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: #fff; }
.table-wrap { overflow-x: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: 8px 0 0; }
.sources { font-size: 15px; color: var(--ink-82); }
.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-top: 56px; }
.author-box .avatar { width: 64px; height: 64px; }
.author-box p { margin: 6px 0 0; font-size: 16px; color: var(--ink-82); }
.related { margin-top: 80px; }

@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured .tile { min-height: 200px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links { margin-left: 0; width: 100%; }
  .nav .button { display: none; }
  .prose { font-size: 17px; }
  .start-here li a { flex-direction: column; gap: 4px; font-size: 17px; }
  .tool-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Guides index: planned topics, shown before the first guide is published */
.planned { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.planned li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.planned h3 { margin-bottom: 8px; }
.planned p { margin: 0; color: var(--ink-82); font-size: 15px; }
.status { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.guides-note { margin-top: 40px; padding: 28px; border-radius: 20px; background: var(--night); color: #fff; }
.guides-note h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 10px; }
.guides-note p { margin: 0 0 16px; color: rgba(255,255,255,.85); max-width: 62ch; }
@media (max-width: 760px) { .planned { grid-template-columns: 1fr; } }

/* Homepage match (2026-11-02): FAQ questions as cards with a plus marker; rounded surfaces like the homepage */
.faq details { padding: 0; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary { min-height: 0; padding: 20px 22px; font-size: 18px; justify-content: space-between; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 22px 20px; }
.answer, .tool-card, .author-box, .signup, .callout { border-radius: 22px; }

/* Homepage match: guide headers sit on the same navy band as the service pages (full width) */
.article-head { width: 100vw; max-width: none; margin: 0 0 0 calc(50% - 50vw); padding: 72px max(16px, calc(50vw - 600px)) 60px; background: radial-gradient(ellipse at 85% 5%, rgba(56,208,255,.28), transparent 42%), linear-gradient(130deg, #061a4d, #0a2f8f); color: #f7f9fd; }
.article-head h1 { color: #fff; max-width: 18ch; }
.article-head .crumbs, .article-head .crumbs a { color: rgba(247,249,253,.7); }
.article-head .dek { color: rgba(247,249,253,.88); }
.article-head .byline, .article-head .byline strong { color: #fff; }
.article-head .avatar { background: #fff; }
.article-layout { margin-top: 56px; }

/* Guide call-to-action boxes: cyan button, as on the homepage */
.signup { background: radial-gradient(ellipse at 85% 0%, rgba(56,208,255,.22), transparent 45%), linear-gradient(130deg, #061a4d, #0a2f8f); }
.signup .button-light { background: #38d0ff; color: #061a4d; }

/* Related guides (P1-4) */
.related-guides { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.related-guides h2 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.related-guides ul { list-style: none; margin: 0; padding: 0; }
.related-guides li + li { margin-top: 10px; }
.related-guides a { font-weight: 600; color: var(--blue); }

/* Website redesign launch system */
.launch-visual { background:var(--night); overflow-x:auto; }.launch-visual svg { display:block; width:100%; min-width:680px; height:auto; }.section-answer { font-size:18px; color:var(--ink-82); }.prose caption { text-align:left; padding:0 0 10px; font-size:14px; font-weight:700; color:var(--ink-62); }.system-steps,.launch-timeline,.decision-tree ol { list-style:none; padding:0; }.system-steps { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }.system-steps li,.launch-timeline li,.decision-tree li { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px; }.check-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:1.4em 0; }.check-grid section { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; }.check-grid h3 { color:var(--blue-deep); }.check-grid ul { margin:12px 0 0; font-size:15px; }.launch-timeline { counter-reset:launch; display:grid; gap:12px; }.launch-timeline li { position:relative; padding-left:68px; }.launch-timeline li::before { counter-increment:launch; content:counter(launch); position:absolute; left:18px; top:17px; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--blue); color:#fff; font-weight:700; font-size:14px; }.decision-tree li { border-color:var(--cyan); }.launch-workbook { margin:1.4em 0; padding:clamp(18px,4vw,32px); border-radius:22px; background:linear-gradient(145deg,#eaf3ff,#f7fbff); border:1px solid var(--line); }.workbook-heading { max-width:58ch; }.workbook-kicker { display:inline-block; padding:5px 10px; border-radius:999px; background:#d6edff; color:var(--blue-deep); font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }.workbook-heading h3 { margin:.7em 0 .35em; color:var(--ink); font-size:clamp(22px,3vw,30px); }.workbook-heading p { margin:0; color:var(--ink-82); font-size:16px; }.workbook-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:24px; }.workbook-card { position:relative; padding:22px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(10,24,56,.05); }.workbook-number { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--blue); color:#fff; font-size:13px; font-weight:700; }.workbook-card h4 { margin:14px 0 6px; color:var(--ink); font-size:19px; line-height:1.2; }.workbook-card>p { margin:0 0 18px; color:var(--ink-62); font-size:14px; line-height:1.5; }.workbook-card dl { margin:0; }.workbook-card dl>div { padding:10px 0; border-top:1px solid var(--line); }.workbook-card dt { color:var(--blue-deep); font-size:13px; font-weight:700; }.workbook-card dd { margin:3px 0 0; color:var(--ink-82); font-size:14px; line-height:1.4; }.workbook-example { margin-top:16px; padding:14px; border-radius:12px; background:#f4f7fb; font-size:13px; }.workbook-example strong { color:var(--blue-deep); }.workbook-example p { margin:6px 0 0; line-height:1.55; }.workbook-note { margin:18px 0 0; color:var(--ink-62); font-size:14px; }@media(max-width:900px){.workbook-grid{grid-template-columns:1fr;}.workbook-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;}}@media(max-width:520px){.workbook-card dl{grid-template-columns:1fr;}.launch-workbook{padding:16px;}.workbook-card{padding:18px;}}

/* Code examples (schema guide): scroll inside the box, never widen the page */
pre { max-width: 100%; overflow-x: auto; margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #f5f7fb; font-size: 14px; line-height: 1.5; }
pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }

/* One-line secondary offer, used in place of a second call-to-action box so each guide keeps one primary CTA */
.inline-offer { margin: 1.6em 0; padding: 14px 18px; border-left: 3px solid var(--blue-mid); border-radius: 0 12px 12px 0; background: var(--cream-2); font-size: 16px; }
.inline-offer strong { color: var(--ink); }
.inline-offer a { font-weight: 700; }
