/*
Theme Name: Tech Orbit Custom
Theme URI: https://techorbitsystems.com/
Author: Tech Orbit Systems
Description: Independent theme for Tech Orbit's existing custom HTML pages. No parent theme or premium page builder is required by this theme.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techorbit-custom
*/

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #07152e; font: 15px/26px Inter, Arial, Helvetica, sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 600; }
img, svg, video { max-width: 100%; }
img { height: auto; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
button, input[type=submit], summary { cursor: pointer; }
a { color: #086ab8; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ff6b38; outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; inset: 12px auto auto 12px; width: auto; height: auto; margin: 0; padding: 12px 18px; background: #fff; color: #06142d; clip: auto; z-index: 100000; }
.tos-native-nav { background: #06142d; color: #fff; padding: 18px 24px; }
.tos-native-nav-inner { max-width: 1180px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tos-native-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.tos-native-brand img { width: 176px; height: 64px; object-fit: contain; }
.tos-native-links { display: flex; align-items: center; justify-content: flex-end; gap: 25px; flex-wrap: wrap; }
.tos-native-nav a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 700; }
.tos-native-links a:last-child, .tos-native-button { background: #ff6b38; border-radius: 24px; color: #fff; display: inline-block; padding: 11px 20px; text-decoration: none; font-weight: 700; }
.tos-native-mobile { display: none; }
.tos-native-article { max-width: 920px; margin: 0 auto; padding: 72px 28px 90px; }
body.techorbit-custom.tos-ui-legacy-page #techorbit-content { background: #fff; }
.tos-native-post-hero { padding: 80px 28px; background: radial-gradient(ellipse at 72% 22%, #1e589659, transparent 66%), #07152e; color: #fff; }
.tos-native-post-hero-inner { max-width: 1100px; margin: auto; }
.tos-native-post-hero h1 { color: #fff; font: 700 clamp(36px, 4.4vw, 58px)/1.13 Arial, Helvetica, sans-serif; letter-spacing: -1.6px; margin: 14px 0 0; }
.tos-native-post-hero .tos-native-meta { color: #c6d8f0; }
.tos-native-article h1 { font-size: clamp(34px, 4.7vw, 58px); line-height: 1.12; letter-spacing: -1.7px; margin: 12px 0 25px; }
.tos-native-article h2, .tos-native-article h3 { color: #07152e; line-height: 1.25; margin-top: 36px; }
.tos-native-article p, .tos-native-article li { color: #425a73; }
.tos-native-article img { border-radius: 16px; }
.tos-native-meta { color: #53687f; font-size: 14px; }
.tos-native-footer { background: #06142d; color: #d9e4f2; padding: 52px 24px 30px; }
.tos-native-footer-inner { max-width: 1180px; margin: auto; display: flex; gap: 50px; justify-content: space-between; flex-wrap: wrap; }
.tos-native-footer p { margin: 0 0 14px; }
.tos-native-footer a { color: #d9e4f2; text-decoration: none; }
.tos-native-footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; max-width: 560px; }
.tos-native-copyright { max-width: 1180px; margin: 36px auto 0; border-top: 1px solid #ffffff24; padding-top: 22px; font-size: 13px; }
.tos-native-list { display: grid; gap: 30px; }
.tos-native-list article { padding: 28px; border: 1px solid #dae4ef; border-radius: 16px; }
.tos-native-list h2 { margin: 0 0 12px; }
.tos-native-pagination { margin-top: 35px; }
.tos-native-comments { margin-top: 60px; border-top: 1px solid #dae4ef; padding-top: 30px; }
.tos-native-comments input:not([type=checkbox]), .tos-native-comments textarea { width: 100%; padding: 12px; border: 1px solid #94a8bc; border-radius: 7px; }
.tos-native-comments input[type=submit] { width: auto; background: #06142d; color: #fff; }
@media (max-width: 800px) {
  .tos-native-links { display: none; }
  .tos-native-mobile { display: block; position: relative; }
  .tos-native-mobile summary { list-style: none; padding: 10px 14px; border: 1px solid #ffffff66; border-radius: 8px; }
  .tos-native-mobile-menu { position: absolute; right: 0; min-width: 230px; background: #06142d; padding: 16px; z-index: 100; border: 1px solid #ffffff30; border-radius: 12px; box-shadow: 0 15px 30px #0003; }
  .tos-native-mobile-menu a { display: block; padding: 10px; }
  .tos-native-article { padding: 42px 22px 60px; }
  .tos-native-post-hero { padding: 48px 22px; }
  .tos-native-footer-inner { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The existing legal page's mobile rules need to override its ID-scoped desktop grid. */
@media (max-width: 900px) {
  #tos-terms .hero-grid, #tos-terms .terms-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 42px !important; }
  #tos-terms .terms-grid > * { min-width: 0; }
}
@media (max-width: 800px) {
  #tos-thanks .thanks { grid-template-columns: minmax(0, 1fr); }
  #tos-thanks .panel { min-width: 0; max-width: calc(100% - 36px) !important; }
}
@media (max-width: 600px) {
  #tos-terms .hero-grid { min-height: auto !important; padding: 58px 0 !important; }
  #tos-404 .scene { grid-template-columns: minmax(0, 1fr); }
  #tos-404 .panel { min-width: 0; max-width: calc(100% - 36px) !important; }
}
