/* =========================================================
   Acórdão.IA — Site público (paleta pastel)
   Cores: Palladian creme, Blue Fantastic escuro, ocre acento.
   Tipografia: Newsreader (serifa) + Geist (sans) + JetBrains Mono.
   ========================================================= */

:root {
  /* Brand */
  --palladian:    #EEE9DF;
  --palladian-2:  #F5F2EA;   /* lighter */
  --palladian-3:  #FBF9F4;   /* lightest, near white */
  --oatmeal:      #C9C1B1;
  --oatmeal-soft: #DDD5C5;

  --blue-fantastic: #2C3B4D;
  --blue-2:       #243140;
  --blue-3:       #1A2330;

  --ocre:         #C2723A;
  --ocre-2:       #A85F2B;
  --ocre-soft:    #EBD4B8;
  --ocre-bg:      #F4E6D6;

  /* Purple (from icon) — accent for AI features only */
  --purple:       #6F5EE8;
  --purple-soft:  #E8E4FB;

  /* Surfaces */
  --bg:           #F5F2EA;   /* lighter palladian */
  --bg-2:         #EEE9DF;   /* palladian */
  --panel:        #FFFFFF;
  --panel-tint:   #FBF9F4;

  /* Lines */
  --line:         #E5DECF;
  --line-2:       #D6CDB8;
  --line-3:       #B5AB95;

  /* Ink */
  --ink:          #1B2530;
  --ink-2:        #2C3B4D;
  --ink-3:        #5C6B7B;
  --ink-4:        #8C9AA8;
  --ink-5:        #B5BCC6;

  /* Status */
  --ok:           #4F8A6A;
  --warn:         #B98828;
  --danger:       #B5483B;
  --info:         #3C6B91;

  /* Type */
  --serif:        "Newsreader", Georgia, serif;
  --sans:         "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono:         "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --radius:       6px;
  --radius-2:     12px;
  --radius-3:     20px;
  --container:    1180px;

  --shadow-sm:    0 1px 2px rgba(28, 39, 52, 0.04), 0 0 0 1px rgba(28, 39, 52, 0.04);
  --shadow:       0 1px 2px rgba(28, 39, 52, 0.04), 0 8px 24px rgba(28, 39, 52, 0.06);
  --shadow-lg:    0 12px 48px rgba(28, 39, 52, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
button { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Headings */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
}
em { color: var(--ocre); font-style: italic; font-weight: 400; }

.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ocre);
}

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

/* =========================================================
   Background — grain editorial + glow
   ========================================================= */
.bg-ambient {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 800px 500px at 85% 8%, rgba(194, 114, 58, 0.10), transparent 65%),
    radial-gradient(ellipse 600px 400px at 5% 60%, rgba(111, 94, 232, 0.04), transparent 70%),
    var(--bg);
  pointer-events: none;
}
.bg-ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.28 0 0 0 0 0.16 0 0 0 0.32 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.bg-grid { display: none; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  background: rgba(245, 242, 234, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em;
}
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--ocre);
  display: grid; place-items: center;
  color: var(--palladian-3);
  box-shadow: 0 2px 6px rgba(168, 95, 43, 0.2);
}
.brand .mark svg { display: block; }
.brand .ia { color: var(--ocre); font-weight: 600; letter-spacing: 0.02em; }

.nav-links {
  margin-left: 36px;
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 13.5px; color: var(--ink-3);
  transition: color .12s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { border-color: var(--ink-2); }
.btn.primary {
  background: var(--blue-fantastic);
  color: var(--palladian);
  border-color: var(--blue-fantastic);
}
.btn.primary:hover {
  background: var(--blue-2);
  color: var(--palladian);
}
.btn.accent {
  background: var(--ocre);
  color: white;
  border-color: var(--ocre);
}
.btn.accent:hover { background: var(--ocre-2); border-color: var(--ocre-2); color: white; }
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}
.btn.ghost:hover { color: var(--ink); background: rgba(44, 59, 77, 0.04); border-color: transparent; }
.btn.lg { padding: 13px 28px; font-size: 14.5px; }
.btn.sm { padding: 5px 14px; font-size: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 80px 0 100px;
  position: relative;
}
/* Watermark mark behind the search panel */
.hero::before {
  content: ""; position: absolute;
  right: -120px; top: 40px;
  width: 620px; height: 620px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><path d='M44 78 Q100 64 156 78' stroke='%23A85F2B' stroke-width='6' stroke-linecap='round'/><circle cx='100' cy='64' r='6' fill='%23A85F2B'/><line x1='100' y1='70' x2='100' y2='148' stroke='%23A85F2B' stroke-width='6' stroke-linecap='round'/><path d='M34 88 Q48 110 62 88' stroke='%23A85F2B' stroke-width='5' stroke-linecap='round'/><path d='M138 88 Q152 110 166 88' stroke='%23A85F2B' stroke-width='5' stroke-linecap='round'/><path d='M74 158 Q100 172 126 158' stroke='%23A85F2B' stroke-width='6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.0;
  margin-top: 22px;
  max-width: 850px;
}
.hero .lede {
  margin-top: 26px;
  font-size: 18px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 560px;
}

