/* HOSTOWEB / CGU - Editorial layout consistent with About and Shared Hosting.
   Page-only file for the upcoming global htw- stylesheet merge. */
.htw-tos {
    --htw-tos-navy: #01132b;
    --htw-tos-lime: #a2e326;
    --htw-tos-ink: #112e42;
    --htw-tos-muted: #607989;
    --htw-tos-border: #e1e9ed;
    display: block;
    color: var(--htw-tos-ink);
    background: #fff;
    font: 400 15px/1.8 Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.htw-tos *, .htw-tos *::before, .htw-tos *::after { box-sizing: border-box; }
.htw-tos h1, .htw-tos h2, .htw-tos p { font-family: inherit; margin: 0; padding: 0; }
.htw-tos__container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.htw-tos__reading-container { width: min(1230px, calc(100% - 48px)); margin-inline: auto; }

/* Preserve original topbar / nav, override ONLY the obsolete fixed height. */
body.htw-tos-page #hostoweb-header.subpages-header.moon-edition {
    position: relative; display: block !important;
    width: 100%; height: auto !important; max-height: none !important;
    min-height: 0 !important; padding: 0 !important;
    margin: 0 !important; overflow: visible !important;
    background: #01132b;
}
body.htw-tos-page #hostoweb-header .header-top-height {
    display: block !important; flex: none !important;
    height: 105px !important; min-height: 105px !important; max-height: 105px !important;
    padding: 0 !important; margin: 0 !important;
}
body.htw-tos-page #hostoweb-header > .htw-tos--header {
    display: block; height: auto; max-width: none;
    width: 100%; position: relative; overflow: hidden;
}

/* Text-only editorial hero: same visual language as the final About page. */
.htw-tos__hero {
    padding: 99px 0 100px;
    background: #01132b;
    color: #fff;
}
.htw-tos__hero-copy { max-width: 1160px; }
.htw-tos__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    color: #c5ea9a; letter-spacing: 1.7px; text-transform: uppercase;
    font-size: 11px; line-height: 1.4; font-weight: 800;
}
.htw-tos__eyebrow i {
    width: 8px; height: 8px; flex: none; border-radius: 50%;
    background: var(--htw-tos-lime); box-shadow: 0 0 0 5px #a2e32623;
}
.htw-tos__hero h1 {
    font-size: clamp(39px, 4.75vw, 67px);
    line-height: 1.17; letter-spacing: -2.6px; font-weight: 800;
    color: #fff; margin-top: 25px;
    max-width: 1150px;
}
.htw-tos__hero h1 em { color: var(--htw-tos-lime); font-style: normal; white-space: nowrap; }
.htw-tos__version {
    display: inline-flex; align-items: center; gap: 12px;
    margin-top: 34px !important; padding-top: 23px !important;
    min-width: 210px; border-top: 1px solid #ffffff34;
    color: #c8d9df; font-size: 13px; font-weight: 600; letter-spacing: .1px;
}
.htw-tos__version span { width: 6px; height: 6px; background: var(--htw-tos-lime); border-radius: 50%; flex: none; }
.htw-tos__version strong { font-weight: 650; }

/* Long-form legal reading: white, spacious and typographically controlled. */
.htw-tos__content { background: #fff; padding: 84px 0 116px; }
.htw-tos__introduction {
    margin-bottom: 77px; padding: 35px 43px 37px;
    background: #f3f7f8; border-left: 4px solid var(--htw-tos-lime);
    border-radius: 0 13px 13px 0;
}
.htw-tos__introduction p {
    font-size: 15px; line-height: 2; color: #435f6e;
    font-weight: 450; letter-spacing: -.05px;
}
.htw-tos__introduction strong { color: #173a47; font-weight: 750; }
.htw-tos__articles { border-top: 1px solid var(--htw-tos-border); }
.htw-tos__article {
    position: relative; display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: start; gap: 25px;
    padding: 51px 0 53px;
    border-bottom: 1px solid var(--htw-tos-border);
    scroll-margin-top: 130px;
}
.htw-tos__article::before {
    content: attr(data-index);
    display: block; padding-top: 5px;
    color: #6a961c; font-size: 19px;
    line-height: 1.3; font-weight: 800; letter-spacing: -.5px;
}
.htw-tos__article-copy { min-width: 0; }
.htw-tos__paragraph {
    font-size: 14px; line-height: 2.03; color: #566f7d;
    margin: 0 0 17px;
    font-weight: 400;
    overflow-wrap: break-word;
}
.htw-tos__paragraph:last-child { margin-bottom: 0; }
.htw-tos__paragraph > u.header-underline { display: block; margin: 0 0 18px; text-decoration: none; }
.htw-tos__paragraph > u.header-underline strong {
    display: block; color: #16374a;
    font-size: clamp(19px, 2.2vw, 25px); line-height: 1.42;
    font-weight: 800; letter-spacing: -.6px;
}
.htw-tos__paragraph > u.header-underline + br { display: none; }
.htw-tos__article strong { color: #254556; font-weight: 750; }
.htw-tos__paragraph > u.header-underline strong { color: #153448; }
.htw-tos__article em { font-style: italic; }
.htw-tos__article .htw-tos__paragraph .htw-tos__paragraph { margin: 12px 0; }
.htw-tos__article .htw-tos__paragraph .htw-tos__paragraph:last-child { margin-bottom: 0; }
.htw-tos__article .htw-tos__paragraph br + br { display: block; content: ""; margin: 8px 0; }

@media (max-width: 991px) {
    .htw-tos__hero { padding: 77px 0 82px; }
    .htw-tos__content { padding: 65px 0 90px; }
    .htw-tos__article { grid-template-columns: 65px minmax(0,1fr); gap: 18px; padding: 41px 0 44px; }
}
@media (max-width: 767px) {
    body.htw-tos-page #hostoweb-header .header-top-height {
        height: 83px !important; min-height: 83px !important; max-height: 83px !important;
    }
    .htw-tos__container, .htw-tos__reading-container { width: calc(100% - 38px); }
    .htw-tos__hero { padding: 59px 0 68px; }
    .htw-tos__hero h1 { font-size: clamp(32px, 8.7vw, 44px); line-height: 1.2; letter-spacing: -1.4px; margin-top: 19px; }
    .htw-tos__hero h1 em { white-space: normal; }
    .htw-tos__eyebrow { font-size: 10px; letter-spacing: 1.1px; }
    .htw-tos__version { margin-top: 29px !important; font-size: 12px; }
    .htw-tos__content { padding: 47px 0 76px; }
    .htw-tos__introduction { margin-bottom: 41px; padding: 25px 21px; border-left-width: 3px; }
    .htw-tos__introduction p { font-size: 13px; line-height: 1.95; }
    .htw-tos__article { display: block; padding: 35px 0 38px; }
    .htw-tos__article::before { font-size: 12px; letter-spacing: 1.2px; padding: 0; margin-bottom: 12px; }
    .htw-tos__paragraph { font-size: 13px; line-height: 1.9; margin-bottom: 15px; }
    .htw-tos__paragraph > u.header-underline { margin-bottom: 14px; }
    .htw-tos__paragraph > u.header-underline strong { font-size: 19px; letter-spacing: -.4px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { .htw-tos * { scroll-behavior: auto !important; } }
