/* Pkosh Communications - site styles
   Brand colors taken from the old site's style.css (#ae3d41, #252f3b). */

:root {
  --brand: #ae3d41;
  --brand-dark: #8c2f33;
  --ink: #252f3b;
  --ink-soft: #4a5563;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --line: #dde1e6;
  --radius: 10px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { top: 8px; color: #fff; }

/* Header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 36px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px; padding: 8px 12px; font: inherit; cursor: pointer;
}
.site-nav { display: none; width: 100%; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.site-nav a { display: block; padding: 10px 4px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #ffd9da; text-decoration: underline; }
.header-inner { flex-wrap: wrap; }

@media (min-width: 1080px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav a { white-space: nowrap; }
  .nav-toggle { display: none; }
  .site-nav { display: block !important; width: auto; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; align-items: center; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: .97rem; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600;
  text-decoration: none; border: 2px solid var(--brand); background: var(--brand); color: #fff;
  cursor: pointer; font: inherit; font-weight: 600; line-height: 1.3;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { color: #fff; }
.site-nav .btn { padding: 8px 14px; border-bottom: 2px solid var(--brand); margin-top: 8px; display: inline-block; }
@media (min-width: 1080px) { .site-nav .btn { margin: 0 0 0 8px; } }

/* Hero */
.hero { background: linear-gradient(135deg, var(--ink) 0%, #3a2530 60%, var(--brand-dark) 100%); color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.15rem; max-width: 40em; color: #e9ecf0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 40px 0 28px; }
.page-head p { color: var(--ink-soft); max-width: 44em; margin: 0; font-size: 1.1rem; }

main { display: block; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.prose { max-width: 48em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); flex: 1; }
.card .more { font-weight: 600; }
.icon { width: 44px; height: 44px; color: var(--brand); margin-bottom: 8px; }

.price { font-size: 2.2rem; font-weight: 700; color: var(--ink); margin: .2em 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.card.featured { border: 2px solid var(--brand); }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 6px 0 6px 28px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 14px 48px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.cta-band { background: var(--ink); color: #fff; padding: 40px 0; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #d7dce2; }
.cta-band a:not(.btn) { color: #fff; }

.notice {
  border-left: 4px solid var(--brand); background: #fbf1f1; padding: 14px 18px;
  border-radius: 0 8px 8px 0; margin: 20px 0;
}

/* Forms */
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #9aa3ad;
  border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(174,61,65,.35); border-color: var(--brand); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-check { display: flex; gap: 10px; align-items: flex-start; }
.field-check input { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--ink-soft); line-height: 1.45; }
.form-note { font-size: .92rem; color: var(--ink-soft); }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list strong { display: block; }
.contact-list a { font-size: 1.15rem; font-weight: 600; }

/* Store badges (placeholders) */
.tag { flex: 0 0 auto; align-self: flex-start; margin: 4px 0 0; padding: 2px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.card .tag { flex: 0 0 auto; }
.tag-now { background: #e3f3e6; color: #1d6b2f; }
.tag-soon { background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line); }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.store-links .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* Terms */
.terms h2 { font-size: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.terms ol { columns: 1; }
@media (min-width: 720px) { .terms .toc { columns: 2; } }

/* Footer */
.site-footer { background: #1b222b; color: #c5ccd4; padding: 40px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #9aa4af; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.mt-0 { margin-top: 0; }
.m-0 { margin: 0; }
