/* Pakana public pages (home, use cases and role pages, trust, privacy).
   One shared look: sand ground and rounded cards, navy "blueprint" sections, one accent per role.
   Loaded only by Pages/Shared/_PublicLayout.cshtml; application screens keep site.css. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

:root {
  --pk-sand: #F6EEE3; --pk-sand-2: #EFE3D3; --pk-line: #E2D3BF; --pk-card-line: #E6D8C4;
  --pk-ink: #2B211A; --pk-ink-2: #4C3E33; --pk-muted: #6A5847;
  --pk-navy: #0E2A47; --pk-navy-line: #6F8FB3; --pk-navy-dash: #4B6D92; --pk-navy-text: #C9D7E6; --pk-navy-muted: #9FB7D1;
  --pk-yellow: #D9A93A; --pk-yellow-on-navy: #E3B651;
  --pk-attorney: #7A1F2B; --pk-attorney-tint: #F7ECEE;
  --pk-owner: #B4532A; --pk-owner-text: #9A4422; --pk-owner-tint: #FBF1E6;
  --pk-contractor-text: #7A5A0C;
  --pk-lender: #2F4A3A; --pk-lender-tint: #EAF0EA;
  --pk-accent: #B4532A; --pk-accent-text: #9A4422; --pk-accent-tint: #FBF1E6; --pk-accent-on-dark: #F6D9B8;
  --pk-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --pk-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pk-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.pk-role-attorney { --pk-accent: var(--pk-attorney); --pk-accent-text: var(--pk-attorney); --pk-accent-tint: var(--pk-attorney-tint); --pk-accent-on-dark: #F1D9DC; }
.pk-role-owner { --pk-accent: var(--pk-owner); --pk-accent-text: var(--pk-owner-text); --pk-accent-tint: var(--pk-owner-tint); --pk-accent-on-dark: #F6D9B8; }
.pk-role-contractor { --pk-accent: var(--pk-navy); --pk-accent-text: var(--pk-contractor-text); --pk-accent-tint: #F6EBCF; --pk-accent-on-dark: var(--pk-yellow-on-navy); }
.pk-role-lender { --pk-accent: var(--pk-lender); --pk-accent-text: var(--pk-lender); --pk-accent-tint: var(--pk-lender-tint); --pk-accent-on-dark: #CFE0D3; }

body.pk { margin: 0; background: var(--pk-sand); color: var(--pk-ink); font-family: var(--pk-body); font-size: 17px; line-height: 1.6; }
.pk a { color: var(--pk-ink); }
.pk a:hover { color: #000; }
.pk :focus-visible { outline: 3px solid var(--pk-accent); outline-offset: 2px; }
.pk h1, .pk h2, .pk h3 { font-family: var(--pk-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; color: inherit; }
.pk p { margin: 0; }
.pk-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.pk-skip:focus { left: 8px; top: 8px; }

.pk-wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .pk-wrap { padding-left: 20px; padding-right: 20px; } body.pk { font-size: 16px; } }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--pk-min, 260px)), 1fr)); gap: var(--pk-gap, 20px); }
.pk-grid-2 { --pk-min: 320px; --pk-gap: 40px; align-items: center; }
.pk-section { padding-top: 96px; padding-bottom: 96px; }
.pk-section-tight { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 640px) { .pk-section { padding-top: 64px; padding-bottom: 64px; } }

/* Type */
.pk .pk-eyebrow, .pk-eyebrow { font-family: var(--pk-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pk-muted); margin: 0 0 14px; }
.pk-eyebrow-accent { color: var(--pk-accent-text); }
.pk-h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.03em; }
.pk-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.pk-h3 { font-size: 22px; line-height: 1.2; }
.pk-lead { font-size: 20px; color: var(--pk-ink-2); max-width: 720px; }
.pk-muted { color: var(--pk-muted); }
.pk-small { font-size: 14px; }
.pk-mono { font-family: var(--pk-mono); }
.pk-accent { color: var(--pk-accent-text); }
.pk .pk-mt-1 { margin-top: 12px; } .pk .pk-mt-2 { margin-top: 20px; } .pk .pk-mt-3 { margin-top: 32px; } .pk .pk-mb-2 { margin-bottom: 20px; } .pk .pk-mb-3 { margin-bottom: 32px; }

