/* CCAN design tokens transcribed from the full-resolution Dev Handoff. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 200 900; font-display: swap; src: url('../fonts/roboto-latin.woff2') format('woff2'); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/dm-sans-latin.woff2') format('woff2'); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); }
:root {
  color-scheme: light;
  --forest: #414e3e;
  --stone: #a69a86;
  --charcoal: #212121;
  --slate: #6b6b6b;
  --mist: #f6f6f6;
  --silver: #e0e0e0;
  --divider: #d9d9d9;
  --noir: #0a0a0a;
  --forest-tint: #bfbfbf;
  --footer-text: #bfbfbf;
  --white: #ffffff;
  --color-primary: var(--forest);
  --color-accent: var(--stone);
  --text-primary: var(--charcoal);
  --text-secondary: var(--slate);
  --text-muted: #73776f;
  --surface: var(--white);
  --surface-subtle: var(--mist);
  --border: var(--divider);
  --color-error: #a32f2f;
  --color-success: #315b35;
  --font-body: "DM Sans", "Arial", sans-serif;
  --font-heading: "Roboto", "Arial", sans-serif;
  --font-ui: "Inter", "Arial", sans-serif;
  --display-h1: clamp(2.375rem, calc(1.25rem + 2.1875vw), 3.875rem);
  --display-h2: clamp(1.875rem, calc(.75rem + 1.875vw), 3rem);
  --display-h3: clamp(1.5rem, calc(.5rem + 1.25vw), 2rem);
  --body-copy: clamp(1rem, calc(.8125rem + .3125vw), 1.1875rem);
  --body-list: clamp(1.0625rem, calc(.4375rem + .78125vw), 1.375rem);
  --form-label: 15px;
  --input-text: 16px;
  --button-text: 15px;
  --button-height: 54px;
  --input-height: 52px;
  --faq-row-height: 60px;
  --forest-overlay: rgb(65 78 62 / 88%);
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --leading-tight: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --container-width: 1620px;
  --page-gutter: clamp(20px, 4vw, 64px);
  --control-height: 52px;
  --shadow-card: 9px 11px 42px 2px rgb(0 0 0 / 7%);
  --shadow-dropdown: 0 12px 32px rgb(10 10 10 / 14%);
  --gradient-light: linear-gradient(180deg, rgb(166 154 134 / 9%) 0%, rgb(166 154 134 / 0%) 100%);
  --gradient-forest: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, #ffffff 79%);
  --gradient-warm: linear-gradient(120deg, #ffffff 0%, #f7f0e4 100%);
  --gradient-stone: radial-gradient(ellipse at 70% 20%, #e5e1d9 0%, #ffffff 75%);
  --transition: 160ms ease;
  --z-dropdown: 20;
  --z-sticky: 30;
  --z-modal: 100;
}

/* Reset and accessible defaults */
#ccan *, #ccan *::before, #ccan *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-normal); color: var(--text-primary); background: var(--surface); }
#ccan img, #ccan picture, #ccan video, #ccan canvas, #ccan svg { display: block; max-width: 100%; }
#ccan img, #ccan video { height: auto; }
#ccan button, #ccan input, #ccan select, #ccan textarea { font: inherit; }
#ccan button, #ccan select { text-transform: none; }
#ccan button, #ccan [type="button"], #ccan [type="submit"], #ccan [type="reset"] { cursor: pointer; }
#ccan button:disabled, #ccan input:disabled, #ccan select:disabled, #ccan textarea:disabled { cursor: not-allowed; }
#ccan [hidden] { display: none !important; }
#ccan ::selection { color: var(--white); background: var(--forest); }
#ccan :focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
#ccan .theme-dark :focus-visible { outline-color: var(--white); }
#ccan a { color: var(--forest); text-underline-offset: 3px; }
#ccan a:hover { text-decoration-thickness: 2px; }
#ccan hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--space-6); }
#ccan h1, #ccan h2, #ccan h3, #ccan h4, #ccan h5, #ccan h6 { font-family: var(--font-heading); line-height: var(--leading-tight); font-weight: 400; margin: 0 0 var(--space-4); overflow-wrap: break-word; }
/* Host-theme isolation. The site theme styles bare elements (h1-h6, p, li, a ...) with rules such as
   "h1, h2, h3 { color: #414e3d }". #ccan is an id, so these scoped element rules outrank any class or element
   rule from the theme without !important. Headings, text and lists take their colour from the section they sit in. */
