.section { padding: 76px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 25px; }
.section-heading h2 { margin: 0 0 9px; color: #0a2540; font-size: clamp(34px, 3vw, 43px); font-weight: 650; line-height: 1.12; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; }

.support-intro { position: relative; isolation: isolate; overflow-x: clip; }
.hero {
  isolation: isolate;
  position: absolute;
  inset: 0 0 auto;
  height: 480px;
  overflow: hidden;
  color: #f8fbff;
  background: radial-gradient(ellipse at 88% 76%, #32227166, transparent 57%), linear-gradient(135deg, #02091c 8%, #041a40 60%, #102554 100%);
}
.hero::after { content: ""; position: absolute; z-index: 2; pointer-events: none; inset: auto 0 -1px; height: 42px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero-aurora { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #02091c55 0%, #020d2840 34%, #04153318 65%, transparent 100%); }
.support-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); grid-template-rows: 480px minmax(300px, auto); column-gap: 80px; padding-bottom: 50px; }
.hero-copy { position: relative; z-index: 4; grid-column: 1; grid-row: 1; align-self: center; min-width: 0; padding-bottom: 25px; color: #f8fbff; }
.support-chat-frame { grid-column: 2; grid-row: 1 / 3; align-self: start; height: 726px; min-width: 0; min-height: 0; margin-top: 54px; padding: 8px; border: 1px solid #ffffff7a; border-radius: 24px; background: linear-gradient(145deg, #ffffff26, #e3eafb70); backdrop-filter: blur(18px); box-shadow: 0 30px 85px -20px #0a244643, 0 8px 26px -12px #254b7529, inset 0 1px 0 #ffffff66; }
.embedded-chat { height: 100%; border: 1px solid #ffffffbb; border-radius: 16px; background: #fffffffa; box-shadow: 0 5px 18px #132e5010; }
.hero-copy h1 { margin: 0 0 20px; color: #f8fbff; font-size: clamp(54px, 5vw, 72px); font-weight: 650; line-height: 1.05; letter-spacing: -.06em; }
.hero-copy > p { max-width: 560px; margin: 0 0 29px; color: #c0cde3; font-size: 18px; line-height: 1.5; }
.search-form { max-width: 650px; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 19px; border-radius: 11px; background: #fff; box-shadow: 0 14px 36px #030f2529; }
.search-form:focus-within { outline: 3px solid #9eb5ff; outline-offset: 2px; }
.search-icon { width: 24px; color: #5d6c84; font-size: 30px; line-height: 1; transform: rotate(-20deg); }
.search-form input { min-width: 0; flex: 1; border: 0; outline: none!important; padding: 10px 0; color: var(--ink); font-size: 16px; }
.search-form input::placeholder { color: #8090a5; }
.search-form button { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; padding: 0 17px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.search-form button:hover { background: #034ed4; }
.hero-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; color: #a9b8ce; font-size: 12px; }
.hero-suggestions a { color: #d8e2f2; border-bottom: 1px solid #d8e2f280; }
.hero-suggestions a:hover { color: #fff; }


.hero-search { position: relative; min-height: 60px; padding: 7px 17px 7px 9px; gap: 3px; border: 1px solid #ffffffb3; border-radius: 12px; background: #fffffffa; box-shadow: 0 12px 30px #0004; }
.hero-search .search-symbol { width: 22px; height: 22px; flex: none; color: #6f8099; }
.hero-search input { background: transparent; font-size: 15px; }
.hero-search button { width: 44px; height: 44px; min-height: 44px; padding: 11px; flex: none; justify-content: center; border-radius: 8px; background: transparent; color: #6f8099; }
.hero-search button svg { width: 20px; height: 20px; }
.hero-search button:hover { background: #edf2f9; color: #1c5ebd; }
.tickets-home { grid-column: 1; grid-row: 2; min-width: 0; padding-top: 52px; }
.tickets-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 25px; }
.tickets-heading h2 { margin: 0; font-size: 23px; font-weight: 620; }
.support-help { max-width: 500px; }
.support-help p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.support-help .support-help-phone { margin-top: 24px; }
.support-help-phone a { display: inline-block; margin-top: 4px; color: var(--blue); font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.support-help-phone a:hover { text-decoration: underline; }
.tickets-actions .button { min-height: 40px; padding: 0 15px; gap: 10px; font-size: 12px; }
.ticket-hub-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tickets-all { font-size: 12px; }
.tickets-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.ticket-hub-status.is-resolved { background: #f0f3f7; color: #617086; }
.ticket-hub-status.is-resolved::before { background: #8592a5; }
.visitor-contact-copy { max-width: 420px; color: var(--muted); font-size: 15px; }
.ticket-hub-row { min-height: 78px; display: flex; align-items: center; gap: 17px; padding: 18px 0; }
.ticket-hub-row + .ticket-hub-row { border-top: 1px solid #e8edf5; }
.ticket-hub-row:hover { background: #f7faff; }
.ticket-hub-subject { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.ticket-hub-subject strong { color: #102b4b; font-size: 13px; font-weight: 580; }
.ticket-hub-subject small { color: #6c7d96; font-size: 11px; }
.ticket-hub-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: #eaf6f0; color: #177354; font-size: 10px; font-weight: 650; }
.ticket-hub-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2ca575; }
.ticket-hub-row > span:last-child { color: #2660c6; font-size: 18px; }
.ticket-hub-empty { margin: 0; padding: 25px 23px; color: #64758e; font-size: 14px; }
.topic-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border: 1px solid #dbe5f6; border-radius: 9px; background: #eef3ff; color: #2765d3; }
.topic-icon svg { width: 19px; height: 19px; }
.doc-topics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-topic h3 { margin: 0 0 20px; font-size: 16px; font-weight: 650; }
.doc-topic h3 a { display: flex; align-items: center; gap: 11px; }
.doc-topic ul { margin: 0; padding: 0 0 0 45px; list-style: none; }
.doc-topic li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; color: #445f81; font-size: 13px; }
.doc-topic li a span { color: #8a9cb5; }
.doc-topic a:hover, .doc-topic a:hover span { color: var(--blue); }
.guide-section { background: #f5f8ff; }
.support-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.support-guide { display: flex; flex-direction: column; min-width: 0; padding: 27px; border: 1px solid #e8edf5; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px -12px #17375926, 0 3px 8px #17375904; transition: box-shadow 180ms ease, border-color 180ms ease; }
.support-guide:hover { border-color: #cfdcf1; box-shadow: 0 16px 38px -12px #17375933; }
.support-guide-meta { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 20px; color: #697d99; font-size: 11px; }
.support-guide-meta > span:first-child { color: #4264a0; }
.support-guide h3 { margin: 0 0 10px; color: #122b4b; font-size: 21px; font-weight: 620; letter-spacing: -.025em; }
.support-guide p { margin: 0 0 27px; color: #566d8a; font-size: 14px; line-height: 1.6; max-width: 300px; }
.support-guide-action { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: #245fbd; font-size: 12px; font-weight: 600; min-height: 32px; }
.support-guide:hover h3 { color: var(--blue); }

.site-footer { padding: 80px 0 90px; border-top: 1px solid #e2e9f4; background: #f5f8fd; }
.footer-grid { display: grid; grid-template-columns: 1.18fr .68fr 1.08fr 1.18fr .86fr; gap: 26px; }
.footer-brand { display: inline-block; width: 160px; line-height: 0; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-intro p { max-width: 220px; margin: 20px 0 0; color: #62738d; font-size: 15px; line-height: 1.65; }
.footer-access { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 17px; border-radius: 22px; background: #0b63ec; color: #fff; font-size: 12px; font-weight: 650; }
.footer-access:hover { background: #094fc2; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer nav > strong { margin-bottom: 9px; color: #102945; font-size: 13px; font-weight: 650; }
.site-footer nav > a { color: #586c87; font-size: 12px; line-height: 1.5; }
.site-footer nav > a:hover { color: #175ed5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 60px; padding-top: 26px; border-top: 1px solid #dfe7f2; color: #576b86; font-size: 11px; line-height: 1.65; }
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .support-layout { column-gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); }
  .doc-topics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 30px; }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 760px) {

  .hero::before { background: linear-gradient(90deg, #02091c55, #020d2840 70%, #04153318); }
  .hero-copy h1 { font-size: clamp(52px, 9vw, 65px); }
  .hero::after { height: 28px; }
  .support-guide-grid { grid-template-columns: 1fr; }
  .support-guide { padding: 24px; }
  .support-guide p { max-width: 100%; margin-bottom: 14px; }
  .support-guide-meta { margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; margin-top: 40px; }
}
@media (max-width: 500px) {
  .section { padding: 56px 0; }
  .section-heading { flex-direction: column; align-items: start; gap: 12px; }
  .hero-copy h1 { font-size: 53px; }
  .hero-copy > p { font-size: 16px; }
  .search-form { min-height: 57px; padding-left: 13px; }
  .search-form button { min-height: 41px; padding: 0 12px; gap: 8px; }
  .hero-suggestions { gap: 9px; font-size: 11px; }
  .tickets-home { padding-top: 48px; }
  .ticket-hub-row { padding: 20px 0; gap: 10px; }
  .ticket-hub-subject strong { font-size: 13px; }
  .ticket-hub-status { font-size: 10px; }
  .doc-topics { grid-template-columns: 1fr; gap: 24px; }
  .doc-topic { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
  .doc-topic h3 { margin-bottom: 10px; }
  .site-footer { padding: 55px 0 90px; }
  .footer-grid { gap: 38px 26px; }
  .site-footer nav > a { font-size: 13px; }
}

@media (max-width: 900px) {
  .support-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 0; padding-bottom: 20px; }
  .hero { height: 540px; }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 54px 0 44px; max-width: 650px; }
  .support-chat-frame { grid-column: 1; grid-row: 2; margin-top: 0; height: 560px; }
  .tickets-home { grid-column: 1; grid-row: 3; padding-top: 45px; }
}
@media (max-width: 500px) {
  .hero-copy { padding-top: 46px; }
  .support-chat-frame { padding: 8px; border-radius: 25px; height: 500px; }
  .embedded-chat { border-radius: 17px; }
  .hero-search { padding-left: 7px; min-height: 58px; }
  .tickets-heading { gap: 10px; }
  .tickets-heading h2 { font-size: 23px; }
  .tickets-actions .button { padding: 0 13px; }
}


.search-dropdown { position: absolute; z-index: 8; top: calc(100% + 9px); left: 0; right: 0; padding: 8px; border: 1px solid #dbe5f2; border-radius: 13px; background: #fff; color: #213957; box-shadow: 0 18px 50px #020b3033; }
.search-dropdown[hidden], .search-empty[hidden] { display: none; }
.search-dropdown [role="listbox"] { max-height: 330px; overflow-y: auto; }
.search-dropdown [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; border-radius: 7px; font-size: 13px; }
.search-dropdown [role="option"] > span:first-child { display: grid; gap: 4px; }
.search-dropdown strong { font-weight: 600; }
.search-dropdown small { font-size: 11px; color: #71829b; }
.search-dropdown [role="option"] > span:last-child { color: #7086a4; }
.search-dropdown [role="option"]:hover, .search-dropdown [aria-selected="true"] { background: #eef4ff; color: #1d5cbd; }
.search-dropdown .search-view-all { margin-top: 5px; border-top: 1px solid #e7edf5; border-radius: 0 0 7px 7px; color: #1d5cbd; font-size: 12px; }
.search-empty { margin: 0; padding: 17px 14px; color: #647793; font-size: 13px; }
@media(prefers-reduced-motion: reduce) { .support-guide { transition: none; } }

/* One focused ticket area, with the form replacing its list in place. */
.tickets-home{align-self:start;padding-top:52px}.tickets-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.tickets-heading h2{margin:0;font-size:23px;letter-spacing:-.03em}.tickets-heading .button{min-height:36px;font-size:12px;padding-inline:15px;white-space:nowrap}.visitor-contact-copy{font-size:14px;line-height:1.7;max-width:380px;margin-bottom:24px}.tickets-home .ticket-login{font-size:12px;margin:24px 0 0;padding-top:18px;border-top:1px solid #e0e7f1}.tickets-home .tickets-actions:empty{display:none}
.ticket-cancel{border:0;background:transparent;color:#506989;font-size:13px;padding:8px;cursor:pointer}.ticket-form-intro{font-size:14px;color:#526985;margin:0 0 22px}.tickets-home .support-form{padding:0;border:0;background:none}.tickets-home .support-form .ticket-login{margin:0 0 24px;padding:0;border:0}.ticket-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.tickets-home .field{margin-bottom:17px}.tickets-home .field label{font-size:12px}.tickets-home .field input,.tickets-home .field textarea{font-size:14px;padding:11px 12px;border-radius:8px;min-width:0}.tickets-home .field textarea{min-height:108px}.ticket-success{padding:28px 0;min-height:215px}.ticket-success h2{font-size:25px;margin:15px 0 10px}.ticket-success p{font-size:14px;color:#4c6b5f}.ticket-success-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e5f4ec;color:#287050}.ticket-success-icon svg{width:22px}.ticket-success .inline-link{margin-top:12px}
.guide-section{position:relative;background:#f1f5fb;margin-top:28px;border-top:1px solid #e0e8f4}.guide-section::before{content:'';position:absolute;top:-32px;height:32px;left:0;right:0;background:#f1f5fb;clip-path:polygon(0 100%,100% 0,100% 100%)}.guide-section .support-guide{box-shadow:0 14px 28px -20px #17395d33;border-radius:12px}.answers-section{padding-bottom:64px}
.support-privacy{font-size:12px;line-height:1.7;max-width:500px;color:#5b708b;margin-top:25px}.support-privacy summary{cursor:pointer}.support-privacy p{margin:12px 0 0}
@media(max-width:500px){.ticket-contact-fields{grid-template-columns:1fr;gap:0}.tickets-home .field input,.tickets-home .field textarea{font-size:16px}.tickets-home{padding-top:38px}.tickets-heading{gap:12px}.tickets-heading h2{font-size:22px}}

/* CMS-only hosting has no chat column until its runtime is activated. */
.support-layout-docs { grid-template-columns: minmax(0, 1fr); grid-template-rows: 480px auto; }
.support-layout-docs .tickets-home { grid-row: 2; }
@media (max-width: 900px) {
  .support-layout-docs { grid-template-rows: 540px auto; }
}
