/* ============================================================
   Shared styling for simple / landing / form pages.
   Light, clean, content-first aesthetic aligned with icarsoft.net.
   (Tokens fall back to site.css; component pieces live in components.css.)
   ============================================================ */
.simple-page{ --maxw:1080px; --ink:#1a1a1a; --ink-soft:#333; --ink-muted:#666; --line:#dedede; --line-soft:#eee; --surface-soft:#f8f8f8; }
.simple-wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* ---- hero: light, airy, with a subtle brand accent ---- */
.simple-hero{
  position:relative; text-align:center; color:var(--ink);
  background:linear-gradient(180deg,#ffffff 0%,#f8f8f8 100%);
  border-bottom:1px solid var(--line-soft);
  padding:118px 0 64px; overflow:hidden;
}
.simple-hero::before{
  content:''; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg,var(--brand-red,#c8102e),#df0024);
}
.simple-hero::after{
  content:''; position:absolute; top:-180px; left:50%; transform:translateX(-50%);
  width:680px; height:420px; border-radius:50%;
  background:radial-gradient(closest-side,rgba(200,16,46,.06),transparent 70%); pointer-events:none;
}
.simple-eyebrow{ position:relative; text-transform:uppercase; letter-spacing:.13em; font-size:12.5px; font-weight:700; color:var(--brand-red,#c8102e); margin:0 0 16px; }
.simple-title{ position:relative; font-size:clamp(32px,4.6vw,52px); line-height:1.06; font-weight:700; margin:0 auto; max-width:16ch; color:var(--ink); letter-spacing:-.01em; }
.simple-lead{ position:relative; margin:20px auto 0; max-width:62ch; font-size:18px; line-height:1.55; color:var(--ink-muted); }

/* ---- body ---- */
.simple-body{ padding:64px 0 92px; background:#fff; color:var(--ink); }
.simple-body > .simple-wrap > p:first-child{ margin-top:0; }
.simple-body h2{ font-size:clamp(23px,2.8vw,32px); font-weight:680; margin:52px 0 16px; color:var(--ink); letter-spacing:-.01em; }
.simple-body h3{ font-size:20px; font-weight:650; margin:30px 0 10px; color:var(--ink); }
.simple-body p, .simple-body li{ font-size:16.5px; line-height:1.65; color:var(--ink-soft); }
.simple-body ul, .simple-body ol{ padding-left:22px; }
.simple-body li{ margin-bottom:9px; }
.simple-body a{ color:var(--brand-red,#c8102e); text-decoration:none; }
.simple-body a:hover{ text-decoration:underline; }

/* ---- card grid (matches product-card hover language) ---- */
.simple-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; margin:30px 0; }
.simple-card{ border:1px solid var(--line); border-radius:16px; padding:24px; background:#fff; transition:transform .22s, box-shadow .22s, border-color .2s; text-decoration:none; display:block; color:inherit; }
a.simple-card:hover{ transform:translateY(-4px); box-shadow:0 22px 46px -28px rgba(0,0,0,.28); border-color:var(--brand-red,#c8102e); }
.simple-card h3{ margin:0 0 8px; font-size:18px; font-weight:650; color:var(--ink); display:flex; align-items:center; gap:9px; }
.simple-card h3 i{ color:var(--brand-red,#c8102e); font-size:21px; }
.simple-card p{ margin:0; font-size:14.5px; line-height:1.55; color:var(--ink-muted); }

/* ---- inline form (legacy simple-form; richer forms use .apply-form) ---- */
/* login/register flash alert — align to the form width and style as a proper banner
   (login pages load simple.css, which otherwise has no .flash rule → bare left text). */
.simple-body .flash{ max-width:560px; margin:0 auto 18px; padding:12px 16px; border-radius:11px; font-size:14px; line-height:1.45; display:flex; align-items:center; gap:9px; box-sizing:border-box; }
.simple-body .flash::before{ font-size:16px; line-height:1; }
.simple-body .flash.err{ background:#fdeaea; color:#b3261e; border:1px solid #f4c9c5; }
.simple-body .flash.err::before{ content:"\26A0"; }
.simple-body .flash.ok{ background:#e7f6ee; color:#1f7a45; border:1px solid #bfe6cf; }
.simple-body .flash.ok::before{ content:"\2713"; }
.simple-form{ max-width:560px; margin:0 auto; display:grid; gap:16px; }
.simple-form label{ font-size:13.5px; font-weight:600; color:var(--ink); display:block; margin-bottom:6px; }
.simple-form input, .simple-form textarea, .simple-form select{ width:100%; padding:13px 16px; border:1px solid var(--line); border-radius:11px; font-size:15.5px; font-family:inherit; box-sizing:border-box; }
.simple-form input:focus, .simple-form textarea:focus, .simple-form select:focus{ outline:none; border-color:var(--brand-red,#c8102e); box-shadow:0 0 0 3px rgba(200,16,46,.1); }
.simple-btn{ display:inline-flex; align-items:center; gap:8px; background:var(--brand-red,#c8102e); color:#fff; border:none; border-radius:11px; padding:14px 28px; font-size:15.5px; font-weight:600; cursor:pointer; text-decoration:none; transition:background .15s; }
.simple-btn:hover{ background:var(--brand-red-dark,#8c0a1f); }
.simple-note{ font-size:13.5px; color:var(--ink-muted); text-align:center; }
/* "keep me signed in" — inline checkbox row, not a stacked field label */
.simple-form label.simple-remember{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:400; color:var(--ink-muted); margin:-4px 0 0; cursor:pointer; }
.simple-form label.simple-remember input{ width:auto; margin:0; padding:0; box-shadow:none; }

/* the dark .pagecta sits inside .simple-body, whose p/h3/a colour rules would otherwise
   override the component's white text (and turn the button label red-on-red). Re-assert. */
.simple-body .pagecta h3{ color:#fff; }
.simple-body .pagecta p{ color:rgba(255,255,255,.78); }
.simple-body .pagecta a:hover{ text-decoration:none; }
.simple-body .pagecta .simple-btn,
.simple-body .pagecta .btn{ color:#fff; }
/* the red button is an <a>, so the .simple-body a colour/underline rules would otherwise
   win over .simple-btn (higher specificity) and paint the label red-on-red + underlined. */
.simple-body a.simple-btn,.simple-body a.simple-btn:hover,.simple-body a.btn,.simple-body a.btn:hover{ color:#fff; text-decoration:none; }
