/* Marketing + content pages (landing, keyword pages, legal). Uses the :root
   variables and base reset from style.css, which is linked alongside this. */

/* The landing scrolls naturally; constrain its width for readability. */
#landing { max-width: 1080px; margin: 0 auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* header brand also works as a link on content pages */
a.brand { text-decoration: none; }
.cta-btn { display: inline-flex; align-items: center; background: var(--accent); border: 1px solid var(--accent); color: #fff; border-radius: 9px; padding: 9px 16px; font-weight: 600; font-size: 14px; }
.cta-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }

/* ---- Hero ---- */
.hero { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; padding: 40px 0 48px; }
.hero-text { flex: 1 1 360px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 20px; max-width: 30em; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-points li { color: var(--fg); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); flex: 0 0 auto;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero .card { margin: 0; flex: 0 0 auto; width: 420px; max-width: 100%; }

/* ---- Landing content sections ---- */
.lp { max-width: 760px; padding: 8px 0 56px; }
.lp h2 { font-size: 26px; letter-spacing: -.01em; margin: 44px 0 16px; }
.lp p { color: var(--muted); font-size: 16px; }
.lp p a { color: var(--accent); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding: 16px 16px 16px 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.steps li strong { color: var(--fg); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; font-size: 14px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 24px; margin-top: 24px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.foot-cols nav a { display: block; color: var(--fg); font-size: 14px; padding: 3px 0; }
.foot-cols nav a:hover { color: var(--accent); }
.foot-cols .muted { color: var(--muted); font-size: 13px; margin: 6px 0 0; max-width: 22em; }
.copyright { color: var(--muted); font-size: 13px; margin-top: 26px; }

/* ---- Article (keyword + legal pages) ---- */
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 40px; }
.article h1 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 14px; }
.article .lede { font-size: 18px; }
.article h2 { font-size: 23px; margin: 36px 0 12px; letter-spacing: -.01em; }
.article h3 { font-size: 18px; margin: 24px 0 8px; }
.article p, .article li { color: var(--muted); font-size: 16px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 6px 0; }
.article strong { color: var(--fg); }
.article .cta-row { margin: 28px 0; }
.article .cta-big { display: inline-flex; align-items: center; background: var(--accent); border: 1px solid var(--accent); color: #fff; border-radius: 10px; padding: 14px 28px; font-weight: 700; font-size: 16px; }
.article .cta-big:hover { background: var(--accent-hover); text-decoration: none; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.breadcrumb a { color: var(--muted); }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }

@media (max-width: 760px) {
  .hero { padding: 20px 0 32px; gap: 24px; }
  .hero .card { width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
}
