/* Ekşi Maya Fırın — "Maya Defteri": kurum karası fırın gecesi ve un beyazı defter sayfaları */
:root {
  --soot: #171210;
  --rye: #251a15;
  --flour: #f5eddf;
  --crumb: #e8d9bd;
  --crust: #9c3f16;
  --ember: #ee9a5a;
  --muted-d: #cdbfa9;
  --ink-l: #3d2f25;
  --focus: #f0b27a;

  --display: "Bahnschrift", "Arial Narrow", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--soot);
  color: var(--flour);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

section, footer { --focus: #f0b27a; }
.story, .why, .faq { --focus: #7a2f0d; }
.contact { --focus: #fff8ec; }

[id] { scroll-margin-top: 5.5rem; }

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
h1, h2 {
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.7rem, 10.5vw, 9rem); }
h2 { font-size: clamp(2.1rem, 6vw, 4.5rem); }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: 0.005em; }
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--ember);
}
.story h2 em, .why h2 em, .faq h2 em { color: var(--crust); }
.contact h2 em { color: var(--soot); }

.kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}
.story .kicker, .why .kicker, .faq .kicker { color: var(--crust); }
.contact .kicker { color: var(--flour); }

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--flour);
  border-radius: 999px;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--ember); border-color: var(--ember); color: var(--soot); }
.btn-primary:hover { background: var(--flour); border-color: var(--flour); }
.btn-ghost { background: transparent; color: var(--flour); }
.btn-ghost:hover { background: var(--flour); color: var(--soot); }

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.text-link::after { content: " \2192"; }
.text-link:hover { color: var(--crust); }
.products .text-link { color: var(--ember); }
.products .text-link:hover { color: var(--flour); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.7rem var(--gutter);
  background: rgba(23, 18, 16, 0.96);
  border-bottom: 1px solid rgba(245, 237, 223, 0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--flour);
}
.brand-mark { color: var(--ember); flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-name em {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
  color: var(--ember);
  letter-spacing: 0;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.6rem;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ember); }
.site-nav .nav-cta {
  padding: 0.55rem 1.2rem;
  background: var(--ember);
  color: var(--soot);
  border-radius: 999px;
  font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--flour); color: var(--soot); }

.menu-toggle { display: none; }

@media (max-width: 899px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1.1rem;
    background: transparent;
    color: var(--flour);
    border: 2px solid var(--flour);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .js .site-nav {
    display: none;
    flex-basis: 100%;
    padding: 0.5rem 0 1rem;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-top: 1px solid rgba(245, 237, 223, 0.15); }
  .js .site-nav a { display: block; padding: 0.9rem 0; }
  .js .site-nav .nav-cta { margin-top: 0.8rem; text-align: center; }
  .site-nav { flex-basis: 100%; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(156, 63, 22, 0.35), transparent 55%),
    var(--soot);
}
.hero-grid {
  position: static;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
  width: min(100%, var(--max));
  margin-inline: auto;
}
.hero-title { grid-column: 1 / -1; position: relative; z-index: 2; }
.hero-title h1 { max-width: 12ch; }
.hero-side { grid-column: 1 / -1; position: relative; z-index: 2; }
.hero-photo { grid-column: 1 / -1; position: relative; z-index: 0; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted-d);
  max-width: 34rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 237, 223, 0.25);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
}

@media (min-width: 900px) {
  .hero-title { grid-column: 1 / 10; }
  .hero-side { grid-column: 1 / 5; grid-row: 2; align-self: start; }
  .hero-photo { grid-column: 5 / -1; grid-row: 2; }
  .hero-photo {
    -webkit-mask: radial-gradient(circle at 0 0, transparent 62px, #000 63.5px);
            mask: radial-gradient(circle at 0 0, transparent 62px, #000 63.5px);
  }
}

/* Pointer-reactive bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 237, 223, 0.7);
  background: radial-gradient(circle at 30% 28%, rgba(245, 237, 223, 0.28), rgba(245, 237, 223, 0.03) 60%);
  opacity: 0.5;
  will-change: transform, opacity;
}

/* Story */
.story {
  position: relative;
  background: var(--flour);
  color: var(--ink-l);
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 8vw, 7rem);
}
.story::before, .products::before, .why::before, .faq::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 34px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, var(--edge, #171210) 0 15px, transparent 16px) 0 0 / 58px 34px repeat-x,
    radial-gradient(circle at 50% 0, var(--edge, #171210) 0 25px, transparent 26px) 20px 0 / 131px 34px repeat-x;
}
.story h2, .why h2, .faq h2, .story h3, .why h3 { color: var(--soot); }
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.story-text h2 { margin-bottom: 1.5rem; }
.story-text p + p { margin-top: 1.1rem; }
.story-text p:not(.kicker) { max-width: 36rem; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 6vw, 6rem); }
  .story-photo {
    -webkit-mask: radial-gradient(circle at 100% 100%, transparent 70px, #000 71.5px);
            mask: radial-gradient(circle at 100% 100%, transparent 70px, #000 71.5px);
  }
}

/* Products */
.products {
  --edge: #f5eddf;
  position: relative;
  background: var(--rye);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.products-grid { display: grid; gap: 3rem; }
.products-images { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-items: end; }
.products-images img { width: 100%; object-fit: cover; border-radius: 4px; }
.pic-tall img { aspect-ratio: 3 / 4; }
.pic-square img { aspect-ratio: 1 / 1; }
.products-text h2 { margin-bottom: 1.2rem; }
.intro { color: var(--muted-d); max-width: 34rem; margin-bottom: 2rem; }
.ledger { border-bottom: 1px solid rgba(245, 237, 223, 0.25); }
.ledger li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(245, 237, 223, 0.25);
}
.ledger .num {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ember);
  padding-top: 0.25rem;
}
.ledger p { color: var(--muted-d); margin-top: 0.3rem; }
@media (min-width: 900px) {
  .products-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .products-images { grid-template-columns: 1fr; gap: 1.2rem; position: sticky; top: 6rem; }
  .pic-tall { width: 84%; }
  .pic-square { width: 62%; justify-self: end; margin-top: -4rem; }
}

/* Atmosphere */
.atmosphere {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--soot);
}
.atmosphere img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 18, 16, 0.94) 5%, rgba(23, 18, 16, 0.55) 45%, rgba(23, 18, 16, 0.1));
}
.atmosphere-text {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 6rem var(--gutter) clamp(2.5rem, 6vw, 5rem);
}
.atmosphere-text h2 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2.4rem, 7.5vw, 6rem); }
.atmosphere-text p:not(.kicker) { max-width: 30rem; color: var(--flour); }

