@layer theme {
  *, ::before, ::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { margin: 0; }
  :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
  :where(ul, ol) { list-style: none; padding: 0; }
  :where(h1, h2, h3, h4) { font-size: inherit; font-weight: inherit; }
  :where(a) { color: inherit; text-decoration: inherit; }
  :where(img, svg) { display: block; max-width: 100%; }
  :where(img) { height: auto; }
  [hidden] { display: none !important; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #222831; --foreground: #eee; --card: #2a303a; --card-foreground: #eee; --popover: #2a303a; --popover-foreground: #eee;
    --secondary: #393e46; --secondary-foreground: #eee; --muted: #2f353f; --muted-foreground: #aab1ba; --accent: #393e46; --accent-foreground: #eee;
    --mono: #eee; --mono-foreground: #222831; --border: #414853; --input: #4a515c; --primary: #4aa9ae; --primary-foreground: #14181d; --ring: #4aa9ae;
    --p7co-heading: #eeeeee; --p7co-link: #7cc7cb; --p7co-brand-ink: #7cc7cb;
    --p7co-warn: #f3bd6a; --p7co-warn-soft: #3a2a0a;
    --p7co-ink: #eeeeee; --p7co-ink-2: #c3c9d0; --p7co-ink-3: #9aa3ad; --p7co-line: #414853;
    --p7co-surface: #2a303a; --p7co-bg: #222831;
    --p7co-focus: 0 0 0 2px var(--p7co-surface), 0 0 0 4px var(--p7co-accent);
    color-scheme: dark;
  }
}

html { scroll-padding-top: 0; }
@media (min-width: 768px) { html { scroll-padding-top: 70px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-weight: 400; font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.p7co-site { display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
.p7co-site main { flex-grow: 1; }

:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--p7co-brand-ink); outline-offset: 3px; border-radius: 4px; }
.kt-btn:focus-visible { outline: 2px solid var(--p7co-brand-ink); outline-offset: 3px; box-shadow: none; }

.p7co-site-skip { position: absolute; left: 1rem; top: -100px; z-index: 50; padding: .625rem 1rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: var(--text-sm); font-weight: 600; }
.p7co-site-skip:focus { top: .75rem; }

.p7co-site-header { position: relative; z-index: 20; background: var(--background); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .p7co-site-header { position: sticky; top: 0; } }
.p7co-site-header-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 70px; }
.p7co-site-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.p7co-site-brand img { height: 2rem; width: auto; }
.p7co-site-nav { display: flex; align-items: stretch; align-self: stretch; margin-inline: 2.5rem auto; }
.p7co-site-nav ul { display: flex; align-items: stretch; gap: 1.875rem; }
.p7co-site-nav li { display: flex; }
.p7co-site-nav a { display: flex; align-items: center; font-size: var(--text-sm); line-height: 1; color: var(--foreground); border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.p7co-site-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.p7co-site-header-end { display: flex; align-items: center; gap: .5rem; }
.p7co-site-lang.kt-btn { gap: .375rem; color: var(--foreground); }
.p7co-site-lang svg { width: 1rem; height: 1rem; color: var(--muted-foreground); }

@media (max-width: 599px) {
  .p7co-site-header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand end" "nav nav"; gap: 0 .75rem; min-height: 0; padding-top: .75rem; }
  .p7co-site-brand { grid-area: brand; }
  .p7co-site-header-end { grid-area: end; }
  .p7co-site-nav { grid-area: nav; margin: .75rem 0 0; border-top: 1px solid var(--border); }
  .p7co-site-nav ul { width: 100%; justify-content: space-between; gap: .5rem; }
  .p7co-site-nav a { min-height: 44px; }
}

.p7co-site-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--border); background: var(--background); color: var(--foreground); }
.p7co-site-section.p7co-site-muted { background: var(--muted); }
.p7co-site-hero { border-top: 0; }
.p7co-site-label { font-family: var(--font-sans); font-size: .75rem; line-height: 1; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary-foreground); margin: 0; }
.p7co-site h1, .p7co-site h2 { font-family: var(--p7co-font-title); font-weight: 700; text-transform: uppercase; letter-spacing: 0; color: var(--mono); }
.p7co-site h1 em, .p7co-site h2 em { font-style: normal; color: var(--primary); }
.p7co-site-nowrap { white-space: nowrap; }
.p7co-site h2 { line-height: .95; font-size: clamp(2rem, 3.4vw, 3rem); max-width: 20ch; }
.p7co-site-text { font-size: 17px; line-height: 1.6; color: var(--secondary-foreground); max-width: 54ch; }
.p7co-site-text + .p7co-site-text { margin-top: 1rem; }

.p7co-site .p7co-site-marker { display: block; max-width: 54ch; padding: .75rem 1rem; border: 1px dashed var(--p7co-warn); border-radius: var(--p7co-r-control); background: var(--p7co-warn-soft); color: var(--p7co-warn); font-size: .9375rem; line-height: 1.5; text-transform: none; letter-spacing: 0; }