/* Search panel */
.search-panel {
  margin-top: 44px;
  max-width: 720px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.search-field {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.search-field:focus-within {
  border-color: var(--blue-fantastic);
  box-shadow: 0 0 0 3px rgba(44, 59, 77, 0.08);
}
.search-field .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--ocre-bg);
  display: grid; place-items: center;
  color: var(--ocre);
  flex: 0 0 36px;
}
.search-field .body { flex: 1; min-width: 0; }
.search-field .label {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ocre);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.search-field input {
  width: 100%;
  background: transparent;
  border: 0; outline: 0;
  font-family: var(--mono); font-size: 15px;
  color: var(--ink);
}
.search-field input::placeholder { color: var(--ink-4); }
.search-field .send {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-fantastic);
  display: grid; place-items: center;
  color: var(--palladian);
  border: 0; cursor: pointer;
  transition: transform .12s, background .12s;
  flex: 0 0 44px;
}
.search-field .send:hover { transform: translateY(-1px); background: var(--blue-2); }

.hero-foot {
  margin-top: 28px;
  display: flex; align-items: center; gap: 24px;
  font-size: 13px; color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-foot .dot { color: var(--ocre); }

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.08;
  margin-top: 16px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.section-head .sub {
  margin-top: 18px;
  font-size: 17px; color: var(--ink-3);
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* How it works — 3 steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 36px 28px;
  position: relative;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.step:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.step .num {
  font-family: var(--mono); font-size: 11px;
  color: var(--ocre); letter-spacing: 0.16em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.step .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--ocre-bg);
  display: grid; place-items: center;
  color: var(--ocre);
  margin-bottom: 22px;
}
.step h3 {
  font-size: 24px; line-height: 1.2;
  margin-bottom: 12px;
}
.step p {
  font-size: 14.5px; color: var(--ink-3);
  line-height: 1.6; margin: 0;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 280px;
  position: relative; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.feature:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.feature.tall { grid-row: span 2; }
.feature.span2 { grid-column: span 2; }
.feature .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ocre-bg);
  display: grid; place-items: center;
  color: var(--ocre);
  margin-bottom: 22px;
}
.feature h3 {
  font-size: 22px; line-height: 1.2;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.6; margin: 0;
}
.feature .demo {
  margin-top: auto;
  padding-top: 24px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow .15s, border-color .15s;
}
.plan:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
/* Featured plan — lighter, accent-tinted card so price stays readable */
.plan.featured {
  background: var(--panel);
  border: 2px solid var(--ocre);
  box-shadow: 0 12px 36px rgba(168, 95, 43, 0.12);
  position: relative;
}
.plan.featured::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: var(--radius-2);
  background: linear-gradient(180deg, var(--ocre-bg) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}
