/* ptc-base.css */
body {
  font-family: var(--ptc-font-sans);
  font-size: var(--ptc-font-base);
  line-height: var(--ptc-leading-normal);
  color: var(--ptc-text-primary);
  background-color: var(--ptc-bg-primary);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ptc-font-sans);
  color: var(--ptc-text-primary);
  font-weight: var(--ptc-font-bold);
  line-height: var(--ptc-leading-tight);
}

h1 {
  font-size: var(--ptc-font-3xl);
  margin-bottom: var(--ptc-space-6);
}

h2 {
  font-size: var(--ptc-font-2xl);
  margin-top: var(--ptc-space-8);
  margin-bottom: var(--ptc-space-4);
}

h3 {
  font-size: var(--ptc-font-xl);
  margin-top: var(--ptc-space-6);
  margin-bottom: var(--ptc-space-3);
}

h4 {
  font-size: var(--ptc-font-lg);
  margin-top: var(--ptc-space-4);
  margin-bottom: var(--ptc-space-2);
}

p {
  margin-bottom: var(--ptc-space-4);
  color: var(--ptc-text-secondary);
}

a {
  color: var(--ptc-accent);
  transition: color var(--ptc-transition);
}

a:hover {
  color: var(--ptc-accent-hover);
}

/* Lists */
ul, ol {
  margin-bottom: var(--ptc-space-4);
  padding-left: var(--ptc-space-6);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: var(--ptc-space-2);
  color: var(--ptc-text-secondary);
}

/* Focus Indicator accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ptc-accent);
  outline-offset: 2px;
}

/* Fieldset reset */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* Screen Reader Only Utility */
.ptc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