/* Buttons */
.pk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; line-height: 1.2; }
.pk .pk-btn-primary { background: var(--pk-accent); color: #fff; }
.pk .pk-btn-primary:hover { color: #fff; filter: brightness(0.92); }
.pk .pk-btn-secondary { background: #fff; color: var(--pk-ink); border-color: #DCCBB4; }
.pk .pk-btn-secondary:hover { border-color: var(--pk-ink); color: var(--pk-ink); }
.pk .pk-btn-yellow { background: var(--pk-yellow); color: var(--pk-navy); font-weight: 700; }
.pk .pk-btn-yellow:hover { color: var(--pk-navy); filter: brightness(0.95); }
.pk .pk-btn-ghost-light { color: #fff; border-color: var(--pk-navy-text); }
.pk .pk-btn-ghost-light:hover { color: #fff; border-color: #fff; }
.pk .pk-btn-light { background: #fff; color: var(--pk-accent-text); font-weight: 700; }

/* Testing banner, header, role switcher */
.pk-status { background: var(--pk-navy); color: #E6EEF7; font-family: var(--pk-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 9px 20px; }
.pk-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 18px; padding-bottom: 18px; }
.pk-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pk-display); font-weight: 700; font-size: 26px; text-decoration: none; }
.pk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-size: 15px; font-weight: 500; }
.pk-nav a { text-decoration: none; padding: 6px 0; }
.pk-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pk .pk-nav .pk-nav-cta { background: var(--pk-ink); color: var(--pk-sand); padding: 10px 18px; border-radius: 999px; }
.pk .pk-nav .pk-nav-cta:hover { color: #fff; }
.pk-roles-bar { background: #fff; border-top: 1px solid var(--pk-line); border-bottom: 1px solid var(--pk-line); }
.pk-roles-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.pk-roles-bar-label { font-family: var(--pk-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pk-muted); margin-right: 8px; }
.pk-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--pk-line); color: var(--pk-ink-2); text-decoration: none; }
.pk .pk-pill[aria-current="page"] { background: var(--pk-accent); border-color: var(--pk-accent); color: #fff; font-weight: 600; }

/* Cards */
.pk-card { background: #fff; border: 1px solid var(--pk-card-line); border-radius: 22px; padding: 28px; }
.pk-card-lg { padding: 36px; }
.pk .pk-card .pk-eyebrow { font-size: 12px; margin-bottom: 10px; }
.pk .pk-card p + p { margin-top: 12px; }
.pk-note { padding: 14px 16px; border-radius: 12px; background: var(--pk-accent-tint); font-size: 15px; }
.pk-rolecard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.pk .pk-rolecard:hover { border-color: var(--pk-ink); color: var(--pk-ink); }
.pk-rolecard-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--pk-accent); }
.pk-role-contractor .pk-rolecard-mark { border-bottom: 6px solid var(--pk-yellow); box-sizing: border-box; }
.pk-rolecard-body { flex-grow: 1; color: var(--pk-ink-2); font-size: 15px; }
.pk-rolecard-link { font-weight: 600; font-size: 15px; color: var(--pk-accent-text); }

/* Blueprint (navy grid) sections */
.pk-bp { background-color: var(--pk-navy); color: #E6EEF7;
  background-image: linear-gradient(rgba(150, 190, 230, 0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 190, 230, 0.10) 1px, transparent 1px);
  background-size: 32px 32px; }
.pk-bp h1, .pk-bp h2, .pk-bp h3 { color: #fff; }
.pk-bp .pk-eyebrow { color: var(--pk-yellow-on-navy); }
.pk-bp .pk-lead { color: var(--pk-navy-text); }
.pk .pk-bp a:not(.pk-btn) { color: #fff; }
.pk-bp-rounded { border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.pk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border: 1px solid var(--pk-navy-line); }
.pk-steps li { padding: 22px 20px; border-right: 1px dashed var(--pk-navy-dash); border-bottom: 1px dashed var(--pk-navy-dash); color: var(--pk-navy-text); }
.pk-steps li strong { color: #fff; }
.pk-steps .pk-step-label { display: block; font-family: var(--pk-mono); font-size: 13px; color: var(--pk-yellow-on-navy); margin-bottom: 8px; }
.pk-steps .pk-step-other { color: var(--pk-navy-muted); }
.pk-steps .pk-step-other .pk-step-label { color: var(--pk-navy-muted); }
.pk-steps .pk-step-yours { background: color-mix(in srgb, var(--pk-accent) 40%, transparent); color: #E6EEF7; }
.pk-steps .pk-step-yours .pk-step-label { color: var(--pk-accent-on-dark); }
.pk-role-contractor .pk-steps .pk-step-yours { background: rgba(217, 169, 58, 0.16); }

/* Status panel (sample request) */
.pk-panel { border: 1px solid var(--pk-navy-line); background: rgba(14, 42, 71, 0.92); }
.pk-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--pk-navy-line);
  font-family: var(--pk-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--pk-navy-muted); }
.pk-panel ol { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.pk-panel li { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px dashed var(--pk-navy-dash); }
.pk-panel li:last-child { border-bottom: 0; }
.pk-panel .pk-done { font-family: var(--pk-mono); color: #9FE0B5; white-space: nowrap; }
.pk-panel .pk-next { font-family: var(--pk-mono); color: var(--pk-yellow-on-navy); white-space: nowrap; }

/* Desert scene with a sample request card (owner) */
.pk-desert { position: relative; background: var(--pk-lender); border-radius: 28px; padding: 28px; min-height: 420px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.pk-desert svg { position: absolute; left: 0; top: 0; width: 100%; height: 60%; }
.pk-sample { position: relative; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 18px 40px rgba(20, 30, 20, 0.25); }
.pk-sample-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.pk-sample-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #F3F6F1; font-size: 14px; margin-top: 10px; }
.pk-sample-row strong { color: #2F6B45; }
.pk-sample-row.pk-waiting { background: var(--pk-owner-tint); }
.pk-sample-row.pk-waiting strong { color: var(--pk-owner-text); }

/* Ruled lists (statutes, specs, prices) */
.pk-ruled { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--pk-ink); }
.pk-ruled li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pk-line); }
.pk-ruled .pk-mono { color: var(--pk-muted); font-size: 14px; white-space: nowrap; }
.pk-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; border-top: 2px solid var(--pk-navy); }
.pk-specs > div { padding: 22px 0; border-bottom: 1px solid var(--pk-line); }
.pk .pk-specs .pk-eyebrow { margin-bottom: 6px; color: var(--pk-accent-text); }
.pk .pk-specs h3 { font-size: 21px; margin-bottom: 6px; }
.pk-specs p { color: var(--pk-ink-2); font-size: 16px; }
.pk-prices { list-style: none; margin: 16px 0; padding: 0; border-top: 1px solid var(--pk-card-line); font-size: 15px; }
.pk-prices li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pk-card-line); }

/* Callouts */
.pk-callout { border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.pk-callout-green { background: var(--pk-lender); color: var(--pk-sand); }
.pk-callout-green p { color: #D8E0D6; }
.pk .pk-callout-green a { color: #fff; font-weight: 600; }
.pk-callout-accent { background: var(--pk-accent); color: #fff; }
.pk-callout-accent p { color: rgba(255, 255, 255, 0.86); }
.pk-callout-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.pk-callout-row > div:first-child { max-width: 700px; }
.pk-role-contractor .pk-callout-accent { border-bottom: 6px solid var(--pk-yellow); }
.pk-center { text-align: center; }
.pk-center .pk-lead, .pk-center .pk-h2 { margin-left: auto; margin-right: auto; }
.pk-center .pk-actions { justify-content: center; }

/* Prose (policies) */
.pk-prose { max-width: 760px; }
.pk .pk-prose h2 { font-size: 28px; margin: 48px 0 12px; }
.pk .pk-prose p, .pk .pk-prose ul { margin: 0 0 14px; color: var(--pk-ink-2); }
.pk-prose ul { padding-left: 22px; }

/* Footer */
.pk-footer { border-top: 1px solid var(--pk-line); }
.pk-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--pk-muted); }
.pk-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pk .pk-footer a { color: var(--pk-muted); }
