/* HostSoch — Contact, Support, Terms of Service, Privacy Policy (loaded after site.css). */

.page-contact { --hero-mobile-ratio: 800 / 556; }
.page-support { --hero-mobile-ratio: 800 / 576; }
.page-terms   { --hero-mobile-ratio: 800 / 620; }
.page-privacy { --hero-mobile-ratio: 800 / 597; }

/* Shorter banner for content pages */
.hero--page { min-height: clamp(360px, 30vw, 460px); }
.hero--page .hero__in { padding-top: 48px; padding-bottom: 64px; }
.hero--page .hero__copy { max-width: 520px; }
.hero--page h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.hero--page .hero__lead { font-size: clamp(16px, 1.4vw, 18.5px); }
.hero--page .hero__media img { object-position: 78% center; }
.hero--page::before {
  background:
    radial-gradient(circle at 15% 45%, rgba(250, 175, 50, .10) 0%, transparent 40%),
    linear-gradient(90deg, rgba(10, 13, 17, .93) 0%, rgba(10, 13, 17, .82) 30%, rgba(10, 13, 17, .45) 46%, rgba(10, 13, 17, .08) 58%, rgba(10, 13, 17, 0) 64%);
}
/* Photos that are bright white on the left need a much darker shade */
.hero--shade-strong::before {
  background:
    radial-gradient(circle at 15% 45%, rgba(250, 175, 50, .10) 0%, transparent 40%),
    linear-gradient(90deg, rgba(10, 13, 17, .97) 0%, rgba(10, 13, 17, .94) 36%, rgba(10, 13, 17, .72) 48%, rgba(10, 13, 17, .25) 58%, rgba(10, 13, 17, 0) 64%);
}
@media (max-width: 1100px) {
  .hero--page::before, .hero--shade-strong::before { background: linear-gradient(90deg, rgba(10, 13, 17, .97) 0%, rgba(10, 13, 17, .92) 46%, rgba(10, 13, 17, .6) 62%, rgba(10, 13, 17, 0) 78%); }
  .hero--page .hero__copy { max-width: 460px; }
}
@media (max-width: 760px) {
  .hero--page { min-height: 0; }
  .hero--page .hero__media img { object-position: center; }
  .hero--page .hero__in { padding-top: 28px; padding-bottom: 48px; }
}

/* Content sections start right under the banner */
.page-first { padding-top: 64px; }

/* ---------- Contact / support channel cards ---------- */
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; }
.channels--3 { --cols: 3; }
.channel { display: flex; flex-direction: column; background: var(--d-card); border: 1px solid var(--d-line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 26px 22px 24px; transition: background .2s, transform .2s; }
.channel:nth-child(even) { border-top-color: var(--green); }
.channel:hover { background: var(--d-card-hover); transform: translateY(-3px); }
.channel__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px; background: rgba(250, 175, 50, .12); box-shadow: 0 0 0 1px rgba(250, 175, 50, .25), 0 0 22px rgba(250, 175, 50, .16); }
.channel:nth-child(even) .channel__icon { background: rgba(150, 200, 49, .12); box-shadow: 0 0 0 1px rgba(150, 200, 49, .25), 0 0 22px rgba(150, 200, 49, .16); }
.channel__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.channel:nth-child(even) .channel__icon svg { stroke: var(--green-light); }
.channel h3 { font-size: 19px; margin-bottom: 6px; }
.channel p { margin: 0 0 6px; color: var(--d-muted); font-weight: 600; font-size: 15px; }
.channel__value { color: var(--d-text) !important; font-weight: 800 !important; font-size: 17px !important; }
.channel__hours { font-size: 13px !important; color: #8f9aa6 !important; }
.channel .btn { margin-top: auto; align-self: flex-start; }
.channel .channel__spacer { flex: 1; min-height: 14px; }
@media (max-width: 1000px) { .channels, .channels--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .channels, .channels--3 { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--d-muted); font-weight: 600; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; color: var(--d-text); }
.field label span { color: #8f9aa6; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .3); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23a9b3be' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 36px; }
.field select option { background: #161b21; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f7a86; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(250, 175, 50, .22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b6b; }
.field__error { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: #ff8a8a; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: 13px; color: #8f9aa6; font-weight: 600; }
.alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 10px; font-weight: 700; }
.alert--ok { background: rgba(150, 200, 49, .14); border: 1px solid rgba(150, 200, 49, .45); color: var(--green-light); }
.alert--err { background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .45); color: #ffb0b0; }

.side-card { background: var(--d-card); border: 1px solid var(--d-line); border-radius: var(--radius); padding: 24px 22px; margin-bottom: 18px; }
.side-card h3 { font-size: 18px; margin-bottom: 12px; }
.side-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; font-size: 15px; }
.side-card dt { color: #8f9aa6; font-weight: 700; }
.side-card dd { margin: 0; color: var(--d-text); font-weight: 700; }
.side-card p { margin: 0; color: var(--d-muted); font-weight: 600; font-size: 15px; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li { margin-bottom: 8px; }

/* ---------- Support: hours table + checklist ---------- */
.hours td:first-of-type { color: var(--d-text); }
.checks-simple { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.checks-simple li { position: relative; padding-left: 30px; color: var(--d-muted); font-weight: 600; }
.checks-simple li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--green-light); border-bottom: 2.5px solid var(--green-light); transform: rotate(-45deg); }
@media (max-width: 760px) { .checks-simple { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; gap: 28px; } }
.legal__toc { position: sticky; top: 100px; background: var(--d-card); border: 1px solid var(--d-line); border-radius: var(--radius); padding: 20px 18px; }
@media (max-width: 960px) { .legal__toc { position: static; } }
.legal__toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding: 0 0 0 20px; color: #7f8a96; font-size: 14px; }
.legal__toc li { margin-bottom: 7px; }
.cloud-server-bg .legal__toc a { color: var(--d-muted); font-weight: 700; }
.cloud-server-bg .legal__toc a:hover { color: #fff; }
.legal__doc { max-width: 760px; }
.legal__meta { display: inline-block; margin-bottom: 24px; padding: 6px 14px; border-radius: 50px; background: rgba(150, 200, 49, .12); border: 1px solid rgba(150, 200, 49, .3); color: var(--green-light); font-size: 13px; font-weight: 800; }
.legal__doc section { scroll-margin-top: 100px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--d-line); }
.legal__doc section:last-child { border-bottom: 0; }
.legal__doc h2 { font-size: 22px; margin-bottom: 12px; }
.legal__doc h2 .n { color: var(--orange); margin-right: 8px; }
.legal__doc h3 { font-size: 17px; margin: 18px 0 8px; }
.legal__doc p, .legal__doc li { color: #c3ccd5; font-weight: 500; font-size: 16px; line-height: 1.75; }
.legal__doc strong { color: #fff; }
.legal__doc ul { margin: 0 0 1em; padding-left: 22px; }
.legal__doc li { margin-bottom: 6px; }
.legal__doc li::marker { color: var(--green); }
.legal__intro p { font-size: 17px; }
.legal__table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 15px; }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--d-line); vertical-align: top; }
.legal__table th { color: var(--orange); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; background: rgba(0, 0, 0, .25); }
.legal__table td { color: #c3ccd5; }
.legal__table td:first-child { color: #fff; font-weight: 700; }
@media (max-width: 600px) { .legal__table th, .legal__table td { padding: 8px; font-size: 14px; } }

/* Sticky contents needs a section that doesn't clip overflow */
.cloud-server-bg.legal-section { overflow: visible; }
/* Bullets inside legal text (site.css removes list styles globally) */
.legal__doc ul { list-style: disc; }
