/* ZhostPro - Domain transfer page (transfer-domain.tpl). Everything is scoped under .td */
.td { --td-brand: var(--color-one, #d3321d); --td-brand-dark: var(--color-one-dark, #b12a18); --td-ink: #111318; --td-body: #2b2f3a; --td-muted: #5b6072; --td-line: #d5dde0;
  --td-sky: #dbeaf8; --td-mint: #d8eeee; --td-grey: #f4f5f8; --td-navy: #26357f;
  color: var(--td-body); line-height: 1.6; overflow-x: clip; background: #fff; }
.td *, .td *::before, .td *::after { box-sizing: border-box; }
:where(.td) :where(h1, h2, p, ul, ol) { margin: 0; padding: 0; }
:where(.td) :where(ul, ol) { list-style: none; }
.td h1, .td h2 { color: var(--td-ink); font-weight: 600; letter-spacing: -.015em; }
.td-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.td a:focus-visible, .td button:focus-visible, .td input:focus-visible, .td summary:focus-visible { outline: 3px solid #7f8ee0; outline-offset: 2px; }
.td summary { list-style: none; cursor: pointer; }
.td summary::-webkit-details-marker { display: none; }

/* ---------- sticky bar ---------- */
.td-bar { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #e3e6ea; padding-bottom: 8px; }
.td-bar-in { display: block; }
.td-menu { position: relative; }
.td-menu > summary { display: flex; align-items: center; gap: 18px; padding: 12px 4px 10px; }
.td-menu > summary i { font-size: 15px; color: var(--td-ink); transition: transform .2s; }
.td-menu[open] > summary i { transform: rotate(180deg); }
.td-menu summary span { display: block; line-height: 1.25; }
.td-menu summary small { display: block; font-size: 13px; color: var(--td-muted); }
.td-menu summary strong { display: block; font-size: 15px; font-weight: 600; color: var(--td-ink); }
.td-menu ul { position: absolute; left: 0; top: 100%; min-width: 250px; padding: 8px; background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; box-shadow: 0 12px 30px rgba(17, 19, 24, .16); }
.td-menu li a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; font-size: 15.5px; color: var(--td-ink); text-decoration: none; border-radius: 8px; }
.td-menu li a:hover { background: var(--td-grey); }
.td-menu li i { width: 18px; color: var(--td-muted); }
.td-search { display: flex; align-items: stretch; height: 48px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(17, 19, 24, .22); overflow: hidden; }
.td-search input[type="text"] { flex: 1 1 auto; min-width: 0; padding: 0 20px; font: inherit; font-size: 16px; font-weight: 500; color: var(--td-ink); background: transparent; border: 0; outline: 0; }
.td-search input::placeholder { color: #6d7280; font-weight: 500; }
.td-search button { flex: 0 0 auto; width: 56px; color: #fff; background: var(--td-brand); border: 0; font-size: 18px; cursor: pointer; transition: background .15s; }
.td-search button:hover { background: var(--td-brand-dark); }
.td-search:focus-within { box-shadow: 0 0 0 3px rgba(38, 53, 127, .3), 0 2px 8px rgba(17, 19, 24, .22); }

/* ---------- hero ---------- */
.td-hero { padding: 20px 0 8px; }
.td-hero-art { border-radius: 16px; overflow: hidden; background: var(--td-sky); aspect-ratio: 607 / 395; }
.td-hero-art svg, .td-why-art svg { display: block; width: 100%; height: 100%; }
.td-eyebrow { margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--td-ink); }
.td-hero h1 { margin-top: 20px; font-size: clamp(30px, 8vw, 40px); line-height: 1.2; }
.td-sub { margin-top: 20px; font-size: 17px; color: var(--td-body); }
.td-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 26px; padding: 0 22px; font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; background: var(--td-brand); border-radius: 8px; transition: background .15s; }
.td-btn:hover { background: var(--td-brand-dark); color: #fff; }
.td-perks { display: grid; gap: 14px; margin-top: 22px; }
.td-perks li { display: flex; align-items: center; gap: 22px; padding: 18px 20px; font-size: 17px; line-height: 1.5; background: var(--td-grey); border-radius: 10px; }
.td-perks i { flex: 0 0 auto; width: 26px; font-size: 24px; color: var(--td-ink); text-align: center; }
.td-auth { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; font-size: 14px; }
.td-tip summary { display: inline-flex; font-size: 24px; line-height: 1; color: var(--td-ink); }
.td-tip p { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin-top: 8px; padding: 14px 16px; font-size: 15px; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; box-shadow: 0 12px 30px rgba(17, 19, 24, .16); }
.td-rating { margin-top: 20px; }
.td-stars { display: inline-flex; gap: 2px; padding: 2px; background: #dcdce6; }
.td-stars i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 14px; color: #fff; background: #00b67a; }
.td-rating p { margin-top: 8px; font-size: 16px; color: var(--td-body); }
.td-rating a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--td-ink); text-decoration: none; }
.td-rating a i { color: #00b67a; font-size: 22px; }

/* ---------- ticker ---------- */
.td-ticker { margin: 40px 0 0; overflow: hidden; }
.td-row { overflow: hidden; padding: 14px 0; }
.td-track { display: flex; width: max-content; animation: tdSlide 38s linear infinite; }
.td-row-b .td-track { animation-direction: reverse; animation-duration: 44s; }
.td-track ul { display: flex; flex: 0 0 auto; align-items: center; }
.td-track li { display: flex; align-items: center; white-space: nowrap; font-size: 17px; color: var(--td-ink); }
.td-track li::after { content: ""; width: 9px; height: 9px; margin: 0 28px; background: var(--td-ink); border-radius: 50%; }
.td-row-a li { font-weight: 400; letter-spacing: .01em; }
.td-row-b li { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
@keyframes tdSlide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.td-sec { padding: clamp(44px, 7vw, 80px) 0 0; }
.td-sec h2 { font-size: clamp(28px, 7vw, 40px); line-height: 1.18; }

/* ---------- why ---------- */
.td-why-card { margin-top: 20px; background: #fff; }
.td-why-art { border-radius: 16px 16px 0 0; overflow: hidden; background: var(--td-sky); aspect-ratio: 600 / 400; }
.td-acc-lead { padding: 14px 16px 18px; font-size: 17px; color: var(--td-muted); background: var(--td-grey); border-radius: 0 0 16px 16px; }
.td-acc-lead strong { color: var(--td-ink); font-weight: 600; }
.td-acc details { border-bottom: 1px solid #edeff2; }
.td-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; font-size: 16px; color: var(--td-ink); }
.td-acc summary i { transition: transform .2s; }
.td-acc details[open] summary i { transform: rotate(180deg); }
.td-acc details p { padding: 0 16px 18px; font-size: 16px; color: var(--td-muted); }
.td-acc a { color: var(--td-brand); }

/* ---------- how ---------- */
.td-how-card { padding: clamp(34px, 6vw, 56px) clamp(24px, 5vw, 56px); background: var(--td-mint); border-radius: 18px; }
.td-how-card h2 { text-align: center; }
.td-how-card ol { max-width: 760px; margin: clamp(28px, 6vw, 44px) auto 0; }
.td-how-card li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 26px 0; font-size: 17px; line-height: 1.75; color: var(--td-ink); border-bottom: 1px solid #b7d3d4; }
.td-how-card li:first-child { padding-top: 0; }
.td-how-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.td-how-card li b { font-weight: 400; }

/* ---------- FAQ ---------- */
.td-faq { padding-bottom: clamp(56px, 8vw, 96px); }
.td-faq h2 { text-align: center; }
.td-faq-list { max-width: 920px; margin: clamp(30px, 6vw, 54px) auto 0; border-top: 1px solid #d9dfe1; }
.td-faq-list details { border-bottom: 1px solid #d9dfe1; }
.td-faq-list summary { position: relative; padding: 22px 36px 22px 4px; font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--td-ink); }
.td-faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border: solid var(--td-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.td-faq-list details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.td-ans { padding: 0 4px 24px; font-size: 17px; line-height: 1.75; }
.td-ans ul { margin-top: 18px; padding-left: 24px; list-style: disc; }
.td-ans li { margin-top: 12px; padding-left: 4px; }
.td-ans a, .td-perks a { color: var(--td-brand); }

/* ---------- larger screens ---------- */
@media (min-width: 900px) {
  .td-bar { padding-bottom: 0; }
  .td-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
  .td-search { width: min(460px, 48%); }
  .td-hero { padding: 40px 0 8px; }
  .td-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .td-hero-art { order: 2; }
  .td-eyebrow { margin-top: 0; }
  .td-btn { display: inline-flex; min-width: 300px; }
  .td-why-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .td-why-in h2 { grid-column: 1 / -1; }
  .td-why-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 8px; }
  .td-why-art { border-radius: 16px; }
  .td-acc-lead { border-radius: 14px; }
  .td-acc { display: block; }
  .td-acc details:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .td * { transition: none !important; } .td-track { animation: none; } .td-ticker { overflow-x: auto; } }
