/* Base reset (replaces the Tailwind preflight used by the Next.js version) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}

body {
  background: #faf3e3;
}

h1,
h2 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul {
  list-style: none;
}

img,
svg,
video {
  display: block;
  vertical-align: middle;
}

a {
  color: inherit;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(assets/fonts/source-serif-4-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(assets/fonts/source-serif-4-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.ps-root {
  --ps-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ps-headings: oklch(21% 0.034 264.665);
  --ps-primary: #14273f;
  --ps-primary-content: #f5e9d4;
  --ps-base-content: #1e2a3c;

  min-height: 100vh;
  background: #faf3e3;
  color: var(--ps-base-content);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  -webkit-font-smoothing: auto;
}

/* Article (Tailwind Typography `prose md:prose-lg` + plentyside theme) */
.ps-article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  color: #141d2b;
  font-size: 1.1875rem;
  line-height: 1.75;
}

.ps-article > p {
  margin: 1.25em 0;
}

.ps-article strong {
  color: var(--ps-headings);
  font-weight: 600;
}

.ps-article h1,
.ps-article h2 {
  color: var(--ps-headings);
  font-family: var(--ps-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ps-article h1 {
  margin: 0 0 0.888889em;
  font-size: 2.375rem;
  line-height: 1.2;
}

.ps-article h2 {
  margin: 2em 0 1em;
  font-size: 1.5em;
  line-height: 1.33333;
}

.ps-article h2 + * {
  margin-top: 0;
}

.ps-article > ul {
  margin: 1.25em 0;
  padding-inline-start: 1.625em;
  list-style-type: disc;
}

.ps-article > ul > li {
  margin: 0.5em 0;
  padding-inline-start: 0.375em;
}

.ps-article > ul > li::marker {
  color: oklch(87.2% 0.01 258.338);
}

.ps-article img,
.ps-article video {
  display: block;
  max-width: 100%;
  height: auto;
}

.ps-article p > img {
  margin: 2em 0;
  border: 1px solid #e0cda9;
  border-radius: 0;
}

.ps-article > video {
  margin: 2em 0;
}

.ps-article table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.875em;
  line-height: 1.71429;
}

.ps-article thead {
  border-bottom: 1px solid oklch(87.2% 0.01 258.338);
}

.ps-article th {
  padding: 0 0.571429em 0.571429em;
  color: var(--ps-headings);
  font-weight: 600;
  text-align: start;
  vertical-align: bottom;
}

.ps-article tbody tr {
  border-bottom: 1px solid oklch(92.8% 0.006 264.531);
}

.ps-article tbody tr:last-child {
  border-bottom-width: 0;
}

.ps-article td {
  padding: 0.571429em;
  text-align: start;
  vertical-align: baseline;
}

.ps-article th:first-child,
.ps-article td:first-child {
  padding-inline-start: 0;
}

.ps-article th:last-child,
.ps-article td:last-child {
  padding-inline-end: 0;
}

@media (min-width: 48rem) {
  .ps-article {
    line-height: 1.77778;
  }

  .ps-article > p {
    margin: 1.33333em 0;
  }

  .ps-article h1 {
    margin-bottom: 0.833333em;
  }

  .ps-article h2 {
    margin: 1.86667em 0 1.06667em;
    font-size: 1.66667em;
  }

  .ps-article > ul {
    margin: 1.33333em 0;
    padding-inline-start: 1.55556em;
  }

  .ps-article > ul > li {
    margin: 0.666667em 0;
    padding-inline-start: 0.444444em;
  }

  .ps-article p > img,
  .ps-article > video {
    margin: 1.77778em 0;
  }

  .ps-article table {
    font-size: 0.888889em;
    line-height: 1.5;
  }

  .ps-article th {
    padding: 0 0.75em 0.75em;
  }

  .ps-article td {
    padding: 0.75em;
  }
}

/* Masthead band */
.ps-masthead {
  margin: -2.5rem calc(50% - 50vw) 0;
  background: var(--ps-primary);
  color: var(--ps-primary-content);
}

.ps-masthead-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 65ch;
  margin: 0 auto;
  padding: 0.875rem 1rem;
}

