/* Chisel Outdoors — site styles
   Palette: white, bright orange, slate grey, lighter greys. */

:root {
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-tint: #fff4ec;
  --slate-900: #1e2731;
  --slate-800: #2b3540;
  --slate-700: #3d4854;
  --slate-500: #64707d;
  --grey-400: #a3acb6;
  --grey-300: #cfd5db;
  --grey-200: #e3e7eb;
  --grey-100: #f1f3f5;
  --grey-50: #f8f9fa;
  --white: #ffffff;

  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  --radius: 8px;
  --radius-lg: 12px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange-dark); }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--slate-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.lead { font-size: 1.2rem; color: var(--slate-700); max-width: 640px; }

.section { padding: 96px 0; }
.section--grey { background: var(--grey-50); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.section--slate { background: var(--slate-800); color: var(--grey-200); }
.section--slate h2, .section--slate h3 { color: var(--white); }
.section--slate .eyebrow { color: #fdba8c; }
.section--slate .lead { color: var(--grey-300); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--slate-800); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--slate-700); color: var(--slate-900); }
.btn--sm { padding: 9px 16px; font-size: 0.92rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-note { font-size: 0.9rem; color: var(--slate-500); margin-top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--grey-200);
  backdrop-filter: saturate(160%) blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate-900); }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--slate-700); text-decoration: none; font-size: 0.98rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--orange-dark); }

/* Hero */
.hero { padding: 80px 0 88px; background: linear-gradient(180deg, var(--white) 0%, var(--grey-50) 100%); border-bottom: 1px solid var(--grey-200); }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.works-with { margin-top: 32px; font-size: 0.95rem; color: var(--slate-500); }
.works-with strong { color: var(--slate-700); font-weight: 600; }

/* Mock popup */
.mock {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(30, 39, 49, .06), 0 18px 40px rgba(30, 39, 49, .10);
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
  font-size: 0.95rem;
}
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--slate-800); color: var(--white); }
.mock-bar img { width: 26px; height: 26px; border-radius: 6px; }
.mock-bar b { font-family: var(--serif); font-weight: 700; }
.mock-bar small { margin-left: auto; color: var(--grey-400); font-size: 0.8rem; }
.mock-body { padding: 18px; }
.mock-trail { font-weight: 700; color: var(--slate-900); }
.mock-meta { color: var(--slate-500); font-size: 0.85rem; margin-bottom: 14px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 10px 12px; }
.stat .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); font-weight: 700; }
.stat .v { font-family: var(--serif); font-size: 1.2rem; color: var(--slate-900); font-weight: 700; }
.stat .s { font-size: 0.8rem; color: var(--slate-500); }
.stat--hi { background: var(--orange-tint); border-color: #fed7bd; }
.stat--hi .v { color: var(--orange-dark); }
.mock-gear { margin-top: 14px; border-top: 1px solid var(--grey-200); padding-top: 12px; }
.mock-gear .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); font-weight: 700; margin-bottom: 6px; }
.mock-gear ul { list-style: none; margin: 0; padding: 0; }
.mock-gear li { display: flex; gap: 8px; padding: 4px 0; font-size: 0.88rem; color: var(--slate-700); }
.mock-gear li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: 8px; flex: none; }
.mock-gear li b { color: var(--slate-900); }
.mock-caption { text-align: right; font-size: 0.8rem; color: var(--slate-500); margin-top: 10px; max-width: 420px; margin-left: auto; }

