:root {
  --pastel-ink: #263b56;
  --pastel-muted: #506278;
  --pastel-line: #d8e3ee;
  --pastel-wash: #edf4fb;
  --pastel-light: #f6f9fc;
  --pastel-paper: #fff;
  --pastel-action: #dce9f8;
  --pastel-action-hover: #d0e2f5;
  --pastel-action-border: #9db6ce;
  --pastel-action-ink: #254361;
  --pastel-green: #256449;
  --pastel-green-light: #edf5f0;
  --pastel-radius: 18px;
  --pastel-shadow: 0 10px 30px rgba(38, 59, 86, .055);
}

:where(html:not([data-theme="dark"])) :is(
  .t-page main .t-btn--primary,
  .pd-entry.a4-card-page.a4-borderless-page .pd-entry-panel .a2-compact-submit,
  .pd-outcome .pd-cta,
  .parcel-registration .magic-login-card.auth-card form .btn.btn-primary.btn-lg,
  .parcel-mail .btn.mls-btn--primary
) {
  border: 1px solid var(--pastel-action-border) !important;
  border-radius: 11px !important;
  background: var(--pastel-action) !important;
  color: var(--pastel-action-ink) !important;
  font-weight: 750 !important;
  box-shadow: 0 2px 5px rgba(43, 73, 106, .07) !important;
}

:where(html:not([data-theme="dark"])) :is(
  .t-page main .t-btn--primary,
  .pd-entry.a4-card-page.a4-borderless-page .pd-entry-panel .a2-compact-submit,
  .pd-outcome .pd-cta,
  .parcel-registration .magic-login-card.auth-card form .btn.btn-primary.btn-lg,
  .parcel-mail .btn.mls-btn--primary
):is(:hover, :focus-visible) {
  background: var(--pastel-action-hover) !important;
  color: var(--pastel-action-ink) !important;
}

/* Açılış */
:where(html:not([data-theme="dark"])) body.t-page {
  --t-text: var(--pastel-ink);
  --t-muted: var(--pastel-muted);
  --t-surface: var(--pastel-light);
  --t-line: var(--pastel-line);
  --t-green-soft: var(--pastel-green-light);
  --t-radius: var(--pastel-radius);
}