/* Why */
.why {
  --edge: #171210;
  position: relative;
  background: var(--crumb);
  color: var(--ink-l);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.why-list { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 3px solid var(--soot); }
.why-list li {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(23, 18, 16, 0.35);
}
.why-list .big {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--crust);
  margin-bottom: 0.4rem;
}
.why-list p { margin-top: 0.6rem; max-width: 26rem; }
@media (min-width: 700px) {
  .why-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 1100px) {
  .why-list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .why-list li { padding: 2rem 1.6rem 2.4rem; border-bottom: 0; border-right: 1px solid rgba(23, 18, 16, 0.35); }
  .why-list li:first-child { padding-left: 0; }
  .why-list li:last-child { border-right: 0; }
}

/* Process */
.process {
  background: var(--soot);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.process-grid { display: grid; gap: 3rem; }
.process-media h2 { margin-bottom: 2rem; }
.process-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.steps {
  --p: 1;
  position: relative;
  counter-reset: step;
  padding-left: 3.6rem;
}
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 0.6rem;
  width: 3px;
  border-radius: 3px;
}
.steps::before { bottom: 2rem; background: rgba(245, 237, 223, 0.2); }
.steps::after {
  height: calc((100% - 2.6rem) * var(--p));
  background: var(--ember);
}
.steps li { position: relative; counter-increment: step; padding-bottom: 2.2rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -3.6rem;
  top: -0.1rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--soot);
  border: 2px solid var(--ember);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ember);
}
.steps p { color: var(--muted-d); margin-top: 0.4rem; max-width: 30rem; }
@media (min-width: 900px) {
  .process-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .process-media { position: sticky; top: 6rem; }
  .steps { padding-top: 0.5rem; }
}

/* FAQ */
.faq {
  --edge: #171210;
  position: relative;
  background: var(--flour);
  color: var(--ink-l);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.faq-grid { display: grid; gap: 2rem; }
.faq-list { border-top: 3px solid var(--soot); }
.faq details { border-bottom: 1px solid rgba(23, 18, 16, 0.35); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--soot);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--crust);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--crust);
  transition: transform .25s, background-color .25s, color .25s;
}
.faq details[open] summary::after { content: "\2212"; background: var(--crust); color: var(--flour); transform: rotate(180deg); }
.faq details p { padding: 0 3rem 1.4rem 0; max-width: 40rem; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 7vw, 7rem); }
  .faq .section-head { margin-bottom: 0; }
}