/* Problem / feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card .q { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.card .q::before { content: "\201C"; color: var(--orange); }
.card .q::after { content: "\201D"; color: var(--orange); }
.card p { font-size: 1rem; color: var(--slate-700); margin: 0; }
.card .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-tint); color: var(--orange-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }

/* Photos */
.intro-split { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.intro-split .section-head { margin-bottom: 0; }
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--intro img { height: 100%; }
.photo--intro { aspect-ratio: 4 / 3; }
.photo--intro img { object-position: 50% 35%; }

/* Personas */
.personas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.persona { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--grey-200); background: var(--white); }
.persona--alt { background: var(--slate-800); border-color: var(--slate-800); color: var(--grey-200); }
.persona--alt h3 { color: var(--white); }
.persona--alt .eyebrow { color: #fdba8c; }
.persona h3 { font-size: 1.5rem; }
.persona > p { color: inherit; opacity: .92; }
.pairs { list-style: none; padding: 0; margin: 24px 0 0; }
.pairs li { padding: 16px 0; border-top: 1px solid var(--grey-200); }
.persona--alt .pairs li { border-top-color: var(--slate-700); }
.pairs .prob { display: block; font-weight: 700; color: var(--slate-900); }
.persona--alt .pairs .prob { color: var(--white); }
.pairs .sol { display: block; font-size: 1rem; color: var(--slate-700); }
.persona--alt .pairs .sol { color: var(--grey-300); }
.pairs .sol::before { content: "Chisel: "; font-weight: 700; color: var(--orange-dark); }
.persona--alt .pairs .sol::before { color: #fdba8c; }

/* Gear safety */
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.risk { background: var(--slate-700); border-radius: var(--radius-lg); padding: 0 28px 28px; border-top: 4px solid var(--orange); overflow: hidden; }
.risk-photo { width: calc(100% + 56px); max-width: none; height: auto; margin: 0 -28px 24px; aspect-ratio: 3 / 2; object-fit: cover; }
.risk h3 { margin-bottom: 4px; }
.risk .sub { color: #fdba8c; font-weight: 600; font-size: 0.98rem; margin-bottom: 16px; }
.risk ul { margin: 0; padding-left: 18px; }
.risk li { margin-bottom: 10px; font-size: 0.98rem; color: var(--grey-200); }
.risk li b { color: var(--white); }

.backcountry {
  position: relative;
  margin-top: 28px;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--slate-900) url("/images/web/valley.jpg") 0% 62% / max(130%, 760px) auto no-repeat;
}
/* Scrim: solid slate behind the text, fading out to reveal the valley and hiker on the right. */
.backcountry::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 35, .94) 0%, rgba(20, 27, 35, .88) 38%, rgba(20, 27, 35, .45) 62%, rgba(20, 27, 35, .05) 85%);
}
.backcountry-text { position: relative; max-width: 520px; padding: 40px; }
.backcountry .icon { background: rgba(234, 88, 12, .2); color: #fdba8c; }
.backcountry h3 { font-size: 1.6rem; margin-bottom: 10px; }
.backcountry p { margin: 0; color: var(--grey-200); font-size: 1.02rem; }

.helps { margin-top: 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 16px 34px; color: var(--grey-200); font-size: 1rem; }
.checklist li b { color: var(--white); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.gear-example { background: var(--white); color: var(--slate-800); border-radius: var(--radius-lg); overflow: hidden; }
.gear-example header { padding: 14px 20px; background: var(--grey-100); border-bottom: 1px solid var(--grey-200); display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.gear-example header b { font-family: var(--serif); color: var(--slate-900); }
.toggle { display: inline-flex; border: 1px solid var(--grey-300); border-radius: 999px; overflow: hidden; font-size: 0.8rem; font-weight: 700; }
.toggle span { padding: 3px 10px; color: var(--slate-500); }
.toggle span.on { background: var(--slate-800); color: var(--white); }
.gear-example ul { list-style: none; margin: 0; padding: 6px 20px 12px; }
.gear-example li { padding: 10px 0; border-bottom: 1px solid var(--grey-100); font-size: 0.95rem; }
.gear-example li:last-child { border-bottom: 0; }
.gear-example li b { display: block; color: var(--slate-900); }
.gear-example li span { color: var(--slate-500); font-size: 0.9rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--grey-200); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--slate-800); color: var(--white); font-family: var(--serif); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--slate-700); font-size: 1rem; margin: 0; }

/* Showcase (screenshots) */
.showcase { max-width: 1072px; margin: 0 auto; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.tab {
  display: flex; align-items: center; gap: 12px; text-align: left;
  font: inherit; color: var(--slate-700); cursor: pointer;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 12px 16px; min-height: 64px;
  transition: border-color .15s ease, background-color .15s ease;
}
.tab:hover { border-color: var(--grey-400); }
.tab:focus-visible { outline: 3px solid rgba(234, 88, 12, .45); outline-offset: 2px; }
.tab b { display: block; color: var(--slate-900); font-size: 1rem; }
.tab small { display: block; color: var(--slate-500); font-size: 0.88rem; }
.tab-n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grey-100); color: var(--slate-700); font-family: var(--serif); font-weight: 700; }
.tab[aria-selected="true"] { border-color: var(--orange); box-shadow: inset 0 -3px 0 var(--orange); }
.tab[aria-selected="true"] .tab-n { background: var(--orange); color: var(--white); }

