@import url(
  "https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap"
);


/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f0e9;
  color: #111;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;

  height: 104px;

  padding: 0 4vw;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.18);

  color: #fff;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
}

.brand-name {
  font-family:
    "Playfair Display",
    serif;

  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  margin-top: 4px;

  font-size: 8px;
  letter-spacing: 0.24em;

  opacity: 0.7;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;

  transition:
    opacity 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 0.55;
}

.header-actions {
  justify-self: end;

  display: flex;
  align-items: center;
  gap: 24px;
}

.header-signin {
  font-size: 10px;
  letter-spacing: 0.15em;
}

.header-contact {
  padding: 13px 18px;

  border:
    1px solid rgba(255, 255, 255, 0.55);

  font-size: 9px;
  letter-spacing: 0.16em;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header-contact:hover {
  background: #fff;
  color: #111;
}


/* =========================================
   HERO
========================================= */

.calculator-hero {
  position: relative;

  min-height: 720px;

  padding:
    180px 7vw 70px;

  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(255, 255, 255, 0.09),
      transparent 25%
    ),
    linear-gradient(
      120deg,
      #080808 0%,
      #151515 55%,
      #050505 100%
    );

  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;
}

.calculator-hero::before {
  content: "";

  position: absolute;
  width: 560px;
  height: 560px;

  right: -130px;
  bottom: -180px;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}

.calculator-hero::after {
  content: "";

  position: absolute;
  width: 360px;
  height: 360px;

  right: -30px;
  bottom: -80px;

  border:
    1px solid rgba(255, 255, 255, 0.06);

  border-radius: 50%;
}

.hero-inner,
.hero-footer {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.calculator-hero h1 {
  max-width: 900px;

  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(58px, 8vw, 118px);

  line-height: 0.88;
  font-weight: 500;

  letter-spacing: -0.055em;
}

.calculator-hero h1 em {
  font-weight: 500;
  color: #c5baa6;
}

.hero-copy {
  max-width: 560px;

  margin:
    38px 0 0;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 17px;
  line-height: 1.7;
}

.hero-footer {
  margin-top: 80px;

  display: flex;
  justify-content: space-between;

  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;
  letter-spacing: 0.18em;
}


/* =========================================
   CALCULATOR
========================================= */

.calculator-section {
  padding:
    120px 6vw 130px;
}

.calculator-heading {
  max-width: 1450px;
  margin: 0 auto 70px;

  display: grid;
  grid-template-columns:
    1fr 0.55fr;

  gap: 70px;
  align-items: end;
}

.calculator-heading h2,
.accuracy-copy h2,
.sell-cta h2 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(45px, 5vw, 78px);

  line-height: 0.98;
  font-weight: 500;

  letter-spacing: -0.04em;
}

.calculator-heading > p {
  max-width: 430px;

  margin: 0;

  color: #666;

  line-height: 1.8;
}

.calculator-layout {
  max-width: 1450px;
  margin: auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(360px, 0.65fr);

  gap: 24px;
  align-items: start;
}


/* =========================================
   INPUT PANEL
========================================= */

.calculator-panel {
  padding:
    50px;

  background: #fff;

  border:
    1px solid #ddd9d0;
}

.panel-heading {
  display: flex;
  gap: 18px;
  align-items: center;

  margin-bottom: 48px;
}

.panel-heading span {
  color: #999;

  font-size: 10px;
  letter-spacing: 0.15em;
}

.panel-heading h3 {
  margin: 0;

  font-size: 12px;
  letter-spacing: 0.17em;
}

.field-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;
}

.field-group {
  margin-bottom: 24px;
}

.field-group label,
.lead-field label {
  display: block;

  margin-bottom: 10px;

  color: #666;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.17em;
}

.field-group > input,
.money-input,
.percent-input {
  width: 100%;

  border:
    1px solid #d3cfc5;

  background: #faf9f6;
}

.field-group > input {
  height: 60px;

  padding:
    0 18px;

  outline: none;
}