.ps-masthead-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.ps-masthead-label {
  margin: 0;
  color: #55647d;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ps-ad-label {
  margin: 2rem 0 0;
  color: rgb(30 42 60 / 0.6);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ps-byline {
  margin: 0;
  color: rgb(30 42 60 / 0.6);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* CTA (daisyUI btn btn-primary btn-lg) */
.ps-cta {
  margin: 2.5rem 0;
  text-align: center;
}

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid color-mix(in oklab, var(--ps-primary), #000 5%);
  border-radius: 0.25rem;
  background: var(--ps-primary);
  box-shadow:
    0 0.5px oklch(100% 0 0 / 0.05) inset,
    0 3px 2px -2px color-mix(in oklab, var(--ps-primary) 30%, #0000),
    0 4px 3px -2px color-mix(in oklab, var(--ps-primary) 30%, #0000);
  color: var(--ps-primary-content);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-shadow: 0 0.5px oklch(100% 0 0 / 0.15);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ps-btn:hover {
  background: color-mix(in oklab, var(--ps-primary), #000 7%);
}

/* Collapses (daisyUI collapse collapse-arrow) */
.ps-collapses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0;
}

.ps-collapse {
  border-radius: 0.75rem;
  background: rgb(241 228 203 / 0.5);
}

.ps-collapse-title {
  position: relative;
  display: block;
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: start;
}

.ps-collapse-title::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 1.4rem;
  width: 0.5rem;
  height: 0.5rem;
  box-shadow: 2px 2px;
  transform: translateY(-100%) rotate(45deg);
  transform-origin: 75% 75%;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.ps-collapse[open] .ps-collapse-title::after {
  transform: translateY(-50%) rotate(225deg);
}

.ps-collapse-content {
  padding: 0 1rem 1rem;
  font-size: 0.75rem;
  line-height: 1.625;
}

.ps-collapse-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-collapse-content li + li {
  margin-top: 0.25rem;
}

.ps-collapse-content a {
  color: inherit;
  text-decoration: underline;
}

/* Footer */
.ps-footer {
  background: #101e31;
  color: #c9bfa9;
  font-family: Arial, Helvetica, sans-serif;
}

.ps-footer h2 {
  margin: 0 0 16px;
  color: #e3a345;
  font-family: var(--ps-serif);
  font-size: 23px;
  letter-spacing: 0;
  line-height: 1.2;
}

.ps-footer nav h2,
.ps-footer-disclosure h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ps-footer p,
.ps-footer a {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.ps-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 64px;
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 48px 0 38px;
}

.ps-footer nav {
  display: grid;
  align-content: start;
  gap: 14px;
}

.ps-footer nav a {
  color: #c9bfa9;
  text-decoration: none;
}

.ps-footer nav a:hover {
  text-decoration: underline;
}

.ps-footer .ps-footer-copyright {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid #24354d;
  text-align: center;
}

.ps-footer-disclosure {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 26px 0 56px;
  border-top: 1px solid #24354d;
  text-align: center;
}

.ps-footer-disclosure h2 {
  margin: 0 0 18px;
  color: #8a93a3;
}

.ps-footer .ps-footer-disclosure p {
  max-width: 690px;
  margin: 0 auto 16px;
  color: #8a93a3;
}

@media (max-width: 700px) {
  .ps-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-top: 50px;
  }

  .ps-footer h2 {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .ps-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Standalone-only helpers */
.ps-clip {
  overflow-x: clip;
}

.ps-logo {
  width: auto;
  height: 2rem;
}

.ps-sun {
  flex-shrink: 0;
  align-self: flex-end;
  width: 1.3125rem;
  height: 0.75rem;
}

.ps-collapse > summary {
  list-style: none;
}

.ps-collapse > summary::-webkit-details-marker {
  display: none;
}