.p7co-site .kt-btn { border-radius: 999px; text-decoration: none; }
.p7co-site .kt-btn.p7co-site-pill { background: var(--primary); color: var(--primary-foreground); border-color: transparent; font-weight: 600; gap: .5rem; }
.p7co-site .kt-btn.p7co-site-pill:hover { background: color-mix(in srgb, var(--primary) 88%, #fff); color: var(--primary-foreground); }
.p7co-site .kt-btn.p7co-site-pill svg { width: 1.125rem; height: 1.125rem; }
.p7co-site-chip { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .375rem .75rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); font-family: var(--font-sans); font-size: .8125rem; line-height: 1.2; font-weight: 500; text-transform: none; }
.p7co-site-chip svg { width: 1rem; height: 1rem; color: var(--primary); }

.p7co-site-figure { display: grid; place-items: center; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 1.25rem; background: #222831; }
.p7co-site-figure svg { width: 100%; max-width: 34rem; height: auto; }
@media (prefers-color-scheme: dark) { .p7co-site-figure { box-shadow: inset 0 0 0 1px var(--border); } }
@media (prefers-reduced-motion: no-preference) {
  .p7co-site-orbit { transform-box: view-box; transform-origin: 260px 210px; animation: p7co-site-turn 90s linear infinite; }
  .p7co-site-loop { transform-box: view-box; transform-origin: 260px 210px; animation: p7co-site-turn 240s linear infinite reverse; }
}
@keyframes p7co-site-turn { to { transform: rotate(360deg); } }

.p7co-site-hero-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .p7co-site-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; } }
.p7co-site-hero-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.p7co-site h1 { display: flex; flex-direction: column; gap: 1.25rem; }
.p7co-site-h1-title { display: block; line-height: .92; font-size: clamp(2.75rem, 5.4vw, 5rem); max-width: 14ch; }
.p7co-site-hero .p7co-site-text { font-size: 1.125rem; max-width: 46ch; color: var(--foreground); }
.p7co-site-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

.p7co-site-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .875rem; max-width: 46rem; margin-inline: auto; }
.p7co-site-head h2 { max-width: 22ch; }
.p7co-site-head .p7co-site-text, .p7co-site-head .p7co-site-marker { margin-inline: auto; }
.p7co-site-principles { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
@media (min-width: 640px) { .p7co-site-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .p7co-site-principles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.875rem; } }
.p7co-site-principles > li { display: flex; }
.p7co-site-principles .kt-card { width: 100%; }
.p7co-site-principle-text { font-size: 15px; line-height: 1.55; color: var(--secondary-foreground); margin: 0; }
.p7co-site-principle { display: flex; flex-direction: column; gap: .875rem; padding: var(--p7co-card-pad); }
.p7co-site-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 3rem; height: 3rem; border-radius: calc(var(--radius) + 2px); background: var(--muted); border: 1px solid var(--border); color: var(--primary); }
.p7co-site-icon svg { width: 1.5rem; height: 1.5rem; }
.p7co-site-principle h3 { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.3; font-weight: 600; color: var(--mono); }
.p7co-site-principle p { font-size: .9375rem; line-height: 1.55; color: var(--secondary-foreground); }
.p7co-site-principle .p7co-site-marker { font-size: .875rem; }

.p7co-site-split { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .p7co-site-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; } }
.p7co-site-split-copy { display: flex; flex-direction: column; gap: 1rem; }
.p7co-site-vision h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); max-width: 16ch; }

.p7co-site-close { text-align: center; }
.p7co-site-close .kt-container-fixed { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.p7co-site .p7co-site-close h2 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 18ch; }
.p7co-site-close .p7co-site-actions { justify-content: center; margin-top: .75rem; }

.p7co-site-footer { border-top: 1px solid var(--border); background: var(--background); font-size: var(--text-sm); color: var(--secondary-foreground); }
.p7co-site-footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: 2rem 1.5rem; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .p7co-site-footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.p7co-site-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.p7co-site-footer-brand img { height: 1.75rem; width: auto; }
.p7co-site-footer a { color: var(--secondary-foreground); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: .2em; }
.p7co-site-footer a:hover { color: var(--primary); text-decoration-color: currentColor; }
.p7co-site-footer-contact { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.p7co-site-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding-block: 1.25rem; }
@media (min-width: 768px) { .p7co-site-footer-bottom { flex-direction: row; justify-content: space-between; } }
.p7co-site-footer-bottom nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; }
@media (max-width: 767px) { .p7co-site-footer-bottom { align-items: flex-start; } .p7co-site-footer-bottom nav { order: -1; } .p7co-site-footer-bottom nav ul { justify-content: flex-start; } }

.p7co-site-legal { padding-bottom: 4rem; }
.p7co-site-legal-head { display: flex; flex-direction: column; gap: .5rem; padding-block: 2.5rem; }
.p7co-site-legal-head h1 { display: block; font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; }
.p7co-site-legal-head p { font-size: var(--text-sm); color: var(--secondary-foreground); }
.p7co-site-legal .kt-card-content { padding: clamp(1.25rem, 3vw, 2.5rem); }
[data-legal-body] { max-width: 80ch; font-size: var(--text-base); line-height: 1.7; color: var(--foreground); }
[data-legal-body] h2 { font-size: 1.75rem; line-height: 1; max-width: none; margin: 2.5rem 0 1rem; }
[data-legal-body] h2:first-child { margin-top: 0; }
[data-legal-body] p { margin: 0 0 .875rem; }
[data-legal-body] a { color: var(--p7co-brand-ink); text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
[data-legal-body] .p7co-site-marker { max-width: none; margin: 0 0 .875rem; }
.p7co-site-marker-tag { display: inline-block; margin-inline-end: .5rem; font-weight: 600; }

.p7co-site-state { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: clamp(3.5rem, 10vw, 7rem); }
.p7co-site-state h1 { display: block; font-size: clamp(2.5rem, 5vw, 4rem); line-height: .95; }

@media (max-width: 599px) {
  .p7co-site-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .p7co-site-actions .kt-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .p7co-site-nav a { transition: none; } }
@media (forced-colors: active) { .p7co-site-marker { border-style: dashed; } }