/* Contact */
.contact {
  background: var(--crust);
  color: var(--flour);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.contact-grid { display: grid; gap: 2.5rem; }
.contact h2 { color: var(--flour); margin-bottom: 1.4rem; }
.contact-text p:not(.kicker) { max-width: 30rem; }
.place {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-form {
  background: var(--flour);
  color: var(--soot);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 6px;
  display: grid;
  gap: 1.2rem;
  --focus: #7a2f0d;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-l);
}
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: #fffaf0;
  color: var(--soot);
  border: 2px solid var(--soot);
  border-radius: 4px;
  font: inherit;
}
.field textarea { resize: vertical; min-height: 9rem; }
.contact-form button {
  min-height: 52px;
  padding: 0.8rem 2rem;
  background: var(--soot);
  color: var(--flour);
  border: 2px solid var(--soot);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.contact-form button:hover { background: var(--crust); border-color: var(--crust); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .contact-form button { justify-self: start; }
}

/* Footer */
.site-footer {
  background: var(--soot);
  padding: 3rem 0 3.5rem;
  border-top: 1px solid rgba(245, 237, 223, 0.18);
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer-brand em { font-family: var(--serif); font-weight: 400; text-transform: none; color: var(--ember); }
.footer-note { color: var(--muted-d); margin-top: 0.4rem; max-width: 24rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; }
.site-footer a {
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer a:hover { color: var(--ember); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* inner pages */
/* Ekşi Maya Fırın — iç sayfalara özel küçük eklemeler (pg- önekli) */

/* Kompakt sayfa kahramanı */
.hero.pg-hero {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pg-title {
  font-size: clamp(2.4rem, 8.5vw, 6.5rem);
}

/* Bölüm üstündeki tırtıklı kenarın rengi, önceki bölüme göre */
section.pg-edge-flour { --edge: #f5eddf; }
section.pg-edge-rye { --edge: #251a15; }
section.pg-edge-soot { --edge: #171210; }

/* Tek görselli ürün alanı */
.products-images.pg-single {
  grid-template-columns: minmax(0, 26rem);
}

/* Madde listesi (Hizmetler, hikâye bölümü) */
.story .pg-points {
  margin-top: 1.2rem;
  max-width: 36rem;
  border-bottom: 1px solid rgba(23, 18, 16, 0.25);
}
.story .pg-points li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-top: 1px solid rgba(23, 18, 16, 0.25);
  position: relative;
}
.story .pg-points li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--crust);
  border-radius: 50%;
}

/* "Kime uygun" notu */
.pg-for {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.story .pg-for {
  margin-top: 1.4rem;
  color: var(--crust);
}
.ledger .pg-for {
  margin-top: 0.6rem;
  color: var(--ember);
}

/* İletişim ipuçları listesi */
.pg-hints {
  display: grid;
  gap: 0.5rem;
  max-width: 30rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 237, 223, 0.45);
}
.pg-hints li {
  position: relative;
  padding-left: 1.6rem;
}
.pg-hints li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  font-family: var(--mono);
}

/* Atmosfer bölümündeki eylem düğmeleri dar ekranda taşmasın */
.atmosphere-text .actions {
  max-width: 100%;
}

.wpf-legal { padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2rem); }
.wpf-legal .wpf-legal__inner { max-width: 72ch; margin: 0 auto; }
.wpf-legal .wpf-legal__inner h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: .2em 0 .8em; }
.wpf-legal .wpf-legal__inner h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; margin: 2.2em 0 .6em; }
.wpf-legal .wpf-legal__inner p, .wpf-legal .wpf-legal__inner li { line-height: 1.75; max-width: none; }
.wpf-legal .wpf-legal__inner ul { padding-left: 1.2em; margin: 0 0 1em; }
.wpf-legal .wpf-legal__inner li { margin: .35em 0; list-style: disc; }
.wpf-legal .wpf-legal__inner a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.wpf-legal .wpf-legal__meta { font-size: .875rem; opacity: .7; margin: 0; }
.wpf-legal .wpf-legal__table { overflow-x: auto; margin: 1em 0 1.5em; }
.wpf-legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wpf-legal th, .wpf-legal td { text-align: left; vertical-align: top; padding: .7em .8em; border-bottom: 1px solid rgba(127,127,127,.3); }
.wpf-legal code { font-size: .85em; word-break: break-word; }
.wpf-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; grid-column: 1 / -1;
  width: 100%; box-sizing: border-box; padding: 1.1rem clamp(1.25rem, 4vw, 2rem) 0; font-size: .875rem; }
.wpf-legal-links a { color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: .15em; }
.wpf-legal-links a:hover, .wpf-legal-links a:focus-visible { opacity: 1; }

.wpf-consent { position: fixed; z-index: 99998; left: 16px; right: 16px; bottom: 16px; max-width: 27rem; box-sizing: border-box;
  padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(127,127,127,.28); box-shadow: 0 14px 44px rgba(0,0,0,.24);
  font-size: 15px; line-height: 1.55; text-align: left; }
.wpf-consent[hidden] { display: none; }
.wpf-consent .wpf-consent__title { margin: 0 0 6px; font-weight: 700; font-size: 1.05em; }
.wpf-consent .wpf-consent__text { margin: 0 0 16px; max-width: none; }
.wpf-consent .wpf-consent__text a { color: inherit; text-decoration: underline; }
.wpf-consent .wpf-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wpf-consent .wpf-consent__actions button { cursor: pointer; margin: 0; width: auto; }
.wpf-consent .wpf-consent__primary, .wpf-consent .wpf-consent__secondary { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 8px; }
.wpf-consent .wpf-consent__primary { background: #1c1b19; color: #fff; border: 1px solid #1c1b19; }
.wpf-consent .wpf-consent__secondary { background: transparent; color: inherit; border: 1px solid currentColor; }
.wpf-consent button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