#ccan { color: var(--text-primary); font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-normal); }
#ccan :is(h1, h2, h3, h4, h5, h6) { color: inherit; font-style: normal; letter-spacing: normal; text-shadow: none; }
#ccan :is(p, ul, ol, li, figure, figcaption, blockquote, summary) { color: inherit; letter-spacing: normal; }
#ccan h1, #ccan .h1 { font-size: var(--display-h1); text-transform: uppercase; }
#ccan h2, #ccan .h2 { font-size: var(--display-h2); text-transform: uppercase; }
#ccan h3, #ccan .h3 { font-size: var(--text-xl); }
#ccan h4, #ccan .h4 { font-size: var(--text-lg); }
#ccan h5, #ccan h6 { font-size: var(--text-base); }
#ccan p {
  margin: 0 0 var(--space-4);
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
#ccan ul, #ccan ol { padding-left: var(--space-6); margin-block: 0 var(--space-4); }
#ccan small { font-size: var(--text-sm); }
#ccan .text-small {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#ccan strong { font-weight: 700; }
#ccan code, #ccan kbd, #ccan pre { font-family: Consolas, monospace; font-size: .875em; }
#ccan code { overflow-wrap: anywhere; }
#ccan blockquote { margin: 0; padding: var(--space-6); border-left: 4px solid var(--stone); background: var(--mist); }

/* Layout and utilities */
#ccan .ccan-container { width: min(100% - var(--page-gutter) * 2, var(--container-width)); margin-inline: auto; }
#ccan .section { padding-block: var(--space-16); }
#ccan .grid { display: grid; gap: var(--space-6); }
#ccan .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#ccan .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#ccan .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#ccan .stack > * + * { margin-top: var(--space-4); }
#ccan .cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
#ccan .text-center { text-align: center; }
#ccan .text-muted { color: var(--text-secondary); }
#ccan .text-uppercase { text-transform: uppercase; }
#ccan .font-heading { font-family: var(--font-heading); }
#ccan .font-ui { font-family: var(--font-ui); }
#ccan .w-full { width: 100%; }
#ccan .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#ccan .skip-link { position: fixed; inset: var(--space-4) auto auto var(--space-4); z-index: var(--z-modal); transform: translateY(-200%); background: var(--white); color: var(--forest); padding: var(--space-3) var(--space-4); }
#ccan .skip-link:focus { transform: translateY(0); }
#ccan .theme-dark { background: var(--forest); color: var(--white); --text-secondary: #e0e3dc; --border: #7a8475; }
#ccan .theme-dark a { color: var(--white); }

/* Surfaces and overlays. Foreground content uses .overlay-content. */
#ccan .gradient-light { background: var(--gradient-light); }
#ccan .gradient-forest { background: var(--gradient-forest); }
#ccan .gradient-warm { background: var(--gradient-warm); }
#ccan .gradient-stone { background: var(--gradient-stone); }
#ccan .overlay-forest, #ccan .overlay-charcoal { position: relative; isolation: isolate; background-position: center; background-size: cover; }
#ccan .overlay { position: absolute; pointer-events: none; }
#ccan .overlay-forest > .overlay, #ccan .overlay-charcoal > .overlay { inset: 0; z-index: -1; border-radius: inherit; }
#ccan .overlay-forest > .overlay { background: var(--forest-overlay); backdrop-filter: blur(4px); }
#ccan .overlay-charcoal > .overlay { background: rgb(41 41 41 / 65%); }
#ccan .overlay-content { position: relative; }
#ccan .card { padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
#ccan .card > :last-child { margin-bottom: 0; }
#ccan .card-shadow { box-shadow: var(--shadow-card); }
#ccan .card-product { padding: var(--space-5); }
#ccan .card-product h3 { text-transform: uppercase; }
#ccan .card-product dl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); font-size: var(--text-sm); margin: 0; }
#ccan .card-product dt { color: var(--text-secondary); }
#ccan .card-product dd { margin: 0; }
#ccan .card-option { display: block; padding: var(--space-5); border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--stone); color: var(--noir); cursor: pointer; }
#ccan .card-option:has(input:checked) { background: var(--forest); color: var(--white); border-color: var(--forest); }
#ccan .card-option:has(input:focus-visible) { outline: 3px solid var(--forest); outline-offset: 4px; }
#ccan .card-option input { margin-right: var(--space-2); accent-color: var(--forest); }
#ccan .card-option strong, #ccan .card-option small { display: block; margin-top: var(--space-3); }

