/*
  Cursor Token Mizer policy pages.
  Values are copied from the live homepage stylesheet embedded on
  https://cursortokenmizer.com/ (the custom <style> block in the front page).
  Loaded only by /privacy-policy/ /terms/ /refund-policy/ /support/.
*/

.tm-policy {
  --tm-navy: #071b3d;
  --tm-blue: #147cf4;
  --tm-green: #08b85d;
  --tm-text: #263750;
  --tm-muted: #68778d;
  --tm-pale: #f4faff;
  --tm-pale2: #e9f6ff;
  --tm-border: #dceaf4;
  --tm-footer: #7b8797;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--tm-text);
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.tm-policy,
.tm-policy *,
.tm-policy *::before,
.tm-policy *::after {
  box-sizing: border-box;
}

/* The page template constrains content. These rules apply only when a
   policy page is present, so the column can use the homepage widths. */
body:has(.tm-policy) {
  margin: 0 !important;
  background: #fff !important;
  overflow-x: hidden !important;
}

body:has(.tm-policy) .wp-block-post-title,
body:has(.tm-policy) .hostinger-ai-page-title {
  display: none !important;
}

body:has(.tm-policy) .wp-block-post-content,
body:has(.tm-policy) .wp-block-post-content > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body:has(.tm-policy) .wp-block-post-content {
  padding: 0 !important;
}

.tm-policy-hero,
.tm-policy-section,
.tm-policy-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.tm-policy a {
  color: var(--tm-blue);
  text-decoration: none;
}

.tm-policy a:hover {
  text-decoration: underline;
}

.tm-policy-wrap {
  width: 100%;
  margin: 0;
  padding: 0 6%;
}

.tm-policy-inner {
  width: min(820px, 90%);
  margin: 0 auto;
}

.tm-policy-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 28px;
  background:
    radial-gradient(circle at 76% 42%, rgba(48, 174, 255, 0.17), transparent 31%),
    linear-gradient(145deg, #fff 0%, #fff 52%, #eef9ff 76%, #d8f1ff 100%);
}

.tm-policy-eyebrow {
  margin: 0 0 7px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tm-blue);
  font-weight: 900;
  text-align: center;
}

.tm-policy h1 {
  width: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 3.65vw, 55px);
  line-height: 0.98;
  letter-spacing: -2.4px;
  font-weight: 900;
  color: var(--tm-navy);
  text-align: center;
}

.tm-policy-lead {
  width: min(820px, 100%);
  margin: 18px auto 0;
  font-size: 20px;
  line-height: 1.62;
  color: var(--tm-text);
  text-align: center;
}

.tm-policy-rule {
  width: min(220px, 40%);
  height: 4px;
  margin: 18px auto 0;
  border-radius: 5px;
  background: #55c4f3;
}

.tm-policy-section {
  padding: 30px 0;
  background: #fff;
}

.tm-policy-section-alt {
  background: var(--tm-pale);
}

.tm-policy h2 {
  max-width: 850px;
  margin: 0 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(35px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--tm-navy);
  font-weight: 900;
}

.tm-policy h3 {
  margin: 28px 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  line-height: 1.2;
  color: var(--tm-navy);
  font-weight: 900;
}

.tm-policy p {
  max-width: 820px;
  margin: 0 0 17px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--tm-text);
}

.tm-policy strong {
  color: var(--tm-navy);
  font-weight: 900;
}

.tm-policy-list {
  max-width: 800px;
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
}

.tm-policy-list li {
  position: relative;
  padding: 6px 10px 6px 34px;
  border-bottom: 1px solid var(--tm-border);
  font-size: 20px;
  line-height: 1.5;
}

.tm-policy-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 5px;
  background: var(--tm-blue);
}

.tm-policy-note {
  max-width: 820px;
  margin: 30px 0;
  padding: 26px 30px;
  background: var(--tm-pale2);
  border: 1px solid #cce7f9;
  border-left: 5px solid var(--tm-blue);
  border-radius: 11px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--tm-navy);
  font-weight: 900;
}

.tm-policy-card {
  max-width: 820px;
  margin: 20px 0 8px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(7, 27, 61, 0.05);
}

.tm-policy-card h2,
.tm-policy-card h3 {
  margin-top: 0;
}

.tm-policy-card p:last-child {
  margin-bottom: 0;
}

.tm-policy-callout {
  max-width: 820px;
  margin: 32px auto;
  padding: 30px 34px;
  background: var(--tm-navy);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(7, 31, 70, 0.18);
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
}

.tm-policy-callout a {
  color: #6ed0ff;
}

.tm-policy-updated {
  margin: 0 0 8px;
  color: var(--tm-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.tm-policy-footer {
  padding: 30px 20px;
  background: #fff;
  color: var(--tm-footer);
  font-size: 13px;
  text-align: center;
}

.tm-policy-footer a {
  color: var(--tm-blue);
  font-weight: 700;
}

.tm-policy-dot {
  margin: 0 8px;
  color: var(--tm-footer);
}

@media (max-width: 700px) {
  .tm-policy-wrap {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .tm-policy-inner {
    width: 88%;
  }

  .tm-policy-hero {
    padding: 20px 0 16px;
  }

  .tm-policy h1 {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -2px;
  }

  .tm-policy-section {
    padding: 32px 0;
  }

  .tm-policy p,
  .tm-policy-list li,
  .tm-policy-lead {
    font-size: 17px;
  }

  .tm-policy-note,
  .tm-policy-callout {
    padding: 25px;
    font-size: 21px;
  }
}

@media (max-width: 540px) {
  .tm-policy h1 {
    font-size: 35px;
  }

  .tm-policy-card,
  .tm-policy-callout,
  .tm-policy-note {
    padding: 22px 18px;
  }
}