.money-input,
.percent-input {
  height: 60px;

  display: flex;
  align-items: center;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.money-input:focus-within,
.percent-input:focus-within,
.field-group > input:focus {
  border-color: #111;
  background: #fff;
}

.money-input span {
  padding-left: 17px;

  color: #777;

  font-size: 16px;
}

.percent-input span {
  padding-right: 17px;

  color: #777;
}

.money-input input,
.percent-input input {
  width: 100%;
  height: 100%;

  padding:
    0 12px;

  border: 0;
  outline: none;

  background: transparent;

  font-size: 16px;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.input-note {
  margin:
    12px 0 0;

  padding-top: 24px;

  border-top:
    1px solid #ebe7df;

  color: #89847a;

  font-size: 11px;
  line-height: 1.7;
}


/* =========================================
   RESULTS
========================================= */

.results-panel {
  position: sticky;
  top: 28px;

  background: #111;
  color: #fff;
}

.results-top {
  padding:
    50px 42px 42px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.12);
}

.section-label-dark {
  color:
    rgba(255, 255, 255, 0.55);
}

.net-number {
  margin-top: 14px;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(52px, 5vw, 78px);

  line-height: 1;
  letter-spacing: -0.05em;
}

.net-number.negative,
.result-total strong.negative {
  color: #d58d84;
}

.net-caption {
  margin:
    14px 0 0;

  color:
    rgba(255, 255, 255, 0.45);

  font-size: 9px;
  letter-spacing: 0.18em;
}

.result-breakdown {
  padding:
    28px 42px 10px;
}

.result-row {
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);

  color:
    rgba(255, 255, 255, 0.62);

  font-size: 11px;
}

.result-row strong {
  color: #fff;
  font-weight: 500;
}

.result-total {
  margin-top: 10px;

  min-height: 65px;

  border-bottom: 0;

  color: #fff;

  font-size: 13px;
}

.result-total strong {
  font-family:
    "Playfair Display",
    serif;

  font-size: 24px;
}

.equity-meter {
  margin:
    10px 42px 30px;

  padding-top: 24px;

  border-top:
    1px solid rgba(255, 255, 255, 0.13);
}

.equity-meter-heading {
  display: flex;
  justify-content: space-between;

  margin-bottom: 12px;

  font-size: 9px;
  letter-spacing: 0.13em;

  color:
    rgba(255, 255, 255, 0.6);
}

.equity-meter-heading strong {
  color: #fff;
}

.meter-track {
  height: 3px;

  background:
    rgba(255, 255, 255, 0.14);
}

.meter-fill {
  width: 0%;
  height: 100%;

  background: #d3c8b6;

  transition:
    width 0.25s ease;
}

.results-disclaimer {
  margin: 0;

  padding:
    0 42px 38px;

  color:
    rgba(255, 255, 255, 0.38);

  font-size: 9px;
  line-height: 1.7;
}


/* =========================================
   ACCURACY / LEAD
========================================= */

.accuracy-section {
  padding:
    120px 7vw;

  background: #0d0d0d;
  color: #fff;

  display: grid;
  grid-template-columns:
    0.9fr 1.1fr;

  gap: 10vw;
  align-items: start;
}

.accuracy-copy > p:last-child {
  max-width: 520px;

  margin-top: 30px;

  color:
    rgba(255, 255, 255, 0.62);

  line-height: 1.8;
}

.section-label-light {
  color:
    rgba(255, 255, 255, 0.48);
}

.lead-form {
  padding-top: 10px;
}

.lead-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.lead-field {
  margin-bottom: 22px;
}

.lead-field label {
  color:
    rgba(255, 255, 255, 0.52);
}

.lead-field input {
  width: 100%;
  height: 58px;

  padding:
    0 16px;

  border:
    1px solid rgba(255, 255, 255, 0.22);

  outline: none;

  background:
    rgba(255, 255, 255, 0.03);

  color: #fff;

  transition:
    border-color 0.2s ease;
}