:where(html:not([data-theme="dark"])) .t-page main {
  background: linear-gradient(180deg, var(--pastel-wash), var(--pastel-light) 410px, #fff 950px);
}

:where(html:not([data-theme="dark"])) .t-page .t-hero {
  padding-block: clamp(26px, 4.3vw, 60px) clamp(23px, 3.3vw, 46px);
  column-gap: clamp(28px, 4.5vw, 64px);
}

:where(html:not([data-theme="dark"])) .t-page .t-hero__copy {
  text-align: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-hero__copy::before,
:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-intro::before {
  display: block;
  width: min(136px, 40%);
  height: 1px;
  margin: 0 auto 16px;
  background: linear-gradient(to right, transparent, #a9c2d9 32%, #a9c2d9 68%, transparent);
  content: "";
}

:where(html:not([data-theme="dark"])) .t-page .t-hero__title {
  max-width: 16ch;
  margin-inline: auto;
  font-weight: 725;
  letter-spacing: -.038em;
  line-height: 1.13;
}

:where(html:not([data-theme="dark"])) .t-page .t-hero .t-hero__lead {
  max-width: 36ch;
  margin: 15px auto 20px;
  text-wrap: balance;
}

:where(html:not([data-theme="dark"])) .t-page .t-hero__actions,
:where(html:not([data-theme="dark"])) .t-page .t-renewal__controls:not([hidden]) {
  justify-content: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-hero__media {
  padding: 8px 8px 0;
  border: 1px solid #d9e5ef;
  border-radius: 23px;
  background: linear-gradient(155deg, #f7fbff, #e9f1f9);
  box-shadow: var(--pastel-shadow);
}

:where(html:not([data-theme="dark"])) .t-page .t-renewal__frames {
  border-radius: 15px;
}

:where(html:not([data-theme="dark"])) .t-page .t-renewal__caption {
  justify-content: center;
  text-align: center;
  padding-inline: 6px;
}

:where(html:not([data-theme="dark"])) .t-page .t-example__card {
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--pastel-shadow);
  text-align: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-example__items > div {
  border-top-color: #d4e1ed;
}

:where(html:not([data-theme="dark"])) .t-page .t-proof {
  background: linear-gradient(110deg, #eef5fc, #f8fbfd 65%);
  border-block-color: #e2ebf3;
}

:where(html:not([data-theme="dark"])) .t-page .t-proof__totals {
  text-align: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-proof__assurance,
:where(html:not([data-theme="dark"])) .t-page .t-stats__lbl {
  justify-content: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-stats__num {
  font-weight: 700;
  letter-spacing: -.035em;
}

:where(html:not([data-theme="dark"])) .t-page main h2,
:where(html:not([data-theme="dark"])) .t-page .t-start__steps h3 {
  font-weight: 700;
  letter-spacing: -.021em;
}

:where(html:not([data-theme="dark"])) .t-page .t-start .t-section__head {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-start__steps li {
  grid-template-columns: 1fr;
  justify-items: center;
  padding-block: 16px;
  gap: 7px;
  background: linear-gradient(180deg, #f5f9fd, #fff);
  text-align: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-reputation {
  background: linear-gradient(180deg, #f1f6fb, #fafcfe);
  border-block-color: #e3ebf2;
}

:where(html:not([data-theme="dark"])) .t-page :is(#t-press-title, #t-tools-title) {
  text-align: center;
}

:where(html:not([data-theme="dark"])) .t-page .t-press__link {
  border-radius: 14px;
  background: #fff;
}

:where(html:not([data-theme="dark"])) .t-page .t-parcel-tool {
  background: linear-gradient(120deg, #edf4fb, #fbfdff);
}

:where(html:not([data-theme="dark"])) .t-page .t-service {
  border-radius: var(--pastel-radius);
}

/* [26 Kas 2026] Ana sayfa footer'ı koyu zeminde kalır: açık zemin + açık yazı soluk görünüyordu
   (logo ve bağlantılar koyu zemine göre). */

/* Parsel sorgusu */
:where(html:not([data-theme="dark"])) .pd-entry {
  --pd-entry-surface: var(--pastel-light);
  --pd-entry-muted: var(--pastel-muted);
  --pd-entry-line: var(--pastel-line);
  --pd-entry-green: var(--pastel-green);
  --pd-entry-green-soft: var(--pastel-green-light);
}

:where(html:not([data-theme="dark"])) .pd-entry.a2-page .e-hero {
  background: linear-gradient(180deg, var(--pastel-wash), #f9fcff);
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-intro {
  text-align: center;
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-intro h1 {
  max-width: 17ch;
  margin-inline: auto;
  color: var(--pastel-ink);
  font-weight: 725;
  letter-spacing: -.03em;
  line-height: 1.16;
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-intro__lead {
  margin-inline: auto;
  text-wrap: balance;
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-intro__note {
  border-radius: 999px;
  font-weight: 700;
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-panel {
  border-radius: 22px;
  background: linear-gradient(180deg, #fcfdff, #fff);
  box-shadow: var(--pastel-shadow);
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-panel__title {
  text-align: center;
  font-weight: 700;
}

:where(html:not([data-theme="dark"])) .pd-entry.a2-finder-wide .pd-entry-panel .a2-finder-tabs {
  border-radius: 12px;
  background: #f0f5fb;
}

:where(html:not([data-theme="dark"])) .pd-entry .a2-finder-tabs .e-tabs__pill {
  background: #fff;
}

:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-next {
  margin-inline: auto;
  align-items: baseline;
  text-wrap: pretty;
}

:where(html:not([data-theme="dark"])) .pd-entry :is(#pd-explain-title, .pd-explain__lead, .lt__head) {
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

/* Sorgu sonucu */
:where(html:not([data-theme="dark"])) .pd-outcome.a2-finder-wide.pd-page .pd-result {
  background: linear-gradient(180deg, #eef5fb, #f8fbfd 580px);
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-outcome-head h2,
:where(html:not([data-theme="dark"])) .pd-outcome .pd-save h3,
:where(html:not([data-theme="dark"])) .pd-outcome .pd-outcome-questions h3,
:where(html:not([data-theme="dark"])) .pd-outcome .pd-overview .pd-parcel__title {
  color: var(--pastel-ink);
  font-weight: 725;
  letter-spacing: -.022em;
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-status[data-tone] {
  border-radius: 12px;
  background: #fbfdff;
}

:where(html:not([data-theme="dark"])) .pd-outcome :is(.pd-overview > .pd-parcel, .pd-overview__shape, .pd-outcome-questions) {
  --pd-radius: 15px;
  border-radius: 15px;
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-save {
  border-radius: var(--pastel-radius);
  background: linear-gradient(180deg, #edf4fb, #f9fcff 76%);
  box-shadow: var(--pastel-shadow);
  text-align: center;
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-save h3 {
  justify-content: center;
  text-wrap: balance;
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-save :is(.pd-save__copy, .pd-note, .pd-save__evidence) {
  text-wrap: pretty;
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-recovery.is-on {
  background: #f5f9fd;
}

:where(html:not([data-theme="dark"])) .pd-outcome .pd-outcome-questions {
  background: #fff;
}

/* Bina dosyası için kayıt */
:where(html:not([data-theme="dark"])) body:has(.parcel-registration) #main-content {
  background: linear-gradient(180deg, #eaf2fb, #f7f9fc 570px);
}

:where(html:not([data-theme="dark"])) body .parcel-registration {
  --reg-navy: var(--pastel-ink);
  --reg-muted: var(--pastel-muted);
  --reg-line: var(--pastel-line);
  --reg-tint: var(--pastel-light);
  --reg-green: var(--pastel-green);
  --reg-green-soft: var(--pastel-green-light);
  background: transparent;
}

:where(html:not([data-theme="dark"])) body .parcel-registration .magic-login-card.auth-card {
  border-radius: 22px !important;
  background: linear-gradient(180deg, #edf4fb, #fff 195px) !important;
  box-shadow: var(--pastel-shadow) !important;
}

:where(html:not([data-theme="dark"])) body .parcel-registration .magic-login-card .magic-login-header {
  text-align: center !important;
}

:where(html:not([data-theme="dark"])) body .parcel-registration .magic-login-header h1 {
  font-weight: 725;
  letter-spacing: -.022em;
}

:where(html:not([data-theme="dark"])) .parcel-registration .parcel-registration__identity {
  justify-content: center;
  border-radius: 14px;
  background: #f7fafd;
  text-align: center;
}

:where(html:not([data-theme="dark"])) .parcel-registration .parcel-registration__icon {
  border-radius: 50%;
}

:where(html:not([data-theme="dark"])) .parcel-registration .parcel-registration__lead {
  margin-inline: auto;
  text-wrap: balance;
}

:where(html:not([data-theme="dark"])) .parcel-registration .magic-pro-hint[data-consultant-hint] {
  justify-content: center;
  text-align: center;
}

:where(html:not([data-theme="dark"])) .parcel-registration .parcel-registration__support {
  justify-content: center;
}

:where(html:not([data-theme="dark"])) .parcel-registration .parcel-registration__support details[open] {
  text-align: start;
}

/* E-posta bağlantısı gönderildi */
:where(html:not([data-theme="dark"])) body .magic-link-sent-page.parcel-mail.page-wrapper.page-content {
  --mail-navy: var(--pastel-ink);
  --mail-muted: var(--pastel-muted);
  --mail-line: var(--pastel-line);
  --mail-tint: var(--pastel-light);
  --mail-green: var(--pastel-green);
  --mail-green-tint: var(--pastel-green-light);
  background: linear-gradient(180deg, #eaf2fb, #f7f9fc 570px) !important;
}

:where(html:not([data-theme="dark"])) body .parcel-mail .mls-card.auth-card {
  border-radius: 22px !important;
  background: linear-gradient(180deg, #edf4fb, #fff 195px) !important;
  box-shadow: var(--pastel-shadow) !important;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__heading {
  text-align: center;
}

:where(html:not([data-theme="dark"])) body .parcel-mail .mls-title {
  font-weight: 725;
  letter-spacing: -.022em;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__lead {
  margin-inline: auto;
  text-wrap: balance;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 14px;
  text-align: center;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__context > div {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__context > div + div {
  border-top: 0;
  border-inline-start: 1px solid var(--pastel-line);
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__context dt {
  justify-content: center;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__message--sent {
  border-radius: 12px;
}

:where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__message--sent strong {
  justify-content: center;
}

:where(html:not([data-theme="dark"])) .parcel-mail .mls-code {
  border-radius: 14px;
  background: #fbfdff;
}

:where(html:not([data-theme="dark"])) .parcel-mail .mls-resend .btn.mls-btn--outline {
  border-color: #a8bed2;
  border-radius: 10px;
  background: #f4f8fd;
}

@media (max-width: 700px) {
  :where(html:not([data-theme="dark"])) .t-page .t-hero {
    padding-block: 18px 22px;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-hero__copy::before,
:where(html:not([data-theme="dark"])) .pd-entry .pd-entry-intro::before {
    margin-bottom: 10px;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-hero__title {
    max-width: 17ch;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-hero__actions {
    justify-items: center;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-hero .t-hero__lead {
    margin-block: 11px 14px;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-hero__media {
    padding: 6px 6px 0;
    border-radius: 17px;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-renewal__frames {
    border-radius: 12px;
  }

  :where(html:not([data-theme="dark"])) .t-page .t-start__steps li {
    grid-template-columns: 31px minmax(0, 1fr);
    justify-items: start;
    gap: 11px;
    text-align: start;
  }

  :where(html:not([data-theme="dark"])) .pd-entry .pd-entry-panel {
    border-radius: 17px;
  }
}

@media (max-width: 479px) {
  :where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__context {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(html:not([data-theme="dark"])) .parcel-mail .parcel-mail__context > div + div {
    border-top: 1px solid var(--pastel-line);
    border-inline-start: 0;
  }
}