.shot {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--grey-300); background: var(--white);
  box-shadow: 0 1px 2px rgba(30, 39, 49, .06), 0 18px 40px rgba(30, 39, 49, .12);
}
.shot img { width: 100%; height: auto; }
.panel-notes { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; margin-top: 28px; align-items: start; }
.panel-notes h3 { font-size: 1.35rem; }
.panel-notes ul { margin: 0; padding-left: 20px; }
.panel-notes li { margin-bottom: 8px; color: var(--slate-700); font-size: 1rem; }
.panel-notes li b { color: var(--slate-900); }

/* How it works with screenshot */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.how-steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; }
.how-steps li { position: relative; padding: 0 0 22px 60px; }
.how-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--slate-800); color: var(--white); font-family: var(--serif); font-weight: 700;
}
.how-steps h3 { margin-bottom: 4px; }
.how-steps p { margin: 0; color: var(--slate-700); font-size: 1rem; }
.how-shot { margin: 0; }
.how-shot img { height: auto; border-radius: var(--radius-lg); border: 1px solid var(--grey-300); box-shadow: 0 18px 40px rgba(30, 39, 49, .10); }
.how-shot figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--slate-500); text-align: center; }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.privacy-band ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.privacy-band li { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 16px 18px; font-size: 0.98rem; color: var(--slate-700); }
.privacy-band li b { display: block; color: var(--slate-900); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--grey-200); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--slate-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 10px 0 0; color: var(--slate-700); font-size: 1rem; }

/* Install CTA */
.cta { text-align: center; }
.cta-box { background: var(--white); border: 1px solid var(--grey-200); border-radius: 16px; padding: 56px 32px; max-width: 820px; margin: 0 auto; box-shadow: 0 18px 40px rgba(30, 39, 49, .06); }
.cta-box img { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 20px; }
.cta-box .lead { margin: 0 auto 28px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--slate-700); background: var(--grey-100); border: 1px solid var(--grey-200); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Footer */
.site-footer { background: var(--slate-900); color: var(--grey-400); padding: 56px 0 40px; font-size: 0.92rem; }
.site-footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--slate-700); margin-bottom: 24px; }
.site-footer .brand { color: var(--white); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--grey-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .fine p { margin: 0 0 8px; max-width: 860px; }

/* Legal page */
.legal-hero { padding: 64px 0 40px; background: var(--grey-50); border-bottom: 1px solid var(--grey-200); }
.legal-hero p { color: var(--slate-500); margin: 0; }
.legal { max-width: 808px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; padding-top: 0.2em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal code { font-size: 0.88em; background: var(--grey-100); border: 1px solid var(--grey-200); padding: 1px 6px; border-radius: 4px; }
.summary-box { background: var(--orange-tint); border: 1px solid #fed7bd; border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.summary-box p { margin: 0; }
.toc { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px 24px; margin: 28px 0; font-size: 0.98rem; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc a { text-decoration: none; }
.fill-in { background: #fff3bf; border-bottom: 2px dashed #e0a800; padding: 0 4px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .helps, .privacy-band { grid-template-columns: 1fr; }
  .mock, .mock-caption { margin-left: 0; }
  .cards, .risks, .steps { grid-template-columns: 1fr 1fr; }
  .personas { grid-template-columns: 1fr; }
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .how { grid-template-columns: 1fr; gap: 40px; }
  .how-shot { max-width: 520px; }
  .panel-notes { grid-template-columns: 1fr; gap: 8px; }
  .photo--intro { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .nav a:not(.btn) { display: none; }
  .cards, .risks, .steps, .privacy-band ul { grid-template-columns: 1fr; }
  .persona { padding: 28px 22px; }
  .backcountry { min-height: 520px; align-items: flex-end; background-size: cover; background-position: 55% 30%; }
  .backcountry::before { background: linear-gradient(180deg, rgba(20, 27, 35, .05) 0%, rgba(20, 27, 35, .55) 35%, rgba(20, 27, 35, .94) 62%); }
  .backcountry-text { padding: 28px 24px; }
  .toc ol { columns: 1; }
  .tabs { grid-template-columns: 1fr; gap: 8px; }
  .tab { min-height: 56px; }
  .shot { max-width: 420px; margin: 0 auto; }
  #panel-open .shot { max-width: none; }
  .hero { padding: 56px 0 64px; }
  .stat .v { font-size: 1.05rem; }
  .brand span { font-size: 1.05rem; }
}
@media (max-width: 400px) {
  .mock-grid { grid-template-columns: 1fr; }
}