.plan.featured .pname { color: var(--ocre-2); }
.plan.featured .amt { color: var(--ink); }
.plan.featured li svg { color: var(--ocre); }
.plan .tag {
  position: absolute; top: -11px; left: 32px;
  background: var(--ocre);
  color: white;
  font-family: var(--mono); font-size: 10.5px;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
}
.plan .pname {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 14px;
  font-weight: 500;
}
.plan .price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.plan .price .amt {
  font-family: var(--serif);
  font-size: 56px; font-weight: 400; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.plan .price .per {
  font-size: 14px; color: var(--ink-3);
}
.plan .desc {
  font-size: 14px; color: var(--ink-3);
  margin-bottom: 28px; line-height: 1.55;
}
.plan ul {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.plan li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-2);
  line-height: 1.5;
}
.plan li svg {
  flex: 0 0 16px; color: var(--ocre); margin-top: 2px;
}
.plan .cta { margin-top: auto; }
/* Featured plan kept on light surface — button stays bold */
.plan.featured .btn.primary { background: var(--ocre); color: white; border-color: var(--ocre); }
.plan.featured .btn.primary:hover { background: var(--ocre-2); border-color: var(--ocre-2); }

/* CTA strip */
.cta-strip {
  margin: 100px auto;
  max-width: 980px;
  background: var(--blue-fantastic);
  color: var(--palladian);
  border-radius: var(--radius-3);
  padding: 56px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 80% 0%, rgba(194, 114, 58, 0.2), transparent 70%),
    radial-gradient(ellipse 400px 250px at 0% 100%, rgba(111, 94, 232, 0.1), transparent 70%);
  pointer-events: none;
}
.cta-strip h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  position: relative;
  color: var(--palladian);
}
.cta-strip h2 em { color: var(--ocre-soft); }
.cta-strip p {
  margin: 14px auto 28px;
  font-size: 16px; color: rgba(238, 233, 223, 0.85);
  max-width: 480px;
  position: relative;
}
.cta-strip .actions {
  display: flex; gap: 12px; justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
.cta-strip .eyebrow { color: var(--ocre-soft); }
.cta-strip .btn { background: var(--ocre); color: white; border-color: var(--ocre); }
.cta-strip .btn:hover { background: var(--ocre-2); border-color: var(--ocre-2); }
.cta-strip .btn:not(.primary) {
  background: transparent; border-color: rgba(238, 233, 223, 0.3);
  color: var(--palladian);
}
.cta-strip .btn:not(.primary):hover { border-color: var(--palladian); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--palladian);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-cols h4 {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 16px;
  font-weight: 500;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a {
  font-size: 13.5px; color: var(--ink-3);
  transition: color .12s;
}
.footer-cols a:hover { color: var(--ink); }
.footer-cols .col-brand p {
  margin-top: 16px;
  font-size: 13.5px; color: var(--ink-3);
  line-height: 1.6; max-width: 280px;
}
.footer-bot {
  display: flex; align-items: center; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-4);
  flex-wrap: wrap;
}
.footer-bot .right { margin-left: auto; }

/* =========================================================
   Result page
   ========================================================= */
.result-container {
  max-width: 920px;
  padding-left: 40px;
  padding-right: 40px;
}
.result-page {
  padding: 56px 40px 120px;
}
.result-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 40px 44px;
  margin-bottom: 20px;
  transition: border-color .12s, box-shadow .15s;
}
.result-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.result-card .meta-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.result-card .court {
  color: var(--blue-fantastic); font-weight: 600;
  font-size: 12px; letter-spacing: 0.04em;
}
.result-card h2 {
  font-family: var(--serif); font-size: 26px;
  font-weight: 500; line-height: 1.3;
  margin-bottom: 18px;
}
.result-card .ementa {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.75;
}
.result-card .ementa mark {
  background: var(--ocre-bg);
  color: var(--ocre-2);
  padding: 0 3px; border-radius: 2px;
  font-weight: 500;
}
.result-card .actions-row {
  display: flex; gap: 8px; margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
}