.lead-field input:focus {
  border-color:
    rgba(255, 255, 255, 0.75);
}

.lead-submit {
  width: 100%;

  padding:
    20px 22px;

  border:
    1px solid #f0ede6;

  background: #f0ede6;
  color: #111;

  cursor: pointer;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.15em;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.lead-submit:hover {
  background: transparent;
  color: #fff;
}

.lead-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.lead-status {
  min-height: 22px;

  margin:
    18px 0 0;

  font-size: 12px;
}

.lead-status.success {
  color: #c9d8c5;
}

.lead-status.error {
  color: #e0a39b;
}

.lead-disclaimer {
  margin:
    18px 0 0;

  color:
    rgba(255, 255, 255, 0.35);

  font-size: 9px;
  line-height: 1.7;
}


/* =========================================
   SELL CTA
========================================= */

.sell-cta {
  padding:
    120px 7vw;
}

.sell-cta-grid {
  display: grid;
  grid-template-columns:
    1fr 0.55fr;

  gap: 80px;
  align-items: end;
}

.sell-cta-grid p {
  max-width: 450px;

  margin:
    0 0 28px;

  color: #666;
  line-height: 1.8;
}

.text-link {
  display: inline-block;

  padding-bottom: 5px;

  border-bottom:
    1px solid #111;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.14em;
}


/* =========================================
   FOOTER
========================================= */

.signature-footer {
  padding:
    65px 5vw 35px;

  background: #050505;
  color: #fff;

  overflow: hidden;
}

.signature-name {
  white-space: nowrap;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(64px, 10.5vw, 180px);

  line-height: 0.9;

  letter-spacing: -0.06em;
}

.signature-bottom {
  margin-top: 48px;

  padding-top: 22px;

  border-top:
    1px solid rgba(255, 255, 255, 0.16);

  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.signature-location {
  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;
  letter-spacing: 0.18em;
}

.signature-links {
  display: flex;
  flex-wrap: wrap;

  gap:
    10px 22px;

  justify-content: flex-end;

  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;
}

.signature-links a:hover {
  color: #fff;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (
  max-width: 1050px
) {

  .site-header {
    grid-template-columns:
      1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .results-panel {
    position: static;
  }

  .calculator-heading,
  .accuracy-section,
  .sell-cta-grid {
    grid-template-columns: 1fr;
  }

  .calculator-heading {
    gap: 30px;
  }

  .accuracy-section {
    gap: 60px;
  }

}


@media (
  max-width: 700px
) {

  .site-header {
    height: 82px;

    padding:
      0 20px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 6px;
  }

  .header-signin {
    display: none;
  }

  .header-contact {
    padding:
      10px 12px;

    font-size: 8px;
  }


  .calculator-hero {
    min-height: 650px;

    padding:
      155px 24px 35px;
  }

  .calculator-hero h1 {
    font-size:
      clamp(52px, 17vw, 78px);
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-footer {
    align-items: flex-end;
  }

  .hero-footer span:last-child {
    display: none;
  }


  .calculator-section {
    padding:
      80px 18px;
  }

  .calculator-heading {
    margin-bottom: 45px;
  }

  .calculator-panel {
    padding:
      30px 20px;
  }

  .field-grid,
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .results-top {
    padding:
      38px 25px 32px;
  }

  .result-breakdown {
    padding:
      22px 25px 8px;
  }

  .equity-meter {
    margin:
      10px 25px 28px;
  }

  .results-disclaimer {
    padding:
      0 25px 30px;
  }


  .accuracy-section {
    padding:
      80px 22px;
  }

  .sell-cta {
    padding:
      80px 22px;
  }


  .signature-footer {
    padding:
      50px 20px 30px;
  }

  .signature-bottom {
    flex-direction: column;
  }

  .signature-links {
    justify-content: flex-start;
  }

}
/* Stellar MLS compliance: brokerage must be readily visible with site branding. */
.brand-brokerage {
  display: block;
  margin-top: 5px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.25;
  opacity: 0.9;
}

@media (max-width: 700px) {
  .brand-brokerage {
    margin-top: 3px;
    font-size: 5px;
    letter-spacing: 0.08em;
  }
}
/* =========================================
   FINAL STELLAR / YELLOWTAIL SELLER NET PAGE
========================================= */


/* =========================================
   HEADER BROKERAGE IDENTITY
========================================= */

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;

  width: fit-content;
}

.brand .brokerage-name {
  display: block;

  color: #fff;

  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand .agent-name {
  display: block;

  margin-top: 4px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 7px;
  font-weight: 500;
  line-height: 1.3;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}


/* =========================================
   BROKERAGE DISCLOSURE
========================================= */

.stellar-brokerage-disclosure {
  position: relative;
  z-index: 19;

  width: 100%;

  margin-top: 104px;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 24px;

  padding:
    15px
    4vw;

  border-bottom:
    1px solid
    rgba(
      17,
      17,
      17,
      0.14
    );

  background: #fff;

  color: #111;
}

.stellar-brokerage-logo {
  display: block;

  width: 145px;

  max-width: 100%;

  height: auto;
}

.stellar-brokerage-identity {
  display: flex;

  flex-direction: column;

  gap: 3px;

  min-width: 0;
}

.stellar-brokerage-identity strong {
  color: #111;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.stellar-brokerage-identity span {
  color:
    rgba(
      17,
      17,
      17,
      0.68
    );

  font-size: 9px;
  line-height: 1.45;
}

.stellar-brokerage-contact {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 3px;

  text-align: right;
}

.stellar-brokerage-contact a,
.stellar-brokerage-contact span {
  color: #111;

  font-size: 9px;
  line-height: 1.45;
}

.stellar-brokerage-contact a {
  text-decoration: underline;

  text-underline-offset: 2px;
}


/* =========================================
   FOOTER BROKERAGE
========================================= */

.signature-bottom {
  align-items: flex-start;
}

.signature-links.signature-brokerage {
  display: flex;

  flex-direction: column;

  flex-wrap: nowrap;

  align-items: flex-end;

  justify-content: flex-start;

  gap: 5px;

  text-align: right;
}

.signature-brokerage strong {
  color: #fff;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;

  letter-spacing: 0.04em;
}

.signature-brokerage span,
.signature-brokerage a {
  color:
    rgba(
      255,
      255,
      255,
      0.55
    );

  font-size: 8px;
  line-height: 1.45;

  letter-spacing: 0.04em;
}

.signature-brokerage a:hover {
  color: #fff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

  .stellar-brokerage-disclosure {
    grid-template-columns:
      auto
      1fr;

    gap: 16px;
  }

  .stellar-brokerage-contact {
    grid-column:
      1
      /
      -1;

    flex-direction: row;

    flex-wrap: wrap;

    align-items: flex-start;

    gap:
      6px
      18px;

    text-align: left;
  }

  .signature-links.signature-brokerage {
    align-items: flex-start;

    text-align: left;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .brand .brokerage-name {
    font-size: 7px;

    letter-spacing: 0.055em;
  }

  .brand .agent-name {
    font-size: 6px;

    letter-spacing: 0.045em;
  }

  .stellar-brokerage-disclosure {
    margin-top: 82px;

    grid-template-columns: 1fr;

    gap: 10px;

    padding:
      14px
      20px;
  }

  .stellar-brokerage-logo {
    width: 125px;
  }

  .stellar-brokerage-contact {
    grid-column: auto;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;

    text-align: left;
  }

  .stellar-brokerage-identity strong {
    font-size: 11px;
  }

  .stellar-brokerage-identity span,
  .stellar-brokerage-contact a,
  .stellar-brokerage-contact span {
    font-size: 8px;
  }

  .signature-links.signature-brokerage {
    width: 100%;

    align-items: flex-start;

    gap: 6px;

    text-align: left;
  }

}