/* Buttons and navigation */
#ccan .btn {
  display: inline-flex;
  padding: 18px 32px;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--button-height);
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--forest);
  color: var(--white);
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
#ccan .btn:hover { background: #303d2c; color: var(--white); text-decoration: none; }
#ccan .btn-light { background: var(--white); color: var(--charcoal); }
#ccan .btn-light:hover { background: var(--silver); color: var(--charcoal); text-decoration: none; }
#ccan .btn:active { box-shadow: inset 0 2px 4px rgb(0 0 0 / 15%); }
#ccan .btn-secondary { background: var(--white); border-color: var(--forest); color: var(--forest); }
#ccan .btn-secondary:hover { background: var(--mist); color: var(--forest); }
#ccan .btn-stone { background: var(--stone); color: var(--noir); }
#ccan .btn-stone:hover { background: #958b76; color: var(--noir); }
#ccan .btn-ghost { background: transparent; color: var(--forest); }
#ccan .btn-ghost:hover { background: var(--mist); color: var(--forest); }
#ccan .btn:disabled, #ccan .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
#ccan .btn-icon { width: 48px; height: 48px; min-height: 48px; padding: var(--space-3); flex-shrink: 0; }
#ccan .btn svg { width: 20px; height: 20px; }
#ccan .toolbar { display: flex; align-items: center; flex-wrap: wrap; padding: var(--space-1); border-radius: var(--radius-sm); background: var(--forest); }
#ccan .toolbar .btn { padding: var(--space-2); background: transparent; color: var(--white); }
#ccan .toolbar .btn:hover { background: rgb(255 255 255 / 15%); }
#ccan .toolbar .btn:focus-visible { outline-color: var(--white); outline-offset: -4px; }
#ccan .accordion { border: 1px solid var(--border); border-radius: var(--radius-sm); }
#ccan .accordion + .accordion { margin-top: var(--space-2); }
#ccan .accordion summary { min-height: var(--control-height); padding: var(--space-4); cursor: pointer; font-family: var(--font-heading); text-transform: uppercase; }
#ccan .accordion summary::marker { color: var(--stone); }
#ccan .accordion[open] summary { border-bottom: 1px solid var(--border); }
#ccan .accordion-body { padding: var(--space-4); }
#ccan .accordion-body > :last-child { margin-bottom: 0; }

/* Forms */
#ccan .form { display: grid; gap: var(--space-5); }
#ccan .field { display: grid; gap: var(--space-2); min-width: 0; }
#ccan .field label, #ccan .field-label, #ccan legend { font-size: var(--text-sm); font-weight: 500; }
#ccan .required { color: var(--color-error); }
#ccan .input, #ccan .select, #ccan .textarea { display: block; width: 100%; min-height: var(--control-height); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-3); color: var(--text-primary); background-color: var(--white); transition: border-color var(--transition), box-shadow var(--transition); }
#ccan .input::placeholder, #ccan .textarea::placeholder { color: var(--text-muted); opacity: 1; }
#ccan .textarea { min-height: 140px; resize: vertical; }
#ccan .input:hover, #ccan .select:hover, #ccan .textarea:hover { border-color: var(--slate); }
#ccan .input:focus, #ccan .select:focus, #ccan .textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
#ccan .input:disabled, #ccan .select:disabled, #ccan .textarea:disabled { background: var(--mist); color: var(--text-muted); }
#ccan [aria-invalid="true"] { border-color: var(--color-error); }
#ccan .field-help { margin: 0; color: var(--text-secondary); font-size: var(--text-xs); }
#ccan .field-error { margin: 0; color: var(--color-error); font-size: var(--text-sm); }
#ccan fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
#ccan legend { padding: 0; margin-bottom: var(--space-2); }
#ccan .choice { display: flex; align-items: center; gap: var(--space-2); min-height: var(--control-height); padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: var(--text-sm); }
#ccan .choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--forest); flex-shrink: 0; }
#ccan .choice:has(input:checked) { background: var(--mist); border-color: var(--forest); }
#ccan .choice:has(input:disabled) { cursor: not-allowed; opacity: .55; }
#ccan .choice-group { display: grid; gap: var(--space-2); }
#ccan .choice-group-inline { display: flex; flex-wrap: wrap; gap: var(--space-3); }
#ccan .choice-group-inline > * { flex: 1; }
#ccan .notice { padding: var(--space-4); border-left: 3px solid var(--forest); background: var(--mist); font-size: var(--text-sm); }
#ccan .notice-success { border-color: var(--color-success); }
#ccan .notice-error { border-color: var(--color-error); }

/* Tables scroll inside their wrapper on narrow screens. */
#ccan .table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
#ccan table { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--text-sm); }
#ccan caption { padding: var(--space-3); text-align: left; color: var(--text-secondary); }
#ccan th { background: var(--forest); color: var(--white); font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
#ccan th, #ccan td { padding: var(--space-4); vertical-align: top; }
#ccan td { border-top: 1px solid var(--border); }
#ccan tbody tr:nth-child(even) { background: var(--mist); }
#ccan td > :last-child { margin-bottom: 0; }

@media (min-width: 768px) and (max-width: 1199px) {
  #ccan .grid-3, #ccan .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --display-h1: 38px; --display-h2: 30px; --display-h3: 24px; --page-gutter: 16px; --body-copy: 16px; --body-list: 17px; }
  #ccan .grid-2, #ccan .grid-3, #ccan .grid-4 { grid-template-columns: 1fr; }
  #ccan .section { padding-block: var(--space-10); }
  #ccan th, #ccan td { padding: var(--space-3); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #ccan *, #ccan *::before, #ccan *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  body { color: #000; background: #fff; }
  #ccan .ccan-container { width: 100%; }
  #ccan .skip-link, #ccan .no-print { display: none; }
  #ccan .card, #ccan .swatch, #ccan tr { break-inside: avoid; }
  #ccan .table-wrap { overflow: visible; }
}
