:root {
  --bg: #fbf9f8;
  --card: #ffffff;
  --dark-card: #1e242b;
  --text: #1e242b;
  --muted: #64748b;
  --primary: #ed7357;
  --primary-hover: #d95e43;
  --border: rgba(30, 36, 43, 0.08);
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 15px;
  --shadow: 0 4px 20px rgba(30, 36, 43, 0.06);
  --shadow-hover: 0 10px 30px rgba(237, 115, 87, 0.12);
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Header & Navigation Styles */
.notch {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.matrix {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.dit {
  display: flex;
  align-items: center;
  min-width: 0;
}

.dit img {
  height: 38px;
  width: auto;
  display: block;
}

.wire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dah {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.35s ease;
  min-width: 0;
}

.dah:hover {
  color: var(--primary);
  background-color: rgba(237, 115, 87, 0.06);
}

.dah.active {
  color: #ffffff;
  background-color: var(--primary);
  font-weight: 600;
}

/* Layout Chassis */
.chassis {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Typography & Badges */
.digit {
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: normal;
}

.digit-chassis {
  font-size: 36px;
  margin-bottom: 16px;
}

.digit-sub {
  font-size: 26px;
  margin-bottom: 12px;
}

.nodule {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.patch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(237, 115, 87, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Graphic Glyphs */
.glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(237, 115, 87, 0.15) 0%, rgba(237, 115, 87, 0.05) 100%);
  color: var(--primary);
  flex-shrink: 0;
}

.glyph svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Section 1: Hero Split (apple_ecosystem_overview) */
.spark {
  background: linear-gradient(135deg, #ffffff 0%, #f6f2ef 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.crest {
  flex: 1 1 420px;
  min-width: 0;
}

.tail {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slip {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.35s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.slip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(237, 115, 87, 0.3);
}

.sounder {
  min-width: 0;
  flex: 1;
}

.sounder h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.sounder p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Section 2: App Store Guide (appstore_region_guide) - Article Container */
.beacon {
  background-color: var(--dark-card);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.beacon .digit-sub {
  color: #ffffff;
}

.beacon .nodule {
  color: #94a3b8;
}

.conduit {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.cipher {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  flex: 1 1 300px;
  min-width: 0;
  transition: all 0.35s ease;
}

.cipher:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.knob {
  display: inline-block;
  width: 32px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  margin-bottom: 16px;
}

.cipher h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cipher p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

/* Section 3: Web Entrance (web_client_entrance) - Div Container */
.pulse {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.actuate {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.keyer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.35s ease;
  min-width: 0;
  border: none;
  cursor: pointer;
}

.keyer:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 115, 87, 0.35);
}

.tap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(30, 36, 43, 0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.35s ease;
  min-width: 0;
}

.tap:hover {
  background-color: rgba(30, 36, 43, 0.1);
  color: var(--primary);
}

/* Section 4: Comparison Table (client_comparison_grid) - Aside Container */
.harness {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.table-crest {
  width: 100%;
  overflow-x: auto;
  margin-top: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.table th,
.table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.table th {
  background-color: rgba(237, 115, 87, 0.05);
  color: var(--text);
  font-weight: 700;
}

.table td {
  color: var(--muted);
}

.table tr:hover td {
  background-color: rgba(0, 0, 0, 0.015);
  color: var(--text);
}

/* Footer Section */
.folio {
  background-color: var(--dark-card);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px 32px;
}

.ground {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 32px;
  margin-bottom: 24px;
}

.term {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.term a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.35s ease;
}

.term a:hover {
  color: var(--primary);
}

.signoff {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .matrix {
    flex-direction: column;
    gap: 12px;
  }
  .wire {
    width: 100%;
    justify-content: center;
  }
  .spark {
    padding: 24px;
  }
  .beacon,
  .pulse,
  .harness {
    padding: 24px;
  }
  .digit-chassis {
    font-size: 28px;
  }
  .digit-sub {
    font-size: 22px;
  }
}

.relay-notch{
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #ece6e2;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

.relay-notch .relay-matrix{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 24px;
            height: 72px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.relay-notch .relay-dit{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            min-width: 0;
        }

.relay-notch .relay-dit img{
            height: 38px;
            width: auto;
            display: block;
        }

.relay-notch .relay-wire{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }

.relay-notch .relay-dah{
            color: #2d3540;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 9px;
            transition: all 0.35s ease;
            word-break: keep-all;
        }

.relay-notch .relay-dah:hover{
            color: #ed7357;
            background-color: rgba(237, 115, 87, 0.08);
        }

.relay-notch .relay-dah.active{
            color: #ed7357;
            background-color: rgba(237, 115, 87, 0.08);
            font-weight: 600;
        }

@media (max-width: 768px){.relay-notch .relay-matrix{
                height: auto;
                padding: 16px;
            }

.relay-notch .relay-wire{
                width: 100%;
                justify-content: flex-start;
                margin-top: 12px;
                overflow-x: auto;
                padding-bottom: 6px;
            }}

.relay-notch {
    background: rgb(255, 255, 255);
    background-image: none;
}

.ground-ground {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.7;
    color: var(--dark);
}
.ground-ground,
.ground-ground *,
.ground-ground *::before,
.ground-ground *::after {
    box-sizing: border-box;
}

.ground-ground nav,
.ground-ground div,
.ground-ground section,
.ground-ground article,
.ground-ground aside,
.ground-ground p,
.ground-ground h1,
.ground-ground h2,
.ground-ground h3,
.ground-ground h4,
.ground-ground h5,
.ground-ground h6,
.ground-ground a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.ground-ground p,
.ground-ground h1,
.ground-ground h2,
.ground-ground h3,
.ground-ground h4,
.ground-ground h5,
.ground-ground h6 {
    text-decoration: none;
}

.ground-ground img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.ground-ground {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.ground-ground a,
.ground-ground a:hover,
.ground-ground a:focus,
.ground-ground a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.ground-ground{
            background: #1e242b;
            color: #a0aec0;
            padding: 56px 0 32px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

.ground-ground .ground-term{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 24px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

.ground-ground .ground-signoff-brand{
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }

.ground-ground .ground-signoff-desc{
            font-size: 13px;
            line-height: 1.6;
            color: #94a3b8;
        }

.ground-ground .ground-folio-digit{
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 16px;
        }

.ground-ground .ground-folio-links{
            list-style: none;
        }

.ground-ground .ground-folio-links li{
            margin-bottom: 10px;
        }

.ground-ground .ground-folio-links a{
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.35s ease;
        }

.ground-ground .ground-folio-links a:hover{
            color: #ed7357;
        }

.ground-ground .ground-signoff-bottom{
            max-width: 1320px;
            margin: 0 auto;
            padding: 24px 24px 0 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: #64748b;
        }