.paywall {
  position: relative;
  margin-top: 32px;
  min-height: 640px;
}
.paywall .blur-stack {
  filter: blur(6px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}
.paywall .overlay {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 88%);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.paywall .overlay .lock {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: var(--ocre-bg);
  display: grid; place-items: center;
  color: var(--ocre);
}
.paywall .overlay h3 {
  font-family: var(--serif); font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.paywall .overlay p {
  color: var(--ink-3); font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.paywall .overlay .actions {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Auth page
   ========================================================= */
.auth-page {
  min-height: calc(100vh - 78px);
  display: grid; place-items: center;
  padding: 60px 0;
}
.auth-card {
  width: min(420px, 92vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.auth-card .brand {
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 17px;
}
.auth-card h1 {
  font-family: var(--serif); font-size: 32px;
  margin-bottom: 8px;
  font-weight: 400;
}
.auth-card .sub {
  color: var(--ink-3); font-size: 14px;
  margin-bottom: 32px;
}
.auth-form {
  display: flex; flex-direction: column;
  gap: 14px; margin-bottom: 18px;
  text-align: left;
}
.auth-form label {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-3); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 6px;
  display: block;
  font-weight: 500;
}
.auth-form input {
  width: 100%;
  padding: 11px 14px;
  background: var(--panel-tint);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
  font-family: inherit; font-size: 14px;
}
.auth-form input:focus {
  outline: none; border-color: var(--blue-fantastic);
  box-shadow: 0 0 0 3px rgba(44, 59, 77, 0.08);
  background: var(--panel);
}
.auth-form .row { display: flex; flex-direction: column; }
.auth-card .btn { width: 100%; justify-content: center; padding: 12px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-4); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px;
  background: var(--line);
}
.auth-google {
  width: 100%; justify-content: center;
  padding: 11px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit; font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color .12s, background .12s;
}
.auth-google:hover { border-color: var(--ink-3); background: var(--panel-tint); }
.auth-foot {
  margin-top: 22px;
  font-size: 13px; color: var(--ink-3);
}
.auth-foot a { color: var(--ocre); font-weight: 500; }
.auth-foot a:hover { text-decoration: underline; }
.forgot {
  text-align: right; font-size: 12px;
  color: var(--ink-3);
  margin-top: -4px;
}
.forgot a { color: var(--ink-3); }
.forgot a:hover { color: var(--ocre); }

/* =========================================================
   Pricing page
   ========================================================= */
.pricing-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.pricing-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
}
.pricing-hero .sub {
  margin: 22px auto 0;
  max-width: 580px;
  color: var(--ink-3);
  font-size: 17px; line-height: 1.55;
}
.billing-toggle {
  margin: 32px auto 60px;
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
}
.billing-toggle button {
  padding: 8px 20px;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  font-family: inherit; font-size: 13px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.billing-toggle button.on {
  background: var(--blue-fantastic);
  color: var(--palladian);
}
.billing-toggle .save {
  font-family: var(--mono); font-size: 10.5px;
  background: var(--ocre-bg);
  color: var(--ocre-2);
  padding: 1px 6px; border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.billing-toggle button.on .save { background: var(--ocre); color: white; }

.faq {
  max-width: 720px; margin: 80px auto 0;
}
.faq h2 {
  font-size: 32px; text-align: center; margin-bottom: 36px;
}
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  font-family: var(--serif); font-size: 19px;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono); font-size: 22px;
  color: var(--ocre);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--ink-3); font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   Trust / logos
   ========================================================= */
.trust {
  text-align: center;
  padding: 24px 0 60px;
}
.trust .label {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-4); letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
  opacity: 0.5;
}
.trust-row .logo-ph {
  font-family: var(--serif); font-size: 22px;
  color: var(--ink-2); letter-spacing: -0.01em;
  font-weight: 500;
}

/* =========================================================
   Result page header (sticky search)
   ========================================================= */
.result-search {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 234, 0.85);
  backdrop-filter: blur(10px);
  position: sticky; top: 78px; z-index: 30;
}
.result-search .field {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  padding: 12px 18px;
}
.result-search .field input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  font-family: var(--mono); font-size: 14px; color: var(--ink);
}
.result-summary {
  margin: 0 0 32px;
  display: flex; align-items: baseline; gap: 16px;
  color: var(--ink-3); font-size: 13.5px;
  flex-wrap: wrap;
}
.result-summary .count {
  color: var(--ink);
  font-family: var(--mono); font-weight: 600;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature.tall { grid-row: auto; }
  .feature.span2 { grid-column: auto; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 50px 0 60px; }
  .hero::before { right: -200px; width: 480px; height: 480px; opacity: 0.05; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
}

html { scroll-behavior: smooth; }

@media (max-width: 720px) {
  .result-container { padding-left: 20px; padding-right: 20px; }
  .result-page { padding: 32px 20px 80px; }
  .result-card { padding: 28px 22px; }
  .result-card h2 { font-size: 22px; }
  .paywall .overlay { padding: 32px 24px; }
}
