/* Shared styles for Dealbirdie's standalone pages: /pricing, /referrals, /terms. */
@font-face { font-family: "Mdnichrometest Dark"; src: url("/_assets/cdn.prod.website-files.com/6aaad679fdb9d914f7f52049/6aaad679fdb9d914f7f52052_MDNichromeTest-Dark.woff2") format("woff2"), url("/_assets/cdn.prod.website-files.com/6aaad679fdb9d914f7f52049/6aaad679fdb9d914f7f52052_MDNichromeTest-Dark.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: Neuemontreal; src: url("/_assets/cdn.prod.website-files.com/6aaad679fdb9d914f7f52049/6aaad679fdb9d914f7f52053_NeueMontreal-Regular.woff2") format("woff2"), url("/_assets/cdn.prod.website-files.com/6aaad679fdb9d914f7f52049/6aaad679fdb9d914f7f52053_NeueMontreal-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Neuemontreal; src: url("/_assets/cdn.prod.website-files.com/6aaad679fdb9d914f7f52049/6aaad679fdb9d914f7f52054_NeueMontreal-Medium.woff2") format("woff2"), url("/_assets/cdn.prod.website-files.com/6aaad679fdb9d914f7f52049/6aaad679fdb9d914f7f52054_NeueMontreal-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
:root {
  --brand-primary: #ff5400; --brand-white: #fdf8f5; --brand-accent: #f9e2e1; --brand-black: #17120f; --muted: #85402e; --line: #ead7cf;
  --font-primary-dark: "Mdnichrometest Dark", Arial, sans-serif; --font-secondary: Neuemontreal, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--brand-white); color: var(--brand-black); }
body { font-family: var(--font-secondary); font-size: 1.05rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .19em; }
img { max-width: 100%; }

/* Header */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: clamp(.9rem, 2.1vw, 2rem) clamp(1rem, 3.15vw, 3.65rem); }
.bar .logo img { display: block; width: clamp(7rem, 11vw, 10rem); height: auto; }
.nav { display: flex; align-items: center; gap: .4rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: .55em 1em; border-radius: 10rem; background: #fff; }
.nav a[aria-current="page"] { background: var(--brand-accent); }
.nav a.cta { background: var(--brand-black); color: var(--brand-white); }
@media (max-width: 640px) { .nav a:not(.cta) { display: none; } }

/* Page body */
main { width: min(100% - 2rem, 60rem); margin: clamp(2rem, 7vh, 5rem) auto clamp(4rem, 10vh, 7rem); }
main.narrow { width: min(100% - 2rem, 46rem); }
.kicker { margin: 0 0 1.1rem; text-transform: uppercase; letter-spacing: .065em; font-weight: 500; font-size: .9rem; color: var(--muted); }
h1 { margin: 0 0 1.6rem; font-family: var(--font-primary-dark); font-weight: 400; text-transform: uppercase; font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: .85; letter-spacing: -.01em; }
.lede { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; margin: 0 0 2.6rem; max-width: 34ch; }
h2.big { margin: 0 0 1.2rem; font-family: var(--font-primary-dark); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .9; }
.block { margin-top: clamp(3.5rem, 9vh, 6rem); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Two-column rows (same rhythm as /privacy) */
.rows section { border-top: 1px solid var(--line); padding: 1.5rem 0; display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1.2rem 2rem; }
.rows h2, .rows h3 { margin: 0; font-size: 1.05rem; font-weight: 500; }
.rows p, .rows ul, .rows ol { margin: 0; }
.rows p + p, .rows p + ul, .rows ul + p, .rows ol + p { margin-top: .7rem; }
.rows ul, .rows ol { padding-left: 1.1rem; }
.rows li + li { margin-top: .3rem; }
@media (max-width: 640px) { .rows section { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

/* Price card + guarantee */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 760px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.card { --card-padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--brand-accent); border-radius: 1.35rem; padding: var(--card-padding); }
.card p { margin: 0; }
.card.dark { background: var(--brand-black); color: var(--brand-white); }
#guarantee { display: flex; flex-direction: column; overflow: hidden; }
.guarantee-art {
  display: flex;
  justify-content: flex-end;
  margin: auto calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding));
  padding-top: 1rem;
}
.guarantee-bird {
  position: relative;
  flex: none;
  width: clamp(9.5rem, 23vw, 14rem);
  aspect-ratio: 264 / 301;
  margin: 0 1.15rem -.65rem 0;
  overflow: hidden;
  /* Crop Birdie (x: 936, y: 232) from the right edge of the 1200 × 533 homepage artwork. */
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 25%, 6% 25%);
}
.guarantee-bird img {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(1200 / 264 * 100%);
  max-width: none;
  height: auto;
}
.card.orange { background: var(--brand-primary); color: #fff; }
.price { display: flex; align-items: baseline; gap: .4rem; margin: .4rem 0 1.2rem; }
.price b { font-family: var(--font-primary-dark); font-weight: 400; font-size: clamp(4.5rem, 10vw, 7rem); line-height: .85; color: var(--brand-primary); }
.price span { font-size: 1.1rem; font-weight: 500; }
.ticks { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .5rem; line-height: 1.35; }
.ticks li::before { content: ""; width: 1.05rem; height: 1.05rem; margin-top: .15rem; border-radius: 50%; background: var(--brand-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.card-title { font-weight: 500; font-size: 1.25rem; line-height: 1.2; margin: 0 0 .7rem !important; }
.card .label { text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; font-weight: 500; opacity: .75; margin-bottom: .4rem; }
.card.orange .label { opacity: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3rem; padding: 0 1.4em; border-radius: 10rem; background: var(--brand-black); color: var(--brand-white); font-weight: 500; font-size: 1.05rem; text-decoration: none; }
.btn.orange { background: var(--brand-primary); color: #fff; }
.btn.light { background: var(--brand-white); color: var(--brand-black); }
.btn:focus-visible, .nav a:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.3rem; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--font-primary-dark); font-size: 2.4rem; line-height: .9; color: var(--brand-primary); margin-bottom: .8rem; }
.steps b { display: block; font-weight: 500; font-size: 1.1rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .97rem; line-height: 1.4; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Earnings table */
.earn { width: 100%; border-collapse: collapse; font-size: 1rem; }
.earn th, .earn td { text-align: left; padding: .85rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.earn th { font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.earn td:first-child { font-family: var(--font-primary-dark); font-size: 1.6rem; line-height: 1; color: var(--brand-primary); width: 5.5rem; }
.earn td:nth-child(2) { font-weight: 500; white-space: nowrap; }

/* Closing CTA band */
.band { margin-top: clamp(3.5rem, 9vh, 6rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.band p { margin: 0; font-family: var(--font-primary-dark); text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: .9; max-width: 14ch; }

/* Footer */
footer { padding: 1.5rem clamp(1rem, 3.15vw, 3.65rem); color: var(--muted); font-size: .9rem; display: flex; justify-content: space-between; gap: .6rem 1.2rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; }
footer a { display: inline-block; padding: .3rem 0; }

/* Rate calculator (/rates) */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: 1.35rem; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.4rem; }
.calc-q { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; min-width: 0; }
.calc-q legend { padding: 0; font-size: .78rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { min-height: 2.75rem; padding: 0 1rem; border-radius: 10rem; border: 1.5px solid var(--line); background: var(--brand-white); color: var(--brand-black); font: inherit; font-size: .95rem; cursor: pointer; }
.chip:hover { border-color: var(--brand-black); }
.chip[aria-pressed="true"] { background: var(--brand-black); border-color: var(--brand-black); color: var(--brand-white); }
.chip:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.calc-result { position: sticky; top: 1rem; background: var(--brand-black); color: var(--brand-white); border-radius: 1.35rem; padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: .9rem; }
.calc-result .label { opacity: .75; margin: 0; }
.calc-range { margin: 0; font-family: var(--font-primary-dark); font-weight: 400; font-size: clamp(3rem, 7vw, 5rem); line-height: .9; color: var(--brand-primary); }
.calc-per { margin: 0; font-weight: 500; }
.calc-break { margin: 0; padding: .9rem 0 0; border-top: 1px solid #ffffff2a; list-style: none; display: grid; gap: .35rem; font-size: .95rem; }
.calc-break li { display: flex; justify-content: space-between; gap: 1rem; }
.calc-break span:last-child { font-weight: 500; white-space: nowrap; }
.calc-fine { margin: 0; font-size: .85rem; opacity: .7; line-height: 1.4; }
.calc-quote { margin: 0; background: #ffffff12; border-radius: .9rem; padding: .9rem 1rem; font-size: .95rem; line-height: 1.4; }
.calc-quote b { display: block; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; opacity: .7; margin-bottom: .35rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn.ghost { background: none; border: 1.5px solid #ffffff55; color: var(--brand-white); }
.tiers { width: 100%; border-collapse: collapse; }
.tiers th, .tiers td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); }
.tiers th { font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.tiers td:last-child { font-weight: 500; white-space: nowrap; }
.sources { font-size: .9rem; color: var(--muted); }
.sources a { color: inherit; }
