/* =========================================================
   Legal Advice for Half the Price
   Visitor-led, warm-paper aesthetic, real-world phrasing.
   ========================================================= */

:root {
  --paper:        #F5EFE0;
  --paper-2:      #EFE7D2;
  --paper-card:   #FBF6E6;
  --paper-warm:   #F9F3E4;
  --ink:          #1F1A12;
  --ink-soft:     #4A4236;
  --ink-mute:     #847A6A;
  --rule:         #CFC4A8;
  --rule-soft:    #DDD3B9;
  --burgundy:     #6B2828;
  --burgundy-deep:#4F1C1C;
  --brass:        #B0884A;

  --serif:    "Lora", "Georgia", serif;
  --display:  "Cormorant Garamond", "Georgia", serif;
  --caps:     "Cormorant SC", "Cormorant Garamond", serif;

  --col:      980px;
  --col-narrow: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence baseFrequency='0.78' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.30 0 0 0 0 0.20 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

main, header, footer, .bar { position: relative; z-index: 2; }

a { color: inherit; }
::selection { background: var(--burgundy); color: var(--paper); }

.container {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================================================
   Top bar
   ========================================================= */
.bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1;
}
.brand-for {
  color: var(--burgundy);
  font-weight: 400;
  margin: 0 4px;
  font-size: 0.85em;
}
.cta-small {
  display: inline-block;
  padding: 9px 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  background: var(--burgundy);
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.cta-small:hover { background: var(--burgundy-deep); }

@media (max-width: 480px) {
  .brand { font-size: 15px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--burgundy-deep);
  transform: translateY(-1px);
}
.btn-large {
  padding: 18px 40px;
  font-size: 21px;
}

/* =========================================================
   Section heads
   ========================================================= */
.sec-head {
  margin-bottom: 36px;
  max-width: 720px;
}
.sec-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-eyebrow {
  font-family: var(--caps);
  font-feature-settings: "smcp";
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 10px;
}
.sec-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sec-title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}
.sec-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.5;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(50px, 9vh, 90px) 0 clamp(40px, 7vh, 70px);
}
.hero-eyebrow {
  font-family: var(--caps);
  font-feature-settings: "smcp";
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.hero-aside {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
}

/* =========================================================
   Situations cards
   ========================================================= */
.situations {
  padding: clamp(50px, 8vh, 80px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 26px 24px 22px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.22s ease;
  position: relative;
  cursor: pointer;
  min-height: 150px;
}
.card:hover {
  border-color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 26, 18, 0.08);
}
.card:nth-child(3n) { transform: rotate(0.4deg); }
.card:nth-child(3n+1) { transform: rotate(-0.3deg); }
.card:nth-child(3n+2) { transform: rotate(0.2deg); }
.card:hover { transform: translateY(-3px) rotate(0); }

.card-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 19.5px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.card-tag {
  font-family: var(--caps);
  font-feature-settings: "smcp";
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  color: var(--burgundy);
  font-weight: 500;
  align-self: end;
}

.card-other {
  background: var(--paper-warm);
  border-style: dashed;
  border-color: var(--brass);
}
.card-other .card-tag { color: var(--brass); }

/* =========================================================
   How it works
   ========================================================= */
.how {
  padding: clamp(50px, 8vh, 80px) 0;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  counter-reset: stepc;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.steps li {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 26px 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.step-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  color: var(--burgundy);
  line-height: 1;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--burgundy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.steps h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.steps p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   Ask / form section
   ========================================================= */
.ask {
  padding: clamp(60px, 10vh, 100px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.ask-container { max-width: 720px; }

.form {
  display: grid;
  gap: 22px;
  background: var(--paper-card);
  padding: 36px 32px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-top: 14px;
  position: relative;
}
.form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--brass) 50%, var(--burgundy) 100%);
  border-radius: 8px 8px 0 0;
}

.field-row {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 580px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-family: var(--caps);
  font-feature-settings: "smcp";
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--burgundy);
  font-weight: 500;
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: 16.5px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 40, 40, 0.12);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
  font-style: italic;
}
.field textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.5;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236B2828' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--paper);
  padding: 16px 20px;
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--burgundy);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 4px;
}
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--burgundy);
  cursor: pointer;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.submit-hint {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
}

@media (max-width: 480px) {
  .form { padding: 28px 22px; }
}

/* =========================================================
   About
   ========================================================= */
.about { padding: clamp(50px, 8vh, 80px) 0; }
.about-container { max-width: var(--col-narrow); }
.about p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-lbc {
  font-family: var(--display) !important;
  font-style: italic;
  font-size: 22px !important;
  color: var(--ink-soft) !important;
  line-height: 1.4 !important;
  margin-top: 26px;
  padding: 20px 24px;
  background: var(--paper-card);
  border-left: 3px solid var(--brass);
  border-radius: 0 6px 6px 0;
}

/* =========================================================
   Cost
   ========================================================= */
.cost { padding: clamp(50px, 8vh, 80px) 0; background: var(--paper-2); border-top: 1px solid var(--rule-soft); }
.cost-container { max-width: var(--col-narrow); }
.cost-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
}
@media (min-width: 720px) {
  .cost-grid { grid-template-columns: 1fr 1fr; }
}
.cost-card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px 26px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.cost-card-paid { background: var(--paper-warm); border-color: var(--brass); }

.cost-tier {
  font-family: var(--caps);
  font-feature-settings: "smcp";
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--burgundy);
  font-weight: 500;
}
.cost-price {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 44px;
  color: var(--ink);
  line-height: 1;
  margin: 6px 0 10px;
  letter-spacing: -0.01em;
}
.cost-desc {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   Footer
   ========================================================= */
.foot {
  background: var(--paper-card);
  border-top: 1px solid var(--rule);
  padding: 56px 0 36px;
}
.foot-inner {
  max-width: var(--col);
}
.foot-mark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.foot-mark .for { color: var(--burgundy); font-size: 0.8em; margin: 0 2px; }

.foot-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.foot-fine {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 80ch;
}

.foot-meta {
  font-family: var(--caps);
  font-feature-settings: "smcp";
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  color: var(--ink-mute);
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .card { transform: none !important; }
}
