/* Nexara Support — shared styles
   Built for older eyes: large type, strong contrast, big tap targets. */
:root {
  --ink: #1b2430;
  --ink-soft: #46515f;
  --bg: #fbf8f3;
  --card: #ffffff;
  --brand: #1f5f8b;
  --brand-dark: #154566;
  --accent: #e2803a;
  --accent-dark: #c4652180;
  --line: #e6dfd4;
  --ok: #2f7d4f;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, .btn, nav, .eyebrow, .stat b, .price {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.2; margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.alt { background: #f3ede3; }
.center { text-align: center; }
.lead { font-size: 1.15em; color: var(--ink-soft); max-width: 40em; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .6em; display: block; }

/* Header */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 1rem; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
nav a:hover { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1.05rem;
  padding: 16px 28px; border-radius: 999px; min-height: 56px; border: 2px solid transparent;
  transition: background .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #1b1208; }
.btn-primary:hover { background: #f08f48; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: #e8f0f6; }
.btn-small { padding: 10px 18px; min-height: 44px; font-size: .95rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.4em; }
.center .btn-row { justify-content: center; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(27,36,48,.06); }
.hero-card h3 { margin-bottom: .8em; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 34px; position: relative; margin-bottom: .6em; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; font-family: sans-serif; }
.reassure { font-size: .95rem; color: var(--ink-soft); margin-top: 1em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 1.35rem; color: var(--brand); }
.stat span { font-size: .95rem; color: var(--ink-soft); }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { font-size: 2rem; line-height: 1; margin-bottom: .4em; display: block; }
.card p { color: var(--ink-soft); margin: 0; }
.card a.more { display: inline-block; margin-top: .8em; font-weight: 700; font-family: sans-serif; font-size: .95rem; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: sans-serif; margin-bottom: .8em; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; margin-top: 36px; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 14px 36px rgba(31,95,139,.15); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: sans-serif; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.price { font-size: 2.8rem; font-weight: 800; color: var(--ink); line-height: 1; margin: .2em 0; }
.price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.plan .checks { margin: 1.2em 0 1.6em; flex: 1; }
.plan .btn { text-align: center; }
.fine { font-size: .9rem; color: var(--ink-soft); margin-top: 1.4em; }

/* Family band */
.family { background: var(--brand); color: #fff; }
.family h2, .family .lead { color: #fff; }
.family .btn-ghost { color: #fff; border-color: #fff; }
.family .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* FAQ */
.faq { max-width: 820px; margin: 32px auto 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-family: sans-serif; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 24px 20px; color: var(--ink-soft); }

/* Article pages */
.article { max-width: 760px; }
.article h2 { margin-top: 1.6em; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.callout { background: #fff4e8; border-left: 5px solid var(--accent); border-radius: 8px; padding: 18px 22px; margin: 1.6em 0; }
.crumbs { font-size: .9rem; font-family: sans-serif; color: var(--ink-soft); margin-bottom: 1em; }
.crumbs a { color: var(--ink-soft); }

/* Footer */
footer { background: var(--ink); color: #cfd6de; padding: 48px 0 32px; font-size: .95rem; }
footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h3 { color: #fff; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .4em; }
.copy { border-top: 1px solid #36404c; margin-top: 32px; padding-top: 20px; font-size: .85rem; }

@media (max-width: 860px) {
  body { font-size: 19px; }
  .hero-grid, .grid-3, .grid-2, .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  nav .hide-sm { display: none; }
}
