/* ====================================================================
   settr — Legal page layout
   Used by Terms, Privacy, Account Deletion. Contact uses its own grid.
   ==================================================================== */

/* ---------- Legal hero ---------- */
.lg-hero{
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.lg-hero .left{ display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lg-hero .right{ display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; min-width: 0; }
.lg-hero .kicker{ padding-bottom: 12px; }
.lg-title{
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.lg-title .em{ font: inherit; color: inherit; }
.lg-lede{
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
}
.lg-lede strong{ color: var(--fg); font-weight: 500; }
.lg-stamp{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
}
.lg-stamp .row{ display: inline-flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.lg-stamp strong{ color: var(--fg); font-weight: 500; }

/* ---------- Legal body — 2-col with sticky ToC ---------- */
.lg-body{
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.lg-toc{
  position: sticky;
  top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
}
.lg-toc .k{
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.lg-toc a{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  transition: color .15s ease;
}
.lg-toc a:last-of-type{ border-bottom: 0; }
.lg-toc a:hover{ color: var(--fg); }
.lg-toc a .n{
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.lg-toc a:hover .n{ color: var(--fg); }

.lg-content{
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}

.lg-section{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}
.lg-section .lg-n{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 6px;
}
.lg-section .body{
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.lg-section h2{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.lg-section h2 .em{ font: inherit; color: inherit; }
.lg-section h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin: 18px 0 0;
}
.lg-section p{
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
  max-width: 64ch;
}
.lg-section p strong{ color: var(--fg); font-weight: 500; }
.lg-section ul{
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 64ch;
}
.lg-section ul li{
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}
.lg-section ul li::before{
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ghost);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: inherit;
}
.lg-section ul li strong{ color: var(--fg); font-weight: 500; }

/* Definitions block */
.lg-defs{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 14px;
  max-width: 64ch;
}
.lg-defs dt{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lg-defs dd{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}
.lg-defs dd strong{ color: var(--fg); font-weight: 500; }

/* Block-quote / callout */
.lg-callout{
  border-left: 1px solid var(--fg);
  padding: 4px 0 4px 18px;
  margin: 6px 0 0;
  max-width: 64ch;
}
.lg-callout p{ font-size: 14.5px; color: var(--fg); line-height: 1.55; margin: 0; }
.lg-callout p strong{ font-weight: 500; }

/* Contact block at bottom of legal body */
.lg-bottom{
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 64ch;
}
.lg-bottom .l{ display: flex; flex-direction: column; gap: 8px; }
.lg-bottom h3{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
}
.lg-bottom p{ font-size: 14px; color: var(--muted); margin: 0; }
.lg-bottom .cta-row{ display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Contact page ---------- */
.ct-hero{
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.ct-hero .left{ display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ct-hero .right{ display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; min-width: 0; }

.ct-body{
  padding: 64px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.ct-methods{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.ct-method{
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}
.ct-method.feat{ background: #161614; color: #FAFAF8; border-color: #161614; }
.ct-method .num{
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 4px;
}
.ct-method.feat .num{ color: rgba(250,250,248,0.5); }
.ct-method .body{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ct-method h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin: 0;
  line-height: 1.2;
}
.ct-method.feat h3{ color: #FAFAF8; }
.ct-method p{
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.ct-method.feat p{ color: rgba(250,250,248,0.72); }
.ct-method .arr{
  align-self: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}
.ct-method.feat .arr{ color: rgba(250,250,248,0.86); }

/* Form */
.ct-form{
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ct-form header{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
}
.ct-form header .k{
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ct-form header h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
  line-height: 1.2;
}

.ct-field{ display: flex; flex-direction: column; gap: 6px; }
.ct-field label{
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ct-field input,
.ct-field select,
.ct-field textarea{
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 8px 0;
  outline: none;
  transition: border-color .15s ease;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus{ border-bottom-color: var(--fg); }
.ct-field textarea{ resize: vertical; min-height: 96px; }
.ct-field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ct-form .ct-submit{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fg);
  color: #FAFAF8;
  border: 1px solid var(--fg);
  padding: 12px 18px;
  border-radius: var(--r-btn);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  transition: background .15s ease;
}
.ct-form .ct-submit:hover{ background: #2a2a2a; }
.ct-form .ct-note{
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 1100px){
  .lg-body{ grid-template-columns: 1fr; gap: 40px; padding: 56px 0 80px; }
  .lg-toc{ position: static; }
  .lg-toc a{ grid-template-columns: 36px 1fr; }
  .ct-body{ grid-template-columns: 1fr; gap: 40px; padding: 48px 0 80px; }
  .ct-method{ grid-template-columns: 48px 1fr auto; gap: 18px; }
}
@media (max-width: 720px){
  .lg-hero, .ct-hero{ grid-template-columns: 1fr; gap: 24px; padding: 56px 0 40px; }
  .lg-section{ grid-template-columns: 1fr; gap: 8px; }
  .lg-section .lg-n{ padding-top: 0; }
  .lg-defs{ grid-template-columns: 1fr; gap: 8px; }
  .lg-bottom{ grid-template-columns: 1fr; }
  .ct-field-row{ grid-template-columns: 1fr; }
}